diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.json b/descriptions-next/api.github.com/api.github.com.2022-11-28.json index aabedc55c..4b6a6ab3a 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.json @@ -2913,6 +2913,9 @@ "code_scanning_default_setup_options": { "$ref": "#/components/schemas/code-scanning-default-setup-options" }, + "code_scanning_options": { + "$ref": "#/components/schemas/code-scanning-options" + }, "code_scanning_delegated_alert_dismissal": { "type": "string", "description": "The enablement status of code scanning delegated alert dismissal", @@ -16488,6 +16491,9 @@ "code_scanning_default_setup_options": { "$ref": "#/components/schemas/code-scanning-default-setup-options" }, + "code_scanning_options": { + "$ref": "#/components/schemas/code-scanning-options" + }, "code_scanning_delegated_alert_dismissal": { "type": "string", "description": "The enablement status of code scanning delegated alert dismissal", @@ -25374,58 +25380,49 @@ ], "requestBody": { "required": true, - "description": "Details of the item to add to the project. You can specify either the database ID or the repository owner, name, and issue/PR number.", + "description": "Details of the item to add to the project. You can specify either the unique ID or the repository owner, name, and issue/PR number.", "content": { "application/json": { "schema": { + "type": "object", + "additionalProperties": false, + "properties": { + "type": { + "type": "string", + "enum": [ + "Issue", + "PullRequest" + ], + "description": "The type of item to add to the project. Must be either Issue or PullRequest." + }, + "id": { + "type": "integer", + "description": "The unique identifier of the issue or pull request to add to the project." + }, + "owner": { + "type": "string", + "description": "The repository owner login." + }, + "repo": { + "type": "string", + "description": "The repository name." + }, + "number": { + "type": "integer", + "description": "The issue or pull request number." + } + }, + "required": [ + "type" + ], "oneOf": [ { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "Issue", - "PullRequest" - ], - "description": "The type of item to add to the project. Must be either Issue or PullRequest." - }, - "id": { - "type": "integer", - "description": "The unique ID of the issue or pull request to add to the project." - } - }, "required": [ - "type", "id" ] }, { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "Issue", - "PullRequest" - ], - "description": "The type of item to add to the project. Must be either Issue or PullRequest." - }, - "owner": { - "type": "string", - "description": "The repository owner login." - }, - "repo": { - "type": "string", - "description": "The repository name." - }, - "number": { - "type": "integer", - "description": "The issue or pull request number." - } - }, "required": [ - "type", "owner", "repo", "number" @@ -25434,22 +25431,22 @@ ] }, "examples": { - "issue-with-id": { - "summary": "Add issue by database ID", + "issue_with_id": { + "summary": "Add an issue using its unique ID", "value": { "type": "Issue", "id": 3 } }, - "pull_request-with-id": { - "summary": "Add pull request by database ID", + "pull_request_with_id": { + "summary": "Add a pull request using its unique ID", "value": { "type": "PullRequest", "id": 3 } }, - "issue-with-nwo": { - "summary": "Add issue by repository and number", + "issue_with_nwo": { + "summary": "Add an issue using repository owner, name, and issue number", "value": { "type": "Issue", "owner": "octocat", @@ -25457,8 +25454,8 @@ "number": 42 } }, - "pull_request-with-nwo": { - "summary": "Add pull request by repository and number", + "pull_request_with_nwo": { + "summary": "Add a pull request using repository owner, name, and PR number", "value": { "type": "PullRequest", "owner": "octocat", @@ -25479,11 +25476,29 @@ "$ref": "#/components/schemas/projects-v2-item-simple" }, "examples": { - "issue": { - "$ref": "#/components/examples/projects-v2-item-simple" + "issue_with_id": { + "summary": "Response for adding an issue using its unique ID", + "value": { + "$ref": "#/components/examples/projects-v2-item-simple" + } }, - "pull_request": { - "$ref": "#/components/examples/projects-v2-item-simple" + "pull_request_with_id": { + "summary": "Response for adding a pull request using its unique ID", + "value": { + "$ref": "#/components/examples/projects-v2-item-simple" + } + }, + "issue_with_nwo": { + "summary": "Response for adding an issue using repository owner, name, and issue number", + "value": { + "$ref": "#/components/examples/projects-v2-item-simple" + } + }, + "pull_request_with_nwo": { + "summary": "Response for adding a pull request using repository owner, name, and PR number", + "value": { + "$ref": "#/components/examples/projects-v2-item-simple" + } } } } @@ -35035,20 +35050,8 @@ } ], "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/workflow-dispatch-response" - }, - "examples": { - "default": { - "$ref": "#/components/examples/workflow-dispatch-response" - } - } - } - } + "204": { + "description": "Response" } }, "requestBody": { @@ -74913,58 +74916,49 @@ ], "requestBody": { "required": true, - "description": "Details of the item to add to the project. You can specify either the database ID or the repository owner, name, and issue/PR number.", + "description": "Details of the item to add to the project. You can specify either the unique ID or the repository owner, name, and issue/PR number.", "content": { "application/json": { "schema": { + "type": "object", + "additionalProperties": false, + "properties": { + "type": { + "type": "string", + "enum": [ + "Issue", + "PullRequest" + ], + "description": "The type of item to add to the project. Must be either Issue or PullRequest." + }, + "id": { + "type": "integer", + "description": "The unique identifier of the issue or pull request to add to the project." + }, + "owner": { + "type": "string", + "description": "The repository owner login." + }, + "repo": { + "type": "string", + "description": "The repository name." + }, + "number": { + "type": "integer", + "description": "The issue or pull request number." + } + }, + "required": [ + "type" + ], "oneOf": [ { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "Issue", - "PullRequest" - ], - "description": "The type of item to add to the project. Must be either Issue or PullRequest." - }, - "id": { - "type": "integer", - "description": "The unique ID of the issue or pull request to add to the project." - } - }, "required": [ - "type", "id" ] }, { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "Issue", - "PullRequest" - ], - "description": "The type of item to add to the project. Must be either Issue or PullRequest." - }, - "owner": { - "type": "string", - "description": "The repository owner login." - }, - "repo": { - "type": "string", - "description": "The repository name." - }, - "number": { - "type": "integer", - "description": "The issue or pull request number." - } - }, "required": [ - "type", "owner", "repo", "number" @@ -74973,22 +74967,22 @@ ] }, "examples": { - "issue-with-id": { - "summary": "Add issue by database ID", + "issue_with_id": { + "summary": "Add an issue using its unique ID", "value": { "type": "Issue", "id": 3 } }, - "pull_request-with-id": { - "summary": "Add pull request by database ID", + "pull_request_with_id": { + "summary": "Add a pull request using its unique ID", "value": { "type": "PullRequest", "id": 3 } }, - "issue-with-nwo": { - "summary": "Add issue by repository and number", + "issue_with_nwo": { + "summary": "Add an issue using repository owner, name, and issue number", "value": { "type": "Issue", "owner": "octocat", @@ -74996,8 +74990,8 @@ "number": 42 } }, - "pull_request-with-nwo": { - "summary": "Add pull request by repository and number", + "pull_request_with_nwo": { + "summary": "Add a pull request using repository owner, name, and PR number", "value": { "type": "PullRequest", "owner": "octocat", @@ -75018,11 +75012,29 @@ "$ref": "#/components/schemas/projects-v2-item-simple" }, "examples": { - "issue": { - "$ref": "#/components/examples/projects-v2-item-simple" + "issue_with_id": { + "summary": "Response for adding an issue using its unique ID", + "value": { + "$ref": "#/components/examples/projects-v2-item-simple" + } }, - "pull_request": { - "$ref": "#/components/examples/projects-v2-item-simple" + "pull_request_with_id": { + "summary": "Response for adding a pull request using its unique ID", + "value": { + "$ref": "#/components/examples/projects-v2-item-simple" + } + }, + "issue_with_nwo": { + "summary": "Response for adding an issue using repository owner, name, and issue number", + "value": { + "$ref": "#/components/examples/projects-v2-item-simple" + } + }, + "pull_request_with_nwo": { + "summary": "Response for adding a pull request using repository owner, name, and PR number", + "value": { + "$ref": "#/components/examples/projects-v2-item-simple" + } } } } @@ -133783,7 +133795,14 @@ ] }, "user": { - "$ref": "#/components/schemas/simple-user" + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] }, "body": { "description": "The text of the comment.", diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml index eb6503449..9dc439b79 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml @@ -2083,6 +2083,8 @@ paths: - not_set code_scanning_default_setup_options: "$ref": "#/components/schemas/code-scanning-default-setup-options" + code_scanning_options: + "$ref": "#/components/schemas/code-scanning-options" code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -11944,6 +11946,8 @@ paths: - not_set code_scanning_default_setup_options: "$ref": "#/components/schemas/code-scanning-default-setup-options" + code_scanning_options: + "$ref": "#/components/schemas/code-scanning-options" code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -18359,70 +18363,62 @@ paths: requestBody: required: true description: Details of the item to add to the project. You can specify either - the database ID or the repository owner, name, and issue/PR number. + the unique ID or the repository owner, name, and issue/PR number. content: application/json: schema: + type: object + additionalProperties: false + properties: + type: + type: string + enum: + - Issue + - PullRequest + description: The type of item to add to the project. Must be either + Issue or PullRequest. + id: + type: integer + description: The unique identifier of the issue or pull request + to add to the project. + owner: + type: string + description: The repository owner login. + repo: + type: string + description: The repository name. + number: + type: integer + description: The issue or pull request number. + required: + - type oneOf: - - type: object - properties: - type: - type: string - enum: - - Issue - - PullRequest - description: The type of item to add to the project. Must be either - Issue or PullRequest. - id: - type: integer - description: The unique ID of the issue or pull request to add - to the project. - required: - - type + - required: - id - - type: object - properties: - type: - type: string - enum: - - Issue - - PullRequest - description: The type of item to add to the project. Must be either - Issue or PullRequest. - owner: - type: string - description: The repository owner login. - repo: - type: string - description: The repository name. - number: - type: integer - description: The issue or pull request number. - required: - - type + - required: - owner - repo - number examples: - issue-with-id: - summary: Add issue by database ID + issue_with_id: + summary: Add an issue using its unique ID value: type: Issue id: 3 - pull_request-with-id: - summary: Add pull request by database ID + pull_request_with_id: + summary: Add a pull request using its unique ID value: type: PullRequest id: 3 - issue-with-nwo: - summary: Add issue by repository and number + issue_with_nwo: + summary: Add an issue using repository owner, name, and issue number value: type: Issue owner: octocat repo: hello-world number: 42 - pull_request-with-nwo: - summary: Add pull request by repository and number + pull_request_with_nwo: + summary: Add a pull request using repository owner, name, and PR number value: type: PullRequest owner: octocat @@ -18436,10 +18432,24 @@ paths: schema: "$ref": "#/components/schemas/projects-v2-item-simple" examples: - issue: - "$ref": "#/components/examples/projects-v2-item-simple" - pull_request: - "$ref": "#/components/examples/projects-v2-item-simple" + issue_with_id: + summary: Response for adding an issue using its unique ID + value: + "$ref": "#/components/examples/projects-v2-item-simple" + pull_request_with_id: + summary: Response for adding a pull request using its unique ID + value: + "$ref": "#/components/examples/projects-v2-item-simple" + issue_with_nwo: + summary: Response for adding an issue using repository owner, name, + and issue number + value: + "$ref": "#/components/examples/projects-v2-item-simple" + pull_request_with_nwo: + summary: Response for adding a pull request using repository owner, + name, and PR number + value: + "$ref": "#/components/examples/projects-v2-item-simple" '304': "$ref": "#/components/responses/not_modified" '403': @@ -25337,15 +25347,8 @@ paths: - "$ref": "#/components/parameters/repo" - "$ref": "#/components/parameters/workflow-id" responses: - '200': + '204': description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/workflow-dispatch-response" - examples: - default: - "$ref": "#/components/examples/workflow-dispatch-response" requestBody: required: true content: @@ -54210,70 +54213,62 @@ paths: requestBody: required: true description: Details of the item to add to the project. You can specify either - the database ID or the repository owner, name, and issue/PR number. + the unique ID or the repository owner, name, and issue/PR number. content: application/json: schema: + type: object + additionalProperties: false + properties: + type: + type: string + enum: + - Issue + - PullRequest + description: The type of item to add to the project. Must be either + Issue or PullRequest. + id: + type: integer + description: The unique identifier of the issue or pull request + to add to the project. + owner: + type: string + description: The repository owner login. + repo: + type: string + description: The repository name. + number: + type: integer + description: The issue or pull request number. + required: + - type oneOf: - - type: object - properties: - type: - type: string - enum: - - Issue - - PullRequest - description: The type of item to add to the project. Must be either - Issue or PullRequest. - id: - type: integer - description: The unique ID of the issue or pull request to add - to the project. - required: - - type + - required: - id - - type: object - properties: - type: - type: string - enum: - - Issue - - PullRequest - description: The type of item to add to the project. Must be either - Issue or PullRequest. - owner: - type: string - description: The repository owner login. - repo: - type: string - description: The repository name. - number: - type: integer - description: The issue or pull request number. - required: - - type + - required: - owner - repo - number examples: - issue-with-id: - summary: Add issue by database ID + issue_with_id: + summary: Add an issue using its unique ID value: type: Issue id: 3 - pull_request-with-id: - summary: Add pull request by database ID + pull_request_with_id: + summary: Add a pull request using its unique ID value: type: PullRequest id: 3 - issue-with-nwo: - summary: Add issue by repository and number + issue_with_nwo: + summary: Add an issue using repository owner, name, and issue number value: type: Issue owner: octocat repo: hello-world number: 42 - pull_request-with-nwo: - summary: Add pull request by repository and number + pull_request_with_nwo: + summary: Add a pull request using repository owner, name, and PR number value: type: PullRequest owner: octocat @@ -54287,10 +54282,24 @@ paths: schema: "$ref": "#/components/schemas/projects-v2-item-simple" examples: - issue: - "$ref": "#/components/examples/projects-v2-item-simple" - pull_request: - "$ref": "#/components/examples/projects-v2-item-simple" + issue_with_id: + summary: Response for adding an issue using its unique ID + value: + "$ref": "#/components/examples/projects-v2-item-simple" + pull_request_with_id: + summary: Response for adding a pull request using its unique ID + value: + "$ref": "#/components/examples/projects-v2-item-simple" + issue_with_nwo: + summary: Response for adding an issue using repository owner, name, + and issue number + value: + "$ref": "#/components/examples/projects-v2-item-simple" + pull_request_with_nwo: + summary: Response for adding a pull request using repository owner, + name, and PR number + value: + "$ref": "#/components/examples/projects-v2-item-simple" '304': "$ref": "#/components/responses/not_modified" '403': @@ -96993,7 +97002,9 @@ components: examples: - 8 user: - "$ref": "#/components/schemas/simple-user" + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" body: description: The text of the comment. type: string diff --git a/descriptions-next/api.github.com/api.github.com.json b/descriptions-next/api.github.com/api.github.com.json index aabedc55c..4b6a6ab3a 100644 --- a/descriptions-next/api.github.com/api.github.com.json +++ b/descriptions-next/api.github.com/api.github.com.json @@ -2913,6 +2913,9 @@ "code_scanning_default_setup_options": { "$ref": "#/components/schemas/code-scanning-default-setup-options" }, + "code_scanning_options": { + "$ref": "#/components/schemas/code-scanning-options" + }, "code_scanning_delegated_alert_dismissal": { "type": "string", "description": "The enablement status of code scanning delegated alert dismissal", @@ -16488,6 +16491,9 @@ "code_scanning_default_setup_options": { "$ref": "#/components/schemas/code-scanning-default-setup-options" }, + "code_scanning_options": { + "$ref": "#/components/schemas/code-scanning-options" + }, "code_scanning_delegated_alert_dismissal": { "type": "string", "description": "The enablement status of code scanning delegated alert dismissal", @@ -25374,58 +25380,49 @@ ], "requestBody": { "required": true, - "description": "Details of the item to add to the project. You can specify either the database ID or the repository owner, name, and issue/PR number.", + "description": "Details of the item to add to the project. You can specify either the unique ID or the repository owner, name, and issue/PR number.", "content": { "application/json": { "schema": { + "type": "object", + "additionalProperties": false, + "properties": { + "type": { + "type": "string", + "enum": [ + "Issue", + "PullRequest" + ], + "description": "The type of item to add to the project. Must be either Issue or PullRequest." + }, + "id": { + "type": "integer", + "description": "The unique identifier of the issue or pull request to add to the project." + }, + "owner": { + "type": "string", + "description": "The repository owner login." + }, + "repo": { + "type": "string", + "description": "The repository name." + }, + "number": { + "type": "integer", + "description": "The issue or pull request number." + } + }, + "required": [ + "type" + ], "oneOf": [ { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "Issue", - "PullRequest" - ], - "description": "The type of item to add to the project. Must be either Issue or PullRequest." - }, - "id": { - "type": "integer", - "description": "The unique ID of the issue or pull request to add to the project." - } - }, "required": [ - "type", "id" ] }, { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "Issue", - "PullRequest" - ], - "description": "The type of item to add to the project. Must be either Issue or PullRequest." - }, - "owner": { - "type": "string", - "description": "The repository owner login." - }, - "repo": { - "type": "string", - "description": "The repository name." - }, - "number": { - "type": "integer", - "description": "The issue or pull request number." - } - }, "required": [ - "type", "owner", "repo", "number" @@ -25434,22 +25431,22 @@ ] }, "examples": { - "issue-with-id": { - "summary": "Add issue by database ID", + "issue_with_id": { + "summary": "Add an issue using its unique ID", "value": { "type": "Issue", "id": 3 } }, - "pull_request-with-id": { - "summary": "Add pull request by database ID", + "pull_request_with_id": { + "summary": "Add a pull request using its unique ID", "value": { "type": "PullRequest", "id": 3 } }, - "issue-with-nwo": { - "summary": "Add issue by repository and number", + "issue_with_nwo": { + "summary": "Add an issue using repository owner, name, and issue number", "value": { "type": "Issue", "owner": "octocat", @@ -25457,8 +25454,8 @@ "number": 42 } }, - "pull_request-with-nwo": { - "summary": "Add pull request by repository and number", + "pull_request_with_nwo": { + "summary": "Add a pull request using repository owner, name, and PR number", "value": { "type": "PullRequest", "owner": "octocat", @@ -25479,11 +25476,29 @@ "$ref": "#/components/schemas/projects-v2-item-simple" }, "examples": { - "issue": { - "$ref": "#/components/examples/projects-v2-item-simple" + "issue_with_id": { + "summary": "Response for adding an issue using its unique ID", + "value": { + "$ref": "#/components/examples/projects-v2-item-simple" + } }, - "pull_request": { - "$ref": "#/components/examples/projects-v2-item-simple" + "pull_request_with_id": { + "summary": "Response for adding a pull request using its unique ID", + "value": { + "$ref": "#/components/examples/projects-v2-item-simple" + } + }, + "issue_with_nwo": { + "summary": "Response for adding an issue using repository owner, name, and issue number", + "value": { + "$ref": "#/components/examples/projects-v2-item-simple" + } + }, + "pull_request_with_nwo": { + "summary": "Response for adding a pull request using repository owner, name, and PR number", + "value": { + "$ref": "#/components/examples/projects-v2-item-simple" + } } } } @@ -35035,20 +35050,8 @@ } ], "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/workflow-dispatch-response" - }, - "examples": { - "default": { - "$ref": "#/components/examples/workflow-dispatch-response" - } - } - } - } + "204": { + "description": "Response" } }, "requestBody": { @@ -74913,58 +74916,49 @@ ], "requestBody": { "required": true, - "description": "Details of the item to add to the project. You can specify either the database ID or the repository owner, name, and issue/PR number.", + "description": "Details of the item to add to the project. You can specify either the unique ID or the repository owner, name, and issue/PR number.", "content": { "application/json": { "schema": { + "type": "object", + "additionalProperties": false, + "properties": { + "type": { + "type": "string", + "enum": [ + "Issue", + "PullRequest" + ], + "description": "The type of item to add to the project. Must be either Issue or PullRequest." + }, + "id": { + "type": "integer", + "description": "The unique identifier of the issue or pull request to add to the project." + }, + "owner": { + "type": "string", + "description": "The repository owner login." + }, + "repo": { + "type": "string", + "description": "The repository name." + }, + "number": { + "type": "integer", + "description": "The issue or pull request number." + } + }, + "required": [ + "type" + ], "oneOf": [ { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "Issue", - "PullRequest" - ], - "description": "The type of item to add to the project. Must be either Issue or PullRequest." - }, - "id": { - "type": "integer", - "description": "The unique ID of the issue or pull request to add to the project." - } - }, "required": [ - "type", "id" ] }, { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "Issue", - "PullRequest" - ], - "description": "The type of item to add to the project. Must be either Issue or PullRequest." - }, - "owner": { - "type": "string", - "description": "The repository owner login." - }, - "repo": { - "type": "string", - "description": "The repository name." - }, - "number": { - "type": "integer", - "description": "The issue or pull request number." - } - }, "required": [ - "type", "owner", "repo", "number" @@ -74973,22 +74967,22 @@ ] }, "examples": { - "issue-with-id": { - "summary": "Add issue by database ID", + "issue_with_id": { + "summary": "Add an issue using its unique ID", "value": { "type": "Issue", "id": 3 } }, - "pull_request-with-id": { - "summary": "Add pull request by database ID", + "pull_request_with_id": { + "summary": "Add a pull request using its unique ID", "value": { "type": "PullRequest", "id": 3 } }, - "issue-with-nwo": { - "summary": "Add issue by repository and number", + "issue_with_nwo": { + "summary": "Add an issue using repository owner, name, and issue number", "value": { "type": "Issue", "owner": "octocat", @@ -74996,8 +74990,8 @@ "number": 42 } }, - "pull_request-with-nwo": { - "summary": "Add pull request by repository and number", + "pull_request_with_nwo": { + "summary": "Add a pull request using repository owner, name, and PR number", "value": { "type": "PullRequest", "owner": "octocat", @@ -75018,11 +75012,29 @@ "$ref": "#/components/schemas/projects-v2-item-simple" }, "examples": { - "issue": { - "$ref": "#/components/examples/projects-v2-item-simple" + "issue_with_id": { + "summary": "Response for adding an issue using its unique ID", + "value": { + "$ref": "#/components/examples/projects-v2-item-simple" + } }, - "pull_request": { - "$ref": "#/components/examples/projects-v2-item-simple" + "pull_request_with_id": { + "summary": "Response for adding a pull request using its unique ID", + "value": { + "$ref": "#/components/examples/projects-v2-item-simple" + } + }, + "issue_with_nwo": { + "summary": "Response for adding an issue using repository owner, name, and issue number", + "value": { + "$ref": "#/components/examples/projects-v2-item-simple" + } + }, + "pull_request_with_nwo": { + "summary": "Response for adding a pull request using repository owner, name, and PR number", + "value": { + "$ref": "#/components/examples/projects-v2-item-simple" + } } } } @@ -133783,7 +133795,14 @@ ] }, "user": { - "$ref": "#/components/schemas/simple-user" + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] }, "body": { "description": "The text of the comment.", diff --git a/descriptions-next/api.github.com/api.github.com.yaml b/descriptions-next/api.github.com/api.github.com.yaml index eb6503449..9dc439b79 100644 --- a/descriptions-next/api.github.com/api.github.com.yaml +++ b/descriptions-next/api.github.com/api.github.com.yaml @@ -2083,6 +2083,8 @@ paths: - not_set code_scanning_default_setup_options: "$ref": "#/components/schemas/code-scanning-default-setup-options" + code_scanning_options: + "$ref": "#/components/schemas/code-scanning-options" code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -11944,6 +11946,8 @@ paths: - not_set code_scanning_default_setup_options: "$ref": "#/components/schemas/code-scanning-default-setup-options" + code_scanning_options: + "$ref": "#/components/schemas/code-scanning-options" code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -18359,70 +18363,62 @@ paths: requestBody: required: true description: Details of the item to add to the project. You can specify either - the database ID or the repository owner, name, and issue/PR number. + the unique ID or the repository owner, name, and issue/PR number. content: application/json: schema: + type: object + additionalProperties: false + properties: + type: + type: string + enum: + - Issue + - PullRequest + description: The type of item to add to the project. Must be either + Issue or PullRequest. + id: + type: integer + description: The unique identifier of the issue or pull request + to add to the project. + owner: + type: string + description: The repository owner login. + repo: + type: string + description: The repository name. + number: + type: integer + description: The issue or pull request number. + required: + - type oneOf: - - type: object - properties: - type: - type: string - enum: - - Issue - - PullRequest - description: The type of item to add to the project. Must be either - Issue or PullRequest. - id: - type: integer - description: The unique ID of the issue or pull request to add - to the project. - required: - - type + - required: - id - - type: object - properties: - type: - type: string - enum: - - Issue - - PullRequest - description: The type of item to add to the project. Must be either - Issue or PullRequest. - owner: - type: string - description: The repository owner login. - repo: - type: string - description: The repository name. - number: - type: integer - description: The issue or pull request number. - required: - - type + - required: - owner - repo - number examples: - issue-with-id: - summary: Add issue by database ID + issue_with_id: + summary: Add an issue using its unique ID value: type: Issue id: 3 - pull_request-with-id: - summary: Add pull request by database ID + pull_request_with_id: + summary: Add a pull request using its unique ID value: type: PullRequest id: 3 - issue-with-nwo: - summary: Add issue by repository and number + issue_with_nwo: + summary: Add an issue using repository owner, name, and issue number value: type: Issue owner: octocat repo: hello-world number: 42 - pull_request-with-nwo: - summary: Add pull request by repository and number + pull_request_with_nwo: + summary: Add a pull request using repository owner, name, and PR number value: type: PullRequest owner: octocat @@ -18436,10 +18432,24 @@ paths: schema: "$ref": "#/components/schemas/projects-v2-item-simple" examples: - issue: - "$ref": "#/components/examples/projects-v2-item-simple" - pull_request: - "$ref": "#/components/examples/projects-v2-item-simple" + issue_with_id: + summary: Response for adding an issue using its unique ID + value: + "$ref": "#/components/examples/projects-v2-item-simple" + pull_request_with_id: + summary: Response for adding a pull request using its unique ID + value: + "$ref": "#/components/examples/projects-v2-item-simple" + issue_with_nwo: + summary: Response for adding an issue using repository owner, name, + and issue number + value: + "$ref": "#/components/examples/projects-v2-item-simple" + pull_request_with_nwo: + summary: Response for adding a pull request using repository owner, + name, and PR number + value: + "$ref": "#/components/examples/projects-v2-item-simple" '304': "$ref": "#/components/responses/not_modified" '403': @@ -25337,15 +25347,8 @@ paths: - "$ref": "#/components/parameters/repo" - "$ref": "#/components/parameters/workflow-id" responses: - '200': + '204': description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/workflow-dispatch-response" - examples: - default: - "$ref": "#/components/examples/workflow-dispatch-response" requestBody: required: true content: @@ -54210,70 +54213,62 @@ paths: requestBody: required: true description: Details of the item to add to the project. You can specify either - the database ID or the repository owner, name, and issue/PR number. + the unique ID or the repository owner, name, and issue/PR number. content: application/json: schema: + type: object + additionalProperties: false + properties: + type: + type: string + enum: + - Issue + - PullRequest + description: The type of item to add to the project. Must be either + Issue or PullRequest. + id: + type: integer + description: The unique identifier of the issue or pull request + to add to the project. + owner: + type: string + description: The repository owner login. + repo: + type: string + description: The repository name. + number: + type: integer + description: The issue or pull request number. + required: + - type oneOf: - - type: object - properties: - type: - type: string - enum: - - Issue - - PullRequest - description: The type of item to add to the project. Must be either - Issue or PullRequest. - id: - type: integer - description: The unique ID of the issue or pull request to add - to the project. - required: - - type + - required: - id - - type: object - properties: - type: - type: string - enum: - - Issue - - PullRequest - description: The type of item to add to the project. Must be either - Issue or PullRequest. - owner: - type: string - description: The repository owner login. - repo: - type: string - description: The repository name. - number: - type: integer - description: The issue or pull request number. - required: - - type + - required: - owner - repo - number examples: - issue-with-id: - summary: Add issue by database ID + issue_with_id: + summary: Add an issue using its unique ID value: type: Issue id: 3 - pull_request-with-id: - summary: Add pull request by database ID + pull_request_with_id: + summary: Add a pull request using its unique ID value: type: PullRequest id: 3 - issue-with-nwo: - summary: Add issue by repository and number + issue_with_nwo: + summary: Add an issue using repository owner, name, and issue number value: type: Issue owner: octocat repo: hello-world number: 42 - pull_request-with-nwo: - summary: Add pull request by repository and number + pull_request_with_nwo: + summary: Add a pull request using repository owner, name, and PR number value: type: PullRequest owner: octocat @@ -54287,10 +54282,24 @@ paths: schema: "$ref": "#/components/schemas/projects-v2-item-simple" examples: - issue: - "$ref": "#/components/examples/projects-v2-item-simple" - pull_request: - "$ref": "#/components/examples/projects-v2-item-simple" + issue_with_id: + summary: Response for adding an issue using its unique ID + value: + "$ref": "#/components/examples/projects-v2-item-simple" + pull_request_with_id: + summary: Response for adding a pull request using its unique ID + value: + "$ref": "#/components/examples/projects-v2-item-simple" + issue_with_nwo: + summary: Response for adding an issue using repository owner, name, + and issue number + value: + "$ref": "#/components/examples/projects-v2-item-simple" + pull_request_with_nwo: + summary: Response for adding a pull request using repository owner, + name, and PR number + value: + "$ref": "#/components/examples/projects-v2-item-simple" '304': "$ref": "#/components/responses/not_modified" '403': @@ -96993,7 +97002,9 @@ components: examples: - 8 user: - "$ref": "#/components/schemas/simple-user" + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" body: description: The text of the comment. type: string diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index 8a9beb0ed..9d27d0931 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -21380,6 +21380,22 @@ } } }, + "code_scanning_options": { + "type": [ + "object", + "null" + ], + "description": "Security Configuration feature options for code scanning", + "properties": { + "allow_advanced": { + "type": [ + "boolean", + "null" + ], + "description": "Whether to allow repos which use advanced setup" + } + } + }, "code_scanning_delegated_alert_dismissal": { "type": "string", "description": "The enablement status of code scanning delegated alert dismissal", @@ -109465,6 +109481,22 @@ } } }, + "code_scanning_options": { + "type": [ + "object", + "null" + ], + "description": "Security Configuration feature options for code scanning", + "properties": { + "allow_advanced": { + "type": [ + "boolean", + "null" + ], + "description": "Whether to allow repos which use advanced setup" + } + } + }, "code_scanning_delegated_alert_dismissal": { "type": "string", "description": "The enablement status of code scanning delegated alert dismissal", @@ -184929,58 +184961,49 @@ ], "requestBody": { "required": true, - "description": "Details of the item to add to the project. You can specify either the database ID or the repository owner, name, and issue/PR number.", + "description": "Details of the item to add to the project. You can specify either the unique ID or the repository owner, name, and issue/PR number.", "content": { "application/json": { "schema": { + "type": "object", + "additionalProperties": false, + "properties": { + "type": { + "type": "string", + "enum": [ + "Issue", + "PullRequest" + ], + "description": "The type of item to add to the project. Must be either Issue or PullRequest." + }, + "id": { + "type": "integer", + "description": "The unique identifier of the issue or pull request to add to the project." + }, + "owner": { + "type": "string", + "description": "The repository owner login." + }, + "repo": { + "type": "string", + "description": "The repository name." + }, + "number": { + "type": "integer", + "description": "The issue or pull request number." + } + }, + "required": [ + "type" + ], "oneOf": [ { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "Issue", - "PullRequest" - ], - "description": "The type of item to add to the project. Must be either Issue or PullRequest." - }, - "id": { - "type": "integer", - "description": "The unique ID of the issue or pull request to add to the project." - } - }, "required": [ - "type", "id" ] }, { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "Issue", - "PullRequest" - ], - "description": "The type of item to add to the project. Must be either Issue or PullRequest." - }, - "owner": { - "type": "string", - "description": "The repository owner login." - }, - "repo": { - "type": "string", - "description": "The repository name." - }, - "number": { - "type": "integer", - "description": "The issue or pull request number." - } - }, "required": [ - "type", "owner", "repo", "number" @@ -184989,22 +185012,22 @@ ] }, "examples": { - "issue-with-id": { - "summary": "Add issue by database ID", + "issue_with_id": { + "summary": "Add an issue using its unique ID", "value": { "type": "Issue", "id": 3 } }, - "pull_request-with-id": { - "summary": "Add pull request by database ID", + "pull_request_with_id": { + "summary": "Add a pull request using its unique ID", "value": { "type": "PullRequest", "id": 3 } }, - "issue-with-nwo": { - "summary": "Add issue by repository and number", + "issue_with_nwo": { + "summary": "Add an issue using repository owner, name, and issue number", "value": { "type": "Issue", "owner": "octocat", @@ -185012,8 +185035,8 @@ "number": 42 } }, - "pull_request-with-nwo": { - "summary": "Add pull request by repository and number", + "pull_request_with_nwo": { + "summary": "Add a pull request using repository owner, name, and PR number", "value": { "type": "PullRequest", "owner": "octocat", @@ -192571,18 +192594,105 @@ ] }, "examples": { - "issue": { + "issue_with_id": { + "summary": "Response for adding an issue using its unique ID", "value": { - "id": 17, - "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", - "content": { - "id": 38, - "node_id": "I_kwDOANN5s85FtLts", - "title": "Example Draft Issue", - "body": "This is a draft issue in the project.", + "value": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "title": "Example Draft Issue", + "body": "This is a draft issue in the project.", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "user": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + }, + "content_type": "DraftIssue", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, "created_at": "2022-04-28T12:00:00Z", "updated_at": "2022-04-28T12:00:00Z", - "user": { + "archived_at": null, + "project_url": "https://api.github.com/users/octocat/projectsV2/1", + "item_url": "https://api.github.com/users/octocat/projectsV2/items/17" + } + } + }, + "pull_request_with_id": { + "summary": "Response for adding a pull request using its unique ID", + "value": { + "value": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "title": "Example Draft Issue", + "body": "This is a draft issue in the project.", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "user": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + }, + "content_type": "DraftIssue", + "creator": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -192601,48 +192711,114 @@ "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", "site_admin": false - } - }, - "content_type": "DraftIssue", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2022-04-28T12:00:00Z", - "updated_at": "2022-04-28T12:00:00Z", - "archived_at": null, - "project_url": "https://api.github.com/users/octocat/projectsV2/1", - "item_url": "https://api.github.com/users/octocat/projectsV2/items/17" + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "archived_at": null, + "project_url": "https://api.github.com/users/octocat/projectsV2/1", + "item_url": "https://api.github.com/users/octocat/projectsV2/items/17" + } } }, - "pull_request": { + "issue_with_nwo": { + "summary": "Response for adding an issue using repository owner, name, and issue number", "value": { - "id": 17, - "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", - "content": { - "id": 38, - "node_id": "I_kwDOANN5s85FtLts", - "title": "Example Draft Issue", - "body": "This is a draft issue in the project.", + "value": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "title": "Example Draft Issue", + "body": "This is a draft issue in the project.", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "user": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + }, + "content_type": "DraftIssue", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, "created_at": "2022-04-28T12:00:00Z", "updated_at": "2022-04-28T12:00:00Z", - "user": { + "archived_at": null, + "project_url": "https://api.github.com/users/octocat/projectsV2/1", + "item_url": "https://api.github.com/users/octocat/projectsV2/items/17" + } + } + }, + "pull_request_with_nwo": { + "summary": "Response for adding a pull request using repository owner, name, and PR number", + "value": { + "value": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "title": "Example Draft Issue", + "body": "This is a draft issue in the project.", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "user": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + }, + "content_type": "DraftIssue", + "creator": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -192661,34 +192837,13 @@ "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", "site_admin": false - } - }, - "content_type": "DraftIssue", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2022-04-28T12:00:00Z", - "updated_at": "2022-04-28T12:00:00Z", - "archived_at": null, - "project_url": "https://api.github.com/users/octocat/projectsV2/1", - "item_url": "https://api.github.com/users/octocat/projectsV2/items/17" + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "archived_at": null, + "project_url": "https://api.github.com/users/octocat/projectsV2/1", + "item_url": "https://api.github.com/users/octocat/projectsV2/items/17" + } } } } @@ -268747,48 +268902,8 @@ } ], "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Workflow Dispatch Response", - "description": "Response containing the workflow run ID and URLs.", - "type": "object", - "properties": { - "workflow_run_id": { - "title": "Workflow Run ID", - "description": "The ID of the workflow run.", - "type": "integer", - "format": "int64" - }, - "run_url": { - "type": "string", - "format": "uri", - "description": "The URL to the workflow run." - }, - "html_url": { - "type": "string", - "format": "uri" - } - }, - "required": [ - "workflow_run_id", - "run_url", - "html_url" - ] - }, - "examples": { - "default": { - "value": { - "workflow_run_id": 1, - "run_url": "https://api.github.com/repos/octo-org/octo-repo/actions/runs/1", - "html_url": "https://github.com/octo-org/octo-repo/actions/runs/1" - } - } - } - } - } + "204": { + "description": "Response" } }, "requestBody": { @@ -499071,171 +499186,178 @@ ] }, "user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] + "anyOf": [ + { + "type": "null" }, - "user_view_type": { - "type": "string", - "examples": [ - "public" + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" ] }, "body": { @@ -522761,171 +522883,178 @@ ] }, "user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] + "anyOf": [ + { + "type": "null" }, - "user_view_type": { - "type": "string", - "examples": [ - "public" + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" ] }, "body": { @@ -523401,171 +523530,178 @@ ] }, "user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] + "anyOf": [ + { + "type": "null" }, - "user_view_type": { - "type": "string", - "examples": [ - "public" + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" ] }, "body": { @@ -524080,171 +524216,178 @@ ] }, "user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] + "anyOf": [ + { + "type": "null" }, - "user_view_type": { - "type": "string", - "examples": [ - "public" + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" ] }, "body": { @@ -539683,171 +539826,178 @@ ] }, "user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] + "anyOf": [ + { + "type": "null" }, - "user_view_type": { - "type": "string", - "examples": [ - "public" + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" ] }, "body": { @@ -540411,171 +540561,178 @@ ] }, "user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] + "anyOf": [ + { + "type": "null" }, - "user_view_type": { - "type": "string", - "examples": [ - "public" + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" ] }, "body": { @@ -541185,171 +541342,178 @@ ] }, "user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] + "anyOf": [ + { + "type": "null" }, - "user_view_type": { - "type": "string", - "examples": [ - "public" + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" ] }, "body": { @@ -748437,58 +748601,49 @@ ], "requestBody": { "required": true, - "description": "Details of the item to add to the project. You can specify either the database ID or the repository owner, name, and issue/PR number.", + "description": "Details of the item to add to the project. You can specify either the unique ID or the repository owner, name, and issue/PR number.", "content": { "application/json": { "schema": { + "type": "object", + "additionalProperties": false, + "properties": { + "type": { + "type": "string", + "enum": [ + "Issue", + "PullRequest" + ], + "description": "The type of item to add to the project. Must be either Issue or PullRequest." + }, + "id": { + "type": "integer", + "description": "The unique identifier of the issue or pull request to add to the project." + }, + "owner": { + "type": "string", + "description": "The repository owner login." + }, + "repo": { + "type": "string", + "description": "The repository name." + }, + "number": { + "type": "integer", + "description": "The issue or pull request number." + } + }, + "required": [ + "type" + ], "oneOf": [ { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "Issue", - "PullRequest" - ], - "description": "The type of item to add to the project. Must be either Issue or PullRequest." - }, - "id": { - "type": "integer", - "description": "The unique ID of the issue or pull request to add to the project." - } - }, "required": [ - "type", "id" ] }, { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "Issue", - "PullRequest" - ], - "description": "The type of item to add to the project. Must be either Issue or PullRequest." - }, - "owner": { - "type": "string", - "description": "The repository owner login." - }, - "repo": { - "type": "string", - "description": "The repository name." - }, - "number": { - "type": "integer", - "description": "The issue or pull request number." - } - }, "required": [ - "type", "owner", "repo", "number" @@ -748497,22 +748652,22 @@ ] }, "examples": { - "issue-with-id": { - "summary": "Add issue by database ID", + "issue_with_id": { + "summary": "Add an issue using its unique ID", "value": { "type": "Issue", "id": 3 } }, - "pull_request-with-id": { - "summary": "Add pull request by database ID", + "pull_request_with_id": { + "summary": "Add a pull request using its unique ID", "value": { "type": "PullRequest", "id": 3 } }, - "issue-with-nwo": { - "summary": "Add issue by repository and number", + "issue_with_nwo": { + "summary": "Add an issue using repository owner, name, and issue number", "value": { "type": "Issue", "owner": "octocat", @@ -748520,8 +748675,8 @@ "number": 42 } }, - "pull_request-with-nwo": { - "summary": "Add pull request by repository and number", + "pull_request_with_nwo": { + "summary": "Add a pull request using repository owner, name, and PR number", "value": { "type": "PullRequest", "owner": "octocat", @@ -756079,18 +756234,105 @@ ] }, "examples": { - "issue": { + "issue_with_id": { + "summary": "Response for adding an issue using its unique ID", "value": { - "id": 17, - "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", - "content": { - "id": 38, - "node_id": "I_kwDOANN5s85FtLts", - "title": "Example Draft Issue", - "body": "This is a draft issue in the project.", + "value": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "title": "Example Draft Issue", + "body": "This is a draft issue in the project.", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "user": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + }, + "content_type": "DraftIssue", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, "created_at": "2022-04-28T12:00:00Z", "updated_at": "2022-04-28T12:00:00Z", - "user": { + "archived_at": null, + "project_url": "https://api.github.com/users/octocat/projectsV2/1", + "item_url": "https://api.github.com/users/octocat/projectsV2/items/17" + } + } + }, + "pull_request_with_id": { + "summary": "Response for adding a pull request using its unique ID", + "value": { + "value": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "title": "Example Draft Issue", + "body": "This is a draft issue in the project.", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "user": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + }, + "content_type": "DraftIssue", + "creator": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -756109,48 +756351,114 @@ "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", "site_admin": false - } - }, - "content_type": "DraftIssue", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2022-04-28T12:00:00Z", - "updated_at": "2022-04-28T12:00:00Z", - "archived_at": null, - "project_url": "https://api.github.com/users/octocat/projectsV2/1", - "item_url": "https://api.github.com/users/octocat/projectsV2/items/17" + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "archived_at": null, + "project_url": "https://api.github.com/users/octocat/projectsV2/1", + "item_url": "https://api.github.com/users/octocat/projectsV2/items/17" + } } }, - "pull_request": { + "issue_with_nwo": { + "summary": "Response for adding an issue using repository owner, name, and issue number", "value": { - "id": 17, - "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", - "content": { - "id": 38, - "node_id": "I_kwDOANN5s85FtLts", - "title": "Example Draft Issue", - "body": "This is a draft issue in the project.", + "value": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "title": "Example Draft Issue", + "body": "This is a draft issue in the project.", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "user": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + }, + "content_type": "DraftIssue", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, "created_at": "2022-04-28T12:00:00Z", "updated_at": "2022-04-28T12:00:00Z", - "user": { + "archived_at": null, + "project_url": "https://api.github.com/users/octocat/projectsV2/1", + "item_url": "https://api.github.com/users/octocat/projectsV2/items/17" + } + } + }, + "pull_request_with_nwo": { + "summary": "Response for adding a pull request using repository owner, name, and PR number", + "value": { + "value": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "title": "Example Draft Issue", + "body": "This is a draft issue in the project.", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "user": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + }, + "content_type": "DraftIssue", + "creator": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -756169,34 +756477,13 @@ "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", "site_admin": false - } - }, - "content_type": "DraftIssue", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2022-04-28T12:00:00Z", - "updated_at": "2022-04-28T12:00:00Z", - "archived_at": null, - "project_url": "https://api.github.com/users/octocat/projectsV2/1", - "item_url": "https://api.github.com/users/octocat/projectsV2/items/17" + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "archived_at": null, + "project_url": "https://api.github.com/users/octocat/projectsV2/1", + "item_url": "https://api.github.com/users/octocat/projectsV2/items/17" + } } } } diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index fb253ff04..6678151bd 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -456,7 +456,7 @@ paths: required: false schema: type: string - - &50 + - &51 name: direction description: The direction to sort the results by. in: query @@ -695,7 +695,7 @@ paths: required: - vector_string - score - cvss_severities: &52 + cvss_severities: &53 type: - object - 'null' @@ -742,7 +742,7 @@ paths: required: - vector_string - score - epss: &53 + epss: &54 type: - object - 'null' @@ -1038,7 +1038,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &114 + schema: &115 title: Validation Error Simple description: Validation Error Simple type: object @@ -1831,7 +1831,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &113 + schema: &114 title: Validation Error description: Validation Error type: object @@ -2242,7 +2242,7 @@ paths: parameters: - *17 - *19 - - &76 + - &77 name: since description: 'Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -2837,7 +2837,7 @@ paths: suspended_at: suspended_by: headers: - Link: &56 + Link: &57 example: ; rel="next", ; rel="last" schema: @@ -3027,7 +3027,7 @@ paths: - selected repositories: type: array - items: &68 + items: &69 title: Repository description: A repository on GitHub. type: object @@ -3054,7 +3054,7 @@ paths: license: anyOf: - type: 'null' - - &73 + - &74 title: License Simple description: License Simple type: object @@ -5432,7 +5432,7 @@ paths: responses: '202': *37 '422': *7 - '500': &104 + '500': &105 description: Internal Error content: application/json: @@ -7927,7 +7927,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &172 + code_scanning_options: &49 type: - object - 'null' @@ -8349,6 +8349,7 @@ paths: - disabled - not_set code_scanning_default_setup_options: *48 + code_scanning_options: *49 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -8442,7 +8443,7 @@ paths: '304': *35 '403': *27 '404': *6 - '409': &49 + '409': &50 description: Conflict content: application/json: @@ -8477,7 +8478,7 @@ paths: '400': *14 '403': *27 '404': *6 - '409': *49 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -8529,7 +8530,7 @@ paths: '202': *37 '403': *27 '404': *6 - '409': *49 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -8702,7 +8703,7 @@ paths: - failed - updating - removed_by_enterprise - repository: &55 + repository: &56 title: Simple Repository description: A GitHub repository. type: object @@ -9208,7 +9209,7 @@ paths: - updated - epss_percentage default: created - - *50 + - *51 - *43 - *44 - *17 @@ -9223,7 +9224,7 @@ paths: type: object description: A Dependabot alert. properties: - number: &162 + number: &163 type: integer description: The security alert number. readOnly: true @@ -9241,7 +9242,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &51 + package: &52 type: object description: Details for the vulnerable package. readOnly: true @@ -9320,13 +9321,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &54 + items: &55 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *51 + package: *52 severity: type: string description: The severity of the vulnerability. @@ -9394,8 +9395,8 @@ paths: - score - vector_string additionalProperties: false - cvss_severities: *52 - epss: *53 + cvss_severities: *53 + epss: *54 cwes: type: array description: Details for the advisory pertaining to Common @@ -9495,30 +9496,30 @@ paths: - updated_at - withdrawn_at additionalProperties: false - security_vulnerability: *54 - url: &165 + security_vulnerability: *55 + url: &166 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &166 + html_url: &167 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - created_at: &163 + created_at: &164 type: string description: 'The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - updated_at: &164 + updated_at: &165 type: string description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_at: &168 + dismissed_at: &169 type: - string - 'null' @@ -9549,7 +9550,7 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: &167 + fixed_at: &168 type: - string - 'null' @@ -9604,7 +9605,7 @@ paths: format: uri description: The API URL to get more information about this dismissal request. - repository: *55 + repository: *56 required: - number - state @@ -9972,7 +9973,7 @@ paths: application/json: schema: type: array - items: &57 + items: &58 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -10037,7 +10038,7 @@ paths: - updated_at - group_id examples: - default: &58 + default: &59 value: - id: 1 name: Justice League @@ -10050,7 +10051,7 @@ paths: created_at: '2019-01-26T19:01:12Z' updated_at: '2019-01-26T19:14:43Z' headers: - Link: *56 + Link: *57 '403': *27 x-github: githubCloudOnly: false @@ -10125,9 +10126,9 @@ paths: description: Response content: application/json: - schema: *57 + schema: *58 examples: - default: *58 + default: *59 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10145,7 +10146,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *38 - - &59 + - &60 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -10164,7 +10165,7 @@ paths: type: array items: *4 examples: - default: &60 + default: &61 value: - login: octocat id: 1 @@ -10185,7 +10186,7 @@ paths: type: User site_admin: false headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10203,7 +10204,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *38 - - *59 + - *60 requestBody: required: true content: @@ -10234,7 +10235,7 @@ paths: type: array items: *4 examples: - default: *60 + default: *61 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10252,7 +10253,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *38 - - *59 + - *60 requestBody: required: true content: @@ -10283,7 +10284,7 @@ paths: type: array items: *4 examples: - default: *60 + default: *61 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10301,8 +10302,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *38 - - *59 - - &61 + - *60 + - &62 name: username description: The handle for the GitHub user account. in: path @@ -10316,7 +10317,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &62 + exampleKey1: &63 value: login: octocat id: 1 @@ -10352,8 +10353,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *38 - - *59 - - *61 + - *60 + - *62 responses: '201': description: Successfully added team member @@ -10361,7 +10362,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *62 + exampleKey1: *63 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10379,8 +10380,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *38 - - *59 - - *61 + - *60 + - *62 responses: '204': description: Response @@ -10402,7 +10403,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments parameters: - *38 - - *59 + - *60 - *17 - *19 responses: @@ -10412,7 +10413,7 @@ paths: application/json: schema: type: array - items: &63 + items: &64 title: Organization Simple description: A GitHub organization. type: object @@ -10484,7 +10485,7 @@ paths: - avatar_url - description examples: - default: &64 + default: &65 value: login: github id: 1 @@ -10515,7 +10516,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments parameters: - *38 - - *59 + - *60 requestBody: required: true content: @@ -10543,9 +10544,9 @@ paths: application/json: schema: type: array - items: *63 + items: *64 examples: - default: &100 + default: &101 value: - login: github id: 1 @@ -10576,7 +10577,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments parameters: - *38 - - *59 + - *60 requestBody: required: true content: @@ -10617,8 +10618,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment parameters: - *38 - - *59 - - &65 + - *60 + - &66 name: org description: The organization name. The name is not case sensitive. in: path @@ -10630,9 +10631,9 @@ paths: description: The team is assigned to the organization content: application/json: - schema: *63 + schema: *64 examples: - default: *64 + default: *65 '404': description: The team is not assigned to the organization x-github: @@ -10651,16 +10652,16 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment parameters: - *38 - - *59 - - *65 + - *60 + - *66 responses: '201': description: Successfully assigned the enterprise team to the organization. content: application/json: - schema: *63 + schema: *64 examples: - default: *64 + default: *65 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10677,8 +10678,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment parameters: - *38 - - *59 - - *65 + - *60 + - *66 responses: '204': description: Successfully unassigned the enterprise team from the organization. @@ -10702,7 +10703,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *38 - - &66 + - &67 name: team_slug description: The slug of the team name. in: path @@ -10714,11 +10715,11 @@ paths: description: Response content: application/json: - schema: *57 + schema: *58 examples: - default: *58 + default: *59 headers: - Link: *56 + Link: *57 '403': *27 x-github: githubCloudOnly: false @@ -10736,7 +10737,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *38 - - *66 + - *67 requestBody: required: true content: @@ -10794,11 +10795,11 @@ paths: description: Response content: application/json: - schema: *57 + schema: *58 examples: - default: *58 + default: *59 headers: - Link: *56 + Link: *57 '403': *27 x-github: githubCloudOnly: false @@ -10819,7 +10820,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *38 - - *66 + - *67 responses: '204': description: Response @@ -10857,7 +10858,7 @@ paths: application/json: schema: type: array - items: &95 + items: &96 title: Event description: Event type: object @@ -10868,7 +10869,7 @@ paths: type: - string - 'null' - actor: &67 + actor: &68 title: Actor description: Actor type: object @@ -10909,7 +10910,7 @@ paths: - id - name - url - org: *67 + org: *68 payload: oneOf: - title: CreateEvent @@ -11253,7 +11254,7 @@ paths: - id labels: type: array - items: &69 + items: &70 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -11336,7 +11337,7 @@ paths: properties: action: type: string - issue: &70 + issue: &71 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -11685,12 +11686,12 @@ paths: - node_id - name - description - repository: *68 + repository: *69 performed_via_github_app: anyOf: - type: 'null' - *5 - author_association: &71 + author_association: &72 title: author_association type: string description: How the author is associated with the @@ -11706,7 +11707,7 @@ paths: - OWNER examples: - OWNER - reactions: &72 + reactions: &73 title: Reaction Rollup type: object properties: @@ -11882,10 +11883,10 @@ paths: assignees: type: array items: *4 - label: *69 + label: *70 labels: type: array - items: *69 + items: *70 required: - action - issue @@ -11894,7 +11895,7 @@ paths: properties: action: type: string - issue: *70 + issue: *71 comment: &507 title: Issue Comment description: Comments provide a way for people to collaborate @@ -11945,12 +11946,12 @@ paths: issue_url: type: string format: uri - author_association: *71 + author_association: *72 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *72 + reactions: *73 required: - id - node_id @@ -12129,7 +12130,7 @@ paths: license: anyOf: - type: 'null' - - *73 + - *74 allow_forking: type: boolean is_template: @@ -12220,7 +12221,7 @@ paths: type: string number: type: integer - pull_request: &74 + pull_request: &75 title: Pull Request Minimal type: object properties: @@ -12291,10 +12292,10 @@ paths: assignees: type: array items: *4 - label: *69 + label: *70 labels: type: array - items: *69 + items: *70 required: - action - number @@ -12304,7 +12305,7 @@ paths: properties: action: type: string - pull_request: *74 + pull_request: *75 comment: type: object properties: @@ -12558,7 +12559,7 @@ paths: - pull_request updated_at: type: string - pull_request: *74 + pull_request: *75 required: - action - review @@ -12607,7 +12608,7 @@ paths: updated_at: type: string format: date-time - reactions: *72 + reactions: *73 required: - action - comment @@ -12775,7 +12776,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *72 + reactions: *73 required: - assets_url - upload_url @@ -12868,7 +12869,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *35 '403': *27 - '503': &105 + '503': &106 description: Service unavailable content: application/json: @@ -12970,7 +12971,7 @@ paths: _links: type: object properties: - timeline: &75 + timeline: &76 title: Link With Type description: Hypermedia Link with Type type: object @@ -12982,17 +12983,17 @@ paths: required: - href - type - user: *75 - security_advisories: *75 - current_user: *75 - current_user_public: *75 - current_user_actor: *75 - current_user_organization: *75 + user: *76 + security_advisories: *76 + current_user: *76 + current_user_public: *76 + current_user_actor: *76 + current_user_organization: *76 current_user_organizations: type: array - items: *75 - repository_discussions: *75 - repository_discussions_category: *75 + items: *76 + repository_discussions: *76 + repository_discussions_category: *76 required: - timeline - user @@ -13054,7 +13055,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *76 + - *77 - *17 - *19 responses: @@ -13064,7 +13065,7 @@ paths: application/json: schema: type: array - items: &77 + items: &78 title: Base Gist description: Base Gist type: object @@ -13161,7 +13162,7 @@ paths: - created_at - updated_at examples: - default: &78 + default: &79 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -13206,7 +13207,7 @@ paths: site_admin: false truncated: false headers: - Link: *56 + Link: *57 '304': *35 '403': *27 x-github: @@ -13285,7 +13286,7 @@ paths: description: Response content: application/json: - schema: &79 + schema: &80 title: Gist Simple description: Gist Simple type: object @@ -13677,7 +13678,7 @@ paths: truncated: type: boolean examples: - default: &80 + default: &81 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -13781,7 +13782,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-public-gists parameters: - - *76 + - *77 - *17 - *19 responses: @@ -13791,11 +13792,11 @@ paths: application/json: schema: type: array - items: *77 + items: *78 examples: - default: *78 + default: *79 headers: - Link: *56 + Link: *57 '422': *15 '304': *35 '403': *27 @@ -13815,7 +13816,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-starred-gists parameters: - - *76 + - *77 - *17 - *19 responses: @@ -13825,11 +13826,11 @@ paths: application/json: schema: type: array - items: *77 + items: *78 examples: - default: *78 + default: *79 headers: - Link: *56 + Link: *57 '401': *23 '304': *35 '403': *27 @@ -13855,7 +13856,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist parameters: - - &81 + - &82 name: gist_id description: The unique identifier of the gist. in: path @@ -13867,10 +13868,10 @@ paths: description: Response content: application/json: - schema: *79 + schema: *80 examples: - default: *80 - '403': &84 + default: *81 + '403': &85 description: Forbidden Gist content: application/json: @@ -13919,7 +13920,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#update-a-gist parameters: - - *81 + - *82 requestBody: required: true content: @@ -13983,9 +13984,9 @@ paths: description: Response content: application/json: - schema: *79 + schema: *80 examples: - updateGist: *80 + updateGist: *81 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -14143,7 +14144,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#delete-a-gist parameters: - - *81 + - *82 responses: '204': description: Response @@ -14172,7 +14173,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#list-gist-comments parameters: - - *81 + - *82 - *17 - *19 responses: @@ -14182,7 +14183,7 @@ paths: application/json: schema: type: array - items: &82 + items: &83 title: Gist Comment description: A comment made to a gist. type: object @@ -14220,7 +14221,7 @@ paths: format: date-time examples: - '2011-04-18T23:23:56Z' - author_association: *71 + author_association: *72 required: - url - id @@ -14260,7 +14261,7 @@ paths: updated_at: '2011-04-18T23:23:56Z' author_association: COLLABORATOR headers: - Link: *56 + Link: *57 '304': *35 '404': *6 '403': *27 @@ -14285,7 +14286,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#create-a-gist-comment parameters: - - *81 + - *82 requestBody: required: true content: @@ -14311,9 +14312,9 @@ paths: description: Response content: application/json: - schema: *82 + schema: *83 examples: - default: &83 + default: &84 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -14371,8 +14372,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#get-a-gist-comment parameters: - - *81 - - &85 + - *82 + - &86 name: comment_id description: The unique identifier of the comment. in: path @@ -14385,12 +14386,12 @@ paths: description: Response content: application/json: - schema: *82 + schema: *83 examples: - default: *83 + default: *84 '304': *35 '404': *6 - '403': *84 + '403': *85 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14412,8 +14413,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#update-a-gist-comment parameters: - - *81 - - *85 + - *82 + - *86 requestBody: required: true content: @@ -14439,9 +14440,9 @@ paths: description: Response content: application/json: - schema: *82 + schema: *83 examples: - default: *83 + default: *84 '404': *6 x-github: githubCloudOnly: false @@ -14458,8 +14459,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#delete-a-gist-comment parameters: - - *81 - - *85 + - *82 + - *86 responses: '204': description: Response @@ -14482,7 +14483,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-commits parameters: - - *81 + - *82 - *17 - *19 responses: @@ -14583,7 +14584,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-forks parameters: - - *81 + - *82 - *17 - *19 responses: @@ -14593,7 +14594,7 @@ paths: application/json: schema: type: array - items: *79 + items: *80 examples: default: value: @@ -14639,7 +14640,7 @@ paths: type: User site_admin: false headers: - Link: *56 + Link: *57 '404': *6 '304': *35 '403': *27 @@ -14658,13 +14659,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#fork-a-gist parameters: - - *81 + - *82 responses: '201': description: Response content: application/json: - schema: *77 + schema: *78 examples: default: value: @@ -14735,7 +14736,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *81 + - *82 responses: '204': description: Response if gist is starred @@ -14765,7 +14766,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#star-a-gist parameters: - - *81 + - *82 responses: '204': description: Response @@ -14787,7 +14788,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#unstar-a-gist parameters: - - *81 + - *82 responses: '204': description: Response @@ -14816,7 +14817,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist-revision parameters: - - *81 + - *82 - name: sha in: path required: true @@ -14827,9 +14828,9 @@ paths: description: Response content: application/json: - schema: *79 + schema: *80 examples: - default: *80 + default: *81 '422': *15 '404': *6 '403': *27 @@ -14990,7 +14991,7 @@ paths: type: integer repositories: type: array - items: *68 + items: *69 repository_selection: type: string examples: @@ -15114,7 +15115,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *56 + Link: *57 '403': *27 '304': *35 '401': *23 @@ -15216,8 +15217,8 @@ paths: - updated - comments default: created - - *50 - - *76 + - *51 + - *77 - name: collab in: query required: false @@ -15247,7 +15248,7 @@ paths: application/json: schema: type: array - items: *70 + items: *71 examples: default: &220 value: @@ -15493,7 +15494,7 @@ paths: watchers: 1 author_association: COLLABORATOR headers: - Link: *56 + Link: *57 '422': *15 '304': *35 '404': *6 @@ -15528,7 +15529,7 @@ paths: application/json: schema: type: array - items: *73 + items: *74 examples: default: value: @@ -15826,7 +15827,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &86 + X-CommonMarker-Version: &87 example: 0.17.4 schema: type: string @@ -15881,7 +15882,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *86 + X-CommonMarker-Version: *87 content: text/html: schema: @@ -15910,7 +15911,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &89 + - &90 name: account_id description: account_id parameter in: path @@ -15922,7 +15923,7 @@ paths: description: Response content: application/json: - schema: &88 + schema: &89 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -15956,7 +15957,7 @@ paths: - 'null' id: type: integer - plan: &87 + plan: &88 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -16059,7 +16060,7 @@ paths: - 'null' updated_at: type: string - plan: *87 + plan: *88 required: - url - id @@ -16067,7 +16068,7 @@ paths: - login - marketplace_purchase examples: - default: &90 + default: &91 value: url: https://api.github.com/orgs/github type: Organization @@ -16152,9 +16153,9 @@ paths: application/json: schema: type: array - items: *87 + items: *88 examples: - default: &91 + default: &92 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -16172,7 +16173,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *56 + Link: *57 '404': *6 '401': *23 x-github: @@ -16194,14 +16195,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &92 + - &93 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &93 + - &94 name: sort description: The property to sort the results by. in: query @@ -16231,9 +16232,9 @@ paths: application/json: schema: type: array - items: *88 + items: *89 examples: - default: &94 + default: &95 value: - url: https://api.github.com/orgs/github type: Organization @@ -16284,7 +16285,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *56 + Link: *57 '404': *6 '422': *15 '401': *23 @@ -16307,15 +16308,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *89 + - *90 responses: '200': description: Response content: application/json: - schema: *88 + schema: *89 examples: - default: *90 + default: *91 '404': description: Not Found when the account has not purchased the listing '401': *23 @@ -16347,11 +16348,11 @@ paths: application/json: schema: type: array - items: *87 + items: *88 examples: - default: *91 + default: *92 headers: - Link: *56 + Link: *57 '401': *23 x-github: githubCloudOnly: false @@ -16372,8 +16373,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *92 - *93 + - *94 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -16393,11 +16394,11 @@ paths: application/json: schema: type: array - items: *88 + items: *89 examples: - default: *94 + default: *95 headers: - Link: *56 + Link: *57 '401': *23 x-github: githubCloudOnly: false @@ -16684,7 +16685,7 @@ paths: application/json: schema: type: array - items: *95 + items: *96 examples: default: value: @@ -16768,7 +16769,7 @@ paths: schema: type: boolean default: false - - *76 + - *77 - &539 name: before description: 'Only show notifications updated before the given time. This @@ -16794,14 +16795,14 @@ paths: application/json: schema: type: array - items: &96 + items: &97 title: Thread description: Thread type: object properties: id: type: string - repository: &144 + repository: &145 title: Minimal Repository description: Minimal Repository type: object @@ -17387,7 +17388,7 @@ paths: url: https://api.github.com/notifications/threads/1 subscription_url: https://api.github.com/notifications/threads/1/subscription headers: - Link: *56 + Link: *57 '304': *35 '403': *27 '401': *23 @@ -17471,7 +17472,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread parameters: - - &97 + - &98 name: thread_id description: The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications @@ -17485,7 +17486,7 @@ paths: description: Response content: application/json: - schema: *96 + schema: *97 examples: default: value: @@ -17587,7 +17588,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-read parameters: - - *97 + - *98 responses: '205': description: Reset Content @@ -17609,7 +17610,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-done parameters: - - *97 + - *98 responses: '204': description: No content @@ -17632,13 +17633,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *97 + - *98 responses: '200': description: Response content: application/json: - schema: &98 + schema: &99 title: Thread Subscription description: Thread Subscription type: object @@ -17682,7 +17683,7 @@ paths: - url - subscribed examples: - default: &99 + default: &100 value: subscribed: true ignored: false @@ -17713,7 +17714,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#set-a-thread-subscription parameters: - - *97 + - *98 requestBody: required: false content: @@ -17734,9 +17735,9 @@ paths: description: Response content: application/json: - schema: *98 + schema: *99 examples: - default: *99 + default: *100 '304': *35 '403': *27 '401': *23 @@ -17759,7 +17760,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#delete-a-thread-subscription parameters: - - *97 + - *98 responses: '204': description: Response @@ -17854,9 +17855,9 @@ paths: application/json: schema: type: array - items: *63 + items: *64 examples: - default: *100 + default: *101 headers: Link: example: ; rel="next" @@ -17883,13 +17884,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-an-organization parameters: - - *65 + - *66 responses: '200': description: Response content: application/json: - schema: &101 + schema: &102 title: Actions cache retention limit for an organization description: GitHub Actions cache retention policy for an organization. type: object @@ -17923,12 +17924,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-an-organization parameters: - - *65 + - *66 requestBody: required: true content: application/json: - schema: *101 + schema: *102 examples: selected_actions: *40 responses: @@ -17957,13 +17958,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-an-organization parameters: - - *65 + - *66 responses: '200': description: Response content: application/json: - schema: &102 + schema: &103 title: Actions cache storage limit for an organization description: GitHub Actions cache storage policy for an organization. type: object @@ -17997,12 +17998,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-an-organization parameters: - - *65 + - *66 requestBody: required: true content: application/json: - schema: *102 + schema: *103 examples: selected_actions: *42 responses: @@ -18031,7 +18032,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization parameters: - - *65 + - *66 - name: page in: query description: The page number of results to fetch. @@ -18077,7 +18078,7 @@ paths: items: anyOf: - type: 'null' - - *55 + - *56 additionalProperties: false examples: default: @@ -18182,7 +18183,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization parameters: - - *65 + - *66 requestBody: required: true content: @@ -18248,7 +18249,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot parameters: - - *65 + - *66 requestBody: required: true content: @@ -18301,7 +18302,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties-for-orgs#get-all-custom-property-values-for-an-organization parameters: - - *65 + - *66 responses: '200': description: Response @@ -18309,7 +18310,7 @@ paths: application/json: schema: type: array - items: &103 + items: &104 title: Custom Property Value description: Custom property name and associated value type: object @@ -18366,7 +18367,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties-for-orgs#create-or-update-custom-property-values-for-an-organization parameters: - - *65 + - *66 requestBody: required: true content: @@ -18378,7 +18379,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the organization. - items: *103 + items: *104 required: - properties examples: @@ -18418,7 +18419,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#get-all-budgets-for-an-organization parameters: - - *65 + - *66 responses: '200': description: Response when getting all budgets @@ -18545,7 +18546,7 @@ paths: alert_recipients: [] '404': *6 '403': *27 - '500': *104 + '500': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18566,8 +18567,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#get-a-budget-by-id-for-an-organization parameters: - - *65 - - &106 + - *66 + - &107 name: budget_id description: The ID corresponding to the budget. in: path @@ -18666,8 +18667,8 @@ paths: '400': *14 '404': *6 '403': *27 - '500': *104 - '503': *105 + '500': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18687,8 +18688,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#update-a-budget-for-an-organization parameters: - - *65 - - *106 + - *66 + - *107 requestBody: required: true content: @@ -18874,8 +18875,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#delete-a-budget-for-an-organization parameters: - - *65 - - *106 + - *66 + - *107 responses: '200': description: Response when deleting a budget @@ -18901,8 +18902,8 @@ paths: '400': *14 '404': *6 '403': *27 - '500': *104 - '503': *105 + '500': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18922,8 +18923,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-an-organization parameters: - - *65 - - &107 + - *66 + - &108 name: year description: If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, @@ -18932,7 +18933,7 @@ paths: required: false schema: type: integer - - &109 + - &110 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current @@ -18941,7 +18942,7 @@ paths: required: false schema: type: integer - - &108 + - &109 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is @@ -18963,7 +18964,7 @@ paths: required: false schema: type: string - - &110 + - &111 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -19079,8 +19080,8 @@ paths: '400': *14 '403': *27 '404': *6 - '500': *104 - '503': *105 + '500': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19100,8 +19101,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-an-organization parameters: - - *65 - - *107 + - *66 + - *108 - &689 name: month description: If specified, only return results for a single month. The value @@ -19111,7 +19112,7 @@ paths: required: false schema: type: integer - - *108 + - *109 responses: '200': description: Billing usage report response for an organization @@ -19186,8 +19187,8 @@ paths: repositoryName: github/example '400': *14 '403': *27 - '500': *104 - '503': *105 + '500': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19210,10 +19211,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-an-organization parameters: - - *65 - - *107 - - *109 + - *66 - *108 + - *110 + - *109 - &690 name: repository description: The repository name to query for usage in the format owner/repository. @@ -19221,7 +19222,7 @@ paths: required: false schema: type: string - - *110 + - *111 - &691 name: sku description: The SKU to query for usage. @@ -19332,8 +19333,8 @@ paths: netAmount: 8.0 '400': *14 '403': *27 - '500': *104 - '503': *105 + '500': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19359,13 +19360,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-an-organization parameters: - - *65 + - *66 responses: '200': description: Response content: application/json: - schema: &111 + schema: &112 title: Organization Full description: Organization Full type: object @@ -19760,7 +19761,7 @@ paths: - updated_at - archived_at examples: - default-response: &112 + default-response: &113 value: login: github id: 1 @@ -19860,7 +19861,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#update-an-organization parameters: - - *65 + - *66 requestBody: required: false content: @@ -20077,18 +20078,18 @@ paths: description: Response content: application/json: - schema: *111 + schema: *112 examples: - default: *112 + default: *113 '422': description: Validation failed content: application/json: schema: oneOf: - - *113 - *114 - '409': *49 + - *115 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20111,7 +20112,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#delete-an-organization parameters: - - *65 + - *66 responses: '202': *37 '404': *6 @@ -20136,7 +20137,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *65 + - *66 responses: '200': description: Response @@ -20162,7 +20163,7 @@ paths: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20183,7 +20184,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization parameters: - - *65 + - *66 - *17 - *19 responses: @@ -20239,7 +20240,7 @@ paths: active_caches_size_in_bytes: 1022142 active_caches_count: 2 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20259,7 +20260,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *65 + - *66 - *17 - *19 responses: @@ -20277,7 +20278,7 @@ paths: type: integer runners: type: array - items: &115 + items: &116 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -20340,7 +20341,7 @@ paths: - size_gb - display_name - source - machine_size_details: &123 + machine_size_details: &124 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -20449,7 +20450,7 @@ paths: - public_ip_enabled - platform examples: - default: &143 + default: &144 value: total_count: 2 runners: @@ -20491,7 +20492,7 @@ paths: public_ips: [] last_active_on: '2023-04-26T15:23:37Z' headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20509,7 +20510,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *65 + - *66 requestBody: required: true content: @@ -20587,9 +20588,9 @@ paths: description: Response content: application/json: - schema: *115 + schema: *116 examples: - default: &124 + default: &125 value: id: 5 name: My hosted ubuntu runner @@ -20630,7 +20631,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-custom-images-for-an-organization parameters: - - *65 + - *66 responses: '200': description: Response @@ -20646,7 +20647,7 @@ paths: type: integer images: type: array - items: &116 + items: &117 title: GitHub-hosted runner custom image details description: Provides details of a custom runner image type: object @@ -20705,7 +20706,7 @@ paths: - latest_version - state examples: - default: &118 + default: &119 value: total_count: 2 image_versions: @@ -20736,8 +20737,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-a-custom-image-definition-for-github-actions-hosted-runners parameters: - - *65 - - &117 + - *66 + - &118 name: image_definition_id description: Image definition ID of custom image in: path @@ -20749,7 +20750,7 @@ paths: description: Response content: application/json: - schema: *116 + schema: *117 examples: default: value: @@ -20779,8 +20780,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-custom-image-from-the-organization parameters: - - *65 - - *117 + - *66 + - *118 responses: '204': description: Response @@ -20803,8 +20804,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-image-versions-of-a-custom-image-for-an-organization parameters: - - *117 - - *65 + - *118 + - *66 responses: '200': description: Response @@ -20820,7 +20821,7 @@ paths: type: integer image_versions: type: array - items: &119 + items: &120 title: GitHub-hosted runner custom image version details. description: Provides details of a hosted runner custom image version @@ -20858,7 +20859,7 @@ paths: - created_on - state_details examples: - default: *118 + default: *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20878,9 +20879,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-an-image-version-of-a-custom-image-for-github-actions-hosted-runners parameters: - - *65 - - *117 - - &120 + - *66 + - *118 + - &121 name: version description: Version of a custom image in: path @@ -20893,7 +20894,7 @@ paths: description: Response content: application/json: - schema: *119 + schema: *120 examples: default: value: @@ -20919,9 +20920,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-an-image-version-of-custom-image-from-the-organization parameters: - - *65 - - *117 - - *120 + - *66 + - *118 + - *121 responses: '204': description: Response @@ -20942,7 +20943,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-organization parameters: - - *65 + - *66 responses: '200': description: Response @@ -20958,7 +20959,7 @@ paths: type: integer images: type: array - items: &121 + items: &122 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -20998,7 +20999,7 @@ paths: - display_name - source examples: - default: &122 + default: &123 value: id: ubuntu-20.04 platform: linux-x64 @@ -21022,7 +21023,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-organization parameters: - - *65 + - *66 responses: '200': description: Response @@ -21038,9 +21039,9 @@ paths: type: integer images: type: array - items: *121 + items: *122 examples: - default: *122 + default: *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21057,7 +21058,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-organization parameters: - - *65 + - *66 responses: '200': description: Response @@ -21112,7 +21113,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-organization parameters: - - *65 + - *66 responses: '200': description: Response @@ -21128,7 +21129,7 @@ paths: type: integer machine_specs: type: array - items: *123 + items: *124 examples: default: value: @@ -21153,7 +21154,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-organization parameters: - - *65 + - *66 responses: '200': description: Response @@ -21197,8 +21198,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *65 - - &125 + - *66 + - &126 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -21210,11 +21211,11 @@ paths: description: Response content: application/json: - schema: *115 + schema: *116 examples: - default: *124 + default: *125 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21232,8 +21233,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *65 - - *125 + - *66 + - *126 requestBody: required: true content: @@ -21277,9 +21278,9 @@ paths: description: Response content: application/json: - schema: *115 + schema: *116 examples: - default: *124 + default: *125 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21295,16 +21296,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *65 - - *125 + - *66 + - *126 responses: '202': description: Response content: application/json: - schema: *115 + schema: *116 examples: - default: *124 + default: *125 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -21324,13 +21325,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *65 + - *66 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &126 + schema: &127 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -21344,7 +21345,7 @@ paths: required: - include_claim_keys examples: - default: &127 + default: &128 value: include_claim_keys: - repo @@ -21366,20 +21367,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *65 + - *66 requestBody: required: true content: application/json: - schema: *126 + schema: *127 examples: - default: *127 + default: *128 responses: '201': description: Empty response content: application/json: - schema: &153 + schema: &154 title: Empty Object description: An object without any properties. type: object @@ -21409,7 +21410,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *65 + - *66 responses: '200': description: Response @@ -21418,7 +21419,7 @@ paths: schema: type: object properties: - enabled_repositories: &128 + enabled_repositories: &129 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -21431,7 +21432,7 @@ paths: description: The API URL to use to get or set the selected repositories that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. - allowed_actions: &129 + allowed_actions: &130 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -21444,7 +21445,7 @@ paths: description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` is set to `selected`. - sha_pinning_required: &130 + sha_pinning_required: &131 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -21475,7 +21476,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *65 + - *66 responses: '204': description: Response @@ -21486,9 +21487,9 @@ paths: schema: type: object properties: - enabled_repositories: *128 - allowed_actions: *129 - sha_pinning_required: *130 + enabled_repositories: *129 + allowed_actions: *130 + sha_pinning_required: *131 required: - enabled_repositories examples: @@ -21516,7 +21517,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-an-organization parameters: - - *65 + - *66 responses: '200': description: Response @@ -21559,7 +21560,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-an-organization parameters: - - *65 + - *66 requestBody: required: true content: @@ -21581,7 +21582,7 @@ paths: description: No content '403': *27 '404': *6 - '409': *49 + '409': *50 '422': *15 x-github: enabledForGitHubApps: true @@ -21601,13 +21602,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *65 + - *66 responses: '200': description: Response content: application/json: - schema: &131 + schema: &132 type: object properties: approval_policy: @@ -21642,7 +21643,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *65 + - *66 responses: '204': description: Response @@ -21652,7 +21653,7 @@ paths: required: true content: application/json: - schema: *131 + schema: *132 examples: default: summary: Set approval policy to first time contributors @@ -21674,7 +21675,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *65 + - *66 responses: '200': description: Response @@ -21706,7 +21707,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &132 + default: &133 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -21729,7 +21730,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *65 + - *66 requestBody: required: true content: @@ -21757,7 +21758,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *132 + default: *133 responses: '204': description: Empty response for successful settings update @@ -21787,7 +21788,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *65 + - *66 - *17 - *19 responses: @@ -21805,9 +21806,9 @@ paths: type: number repositories: type: array - items: *68 + items: *69 examples: - default: &136 + default: &137 value: total_count: 1 repositories: @@ -21947,7 +21948,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *65 + - *66 responses: '204': description: Response @@ -21991,8 +21992,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *65 - - &133 + - *66 + - &134 name: repository_id description: The unique identifier of the repository. in: path @@ -22020,8 +22021,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *65 - - *133 + - *66 + - *134 responses: '204': description: Response @@ -22044,13 +22045,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *65 + - *66 responses: '200': description: Response content: application/json: - schema: &134 + schema: &135 type: object properties: github_owned_allowed: @@ -22072,7 +22073,7 @@ paths: items: type: string examples: - default: &135 + default: &136 value: github_owned_allowed: true verified_allowed: false @@ -22097,7 +22098,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *65 + - *66 responses: '204': description: Response @@ -22105,9 +22106,9 @@ paths: required: false content: application/json: - schema: *134 + schema: *135 examples: - selected_actions: *135 + selected_actions: *136 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -22127,7 +22128,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-self-hosted-runners-settings-for-an-organization parameters: - - *65 + - *66 responses: '200': description: Response @@ -22175,7 +22176,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-self-hosted-runners-settings-for-an-organization parameters: - - *65 + - *66 requestBody: required: true content: @@ -22202,7 +22203,7 @@ paths: description: No content '403': *27 '404': *6 - '409': *49 + '409': *50 '422': *15 x-github: enabledForGitHubApps: true @@ -22222,7 +22223,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#list-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *65 + - *66 - *17 - *19 responses: @@ -22237,9 +22238,9 @@ paths: type: integer repositories: type: array - items: *68 + items: *69 examples: - default: *136 + default: *137 '403': *27 '404': *6 x-github: @@ -22259,7 +22260,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *65 + - *66 requestBody: required: true content: @@ -22307,14 +22308,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *65 - - *133 + - *66 + - *134 responses: '204': description: No content '403': *27 '404': *6 - '409': *49 + '409': *50 '422': *15 x-github: enabledForGitHubApps: true @@ -22334,14 +22335,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *65 - - *133 + - *66 + - *134 responses: '204': description: No content '403': *27 '404': *6 - '409': *49 + '409': *50 '422': *15 x-github: enabledForGitHubApps: true @@ -22363,7 +22364,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *65 + - *66 responses: '200': description: Response @@ -22372,14 +22373,14 @@ paths: schema: &337 type: object properties: - default_workflow_permissions: &137 + default_workflow_permissions: &138 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &138 + can_approve_pull_request_reviews: &139 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -22387,7 +22388,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &139 + default: &140 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -22412,7 +22413,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *65 + - *66 responses: '204': description: Success response @@ -22423,10 +22424,10 @@ paths: schema: &338 type: object properties: - default_workflow_permissions: *137 - can_approve_pull_request_reviews: *138 + default_workflow_permissions: *138 + can_approve_pull_request_reviews: *139 examples: - default: *139 + default: *140 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22446,7 +22447,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization parameters: - - *65 + - *66 - *17 - *19 - name: visible_to_repository @@ -22471,7 +22472,7 @@ paths: type: number runner_groups: type: array - items: &140 + items: &141 type: object properties: id: @@ -22588,7 +22589,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization parameters: - - *65 + - *66 requestBody: required: true content: @@ -22661,9 +22662,9 @@ paths: description: Response content: application/json: - schema: *140 + schema: *141 examples: - default: &142 + default: &143 value: id: 2 name: octo-runner-group @@ -22698,8 +22699,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - - *65 - - &141 + - *66 + - &142 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -22711,7 +22712,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *141 examples: default: value: @@ -22747,8 +22748,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - - *65 - - *141 + - *66 + - *142 requestBody: required: true content: @@ -22804,9 +22805,9 @@ paths: description: Response content: application/json: - schema: *140 + schema: *141 examples: - default: *142 + default: *143 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -22825,8 +22826,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - - *65 - - *141 + - *66 + - *142 responses: '204': description: Response @@ -22849,8 +22850,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization parameters: - - *65 - - *141 + - *66 + - *142 - *17 - *19 responses: @@ -22868,11 +22869,11 @@ paths: type: number runners: type: array - items: *115 + items: *116 examples: - default: *143 + default: *144 headers: - Link: *56 + Link: *57 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -22892,8 +22893,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *65 - - *141 + - *66 + - *142 - *19 - *17 responses: @@ -22911,7 +22912,7 @@ paths: type: number repositories: type: array - items: *144 + items: *145 examples: default: &643 value: @@ -23165,8 +23166,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - - *65 - - *141 + - *66 + - *142 requestBody: required: true content: @@ -23210,9 +23211,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *65 - - *141 - - *133 + - *66 + - *142 + - *134 responses: '204': description: Response @@ -23234,9 +23235,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *65 - - *141 - - *133 + - *66 + - *142 + - *134 responses: '204': description: Response @@ -23259,8 +23260,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - - *65 - - *141 + - *66 + - *142 - *17 - *19 responses: @@ -23278,7 +23279,7 @@ paths: type: number runners: type: array - items: &146 + items: &147 title: Self hosted runners description: A self hosted runner type: object @@ -23312,7 +23313,7 @@ paths: type: boolean labels: type: array - items: &149 + items: &150 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -23342,7 +23343,7 @@ paths: - busy - labels examples: - default: &147 + default: &148 value: total_count: 2 runners: @@ -23382,7 +23383,7 @@ paths: name: no-gpu type: custom headers: - Link: *56 + Link: *57 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -23401,8 +23402,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - - *65 - - *141 + - *66 + - *142 requestBody: required: true content: @@ -23446,9 +23447,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - - *65 - - *141 - - &145 + - *66 + - *142 + - &146 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -23476,9 +23477,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - - *65 - - *141 - - *145 + - *66 + - *142 + - *146 responses: '204': description: Response @@ -23508,7 +23509,7 @@ paths: in: query schema: type: string - - *65 + - *66 - *17 - *19 responses: @@ -23526,11 +23527,11 @@ paths: type: integer runners: type: array - items: *146 + items: *147 examples: - default: *147 + default: *148 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23552,7 +23553,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *65 + - *66 responses: '200': description: Response @@ -23628,7 +23629,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-organization parameters: - - *65 + - *66 requestBody: required: true content: @@ -23681,7 +23682,7 @@ paths: - runner - encoded_jit_config properties: - runner: *146 + runner: *147 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -23710,7 +23711,7 @@ paths: encoded_jit_config: abc123 '404': *6 '422': *7 - '409': *49 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23738,13 +23739,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *65 + - *66 responses: '201': description: Response content: application/json: - schema: &148 + schema: &149 title: Authentication Token description: Authentication Token type: object @@ -23768,7 +23769,7 @@ paths: repositories: description: The repositories this token has access to type: array - items: *68 + items: *69 single_file: type: - string @@ -23817,13 +23818,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *65 + - *66 responses: '201': description: Response content: application/json: - schema: *148 + schema: *149 examples: default: &343 value: @@ -23850,14 +23851,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - - *65 - - *145 + - *66 + - *146 responses: '200': description: Response content: application/json: - schema: *146 + schema: *147 examples: default: &344 value: @@ -23900,8 +23901,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - - *65 - - *145 + - *66 + - *146 responses: '204': description: Response @@ -23927,10 +23928,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *65 - - *145 + - *66 + - *146 responses: - '200': &150 + '200': &151 description: Response content: application/json: @@ -23944,7 +23945,7 @@ paths: type: integer labels: type: array - items: *149 + items: *150 examples: default: value: @@ -23983,8 +23984,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization parameters: - - *65 - - *145 + - *66 + - *146 requestBody: required: true content: @@ -24008,7 +24009,7 @@ paths: - gpu - accelerated responses: - '200': *150 + '200': *151 '404': *6 '422': *7 x-github: @@ -24032,8 +24033,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *65 - - *145 + - *66 + - *146 requestBody: required: true content: @@ -24058,7 +24059,7 @@ paths: - gpu - accelerated responses: - '200': *150 + '200': *151 '404': *6 '422': *7 x-github: @@ -24082,8 +24083,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization parameters: - - *65 - - *145 + - *66 + - *146 responses: '200': &345 description: Response @@ -24099,7 +24100,7 @@ paths: type: integer labels: type: array - items: *149 + items: *150 examples: default: value: @@ -24140,8 +24141,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization parameters: - - *65 - - *145 + - *66 + - *146 - &346 name: name description: The name of a self-hosted runner's custom label. @@ -24150,7 +24151,7 @@ paths: schema: type: string responses: - '200': *150 + '200': *151 '404': *6 '422': *7 x-github: @@ -24175,7 +24176,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-organization-secrets parameters: - - *65 + - *66 - *17 - *19 responses: @@ -24193,7 +24194,7 @@ paths: type: integer secrets: type: array - items: &151 + items: &152 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -24245,7 +24246,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24268,7 +24269,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-public-key parameters: - - *65 + - *66 responses: '200': description: Response @@ -24334,8 +24335,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-secret parameters: - - *65 - - &152 + - *66 + - &153 name: secret_name description: The name of the secret. in: path @@ -24347,7 +24348,7 @@ paths: description: Response content: application/json: - schema: *151 + schema: *152 examples: default: value: @@ -24377,8 +24378,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *65 - - *152 + - *66 + - *153 requestBody: required: true content: @@ -24435,7 +24436,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *153 + schema: *154 examples: default: value: @@ -24461,8 +24462,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-organization-secret parameters: - - *65 - - *152 + - *66 + - *153 responses: '204': description: Response @@ -24488,8 +24489,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *65 - - *152 + - *66 + - *153 - *19 - *17 responses: @@ -24507,9 +24508,9 @@ paths: type: integer repositories: type: array - items: *144 + items: *145 examples: - default: &156 + default: &157 value: total_count: 1 repositories: @@ -24601,8 +24602,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *65 - - *152 + - *66 + - *153 requestBody: required: true content: @@ -24654,8 +24655,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *65 - - *152 + - *66 + - *153 - name: repository_id in: path required: true @@ -24688,8 +24689,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *65 - - *152 + - *66 + - *153 - name: repository_id in: path required: true @@ -24721,7 +24722,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - - *65 + - *66 - &327 name: per_page description: The number of results per page (max 30). For more information, @@ -24746,7 +24747,7 @@ paths: type: integer variables: type: array - items: &154 + items: &155 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -24815,7 +24816,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24836,7 +24837,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-organization-variable parameters: - - *65 + - *66 requestBody: required: true content: @@ -24884,7 +24885,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *153 + schema: *154 examples: default: value: @@ -24909,8 +24910,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-organization-variable parameters: - - *65 - - &155 + - *66 + - &156 name: name description: The name of the variable. in: path @@ -24922,7 +24923,7 @@ paths: description: Response content: application/json: - schema: *154 + schema: *155 examples: default: value: @@ -24952,8 +24953,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-organization-variable parameters: - - *65 - - *155 + - *66 + - *156 requestBody: required: true content: @@ -25015,8 +25016,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable parameters: - - *65 - - *155 + - *66 + - *156 responses: '204': description: Response @@ -25042,8 +25043,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *65 - - *155 + - *66 + - *156 - *19 - *17 responses: @@ -25061,9 +25062,9 @@ paths: type: integer repositories: type: array - items: *144 + items: *145 examples: - default: *156 + default: *157 '409': description: Response when the visibility of the variable is not set to `selected` @@ -25089,8 +25090,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *65 - - *155 + - *66 + - *156 requestBody: required: true content: @@ -25139,8 +25140,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *65 - - *155 + - *66 + - *156 - name: repository_id in: path required: true @@ -25174,8 +25175,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *65 - - *155 + - *66 + - *156 - name: repository_id in: path required: true @@ -25205,7 +25206,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-an-artifact-deployment-record parameters: - - *65 + - *66 requestBody: required: true content: @@ -25320,7 +25321,7 @@ paths: type: integer deployment_records: type: array - items: &157 + items: &158 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -25365,7 +25366,7 @@ paths: description: The ID of the provenance attestation associated with the deployment record. examples: - default: &158 + default: &159 value: total_count: 1 deployment_records: @@ -25400,7 +25401,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#set-cluster-deployment-records parameters: - - *65 + - *66 - name: cluster in: path description: The cluster name. @@ -25540,9 +25541,9 @@ paths: type: integer deployment_records: type: array - items: *157 + items: *158 examples: - default: *158 + default: *159 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25562,7 +25563,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-artifact-metadata-storage-record parameters: - - *65 + - *66 requestBody: required: true content: @@ -25726,7 +25727,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-deployment-records parameters: - - *65 + - *66 - name: subject_digest description: The SHA256 digest of the artifact, in the form `sha256:HEX_DIGEST`. in: path @@ -25752,9 +25753,9 @@ paths: - 3 deployment_records: type: array - items: *157 + items: *158 examples: - default: *158 + default: *159 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25774,7 +25775,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-storage-records parameters: - - *65 + - *66 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -25860,7 +25861,7 @@ paths: - *17 - *43 - *44 - - *65 + - *66 requestBody: required: true content: @@ -26057,7 +26058,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-in-bulk parameters: - - *65 + - *66 requestBody: required: true content: @@ -26122,7 +26123,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-subject-digest parameters: - - *65 + - *66 - name: subject_digest description: Subject Digest in: path @@ -26157,7 +26158,7 @@ paths: - *17 - *43 - *44 - - *65 + - *66 - name: predicate_type description: |- Optional filter for fetching attestations with a given predicate type. @@ -26205,7 +26206,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-id parameters: - - *65 + - *66 - name: attestation_id description: Attestation ID in: path @@ -26243,7 +26244,7 @@ paths: - *17 - *43 - *44 - - *65 + - *66 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -26404,7 +26405,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *65 + - *66 - *17 - *19 responses: @@ -26416,7 +26417,7 @@ paths: type: array items: *4 examples: - default: *60 + default: *61 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26435,8 +26436,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *65 - - *61 + - *66 + - *62 responses: '204': description: If the user is blocked @@ -26461,8 +26462,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *65 - - *61 + - *66 + - *62 responses: '204': description: Response @@ -26482,8 +26483,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *65 - - *61 + - *66 + - *62 responses: '204': description: Response @@ -26508,15 +26509,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *65 + - *66 - *19 - *17 - - *50 + - *51 - name: state description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &159 + schema: &160 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -26542,7 +26543,7 @@ paths: application/json: schema: type: array - items: &160 + items: &161 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -26786,7 +26787,7 @@ paths: - string - 'null' format: date-time - state: *159 + state: *160 contact_link: description: The contact link of the campaign. type: @@ -26882,9 +26883,9 @@ paths: closed_at: state: open headers: - Link: *56 + Link: *57 '404': *6 - '503': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26908,7 +26909,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *65 + - *66 requestBody: required: true content: @@ -27009,9 +27010,9 @@ paths: description: Response content: application/json: - schema: *160 + schema: *161 examples: - default: &161 + default: &162 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -27060,7 +27061,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27082,7 +27083,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *65 + - *66 - name: campaign_number description: The campaign number. in: path @@ -27094,16 +27095,16 @@ paths: description: Response content: application/json: - schema: *160 + schema: *161 examples: - default: *161 + default: *162 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27124,7 +27125,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#update-a-campaign parameters: - - *65 + - *66 - name: campaign_number description: The campaign number. in: path @@ -27174,7 +27175,7 @@ paths: - string - 'null' format: uri - state: *159 + state: *160 examples: default: value: @@ -27184,9 +27185,9 @@ paths: description: Response content: application/json: - schema: *160 + schema: *161 examples: - default: *161 + default: *162 '400': description: Bad Request content: @@ -27198,7 +27199,7 @@ paths: content: application/json: schema: *3 - '503': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27219,7 +27220,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *65 + - *66 - name: campaign_number description: The campaign number. in: path @@ -27230,7 +27231,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27252,7 +27253,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *65 + - *66 - &396 name: tool_name description: The name of a code scanning tool. Only results by this tool will @@ -27260,7 +27261,7 @@ paths: but not both. in: query required: false - schema: &169 + schema: &170 type: string description: The name of the tool used to generate the code scanning analysis. - &397 @@ -27271,7 +27272,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &170 + schema: &171 type: - string - 'null' @@ -27281,7 +27282,7 @@ paths: - *44 - *19 - *17 - - *50 + - *51 - name: state description: If specified, only code scanning alerts with this state will be returned. @@ -27339,18 +27340,18 @@ paths: items: type: object properties: - number: *162 - created_at: *163 - updated_at: *164 - url: *165 - html_url: *166 + number: *163 + created_at: *164 + updated_at: *165 + url: *166 + html_url: *167 instances_url: &401 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &171 + state: &172 type: - string - 'null' @@ -27360,12 +27361,12 @@ paths: - dismissed - fixed - - fixed_at: *167 + fixed_at: *168 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *168 + dismissed_at: *169 dismissed_reason: &402 type: - string @@ -27448,14 +27449,14 @@ paths: tool: &405 type: object properties: - name: *169 + name: *170 version: type: - string - 'null' description: The version of the tool used to generate the code scanning analysis. - guid: *170 + guid: *171 most_recent_instance: &406 type: object properties: @@ -27481,7 +27482,7 @@ paths: analysis was executed. Used to distinguish between multiple analyses for the same tool and commit, but performed on different languages or different parts of the code. - state: *171 + state: *172 commit_sha: type: string message: @@ -27522,7 +27523,7 @@ paths: - test - library - - repository: *55 + repository: *56 dismissal_approved_by: anyOf: - type: 'null' @@ -27774,9 +27775,9 @@ paths: trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks headers: - Link: *56 + Link: *57 '404': *6 - '503': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27798,7 +27799,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *65 + - *66 - name: target_type in: query description: The target type of the code security configuration @@ -27909,7 +27910,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration parameters: - - *65 + - *66 requestBody: required: true content: @@ -27987,7 +27988,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *172 + code_scanning_options: *49 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -28152,7 +28153,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations parameters: - - *65 + - *66 responses: '200': description: Response @@ -28186,7 +28187,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *65 + - *66 requestBody: required: true content: @@ -28216,7 +28217,7 @@ paths: '400': *14 '403': *27 '404': *6 - '409': *49 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28238,7 +28239,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-a-code-security-configuration parameters: - - *65 + - *66 - *47 responses: '200': @@ -28271,7 +28272,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#update-a-code-security-configuration parameters: - - *65 + - *66 - *47 requestBody: required: true @@ -28352,6 +28353,7 @@ paths: - disabled - not_set code_scanning_default_setup_options: *48 + code_scanning_options: *49 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -28528,14 +28530,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *65 + - *66 - *47 responses: '204': *176 '400': *14 '403': *27 '404': *6 - '409': *49 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28559,7 +28561,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *65 + - *66 - *47 requestBody: required: true @@ -28623,7 +28625,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization parameters: - - *65 + - *66 - *47 requestBody: required: true @@ -28693,7 +28695,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *65 + - *66 - *47 - name: per_page description: The number of results per page (max 100). For more information, @@ -28752,7 +28754,7 @@ paths: parameters: - *17 - *19 - - *65 + - *66 responses: '200': description: Response @@ -28799,7 +28801,7 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *144 + repository: *145 machine: anyOf: - type: 'null' @@ -29500,7 +29502,7 @@ paths: stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/stop recent_folders: [] '304': *35 - '500': *104 + '500': *105 '401': *23 '403': *27 '404': *6 @@ -29522,7 +29524,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *65 + - *66 deprecated: true requestBody: required: true @@ -29566,7 +29568,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *104 + '500': *105 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29589,7 +29591,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *65 + - *66 deprecated: true requestBody: required: true @@ -29621,7 +29623,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *104 + '500': *105 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29644,7 +29646,7 @@ paths: url: https://docs.github.com/rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *65 + - *66 requestBody: required: true content: @@ -29675,7 +29677,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *104 + '500': *105 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29696,7 +29698,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *65 + - *66 - *17 - *19 responses: @@ -29768,7 +29770,7 @@ paths: updated_at: '2020-01-11T11:59:22Z' visibility: all headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29787,7 +29789,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *65 + - *66 responses: '200': description: Response @@ -29851,8 +29853,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *65 - - *152 + - *66 + - *153 responses: '200': description: Response @@ -29867,7 +29869,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: all headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29887,8 +29889,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *65 - - *152 + - *66 + - *153 requestBody: required: true content: @@ -29943,7 +29945,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *153 + schema: *154 examples: default: value: @@ -29969,8 +29971,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *65 - - *152 + - *66 + - *153 responses: '204': description: Response @@ -29995,8 +29997,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *65 - - *152 + - *66 + - *153 - *19 - *17 responses: @@ -30014,9 +30016,9 @@ paths: type: integer repositories: type: array - items: *144 + items: *145 examples: - default: *156 + default: *157 '404': *6 x-github: githubCloudOnly: false @@ -30038,8 +30040,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *65 - - *152 + - *66 + - *153 requestBody: required: true content: @@ -30089,8 +30091,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *65 - - *152 + - *66 + - *153 - name: repository_id in: path required: true @@ -30123,8 +30125,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *65 - - *152 + - *66 + - *153 - name: repository_id in: path required: true @@ -30163,7 +30165,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization parameters: - - *65 + - *66 responses: '200': description: OK @@ -30272,7 +30274,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *104 + '500': *105 '401': *23 '403': *27 '404': *6 @@ -30304,7 +30306,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization parameters: - - *65 + - *66 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -30340,13 +30342,13 @@ paths: organization: anyOf: - type: 'null' - - *63 + - *64 assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - *180 - - *57 + - *58 type: - 'null' - object @@ -30476,8 +30478,8 @@ paths: type: User site_admin: false headers: - Link: *56 - '500': *104 + Link: *57 + '500': *105 '401': *23 '403': *27 '404': *6 @@ -30510,7 +30512,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization parameters: - - *65 + - *66 requestBody: content: application/json: @@ -30552,7 +30554,7 @@ paths: default: value: seats_created: 5 - '500': *104 + '500': *105 '401': *23 '403': *27 '404': *6 @@ -30588,7 +30590,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization parameters: - - *65 + - *66 requestBody: content: application/json: @@ -30630,7 +30632,7 @@ paths: default: value: seats_cancelled: 5 - '500': *104 + '500': *105 '401': *23 '403': *27 '404': *6 @@ -30668,7 +30670,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization parameters: - - *65 + - *66 requestBody: content: application/json: @@ -30709,7 +30711,7 @@ paths: default: value: seats_created: 5 - '500': *104 + '500': *105 '401': *23 '403': *27 '404': *6 @@ -30745,7 +30747,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization parameters: - - *65 + - *66 requestBody: content: application/json: @@ -30787,7 +30789,7 @@ paths: default: value: seats_cancelled: 5 - '500': *104 + '500': *105 '401': *23 '403': *27 '404': *6 @@ -30826,7 +30828,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *65 + - *66 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -31272,7 +31274,7 @@ paths: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - '500': *104 + '500': *105 '403': *27 '404': *6 '422': &304 @@ -31302,7 +31304,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *65 + - *66 - *181 - *182 - *183 @@ -31347,7 +31349,7 @@ paths: type: string - *186 - *187 - - *50 + - *51 - *43 - *44 - *17 @@ -31386,7 +31388,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-organization-secrets parameters: - - *65 + - *66 - *17 - *19 responses: @@ -31456,7 +31458,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/dependabot/secrets/SUPER_SECRET/repositories headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31477,7 +31479,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-public-key parameters: - - *65 + - *66 responses: '200': description: Response @@ -31525,8 +31527,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret parameters: - - *65 - - *152 + - *66 + - *153 responses: '200': description: Response @@ -31560,8 +31562,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *65 - - *152 + - *66 + - *153 requestBody: required: true content: @@ -31620,7 +31622,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *153 + schema: *154 examples: default: value: @@ -31644,8 +31646,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret parameters: - - *65 - - *152 + - *66 + - *153 responses: '204': description: Response @@ -31669,8 +31671,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *65 - - *152 + - *66 + - *153 - *19 - *17 responses: @@ -31688,9 +31690,9 @@ paths: type: integer repositories: type: array - items: *144 + items: *145 examples: - default: *156 + default: *157 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31711,8 +31713,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *65 - - *152 + - *66 + - *153 requestBody: required: true content: @@ -31762,8 +31764,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *65 - - *152 + - *66 + - *153 - name: repository_id in: path required: true @@ -31794,8 +31796,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *65 - - *152 + - *66 + - *153 - name: repository_id in: path required: true @@ -31825,7 +31827,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization parameters: - - *65 + - *66 responses: '200': description: Response @@ -31886,7 +31888,7 @@ paths: repository: anyOf: - type: 'null' - - *144 + - *145 created_at: type: string format: date-time @@ -31982,7 +31984,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-organization-events parameters: - - *65 + - *66 - *17 - *19 responses: @@ -31992,7 +31994,7 @@ paths: application/json: schema: type: array - items: *95 + items: *96 examples: 200-response: value: @@ -32064,7 +32066,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-failed-organization-invitations parameters: - - *65 + - *66 - *17 - *19 responses: @@ -32161,7 +32163,7 @@ paths: invitation_teams_url: https://api.github.com/organizations/2/invitations/1/teams invitation_source: member headers: - Link: *56 + Link: *57 '404': *6 x-github: githubCloudOnly: false @@ -32185,7 +32187,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-organization-webhooks parameters: - - *65 + - *66 - *17 - *19 responses: @@ -32295,7 +32297,7 @@ paths: created_at: '2011-09-06T17:26:27Z' type: Organization headers: - Link: *56 + Link: *57 '404': *6 x-github: githubCloudOnly: false @@ -32318,7 +32320,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#create-an-organization-webhook parameters: - - *65 + - *66 requestBody: required: true content: @@ -32429,7 +32431,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - - *65 + - *66 - &193 name: hook_id description: The unique identifier of the hook. You can find this value in @@ -32472,7 +32474,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - - *65 + - *66 - *193 requestBody: required: false @@ -32560,7 +32562,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *65 + - *66 - *193 responses: '204': @@ -32588,7 +32590,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *65 + - *66 - *193 responses: '200': @@ -32619,7 +32621,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *65 + - *66 - *193 requestBody: required: false @@ -32670,7 +32672,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *65 + - *66 - *193 - *17 - *194 @@ -32708,7 +32710,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *65 + - *66 - *193 - *16 responses: @@ -32743,7 +32745,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *65 + - *66 - *193 - *16 responses: @@ -32773,7 +32775,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *65 + - *66 - *193 responses: '204': @@ -32796,7 +32798,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *65 + - *66 - &203 name: actor_type in: path @@ -32836,7 +32838,7 @@ paths: type: string - *19 - *17 - - *50 + - *51 - name: sort description: The property to sort the results by. in: query @@ -32919,12 +32921,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - - *65 + - *66 - *199 - *200 - *19 - *17 - - *50 + - *51 - &209 name: sort description: The property to sort the results by. @@ -33004,7 +33006,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - - *65 + - *66 - *199 - *200 responses: @@ -33048,7 +33050,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *65 + - *66 - &205 name: user_id in: path @@ -33083,7 +33085,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *65 + - *66 - *199 - *200 - *203 @@ -33112,7 +33114,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - - *65 + - *66 - *199 - *200 - &206 @@ -33180,7 +33182,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - - *65 + - *66 - *205 - *199 - *200 @@ -33209,7 +33211,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *65 + - *66 - *203 - *204 - *199 @@ -33239,13 +33241,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - - *65 + - *66 - *205 - *199 - *200 - *19 - *17 - - *50 + - *51 - *209 - name: actor_name_substring in: query @@ -33322,7 +33324,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *65 + - *66 responses: '200': description: Response @@ -33399,7 +33401,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *65 + - *66 - *17 - *19 responses: @@ -33469,7 +33471,7 @@ paths: suspended_at: suspended_by: headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33488,7 +33490,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *65 + - *66 responses: '200': description: Response @@ -33553,7 +33555,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *65 + - *66 requestBody: required: true content: @@ -33609,7 +33611,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *65 + - *66 responses: '204': description: Response @@ -33633,7 +33635,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-pending-organization-invitations parameters: - - *65 + - *66 - *17 - *19 - name: role @@ -33671,7 +33673,7 @@ paths: examples: default: *214 headers: - Link: *56 + Link: *57 '404': *6 x-github: githubCloudOnly: false @@ -33692,7 +33694,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#create-an-organization-invitation parameters: - - *65 + - *66 requestBody: required: false content: @@ -33800,7 +33802,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - - *65 + - *66 - &215 name: invitation_id description: The unique identifier of the invitation. @@ -33831,7 +33833,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - - *65 + - *66 - *215 - *17 - *19 @@ -33860,7 +33862,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *56 + Link: *57 '404': *6 x-github: githubCloudOnly: false @@ -33879,7 +33881,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *65 + - *66 responses: '200': description: Response @@ -33925,7 +33927,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *65 + - *66 requestBody: required: true content: @@ -34009,7 +34011,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *65 + - *66 - &218 name: issue_type_id description: The unique identifier of the issue type. @@ -34092,7 +34094,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *65 + - *66 - *218 responses: '204': @@ -34126,7 +34128,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *65 + - *66 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -34174,8 +34176,8 @@ paths: - updated - comments default: created - - *50 - - *76 + - *51 + - *77 - *17 - *19 responses: @@ -34185,11 +34187,11 @@ paths: application/json: schema: type: array - items: *70 + items: *71 examples: default: *220 headers: - Link: *56 + Link: *57 '404': *6 x-github: githubCloudOnly: false @@ -34209,7 +34211,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-members parameters: - - *65 + - *66 - name: filter description: Filter members returned in the list. `2fa_disabled` means that only members without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -34247,9 +34249,9 @@ paths: type: array items: *4 examples: - default: *60 + default: *61 headers: - Link: *56 + Link: *57 '422': *15 x-github: githubCloudOnly: false @@ -34267,8 +34269,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-organization-membership-for-a-user parameters: - - *65 - - *61 + - *66 + - *62 responses: '204': description: Response if requester is an organization member and user is @@ -34302,8 +34304,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-an-organization-member parameters: - - *65 - - *61 + - *66 + - *62 responses: '204': description: Response @@ -34329,8 +34331,8 @@ paths: parameters: - *17 - *19 - - *65 - - *61 + - *66 + - *62 responses: '200': description: Response @@ -34350,7 +34352,7 @@ paths: examples: default: *222 '304': *35 - '500': *104 + '500': *105 '401': *23 '403': *27 '404': *6 @@ -34373,8 +34375,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *65 - - *61 + - *66 + - *62 - &223 name: codespace_name in: path @@ -34385,7 +34387,7 @@ paths: responses: '202': *37 '304': *35 - '500': *104 + '500': *105 '401': *23 '403': *27 '404': *6 @@ -34408,8 +34410,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *65 - - *61 + - *66 + - *62 - *223 responses: '200': @@ -34560,7 +34562,7 @@ paths: recent_folders: [] template: '304': *35 - '500': *104 + '500': *105 '401': *23 '403': *27 '404': *6 @@ -34591,8 +34593,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - - *65 - - *61 + - *66 + - *62 responses: '200': description: The user's GitHub Copilot seat details, including usage. @@ -34642,7 +34644,7 @@ paths: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - '500': *104 + '500': *105 '401': *23 '403': *27 '404': *6 @@ -34667,8 +34669,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-organization-membership-for-a-user parameters: - - *65 - - *61 + - *66 + - *62 responses: '200': description: Response @@ -34723,7 +34725,7 @@ paths: format: uri examples: - https://api.github.com/orgs/octocat - organization: *63 + organization: *64 user: anyOf: - type: 'null' @@ -34815,8 +34817,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-organization-membership-for-a-user parameters: - - *65 - - *61 + - *66 + - *62 requestBody: required: false content: @@ -34870,8 +34872,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *65 - - *61 + - *66 + - *62 responses: '204': description: Response @@ -34896,7 +34898,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-organization-migrations parameters: - - *65 + - *66 - *17 - *19 - name: exclude @@ -34960,7 +34962,7 @@ paths: type: array description: The repositories included in the migration. Only returned for export migrations. - items: *68 + items: *69 url: type: string format: uri @@ -35159,7 +35161,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -35175,7 +35177,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#start-an-organization-migration parameters: - - *65 + - *66 requestBody: required: true content: @@ -35434,7 +35436,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - - *65 + - *66 - &228 name: migration_id description: The unique identifier of the migration. @@ -35632,7 +35634,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *65 + - *66 - *228 responses: '302': @@ -35654,7 +35656,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *65 + - *66 - *228 responses: '204': @@ -35678,7 +35680,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - - *65 + - *66 - *228 - &655 name: repo_name @@ -35707,7 +35709,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *65 + - *66 - *228 - *17 - *19 @@ -35718,7 +35720,7 @@ paths: application/json: schema: type: array - items: *144 + items: *145 examples: default: &239 value: @@ -35831,7 +35833,7 @@ paths: secret_scanning_non_provider_patterns: status: disabled headers: - Link: *56 + Link: *57 '404': *6 x-github: githubCloudOnly: false @@ -35857,7 +35859,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *65 + - *66 responses: '200': description: Response - list of organization roles @@ -36022,8 +36024,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *65 - *66 + - *67 responses: '204': description: Response @@ -36048,8 +36050,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *65 - *66 + - *67 - &229 name: role_id description: The unique identifier of the role. @@ -36085,8 +36087,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *65 - *66 + - *67 - *229 responses: '204': @@ -36112,8 +36114,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *65 - - *61 + - *66 + - *62 responses: '204': description: Response @@ -36138,8 +36140,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *65 - - *61 + - *66 + - *62 - *229 responses: '204': @@ -36170,8 +36172,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *65 - - *61 + - *66 + - *62 - *229 responses: '204': @@ -36200,7 +36202,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - - *65 + - *66 - *229 responses: '200': @@ -36257,7 +36259,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - - *65 + - *66 - *229 - *17 - *19 @@ -36372,7 +36374,7 @@ paths: examples: default: *232 headers: - Link: *56 + Link: *57 '404': description: Response if the organization or role does not exist. '422': @@ -36399,7 +36401,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - - *65 + - *66 - *229 - *17 - *19 @@ -36546,9 +36548,9 @@ paths: - type - url examples: - default: *60 + default: *61 headers: - Link: *56 + Link: *57 '404': description: Response if the organization or role does not exist. '422': @@ -36570,7 +36572,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *65 + - *66 - name: filter description: Filter the list of outside collaborators. `2fa_disabled` means that only outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -36597,9 +36599,9 @@ paths: type: array items: *4 examples: - default: *60 + default: *61 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36622,8 +36624,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *65 - - *61 + - *66 + - *62 requestBody: required: false content: @@ -36680,8 +36682,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *65 - - *61 + - *66 + - *62 responses: '204': description: Response @@ -36738,7 +36740,7 @@ paths: - docker - nuget - container - - *65 + - *66 - &656 name: visibility description: |- @@ -36827,7 +36829,7 @@ paths: required: true schema: type: string - - *65 + - *66 responses: '200': description: Response @@ -36887,7 +36889,7 @@ paths: parameters: - *235 - *236 - - *65 + - *66 responses: '204': description: Response @@ -36921,7 +36923,7 @@ paths: parameters: - *235 - *236 - - *65 + - *66 - name: token description: package token schema: @@ -36955,7 +36957,7 @@ paths: parameters: - *235 - *236 - - *65 + - *66 - *19 - *17 - name: state @@ -37112,7 +37114,7 @@ paths: parameters: - *235 - *236 - - *65 + - *66 - &238 name: package_version_id description: Unique identifier of the package version. @@ -37163,7 +37165,7 @@ paths: parameters: - *235 - *236 - - *65 + - *66 - *238 responses: '204': @@ -37198,7 +37200,7 @@ paths: parameters: - *235 - *236 - - *65 + - *66 - *238 responses: '204': @@ -37226,7 +37228,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *65 + - *66 - *17 - *19 - &240 @@ -37239,7 +37241,7 @@ paths: enum: - created_at default: created_at - - *50 + - *51 - &241 name: owner description: A list of owner usernames to use to filter the results. @@ -37303,7 +37305,7 @@ paths: examples: - token_id[]=1,token_id[]=2 responses: - '500': *104 + '500': *105 '422': *15 '404': *6 '403': *27 @@ -37438,7 +37440,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37458,7 +37460,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *65 + - *66 requestBody: required: true content: @@ -37500,7 +37502,7 @@ paths: action: deny reason: Access is too broad. responses: - '500': *104 + '500': *105 '422': *15 '404': *6 '403': *27 @@ -37525,7 +37527,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token parameters: - - *65 + - *66 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -37562,7 +37564,7 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *104 + '500': *105 '422': *15 '404': *6 '403': *27 @@ -37587,7 +37589,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token parameters: - - *65 + - *66 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -37598,7 +37600,7 @@ paths: - *17 - *19 responses: - '500': *104 + '500': *105 '404': *6 '403': *27 '200': @@ -37607,11 +37609,11 @@ paths: application/json: schema: type: array - items: *144 + items: *145 examples: default: *239 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37632,11 +37634,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources parameters: - - *65 + - *66 - *17 - *19 - *240 - - *50 + - *51 - *241 - *242 - *243 @@ -37644,7 +37646,7 @@ paths: - *245 - *246 responses: - '500': *104 + '500': *105 '422': *15 '404': *6 '403': *27 @@ -37773,7 +37775,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37793,7 +37795,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens parameters: - - *65 + - *66 requestBody: required: true content: @@ -37828,7 +37830,7 @@ paths: - 1296269 - 1296280 responses: - '500': *104 + '500': *105 '404': *6 '202': *37 '403': *27 @@ -37853,7 +37855,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources parameters: - - *65 + - *66 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -37881,7 +37883,7 @@ paths: value: action: revoke responses: - '500': *104 + '500': *105 '404': *6 '204': *176 '403': *27 @@ -37905,7 +37907,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to parameters: - - *65 + - *66 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -37915,7 +37917,7 @@ paths: - *17 - *19 responses: - '500': *104 + '500': *105 '404': *6 '403': *27 '200': @@ -37924,11 +37926,11 @@ paths: application/json: schema: type: array - items: *144 + items: *145 examples: default: *239 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37950,7 +37952,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *65 + - *66 - *17 - *19 responses: @@ -38051,7 +38053,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: selected headers: - Link: *56 + Link: *57 '400': *14 '404': *6 x-github: @@ -38073,7 +38075,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *65 + - *66 requestBody: required: true content: @@ -38305,7 +38307,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization parameters: - - *65 + - *66 responses: '200': description: Response @@ -38333,7 +38335,7 @@ paths: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 headers: - Link: *56 + Link: *57 '404': *6 x-github: githubCloudOnly: false @@ -38355,8 +38357,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *65 - - *152 + - *66 + - *153 responses: '200': description: The specified private registry configuration for the organization @@ -38385,8 +38387,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *65 - - *152 + - *66 + - *153 requestBody: required: true content: @@ -38491,8 +38493,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *65 - - *152 + - *66 + - *153 responses: '204': description: Response @@ -38515,7 +38517,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-organization parameters: - - *65 + - *66 - name: q description: Limit results to projects of the specified type. in: query @@ -38774,7 +38776,7 @@ paths: updated_at: '2025-07-11T16:19:28Z' is_template: true headers: - Link: *56 + Link: *57 '304': *35 '403': *27 '401': *23 @@ -38801,7 +38803,7 @@ paths: required: true schema: type: integer - - *65 + - *66 responses: '200': description: Response @@ -38811,7 +38813,7 @@ paths: examples: default: *250 headers: - Link: *56 + Link: *57 '304': *35 '403': *27 '401': *23 @@ -38831,7 +38833,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - - *65 + - *66 - *251 requestBody: required: true @@ -38879,7 +38881,7 @@ paths: description: The node ID of the project item. content: oneOf: - - *70 + - *71 - &446 title: Pull Request Simple description: Pull Request Simple @@ -39063,7 +39065,7 @@ paths: type: string ref: type: string - repo: *68 + repo: *69 sha: type: string user: @@ -39083,7 +39085,7 @@ paths: type: string ref: type: string - repo: *68 + repo: *69 sha: type: string user: @@ -39124,7 +39126,7 @@ paths: - review_comments - review_comment - self - author_association: *71 + author_association: *72 auto_merge: &549 title: Auto merge description: The status of auto merging a pull request. @@ -39346,7 +39348,7 @@ paths: url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - *251 - - *65 + - *66 - *17 - *43 - *44 @@ -39618,7 +39620,7 @@ paths: created_at: '2022-06-20T16:45:00Z' updated_at: '2022-06-20T16:45:00Z' headers: - Link: *56 + Link: *57 '304': *35 '403': *27 '401': *23 @@ -39638,7 +39640,7 @@ paths: url: https://docs.github.com/rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - *251 - - *65 + - *66 requestBody: required: true content: @@ -39936,7 +39938,7 @@ paths: required: true schema: type: integer - - *65 + - *66 responses: '200': description: Response @@ -39979,7 +39981,7 @@ paths: created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' headers: - Link: *56 + Link: *57 '304': *35 '403': *27 '401': *23 @@ -40001,7 +40003,7 @@ paths: url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - *251 - - *65 + - *66 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information. @@ -40776,7 +40778,7 @@ paths: type: sub_issues_progress value: headers: - Link: *56 + Link: *57 '304': *35 '403': *27 '401': *23 @@ -40796,75 +40798,67 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - - *65 + - *66 - *251 requestBody: required: true description: Details of the item to add to the project. You can specify either - the database ID or the repository owner, name, and issue/PR number. + the unique ID or the repository owner, name, and issue/PR number. content: application/json: schema: + type: object + additionalProperties: false + properties: + type: + type: string + enum: + - Issue + - PullRequest + description: The type of item to add to the project. Must be either + Issue or PullRequest. + id: + type: integer + description: The unique identifier of the issue or pull request + to add to the project. + owner: + type: string + description: The repository owner login. + repo: + type: string + description: The repository name. + number: + type: integer + description: The issue or pull request number. + required: + - type oneOf: - - type: object - properties: - type: - type: string - enum: - - Issue - - PullRequest - description: The type of item to add to the project. Must be either - Issue or PullRequest. - id: - type: integer - description: The unique ID of the issue or pull request to add - to the project. - required: - - type + - required: - id - - type: object - properties: - type: - type: string - enum: - - Issue - - PullRequest - description: The type of item to add to the project. Must be either - Issue or PullRequest. - owner: - type: string - description: The repository owner login. - repo: - type: string - description: The repository name. - number: - type: integer - description: The issue or pull request number. - required: - - type + - required: - owner - repo - number examples: - issue-with-id: - summary: Add issue by database ID + issue_with_id: + summary: Add an issue using its unique ID value: type: Issue id: 3 - pull_request-with-id: - summary: Add pull request by database ID + pull_request_with_id: + summary: Add a pull request using its unique ID value: type: PullRequest id: 3 - issue-with-nwo: - summary: Add issue by repository and number + issue_with_nwo: + summary: Add an issue using repository owner, name, and issue number value: type: Issue owner: octocat repo: hello-world number: 42 - pull_request-with-nwo: - summary: Add pull request by repository and number + pull_request_with_nwo: + summary: Add a pull request using repository owner, name, and PR number value: type: PullRequest owner: octocat @@ -40877,8 +40871,20 @@ paths: application/json: schema: *256 examples: - issue: *257 - pull_request: *257 + issue_with_id: + summary: Response for adding an issue using its unique ID + value: *257 + pull_request_with_id: + summary: Response for adding a pull request using its unique ID + value: *257 + issue_with_nwo: + summary: Response for adding an issue using repository owner, name, + and issue number + value: *257 + pull_request_with_nwo: + summary: Response for adding a pull request using repository owner, + name, and PR number + value: *257 '304': *35 '403': *27 '401': *23 @@ -40899,7 +40905,7 @@ paths: url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - *251 - - *65 + - *66 - &260 name: item_id description: The unique identifier of the project item. @@ -40930,7 +40936,7 @@ paths: examples: default: *259 headers: - Link: *56 + Link: *57 '304': *35 '403': *27 '401': *23 @@ -40950,7 +40956,7 @@ paths: url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - *251 - - *65 + - *66 - *260 requestBody: required: true @@ -41051,7 +41057,7 @@ paths: url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - *251 - - *65 + - *66 - *260 responses: '204': @@ -41076,7 +41082,7 @@ paths: url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-project-view parameters: - *251 - - *65 + - *66 - &687 name: view_number description: The number that identifies the project view. @@ -41113,7 +41119,7 @@ paths: examples: default: *259 headers: - Link: *56 + Link: *57 '304': *35 '403': *27 '401': *23 @@ -41136,7 +41142,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *65 + - *66 responses: '200': description: Response @@ -41267,7 +41273,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *65 + - *66 requestBody: required: true content: @@ -41331,7 +41337,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *65 + - *66 - &263 name: custom_property_name description: The custom property name @@ -41380,7 +41386,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - - *65 + - *66 - *263 requestBody: required: true @@ -41483,7 +41489,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *65 + - *66 - *263 responses: '204': *176 @@ -41507,7 +41513,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *65 + - *66 - *17 - *19 - name: repository_query @@ -41548,7 +41554,7 @@ paths: - octocat/Hello-World properties: type: array - items: *103 + items: *104 description: List of custom property names and associated values required: - repository_id @@ -41569,7 +41575,7 @@ paths: - property_name: team value: octocat headers: - Link: *56 + Link: *57 '403': *27 '404': *6 x-github: @@ -41597,7 +41603,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories parameters: - - *65 + - *66 requestBody: required: true content: @@ -41617,7 +41623,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *103 + items: *104 required: - repository_names - properties @@ -41658,7 +41664,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-public-organization-members parameters: - - *65 + - *66 - *17 - *19 responses: @@ -41670,9 +41676,9 @@ paths: type: array items: *4 examples: - default: *60 + default: *61 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41689,8 +41695,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *65 - - *61 + - *66 + - *62 responses: '204': description: Response if user is a public member @@ -41714,8 +41720,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *65 - - *61 + - *66 + - *62 responses: '204': description: Response @@ -41736,8 +41742,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *65 - - *61 + - *66 + - *62 responses: '204': description: Response @@ -41761,7 +41767,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-organization-repositories parameters: - - *65 + - *66 - name: type description: Specifies the types of repositories you want returned. in: query @@ -41807,11 +41813,11 @@ paths: application/json: schema: type: array - items: *144 + items: *145 examples: default: *239 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41830,7 +41836,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-organization-repository parameters: - - *65 + - *66 requestBody: required: true content: @@ -42358,7 +42364,7 @@ paths: template_repository: anyOf: - type: 'null' - - *68 + - *69 temp_clone_token: type: - string @@ -42458,13 +42464,13 @@ paths: license: anyOf: - type: 'null' - - *73 + - *74 organization: anyOf: - type: 'null' - *4 - parent: *68 - source: *68 + parent: *69 + source: *69 forks: type: integer master_branch: @@ -43109,7 +43115,7 @@ paths: category: orgs subcategory: rules parameters: - - *65 + - *66 - *17 - *19 - &571 @@ -44190,7 +44196,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *104 + '500': *105 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -44206,7 +44212,7 @@ paths: category: orgs subcategory: rules parameters: - - *65 + - *66 requestBody: description: Request body required: true @@ -44341,7 +44347,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *104 + '500': *105 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -44355,7 +44361,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *65 + - *66 - &573 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally @@ -44494,7 +44500,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *104 + '500': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44513,7 +44519,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *65 + - *66 - &579 name: rule_suite_id description: |- @@ -44672,7 +44678,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *104 + '500': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44698,7 +44704,7 @@ paths: category: orgs subcategory: rules parameters: - - *65 + - *66 - name: ruleset_id description: The ID of the ruleset. in: path @@ -44714,7 +44720,7 @@ paths: examples: default: *293 '404': *6 - '500': *104 + '500': *105 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -44730,7 +44736,7 @@ paths: category: orgs subcategory: rules parameters: - - *65 + - *66 - name: ruleset_id description: The ID of the ruleset. in: path @@ -44804,7 +44810,7 @@ paths: examples: default: *293 '404': *6 - '500': *104 + '500': *105 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -44820,7 +44826,7 @@ paths: category: orgs subcategory: rules parameters: - - *65 + - *66 - name: ruleset_id description: The ID of the ruleset. in: path @@ -44831,7 +44837,7 @@ paths: '204': description: Response '404': *6 - '500': *104 + '500': *105 "/orgs/{org}/rulesets/{ruleset_id}/history": get: summary: Get organization ruleset history @@ -44843,7 +44849,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-history parameters: - - *65 + - *66 - *17 - *19 - name: ruleset_id @@ -44901,7 +44907,7 @@ paths: type: User updated_at: '2024-08-23T16:29:47Z' '404': *6 - '500': *104 + '500': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44918,7 +44924,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-version parameters: - - *65 + - *66 - name: ruleset_id description: The ID of the ruleset. in: path @@ -44985,7 +44991,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *104 + '500': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45007,7 +45013,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *65 + - *66 - &585 name: state in: query @@ -45069,7 +45075,7 @@ paths: - created - updated default: created - - *50 + - *51 - *19 - *17 - &590 @@ -45138,14 +45144,14 @@ paths: items: type: object properties: - number: *162 - created_at: *163 + number: *163 + created_at: *164 updated_at: anyOf: - type: 'null' - - *164 - url: *165 - html_url: *166 + - *165 + url: *166 + html_url: *167 locations_url: type: string format: uri @@ -45192,7 +45198,7 @@ paths: secret: type: string description: The secret that was detected. - repository: *55 + repository: *56 push_protection_bypassed: type: - boolean @@ -45741,9 +45747,9 @@ paths: type: User site_admin: false headers: - Link: *56 + Link: *57 '404': *6 - '503': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45768,7 +45774,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *65 + - *66 responses: '200': description: Response @@ -45908,7 +45914,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *65 + - *66 requestBody: required: true content: @@ -45978,7 +45984,7 @@ paths: '400': *14 '403': *27 '404': *6 - '409': *49 + '409': *50 '422': *15 "/orgs/{org}/security-advisories": get: @@ -45996,8 +46002,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *65 - - *50 + - *66 + - *51 - name: sort description: The property to sort the results by. in: query @@ -46248,7 +46254,7 @@ paths: required: - vector_string - score - cvss_severities: *52 + cvss_severities: *53 cwes: type: - array @@ -46327,7 +46333,7 @@ paths: description: A temporary private fork of the advisory's repository for collaborating on a fix. allOf: - - *55 + - *56 type: - 'null' required: @@ -46738,7 +46744,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams parameters: - - *65 + - *66 responses: '200': description: Response @@ -46771,8 +46777,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - - *65 - *66 + - *67 responses: '204': description: Response @@ -46797,8 +46803,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *65 - *66 + - *67 responses: '204': description: Response @@ -46825,7 +46831,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-immutable-releases-settings-for-an-organization parameters: - - *65 + - *66 responses: '200': description: Immutable releases settings response @@ -46875,7 +46881,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-immutable-releases-settings-for-an-organization parameters: - - *65 + - *66 responses: '204': description: Response @@ -46933,7 +46939,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement parameters: - - *65 + - *66 - *19 - *17 responses: @@ -46951,9 +46957,9 @@ paths: type: integer repositories: type: array - items: *144 + items: *145 examples: - default: *156 + default: *157 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46972,7 +46978,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement parameters: - - *65 + - *66 requestBody: required: true content: @@ -47021,8 +47027,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - - *65 - - *133 + - *66 + - *134 responses: '204': description: Response @@ -47044,8 +47050,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - - *65 - - *133 + - *66 + - *134 responses: '204': description: Response @@ -47068,7 +47074,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *65 + - *66 - *17 - *19 responses: @@ -47150,7 +47156,7 @@ paths: - 6789ABDCEF12345 created_on: '2023-04-26T15:23:37Z' headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47169,7 +47175,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization parameters: - - *65 + - *66 requestBody: required: true content: @@ -47241,7 +47247,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - - *65 + - *66 - &301 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. @@ -47258,7 +47264,7 @@ paths: examples: default: *300 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47277,7 +47283,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - - *65 + - *66 - *301 requestBody: required: true @@ -47338,7 +47344,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - - *65 + - *66 - *301 responses: '204': @@ -47362,7 +47368,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - - *65 + - *66 - name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -47421,7 +47427,7 @@ paths: subnet_id: "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet" region: eastus headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47451,8 +47457,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *65 - *66 + - *67 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -47487,7 +47493,7 @@ paths: items: *302 examples: default: *303 - '500': *104 + '500': *105 '403': *27 '404': *6 '422': *304 @@ -47508,7 +47514,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-teams parameters: - - *65 + - *66 - *17 - *19 responses: @@ -47522,7 +47528,7 @@ paths: examples: default: *232 headers: - Link: *56 + Link: *57 '403': *27 x-github: githubCloudOnly: false @@ -47542,7 +47548,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#create-a-team parameters: - - *65 + - *66 requestBody: required: true content: @@ -48083,8 +48089,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - - *65 - *66 + - *67 responses: '200': description: Response @@ -48113,8 +48119,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - - *65 - *66 + - *67 requestBody: required: false content: @@ -48211,8 +48217,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - - *65 - *66 + - *67 responses: '204': description: Response @@ -48238,9 +48244,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions parameters: - - *65 - *66 - - *50 + - *67 + - *51 - *17 - *19 - name: pinned @@ -48338,7 +48344,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *72 + reactions: *73 required: - author - body @@ -48404,7 +48410,7 @@ paths: eyes: 1 rocket: 1 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48428,8 +48434,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion parameters: - - *65 - *66 + - *67 requestBody: required: true content: @@ -48535,8 +48541,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion parameters: - - *65 - *66 + - *67 - &309 name: discussion_number description: The number that identifies the discussion. @@ -48573,8 +48579,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion parameters: - - *65 - *66 + - *67 - *309 requestBody: required: false @@ -48668,8 +48674,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion parameters: - - *65 - *66 + - *67 - *309 responses: '204': @@ -48694,8 +48700,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - - *65 - *66 + - *67 - *17 - *19 responses: @@ -48709,7 +48715,7 @@ paths: examples: default: *214 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48729,8 +48735,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members parameters: - - *65 - *66 + - *67 - name: role description: Filters members returned by their role in the team. in: query @@ -48753,9 +48759,9 @@ paths: type: array items: *4 examples: - default: *60 + default: *61 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48783,9 +48789,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - - *65 - *66 - - *61 + - *67 + - *62 responses: '200': description: Response @@ -48855,9 +48861,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *65 - *66 - - *61 + - *67 + - *62 requestBody: required: false content: @@ -48919,9 +48925,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - - *65 - *66 - - *61 + - *67 + - *62 responses: '204': description: Response @@ -48947,8 +48953,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - - *65 - *66 + - *67 - *17 - *19 responses: @@ -48958,11 +48964,11 @@ paths: application/json: schema: type: array - items: *144 + items: *145 examples: default: *239 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48989,8 +48995,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *65 - *66 + - *67 - *311 - *312 responses: @@ -49024,7 +49030,7 @@ paths: license: anyOf: - type: 'null' - - *73 + - *74 forks: type: integer permissions: @@ -49639,8 +49645,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *65 - *66 + - *67 - *311 - *312 requestBody: @@ -49687,8 +49693,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team parameters: - - *65 - *66 + - *67 - *311 - *312 responses: @@ -49714,8 +49720,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - - *65 - *66 + - *67 - *17 - *19 responses: @@ -49755,7 +49761,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos html_url: https://github.com/orgs/rails/teams/core headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49780,7 +49786,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *65 + - *66 - name: security_product in: path description: The security feature to enable or disable. @@ -50849,7 +50855,7 @@ paths: documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository '307': *317 '404': *6 - '409': *49 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51032,7 +51038,7 @@ paths: head_branch: main head_sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51392,7 +51398,7 @@ paths: - last_accessed_at - size_in_bytes default: last_accessed_at - - *50 + - *51 responses: '200': description: Response @@ -51460,7 +51466,7 @@ paths: created_at: '2019-01-24T22:45:36.000Z' size_in_bytes: 1024 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51963,7 +51969,7 @@ paths: description: Response content: application/json: - schema: *153 + schema: *154 examples: default: value: @@ -52073,7 +52079,7 @@ paths: description: Empty response content: application/json: - schema: *153 + schema: *154 examples: default: value: @@ -52153,7 +52159,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52241,7 +52247,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52274,9 +52280,9 @@ paths: enabled: &329 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *129 + allowed_actions: *130 selected_actions_url: *328 - sha_pinning_required: *130 + sha_pinning_required: *131 required: - enabled examples: @@ -52317,8 +52323,8 @@ paths: type: object properties: enabled: *329 - allowed_actions: *129 - sha_pinning_required: *130 + allowed_actions: *130 + sha_pinning_required: *131 required: - enabled examples: @@ -52501,7 +52507,7 @@ paths: description: Response content: application/json: - schema: *131 + schema: *132 examples: default: *334 '404': *6 @@ -52533,7 +52539,7 @@ paths: required: true content: application/json: - schema: *131 + schema: *132 examples: default: summary: Set approval policy to first time contributors @@ -52566,7 +52572,7 @@ paths: application/json: schema: *335 examples: - default: *132 + default: *133 '403': *27 '404': *6 x-github: @@ -52594,7 +52600,7 @@ paths: application/json: schema: *336 examples: - default: *132 + default: *133 responses: '204': description: Empty response for successful settings update @@ -52625,9 +52631,9 @@ paths: description: Response content: application/json: - schema: *134 + schema: *135 examples: - default: *135 + default: *136 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -52655,9 +52661,9 @@ paths: required: false content: application/json: - schema: *134 + schema: *135 examples: - selected_actions: *135 + selected_actions: *136 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -52688,7 +52694,7 @@ paths: application/json: schema: *337 examples: - default: *139 + default: *140 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52723,7 +52729,7 @@ paths: application/json: schema: *338 examples: - default: *139 + default: *140 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52769,11 +52775,11 @@ paths: type: integer runners: type: array - items: *146 + items: *147 examples: - default: *147 + default: *148 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52875,7 +52881,7 @@ paths: '201': *341 '404': *6 '422': *7 - '409': *49 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52910,7 +52916,7 @@ paths: description: Response content: application/json: - schema: *148 + schema: *149 examples: default: *342 x-github: @@ -52947,7 +52953,7 @@ paths: description: Response content: application/json: - schema: *148 + schema: *149 examples: default: *343 x-github: @@ -52973,13 +52979,13 @@ paths: parameters: - *311 - *312 - - *145 + - *146 responses: '200': description: Response content: application/json: - schema: *146 + schema: *147 examples: default: *344 x-github: @@ -53004,7 +53010,7 @@ paths: parameters: - *311 - *312 - - *145 + - *146 responses: '204': description: Response @@ -53032,9 +53038,9 @@ paths: parameters: - *311 - *312 - - *145 + - *146 responses: - '200': *150 + '200': *151 '404': *6 x-github: githubCloudOnly: false @@ -53058,7 +53064,7 @@ paths: parameters: - *311 - *312 - - *145 + - *146 requestBody: required: true content: @@ -53082,7 +53088,7 @@ paths: - gpu - accelerated responses: - '200': *150 + '200': *151 '404': *6 '422': *7 x-github: @@ -53108,7 +53114,7 @@ paths: parameters: - *311 - *312 - - *145 + - *146 requestBody: required: true content: @@ -53133,7 +53139,7 @@ paths: - gpu - accelerated responses: - '200': *150 + '200': *151 '404': *6 '422': *7 x-github: @@ -53159,7 +53165,7 @@ paths: parameters: - *311 - *312 - - *145 + - *146 responses: '200': *345 '404': *6 @@ -53190,10 +53196,10 @@ paths: parameters: - *311 - *312 - - *145 + - *146 - *346 responses: - '200': *150 + '200': *151 '404': *6 '422': *7 x-github: @@ -53437,7 +53443,7 @@ paths: type: - array - 'null' - items: *74 + items: *75 created_at: type: string format: date-time @@ -53572,8 +53578,8 @@ paths: - timestamp - author - committer - repository: *144 - head_repository: *144 + repository: *145 + head_repository: *145 head_repository_id: type: integer examples: @@ -53827,7 +53833,7 @@ paths: releases_url: https://api.github.com/repos/octo-org/octo-repo/releases{/id} deployments_url: https://api.github.com/repos/octo-org/octo-repo/deployments headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54270,7 +54276,7 @@ paths: description: Response content: application/json: - schema: *153 + schema: *154 examples: default: value: @@ -54322,7 +54328,7 @@ paths: examples: default: *351 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54497,7 +54503,7 @@ paths: workflow_name: CI head_branch: main headers: - Link: *56 + Link: *57 '404': *6 x-github: githubCloudOnly: false @@ -54560,11 +54566,11 @@ paths: description: Response content: application/json: - schema: *153 + schema: *154 examples: default: value: - '409': *49 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54664,11 +54670,11 @@ paths: description: Response content: application/json: - schema: *153 + schema: *154 examples: default: value: - '409': *49 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54727,7 +54733,7 @@ paths: examples: default: *355 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54786,7 +54792,7 @@ paths: '204': description: Response '403': *27 - '500': *104 + '500': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55209,7 +55215,7 @@ paths: description: Response content: application/json: - schema: *153 + schema: *154 examples: default: value: @@ -55256,7 +55262,7 @@ paths: description: Response content: application/json: - schema: *153 + schema: *154 examples: default: value: @@ -55450,7 +55456,7 @@ paths: examples: default: *357 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55506,7 +55512,7 @@ paths: parameters: - *311 - *312 - - *152 + - *153 responses: '200': description: Response @@ -55542,7 +55548,7 @@ paths: parameters: - *311 - *312 - - *152 + - *153 requestBody: required: true content: @@ -55573,7 +55579,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *153 + schema: *154 examples: default: value: @@ -55601,7 +55607,7 @@ paths: parameters: - *311 - *312 - - *152 + - *153 responses: '204': description: Response @@ -55649,7 +55655,7 @@ paths: examples: default: *361 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55698,7 +55704,7 @@ paths: description: Response content: application/json: - schema: *153 + schema: *154 examples: default: value: @@ -55725,7 +55731,7 @@ paths: parameters: - *311 - *312 - - *155 + - *156 responses: '200': description: Response @@ -55761,7 +55767,7 @@ paths: parameters: - *311 - *312 - - *155 + - *156 requestBody: required: true content: @@ -55805,7 +55811,7 @@ paths: parameters: - *311 - *312 - - *155 + - *156 responses: '204': description: Response @@ -55944,7 +55950,7 @@ paths: html_url: https://github.com/octo-org/octo-repo/blob/master/.github/workflows/269289 badge_url: https://github.com/octo-org/octo-repo/workflows/Linter/badge.svg headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56048,37 +56054,8 @@ paths: - *312 - *363 responses: - '200': + '204': description: Response - content: - application/json: - schema: - title: Workflow Dispatch Response - description: Response containing the workflow run ID and URLs. - type: object - properties: - workflow_run_id: - title: Workflow Run ID - description: The ID of the workflow run. - type: integer - format: int64 - run_url: - type: string - format: uri - description: The URL to the workflow run. - html_url: - type: string - format: uri - required: - - workflow_run_id - - run_url - - html_url - examples: - default: - value: - workflow_run_id: 1 - run_url: https://api.github.com/repos/octo-org/octo-repo/actions/runs/1 - html_url: https://github.com/octo-org/octo-repo/actions/runs/1 requestBody: required: true content: @@ -56187,7 +56164,7 @@ paths: examples: default: *371 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56282,7 +56259,7 @@ paths: parameters: - *311 - *312 - - *50 + - *51 - *17 - *43 - *44 @@ -56430,7 +56407,7 @@ paths: type: User site_admin: false headers: - Link: *56 + Link: *57 '422': *7 x-github: githubCloudOnly: false @@ -56462,9 +56439,9 @@ paths: type: array items: *4 examples: - default: *60 + default: *61 headers: - Link: *56 + Link: *57 '404': *6 x-github: githubCloudOnly: false @@ -57470,7 +57447,7 @@ paths: - linter protection_url: https://api.github.com/repos/octocat/hello-world/branches/master/protection headers: - Link: *56 + Link: *57 '404': *6 x-github: githubCloudOnly: false @@ -57632,14 +57609,14 @@ paths: author: oneOf: - *4 - - *153 + - *154 type: - 'null' - object committer: oneOf: - *4 - - *153 + - *154 type: - 'null' - object @@ -60072,7 +60049,7 @@ paths: type: array items: *4 examples: - default: *60 + default: *61 '404': *6 x-github: githubCloudOnly: false @@ -60131,7 +60108,7 @@ paths: type: array items: *4 examples: - default: *60 + default: *61 '422': *15 x-github: githubCloudOnly: false @@ -60191,7 +60168,7 @@ paths: type: array items: *4 examples: - default: *60 + default: *61 '422': *15 x-github: githubCloudOnly: false @@ -60251,7 +60228,7 @@ paths: type: array items: *4 examples: - default: *60 + default: *61 '422': *15 x-github: githubCloudOnly: false @@ -60833,7 +60810,7 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *74 + items: *75 deployment: &700 title: Deployment description: A deployment created as the result of an Actions @@ -61593,7 +61570,7 @@ paths: raw_details: Do you mean 'bananas' or 'banana'? blob_href: https://api.github.com/repos/github/rest-api-description/git/blobs/abc headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61621,7 +61598,7 @@ paths: description: Response content: application/json: - schema: *153 + schema: *154 examples: default: value: @@ -61764,12 +61741,12 @@ paths: type: - array - 'null' - items: *74 + items: *75 app: anyOf: - type: 'null' - *5 - repository: *144 + repository: *145 created_at: type: - string @@ -62182,7 +62159,7 @@ paths: required: - app_id - setting - repository: *144 + repository: *145 examples: default: value: @@ -62602,7 +62579,7 @@ paths: url: https://api.github.com/repos/github/hello-world name: hello-world headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62630,7 +62607,7 @@ paths: description: Response content: application/json: - schema: *153 + schema: *154 examples: default: value: @@ -62678,7 +62655,7 @@ paths: required: false schema: type: integer - - *50 + - *51 - *43 - *44 - name: sort @@ -62721,19 +62698,19 @@ paths: items: type: object properties: - number: *162 - created_at: *163 - updated_at: *164 - url: *165 - html_url: *166 + number: *163 + created_at: *164 + updated_at: *165 + url: *166 + html_url: *167 instances_url: *401 - state: *171 - fixed_at: *167 + state: *172 + fixed_at: *168 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *168 + dismissed_at: *169 dismissed_reason: *402 dismissed_comment: *403 rule: *404 @@ -62868,7 +62845,7 @@ paths: application/json: schema: *3 '404': *6 - '503': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62898,7 +62875,7 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *162 + schema: *163 responses: '200': description: Response @@ -62907,19 +62884,19 @@ paths: schema: &409 type: object properties: - number: *162 - created_at: *163 - updated_at: *164 - url: *165 - html_url: *166 + number: *163 + created_at: *164 + updated_at: *165 + url: *166 + html_url: *167 instances_url: *401 - state: *171 - fixed_at: *167 + state: *172 + fixed_at: *168 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *168 + dismissed_at: *169 dismissed_reason: *402 dismissed_comment: *403 rule: @@ -63082,7 +63059,7 @@ paths: '304': *35 '403': *407 '404': *6 - '503': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63229,7 +63206,7 @@ paths: application/json: schema: *3 '404': *6 - '503': *105 + '503': *106 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63303,7 +63280,7 @@ paths: status: '400' '403': *407 '404': *6 - '503': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63358,7 +63335,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63433,7 +63410,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63539,7 +63516,7 @@ paths: - source '403': *407 '404': *6 - '503': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63594,7 +63571,7 @@ paths: description: An identifier for the upload. examples: - 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 - - *50 + - *51 - name: sort description: The property by which to sort the results. in: query @@ -63717,7 +63694,7 @@ paths: warning: '' '403': *407 '404': *6 - '503': *105 + '503': *106 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63826,7 +63803,7 @@ paths: content: application/json: schema: *3 - '503': *105 + '503': *106 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63965,7 +63942,7 @@ paths: '400': *14 '403': *413 '404': *6 - '503': *105 + '503': *106 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -64108,7 +64085,7 @@ paths: commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c '403': *407 '404': *6 - '503': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64184,7 +64161,7 @@ paths: description: Found '403': *407 '404': *6 - '503': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64217,7 +64194,7 @@ paths: description: Response '403': *413 '404': *6 - '503': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64341,7 +64318,7 @@ paths: id: type: integer description: The ID of the variant analysis. - controller_repo: *55 + controller_repo: *56 actor: *4 query_language: *424 query_pack_url: @@ -64676,7 +64653,7 @@ paths: content: application/json: schema: *3 - '503': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64714,7 +64691,7 @@ paths: examples: default: *427 '404': *6 - '503': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64769,7 +64746,7 @@ paths: schema: type: object properties: - repository: *55 + repository: *56 analysis_status: *429 artifact_size_in_bytes: type: integer @@ -64874,7 +64851,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64991,7 +64968,7 @@ paths: schedule: weekly '403': *407 '404': *6 - '503': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65080,7 +65057,7 @@ paths: description: Response content: application/json: - schema: *153 + schema: *154 examples: default: value: @@ -65119,7 +65096,7 @@ paths: content: application/json: schema: *3 - '503': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65263,7 +65240,7 @@ paths: '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *105 + '503': *106 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -65334,7 +65311,7 @@ paths: '403': *407 '404': description: Not Found if the sarif id does not match any upload - '503': *105 + '503': *106 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -65860,7 +65837,7 @@ paths: start_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/start stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/stop recent_folders: [] - '500': *104 + '500': *105 '401': *23 '403': *27 '404': *6 @@ -65962,7 +65939,7 @@ paths: '401': *23 '403': *27 '404': *6 - '503': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -66027,7 +66004,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *104 + '500': *105 '400': *14 '401': *23 '403': *27 @@ -66108,7 +66085,7 @@ paths: memory_in_bytes: 34359738368 cpus: 8 '304': *35 - '500': *104 + '500': *105 '401': *23 '403': *27 '404': *6 @@ -66268,7 +66245,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66331,7 +66308,7 @@ paths: examples: default: *433 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66383,7 +66360,7 @@ paths: parameters: - *311 - *312 - - *152 + - *153 responses: '200': description: Response @@ -66413,7 +66390,7 @@ paths: parameters: - *311 - *312 - - *152 + - *153 requestBody: required: true content: @@ -66441,7 +66418,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *153 + schema: *154 examples: default: value: @@ -66467,7 +66444,7 @@ paths: parameters: - *311 - *312 - - *152 + - *153 responses: '204': description: Response @@ -66702,7 +66679,7 @@ paths: admin: false role_name: write headers: - Link: *56 + Link: *57 '404': *6 x-github: githubCloudOnly: false @@ -66729,7 +66706,7 @@ paths: parameters: - *311 - *312 - - *61 + - *62 responses: '204': description: Response if user is a collaborator @@ -66777,7 +66754,7 @@ paths: parameters: - *311 - *312 - - *61 + - *62 requestBody: required: false content: @@ -66815,7 +66792,7 @@ paths: format: int64 examples: - 42 - repository: *144 + repository: *145 invitee: anyOf: - type: 'null' @@ -66991,7 +66968,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *113 + schema: *114 '403': *27 x-github: triggersNotification: true @@ -67033,7 +67010,7 @@ paths: parameters: - *311 - *312 - - *61 + - *62 responses: '204': description: No Content when collaborator was removed from the repository. @@ -67066,7 +67043,7 @@ paths: parameters: - *311 - *312 - - *61 + - *62 responses: '200': description: if user has admin permissions @@ -67192,8 +67169,8 @@ paths: updated_at: type: string format: date-time - author_association: *71 - reactions: *72 + author_association: *72 + reactions: *73 required: - url - html_url @@ -67243,7 +67220,7 @@ paths: updated_at: '2011-04-14T16:00:49Z' author_association: COLLABORATOR headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67270,7 +67247,7 @@ paths: parameters: - *311 - *312 - - *85 + - *86 responses: '200': description: Response @@ -67337,7 +67314,7 @@ paths: parameters: - *311 - *312 - - *85 + - *86 requestBody: required: true content: @@ -67412,7 +67389,7 @@ paths: parameters: - *311 - *312 - - *85 + - *86 responses: '204': description: Response @@ -67435,7 +67412,7 @@ paths: parameters: - *311 - *312 - - *85 + - *86 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a commit comment. @@ -67531,7 +67508,7 @@ paths: content: heart created_at: '2016-05-20T20:09:31Z' headers: - Link: *56 + Link: *57 '404': *6 x-github: githubCloudOnly: false @@ -67552,7 +67529,7 @@ paths: parameters: - *311 - *312 - - *85 + - *86 requestBody: required: true content: @@ -67641,7 +67618,7 @@ paths: parameters: - *311 - *312 - - *85 + - *86 - &510 name: reaction_id description: The unique identifier of the reaction. @@ -67826,11 +67803,11 @@ paths: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: - Link: *56 - '500': *104 + Link: *57 + '500': *105 '400': *14 '404': *6 - '409': *49 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67899,7 +67876,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc protected: false '422': *15 - '409': *49 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67940,7 +67917,7 @@ paths: examples: default: *444 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68526,8 +68503,8 @@ paths: auto_merge: draft: false headers: - Link: *56 - '409': *49 + Link: *57 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68691,9 +68668,9 @@ paths: ..... '422': *15 '404': *6 - '500': *104 - '503': *105 - '409': *49 + '500': *105 + '503': *106 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68760,7 +68737,7 @@ paths: examples: default: *450 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68986,7 +68963,7 @@ paths: latest_check_runs_count: 1 check_runs_url: https://api.github.com/repos/octocat/Hello-World/check-suites/5/check-runs headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69084,7 +69061,7 @@ paths: type: string total_count: type: integer - repository: *144 + repository: *145 commit_url: type: string format: uri @@ -69307,7 +69284,7 @@ paths: type: User site_admin: false headers: - Link: *56 + Link: *57 '301': *315 x-github: githubCloudOnly: false @@ -69390,7 +69367,7 @@ paths: license: anyOf: - type: 'null' - - *73 + - *74 contributing: anyOf: - type: 'null' @@ -69855,8 +69832,8 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" '404': *6 - '500': *104 - '503': *105 + '500': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70954,8 +70931,8 @@ paths: verified_at: '422': *15 '404': *6 - '409': *49 - '503': *105 + '409': *50 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71077,7 +71054,7 @@ paths: site_admin: false contributions: 32 headers: - Link: *56 + Link: *57 '204': description: Response if repository is empty '403': *27 @@ -71116,7 +71093,7 @@ paths: - *457 - *186 - *187 - - *50 + - *51 - name: per_page description: The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -71138,7 +71115,7 @@ paths: type: object description: A Dependabot alert. properties: - number: *162 + number: *163 state: type: string description: The state of the Dependabot alert. @@ -71153,7 +71130,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *51 + package: *52 manifest_path: type: string description: The full path to the dependency manifest file, @@ -71185,12 +71162,12 @@ paths: - transitive - security_advisory: *458 - security_vulnerability: *54 - url: *165 - html_url: *166 - created_at: *163 - updated_at: *164 - dismissed_at: *168 + security_vulnerability: *55 + url: *166 + html_url: *167 + created_at: *164 + updated_at: *165 + dismissed_at: *169 dismissed_by: anyOf: - type: 'null' @@ -71214,7 +71191,7 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *167 + fixed_at: *168 auto_dismissed_at: *459 dismissal_request: *460 required: @@ -71457,7 +71434,7 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *162 + schema: *163 responses: '200': description: Response @@ -71729,7 +71706,7 @@ paths: '400': *14 '403': *27 '404': *6 - '409': *49 + '409': *50 '422': *7 x-github: githubCloudOnly: false @@ -71803,7 +71780,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71856,7 +71833,7 @@ paths: parameters: - *311 - *312 - - *152 + - *153 responses: '200': description: Response @@ -71890,7 +71867,7 @@ paths: parameters: - *311 - *312 - - *152 + - *153 requestBody: required: true content: @@ -71918,7 +71895,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *153 + schema: *154 examples: default: value: @@ -71944,7 +71921,7 @@ paths: parameters: - *311 - *312 - - *152 + - *153 responses: '204': description: Response @@ -72117,7 +72094,7 @@ paths: advisory_summary: Ruby OpenID advisory_url: https://github.com/advisories/GHSA-fqfj-cmh6-hj49 headers: - Link: *56 + Link: *57 '404': *6 '403': description: Response for a private repository when GitHub Advanced Security @@ -72379,7 +72356,7 @@ paths: spdxElementId: SPDXRef-DOCUMENT relatedSpdxElement: SPDXRef-Repository headers: - Link: *56 + Link: *57 '404': *6 '403': *27 x-github: @@ -72718,7 +72695,7 @@ paths: examples: default: *468 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73197,7 +73174,7 @@ paths: environment_url: https://test-branch.lab.acme.com log_url: https://example.com/deployment/42/output headers: - Link: *56 + Link: *57 '404': *6 x-github: githubCloudOnly: false @@ -74574,7 +74551,7 @@ paths: examples: default: *357 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74632,7 +74609,7 @@ paths: - *311 - *312 - *474 - - *152 + - *153 responses: '200': description: Response @@ -74665,7 +74642,7 @@ paths: - *311 - *312 - *474 - - *152 + - *153 requestBody: required: true content: @@ -74696,7 +74673,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *153 + schema: *154 examples: default: value: @@ -74725,7 +74702,7 @@ paths: - *311 - *312 - *474 - - *152 + - *153 responses: '204': description: Default response @@ -74774,7 +74751,7 @@ paths: examples: default: *361 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74824,7 +74801,7 @@ paths: description: Response content: application/json: - schema: *153 + schema: *154 examples: default: value: @@ -74852,7 +74829,7 @@ paths: - *311 - *312 - *474 - - *155 + - *156 responses: '200': description: Response @@ -74883,7 +74860,7 @@ paths: parameters: - *311 - *312 - - *155 + - *156 - *474 requestBody: required: true @@ -74928,7 +74905,7 @@ paths: parameters: - *311 - *312 - - *155 + - *156 - *474 responses: '204': @@ -74962,7 +74939,7 @@ paths: application/json: schema: type: array - items: *95 + items: *96 examples: 200-response: value: @@ -75043,7 +75020,7 @@ paths: application/json: schema: type: array - items: *144 + items: *145 examples: default: value: @@ -75156,7 +75133,7 @@ paths: url: https://api.github.com/licenses/mit node_id: MDc6TGljZW5zZW1pdA== headers: - Link: *56 + Link: *57 '400': *14 x-github: githubCloudOnly: false @@ -75289,7 +75266,7 @@ paths: schema: type: string '404': *6 - '409': *49 + '409': *50 '403': *27 '422': description: Validation failed @@ -75297,7 +75274,7 @@ paths: application/json: schema: oneOf: - - *113 + - *114 - *487 x-github: githubCloudOnly: false @@ -75376,7 +75353,7 @@ paths: '404': *6 '422': *15 '403': *27 - '409': *49 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75711,7 +75688,7 @@ paths: type: string '422': *15 '404': *6 - '409': *49 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75800,7 +75777,7 @@ paths: payload: verified_at: '404': *6 - '409': *49 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75898,8 +75875,8 @@ paths: sha: 612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: - Link: *56 - '409': *49 + Link: *57 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75940,7 +75917,7 @@ paths: sha: aa218f56b14c9653891f9e74264a383fa43fefbd url: https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd '404': *6 - '409': *49 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75998,7 +75975,7 @@ paths: schema: type: string '422': *15 - '409': *49 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76052,7 +76029,7 @@ paths: examples: default: *491 '422': *15 - '409': *49 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76077,7 +76054,7 @@ paths: '422': description: Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed. - '409': *49 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76286,7 +76263,7 @@ paths: schema: type: string '422': *15 - '409': *49 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76348,7 +76325,7 @@ paths: examples: default: *494 '404': *6 - '409': *49 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76524,7 +76501,7 @@ paths: '422': *15 '404': *6 '403': *27 - '409': *49 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76612,7 +76589,7 @@ paths: truncated: false '422': *15 '404': *6 - '409': *49 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76762,7 +76739,7 @@ paths: status: unused message: headers: - Link: *56 + Link: *57 '404': *6 x-github: githubCloudOnly: false @@ -77279,7 +77256,7 @@ paths: - *312 responses: '204': *176 - '409': *49 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77300,7 +77277,7 @@ paths: - *312 responses: '204': *176 - '409': *49 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78320,7 +78297,7 @@ paths: html_url: https://github.com/octocat/Hello-World/invitations node_id: MDQ6VXNlcjE= headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78593,8 +78570,8 @@ paths: - updated - comments default: created - - *50 - - *76 + - *51 + - *77 - *17 - *19 responses: @@ -78604,7 +78581,7 @@ paths: application/json: schema: type: array - items: *70 + items: *71 examples: default: &515 value: @@ -78753,7 +78730,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *56 + Link: *57 '301': *315 '422': *15 '404': *6 @@ -78874,7 +78851,7 @@ paths: description: Response content: application/json: - schema: *70 + schema: *71 examples: default: &512 value: @@ -79030,7 +79007,7 @@ paths: '400': *14 '403': *27 '422': *15 - '503': *105 + '503': *106 '404': *6 '410': *506 x-github: @@ -79062,7 +79039,7 @@ paths: parameters: - *311 - *312 - - *93 + - *94 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -79072,7 +79049,7 @@ paths: enum: - asc - desc - - *76 + - *77 - *17 - *19 responses: @@ -79115,7 +79092,7 @@ paths: issue_url: https://api.github.com/repos/octocat/Hello-World/issues/1347 author_association: COLLABORATOR headers: - Link: *56 + Link: *57 '422': *15 '404': *6 x-github: @@ -79144,7 +79121,7 @@ paths: parameters: - *311 - *312 - - *85 + - *86 responses: '200': description: Response @@ -79208,7 +79185,7 @@ paths: parameters: - *311 - *312 - - *85 + - *86 requestBody: required: true content: @@ -79252,7 +79229,7 @@ paths: parameters: - *311 - *312 - - *85 + - *86 responses: '204': description: Response @@ -79274,7 +79251,7 @@ paths: parameters: - *311 - *312 - - *85 + - *86 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue comment. @@ -79304,7 +79281,7 @@ paths: examples: default: *509 headers: - Link: *56 + Link: *57 '404': *6 x-github: githubCloudOnly: false @@ -79325,7 +79302,7 @@ paths: parameters: - *311 - *312 - - *85 + - *86 requestBody: required: true content: @@ -79390,7 +79367,7 @@ paths: parameters: - *311 - *312 - - *85 + - *86 - *510 responses: '204': @@ -79469,7 +79446,7 @@ paths: issue: anyOf: - type: 'null' - - *70 + - *71 label: title: Issue Event Label description: Issue Event Label @@ -79569,7 +79546,7 @@ paths: required: - from - to - author_association: *71 + author_association: *72 lock_reason: type: - string @@ -79743,7 +79720,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *56 + Link: *57 '422': *15 x-github: githubCloudOnly: false @@ -80013,7 +79990,7 @@ paths: description: Response content: application/json: - schema: *70 + schema: *71 examples: default: *512 '301': *315 @@ -80164,11 +80141,11 @@ paths: description: Response content: application/json: - schema: *70 + schema: *71 examples: default: *512 '422': *15 - '503': *105 + '503': *106 '403': *27 '301': *315 '404': *6 @@ -80218,7 +80195,7 @@ paths: description: Response content: application/json: - schema: *70 + schema: *71 examples: default: *512 x-github: @@ -80263,7 +80240,7 @@ paths: description: Response content: application/json: - schema: *70 + schema: *71 examples: default: *512 x-github: @@ -80332,7 +80309,7 @@ paths: - *311 - *312 - *513 - - *76 + - *77 - *17 - *19 responses: @@ -80346,7 +80323,7 @@ paths: examples: default: *514 headers: - Link: *56 + Link: *57 '404': *6 '410': *506 x-github: @@ -80450,11 +80427,11 @@ paths: application/json: schema: type: array - items: *70 + items: *71 examples: default: *515 headers: - Link: *56 + Link: *57 '301': *315 '404': *6 '410': *506 @@ -80509,7 +80486,7 @@ paths: description: Response content: application/json: - schema: *70 + schema: *71 examples: default: *512 headers: @@ -80564,7 +80541,7 @@ paths: description: Response content: application/json: - schema: *70 + schema: *71 examples: default: *512 '301': *315 @@ -80610,11 +80587,11 @@ paths: application/json: schema: type: array - items: *70 + items: *71 examples: default: *515 headers: - Link: *56 + Link: *57 '301': *315 '404': *6 '410': *506 @@ -81428,7 +81405,7 @@ paths: name: label color: red headers: - Link: *56 + Link: *57 '410': *506 x-github: githubCloudOnly: false @@ -81458,7 +81435,7 @@ paths: application/json: schema: type: array - items: *69 + items: *70 examples: default: &516 value: @@ -81477,7 +81454,7 @@ paths: color: a2eeef default: false headers: - Link: *56 + Link: *57 '301': *315 '404': *6 '410': *506 @@ -81558,7 +81535,7 @@ paths: application/json: schema: type: array - items: *69 + items: *70 examples: default: *516 '301': *315 @@ -81642,7 +81619,7 @@ paths: application/json: schema: type: array - items: *69 + items: *70 examples: default: *516 '301': *315 @@ -81706,7 +81683,7 @@ paths: application/json: schema: type: array - items: *69 + items: *70 examples: default: value: @@ -81828,7 +81805,7 @@ paths: description: Response content: application/json: - schema: *70 + schema: *71 examples: default: *512 '301': *315 @@ -81882,7 +81859,7 @@ paths: examples: default: *509 headers: - Link: *56 + Link: *57 '404': *6 '410': *506 x-github: @@ -82023,7 +82000,7 @@ paths: description: Response content: application/json: - schema: *70 + schema: *71 examples: default: *512 headers: @@ -82070,11 +82047,11 @@ paths: application/json: schema: type: array - items: *70 + items: *71 examples: default: *515 headers: - Link: *56 + Link: *57 '404': *6 '410': *506 x-github: @@ -82133,7 +82110,7 @@ paths: description: Response content: application/json: - schema: *70 + schema: *71 examples: default: *512 headers: @@ -82195,13 +82172,13 @@ paths: description: Response content: application/json: - schema: *70 + schema: *71 examples: default: *512 '403': *27 '404': *6 '422': *7 - '503': *105 + '503': *106 x-github: triggersNotification: true githubCloudOnly: false @@ -82296,12 +82273,12 @@ paths: issue_url: type: string format: uri - author_association: *71 + author_association: *72 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *72 + reactions: *73 required: - event - actor @@ -82332,7 +82309,7 @@ paths: properties: type: type: string - issue: *70 + issue: *71 required: - event - created_at @@ -82554,7 +82531,7 @@ paths: type: string body_text: type: string - author_association: *71 + author_association: *72 required: - event - id @@ -82652,7 +82629,10 @@ paths: type: integer examples: - 8 - user: *4 + user: + anyOf: + - type: 'null' + - *4 body: description: The text of the comment. type: string @@ -82682,7 +82662,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *71 + author_association: *72 _links: type: object properties: @@ -82777,7 +82757,7 @@ paths: enum: - line - file - reactions: *72 + reactions: *73 body_html: type: string examples: @@ -83088,7 +83068,7 @@ paths: type: User site_admin: true headers: - Link: *56 + Link: *57 '404': *6 '410': *506 x-github: @@ -83170,7 +83150,7 @@ paths: last_used: '2022-01-10T15:53:42Z' enabled: true headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83326,11 +83306,11 @@ paths: application/json: schema: type: array - items: *69 + items: *70 examples: default: *516 headers: - Link: *56 + Link: *57 '404': *6 x-github: githubCloudOnly: false @@ -83386,7 +83366,7 @@ paths: description: Response content: application/json: - schema: *69 + schema: *70 examples: default: &533 value: @@ -83432,7 +83412,7 @@ paths: description: Response content: application/json: - schema: *69 + schema: *70 examples: default: *533 '404': *6 @@ -83491,7 +83471,7 @@ paths: description: Response content: application/json: - schema: *69 + schema: *70 examples: default: value: @@ -83652,7 +83632,7 @@ paths: license: anyOf: - type: 'null' - - *73 + - *74 required: - _links - git_url @@ -83942,7 +83922,7 @@ paths: closed_at: '2013-02-12T13:22:01Z' due_on: '2012-10-09T23:39:01Z' headers: - Link: *56 + Link: *57 '404': *6 x-github: githubCloudOnly: false @@ -84187,11 +84167,11 @@ paths: application/json: schema: type: array - items: *69 + items: *70 examples: default: *516 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84212,7 +84192,7 @@ paths: - *312 - *537 - *538 - - *76 + - *77 - *539 - *17 - *19 @@ -84223,11 +84203,11 @@ paths: application/json: schema: type: array - items: *96 + items: *97 examples: default: *540 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -84560,7 +84540,7 @@ paths: examples: default: *542 '422': *15 - '409': *49 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84661,7 +84641,7 @@ paths: description: Response '422': *15 '400': *14 - '409': *49 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84689,7 +84669,7 @@ paths: description: Response '422': *15 '404': *6 - '409': *49 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84793,7 +84773,7 @@ paths: created_at: '2014-02-10T19:00:49Z' updated_at: '2014-02-10T19:00:51Z' headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85418,7 +85398,7 @@ paths: description: Empty response content: application/json: - schema: *153 + schema: *154 examples: default: value: @@ -85537,7 +85517,7 @@ paths: application/json: schema: type: array - items: *103 + items: *104 examples: default: *546 '403': *27 @@ -85574,7 +85554,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *103 + items: *104 required: - properties examples: @@ -85681,7 +85661,7 @@ paths: examples: default: *548 headers: - Link: *56 + Link: *57 '304': *35 '422': *15 x-github: @@ -85971,7 +85951,7 @@ paths: type: string ref: type: string - repo: *68 + repo: *69 sha: type: string user: *4 @@ -85988,7 +85968,7 @@ paths: type: string ref: type: string - repo: *68 + repo: *69 sha: type: string user: *4 @@ -86018,7 +85998,7 @@ paths: - review_comments - review_comment - self - author_association: *71 + author_association: *72 auto_merge: *549 draft: description: Indicates whether or not the pull request is a draft. @@ -86668,7 +86648,7 @@ paths: enum: - asc - desc - - *76 + - *77 - *17 - *19 responses: @@ -86732,7 +86712,7 @@ paths: original_line: 2 side: RIGHT headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86759,7 +86739,7 @@ paths: parameters: - *311 - *312 - - *85 + - *86 responses: '200': description: Response @@ -86844,7 +86824,7 @@ paths: parameters: - *311 - *312 - - *85 + - *86 requestBody: required: true content: @@ -86886,7 +86866,7 @@ paths: parameters: - *311 - *312 - - *85 + - *86 responses: '204': description: Response @@ -86909,7 +86889,7 @@ paths: parameters: - *311 - *312 - - *85 + - *86 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a pull request review comment. @@ -86939,7 +86919,7 @@ paths: examples: default: *509 headers: - Link: *56 + Link: *57 '404': *6 x-github: githubCloudOnly: false @@ -86960,7 +86940,7 @@ paths: parameters: - *311 - *312 - - *85 + - *86 requestBody: required: true content: @@ -87025,7 +87005,7 @@ paths: parameters: - *311 - *312 - - *85 + - *86 - *510 responses: '204': @@ -87094,8 +87074,8 @@ paths: content: application/json: schema: *3 - '500': *104 - '503': *105 + '500': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87266,7 +87246,7 @@ paths: '401': *23 '403': *27 '404': *6 - '503': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -87295,7 +87275,7 @@ paths: - *311 - *312 - *554 - - *93 + - *94 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -87305,7 +87285,7 @@ paths: enum: - asc - desc - - *76 + - *77 - *17 - *19 responses: @@ -87319,7 +87299,7 @@ paths: examples: default: *555 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87549,7 +87529,7 @@ paths: - *311 - *312 - *554 - - *85 + - *86 requestBody: required: true content: @@ -87673,7 +87653,7 @@ paths: examples: default: *556 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87729,10 +87709,10 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" headers: - Link: *56 + Link: *57 '422': *15 - '500': *104 - '503': *105 + '500': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87949,7 +87929,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89169,7 +89149,7 @@ paths: type: string body_text: type: string - author_association: *71 + author_association: *72 required: - id - node_id @@ -89218,7 +89198,7 @@ paths: commit_id: ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091 author_association: COLLABORATOR headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89707,7 +89687,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *71 + author_association: *72 _links: type: object properties: @@ -89722,7 +89702,7 @@ paths: type: string body_html: type: string - reactions: *72 + reactions: *73 side: description: The side of the first line of the range for a multi-line comment. @@ -89842,7 +89822,7 @@ paths: pull_request: href: https://api.github.com/repos/octocat/Hello-World/pulls/1 headers: - Link: *56 + Link: *57 '404': *6 x-github: githubCloudOnly: false @@ -90282,7 +90262,7 @@ paths: type: User site_admin: false headers: - Link: *56 + Link: *57 '404': *6 x-github: githubCloudOnly: false @@ -90975,7 +90955,7 @@ paths: type: User site_admin: false headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91132,7 +91112,7 @@ paths: examples: default: *509 headers: - Link: *56 + Link: *57 '404': *6 x-github: githubCloudOnly: false @@ -91431,7 +91411,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *104 + '500': *105 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -91543,7 +91523,7 @@ paths: created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' '404': *6 - '500': *104 + '500': *105 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -91574,7 +91554,7 @@ paths: examples: default: *578 '404': *6 - '500': *104 + '500': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91605,7 +91585,7 @@ paths: examples: default: *581 '404': *6 - '500': *104 + '500': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91656,7 +91636,7 @@ paths: examples: default: *582 '404': *6 - '500': *104 + '500': *105 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -91739,7 +91719,7 @@ paths: examples: default: *582 '404': *6 - '500': *104 + '500': *105 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -91767,7 +91747,7 @@ paths: '204': description: Response '404': *6 - '500': *104 + '500': *105 "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": get: summary: Get repository ruleset history @@ -91800,7 +91780,7 @@ paths: examples: default: *583 '404': *6 - '500': *104 + '500': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91869,7 +91849,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *104 + '500': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91898,7 +91878,7 @@ paths: - *587 - *588 - *589 - - *50 + - *51 - *19 - *17 - *590 @@ -91917,14 +91897,14 @@ paths: items: &599 type: object properties: - number: *162 - created_at: *163 + number: *163 + created_at: *164 updated_at: anyOf: - type: 'null' - - *164 - url: *165 - html_url: *166 + - *165 + url: *166 + html_url: *167 locations_url: type: string format: uri @@ -92148,7 +92128,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92210,7 +92190,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92353,7 +92333,7 @@ paths: '422': description: State does not match the resolution or resolution comment, or assignee does not have write access to the repository - '503': *105 + '503': *106 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -92487,11 +92467,11 @@ paths: details: pull_request_review_comment_url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 headers: - Link: *56 + Link: *57 '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92570,7 +92550,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *105 + '503': *106 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -92599,7 +92579,7 @@ paths: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *105 + '503': *106 '200': description: Response content: @@ -92717,7 +92697,7 @@ paths: parameters: - *311 - *312 - - *50 + - *51 - name: sort description: The property to sort the results by. in: query @@ -93669,7 +93649,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *113 + schema: *114 examples: invalid_state_transition: value: @@ -93840,7 +93820,7 @@ paths: type: User site_admin: false headers: - Link: *56 + Link: *57 '422': *15 x-github: githubCloudOnly: false @@ -94402,9 +94382,9 @@ paths: type: array items: *4 examples: - default: *60 + default: *61 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94637,7 +94617,7 @@ paths: tarball_url: https://github.com/octocat/Hello-World/tarball/v0.1 node_id: MDQ6VXNlcjE= headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94871,7 +94851,7 @@ paths: examples: default: *232 headers: - Link: *56 + Link: *57 '404': *6 x-github: githubCloudOnly: false @@ -95408,7 +95388,7 @@ paths: description: Response content: application/json: - schema: *144 + schema: *145 examples: default: value: @@ -95856,7 +95836,7 @@ paths: application/json: schema: type: array - items: *144 + items: *145 examples: default: value: @@ -96045,7 +96025,7 @@ paths: html_url: type: string format: uri - repository: *144 + repository: *145 score: type: number file_size: @@ -96179,7 +96159,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *35 - '503': *105 + '503': *106 '422': *15 '403': *27 x-github: @@ -96342,7 +96322,7 @@ paths: type: string sha: type: string - repository: *144 + repository: *145 score: type: number node_id: @@ -96706,10 +96686,10 @@ paths: type: string score: type: number - author_association: *71 + author_association: *72 draft: type: boolean - repository: *68 + repository: *69 body_html: type: string body_text: @@ -96722,7 +96702,7 @@ paths: anyOf: - type: 'null' - *5 - reactions: *72 + reactions: *73 required: - assignee - closed_at @@ -96838,7 +96818,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *105 + '503': *106 '422': *15 '304': *35 '403': *27 @@ -97240,7 +97220,7 @@ paths: license: anyOf: - type: 'null' - - *73 + - *74 permissions: type: object properties: @@ -97461,7 +97441,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *105 + '503': *106 '422': *15 '304': *35 x-github: @@ -97931,7 +97911,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *35 - '503': *105 + '503': *106 '422': *15 x-github: githubCloudOnly: false @@ -98125,7 +98105,7 @@ paths: url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - *633 - - *50 + - *51 - *17 - *19 responses: @@ -98139,7 +98119,7 @@ paths: examples: default: *634 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98356,7 +98336,7 @@ paths: examples: default: *214 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98403,9 +98383,9 @@ paths: type: array items: *4 examples: - default: *60 + default: *61 headers: - Link: *56 + Link: *57 '404': *6 x-github: githubCloudOnly: false @@ -98432,7 +98412,7 @@ paths: url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - *633 - - *61 + - *62 responses: '204': description: if user is a member @@ -98469,7 +98449,7 @@ paths: url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - *633 - - *61 + - *62 responses: '204': description: Response @@ -98509,7 +98489,7 @@ paths: url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - *633 - - *61 + - *62 responses: '204': description: Response @@ -98546,7 +98526,7 @@ paths: url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - *633 - - *61 + - *62 responses: '200': description: Response @@ -98588,7 +98568,7 @@ paths: url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - *633 - - *61 + - *62 requestBody: required: false content: @@ -98650,7 +98630,7 @@ paths: url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - *633 - - *61 + - *62 responses: '204': description: Response @@ -98687,11 +98667,11 @@ paths: application/json: schema: type: array - items: *144 + items: *145 examples: default: *239 headers: - Link: *56 + Link: *57 '404': *6 x-github: githubCloudOnly: false @@ -98971,7 +98951,7 @@ paths: examples: response-if-child-teams-exist: *639 headers: - Link: *56 + Link: *57 '404': *6 '403': *27 '422': *15 @@ -99491,7 +99471,7 @@ paths: type: array items: *4 examples: - default: *60 + default: *61 '304': *35 '404': *6 '403': *27 @@ -99514,7 +99494,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user parameters: - - *61 + - *62 responses: '204': description: If the user is blocked @@ -99542,7 +99522,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#block-a-user parameters: - - *61 + - *62 responses: '204': description: Response @@ -99566,7 +99546,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#unblock-a-user parameters: - - *61 + - *62 responses: '204': description: Response @@ -99619,7 +99599,7 @@ paths: examples: default: *222 '304': *35 - '500': *104 + '500': *105 '401': *23 '403': *27 '404': *6 @@ -99770,7 +99750,7 @@ paths: '401': *23 '403': *27 '404': *6 - '503': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99854,7 +99834,7 @@ paths: examples: default: *433 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99924,7 +99904,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *152 + - *153 responses: '200': description: Response @@ -99960,7 +99940,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *152 + - *153 requestBody: required: true content: @@ -100005,7 +99985,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *153 + schema: *154 examples: default: value: @@ -100033,7 +100013,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *152 + - *153 responses: '204': description: Response @@ -100058,7 +100038,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *152 + - *153 responses: '200': description: Response @@ -100074,13 +100054,13 @@ paths: type: integer repositories: type: array - items: *144 + items: *145 examples: default: *643 '401': *23 '403': *27 '404': *6 - '500': *104 + '500': *105 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100101,7 +100081,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *152 + - *153 requestBody: required: true content: @@ -100133,7 +100113,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *104 + '500': *105 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100155,7 +100135,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *152 + - *153 - name: repository_id in: path required: true @@ -100167,7 +100147,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *104 + '500': *105 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100188,7 +100168,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *152 + - *153 - name: repository_id in: path required: true @@ -100200,7 +100180,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *104 + '500': *105 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100230,7 +100210,7 @@ paths: examples: default: *431 '304': *35 - '500': *104 + '500': *105 '401': *23 '403': *27 '404': *6 @@ -100312,7 +100292,7 @@ paths: responses: '202': *37 '304': *35 - '500': *104 + '500': *105 '401': *23 '403': *27 '404': *6 @@ -100404,7 +100384,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *104 + '500': *105 '401': *23 '403': *27 '404': *6 @@ -100484,7 +100464,7 @@ paths: examples: default: *646 '304': *35 - '500': *104 + '500': *105 '401': *23 '403': *27 '404': *6 @@ -101378,7 +101358,7 @@ paths: examples: default: *431 '304': *35 - '500': *104 + '500': *105 '400': *14 '401': *23 '402': @@ -101388,7 +101368,7 @@ paths: schema: *3 '403': *27 '404': *6 - '409': *49 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101417,7 +101397,7 @@ paths: schema: *221 examples: default: *431 - '500': *104 + '500': *105 '401': *23 '403': *27 '404': *6 @@ -101628,7 +101608,7 @@ paths: primary: true visibility: public headers: - Link: *56 + Link: *57 '304': *35 '404': *6 '403': *27 @@ -101810,9 +101790,9 @@ paths: type: array items: *4 examples: - default: *60 + default: *61 headers: - Link: *56 + Link: *57 '304': *35 '403': *27 '401': *23 @@ -101843,9 +101823,9 @@ paths: type: array items: *4 examples: - default: *60 + default: *61 headers: - Link: *56 + Link: *57 '304': *35 '403': *27 '401': *23 @@ -101865,7 +101845,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user parameters: - - *61 + - *62 responses: '204': description: if the person is followed by the authenticated user @@ -101895,7 +101875,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#follow-a-user parameters: - - *61 + - *62 responses: '204': description: Response @@ -101920,7 +101900,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#unfollow-a-user parameters: - - *61 + - *62 responses: '204': description: Response @@ -102133,7 +102113,7 @@ paths: revoked: false raw_key: string headers: - Link: *56 + Link: *57 '304': *35 '404': *6 '403': *27 @@ -102425,7 +102405,7 @@ paths: suspended_at: suspended_by: headers: - Link: *56 + Link: *57 '304': *35 '403': *27 '401': *23 @@ -102471,11 +102451,11 @@ paths: type: string repositories: type: array - items: *68 + items: *69 examples: - default: *136 + default: *137 headers: - Link: *56 + Link: *57 '404': *6 '403': *27 '304': *35 @@ -102498,7 +102478,7 @@ paths: url: https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *133 + - *134 responses: '204': description: Response @@ -102524,7 +102504,7 @@ paths: url: https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *133 + - *134 responses: '204': description: Response @@ -102691,8 +102671,8 @@ paths: - updated - comments default: created - - *50 - - *76 + - *51 + - *77 - *17 - *19 responses: @@ -102702,11 +102682,11 @@ paths: application/json: schema: type: array - items: *70 + items: *71 examples: default: *220 headers: - Link: *56 + Link: *57 '404': *6 '304': *35 x-github: @@ -102789,7 +102769,7 @@ paths: verified: false read_only: false headers: - Link: *56 + Link: *57 '304': *35 '404': *6 '403': *27 @@ -103007,7 +102987,7 @@ paths: - id - type - login - plan: *87 + plan: *88 required: - billing_cycle - next_billing_date @@ -103051,7 +103031,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *56 + Link: *57 '304': *35 '401': *23 '404': *6 @@ -103084,7 +103064,7 @@ paths: examples: default: *654 headers: - Link: *56 + Link: *57 '304': *35 '401': *23 x-github: @@ -103205,7 +103185,7 @@ paths: type: User site_admin: false headers: - Link: *56 + Link: *57 '304': *35 '403': *27 '401': *23 @@ -103230,7 +103210,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *65 + - *66 responses: '200': description: Response @@ -103298,7 +103278,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *65 + - *66 requestBody: required: true content: @@ -103548,7 +103528,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *56 + Link: *57 '304': *35 '403': *27 '401': *23 @@ -104134,11 +104114,11 @@ paths: application/json: schema: type: array - items: *144 + items: *145 examples: default: *239 headers: - Link: *56 + Link: *57 '404': *6 x-github: githubCloudOnly: false @@ -104171,11 +104151,11 @@ paths: application/json: schema: type: array - items: *63 + items: *64 examples: - default: *100 + default: *101 headers: - Link: *56 + Link: *57 '304': *35 '403': *27 '401': *23 @@ -104623,7 +104603,7 @@ paths: examples: default: *659 headers: - Link: *56 + Link: *57 '304': *35 '404': *6 '403': *27 @@ -104732,7 +104712,7 @@ paths: application/json: schema: type: array - items: *68 + items: *69 examples: default: &666 summary: Default response @@ -104855,7 +104835,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *56 + Link: *57 '422': *15 '304': *35 '403': *27 @@ -105096,7 +105076,7 @@ paths: examples: default: *660 headers: - Link: *56 + Link: *57 '304': *35 '404': *6 '403': *27 @@ -105122,7 +105102,7 @@ paths: '204': description: Response '403': *27 - '409': *49 + '409': *50 '404': *6 '304': *35 x-github: @@ -105144,7 +105124,7 @@ paths: responses: '204': description: Response - '409': *49 + '409': *50 '304': *35 '404': *6 '403': *27 @@ -105195,7 +105175,7 @@ paths: - provider: twitter url: https://twitter.com/github headers: - Link: *56 + Link: *57 '304': *35 '404': *6 '403': *27 @@ -105374,7 +105354,7 @@ paths: title: ssh-rsa AAAAB3NzaC1yc2EAAB created_at: '2020-07-11T21:31:57Z' headers: - Link: *56 + Link: *57 '304': *35 '404': *6 '403': *27 @@ -105539,7 +105519,7 @@ paths: - created - updated default: created - - *50 + - *51 - *17 - *19 responses: @@ -105549,7 +105529,7 @@ paths: application/json: schema: type: array - items: *68 + items: *69 examples: default-response: *666 application/vnd.github.v3.star+json: @@ -105563,7 +105543,7 @@ paths: starred_at: type: string format: date-time - repo: *68 + repo: *69 required: - starred_at - repo @@ -105691,7 +105671,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *56 + Link: *57 '304': *35 '403': *27 '401': *23 @@ -105799,11 +105779,11 @@ paths: application/json: schema: type: array - items: *144 + items: *145 examples: default: *239 headers: - Link: *56 + Link: *57 '304': *35 '403': *27 '401': *23 @@ -105889,7 +105869,7 @@ paths: updated_at: '2017-08-17T12:37:15Z' type: Organization headers: - Link: *56 + Link: *57 '304': *35 '404': *6 '403': *27 @@ -105916,7 +105896,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user-using-their-id parameters: - - *89 + - *90 responses: '200': description: Response @@ -106095,7 +106075,7 @@ paths: type: array items: *4 examples: - default: *60 + default: *61 headers: Link: example: ; rel="next" @@ -106125,7 +106105,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user parameters: - - *61 + - *62 responses: '200': description: Response @@ -106163,7 +106143,7 @@ paths: - *17 - *43 - *44 - - *61 + - *62 requestBody: required: true content: @@ -106260,7 +106240,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-in-bulk parameters: - - *61 + - *62 requestBody: required: true content: @@ -106325,7 +106305,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *61 + - *62 - name: subject_digest description: Subject Digest in: path @@ -106356,7 +106336,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-id parameters: - - *61 + - *62 - name: attestation_id description: Attestation ID in: path @@ -106394,7 +106374,7 @@ paths: - *17 - *43 - *44 - - *61 + - *62 - name: subject_digest description: Subject Digest in: path @@ -106452,7 +106432,7 @@ paths: description: Response content: application/json: - schema: *153 + schema: *154 examples: default: value: @@ -106478,7 +106458,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user parameters: - - *61 + - *62 responses: '200': description: Response @@ -106511,7 +106491,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-for-the-authenticated-user parameters: - - *61 + - *62 - *17 - *19 responses: @@ -106521,7 +106501,7 @@ paths: application/json: schema: type: array - items: *95 + items: *96 examples: default: value: @@ -106583,8 +106563,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *61 - - *65 + - *62 + - *66 - *17 - *19 responses: @@ -106594,7 +106574,7 @@ paths: application/json: schema: type: array - items: *95 + items: *96 examples: default: value: @@ -106671,7 +106651,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-user parameters: - - *61 + - *62 - *17 - *19 responses: @@ -106681,7 +106661,7 @@ paths: application/json: schema: type: array - items: *95 + items: *96 examples: default: value: @@ -106739,7 +106719,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-followers-of-a-user parameters: - - *61 + - *62 - *17 - *19 responses: @@ -106751,9 +106731,9 @@ paths: type: array items: *4 examples: - default: *60 + default: *61 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106770,7 +106750,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-the-people-a-user-follows parameters: - - *61 + - *62 - *17 - *19 responses: @@ -106782,9 +106762,9 @@ paths: type: array items: *4 examples: - default: *60 + default: *61 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106801,7 +106781,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-user-follows-another-user parameters: - - *61 + - *62 - name: target_user in: path required: true @@ -106828,8 +106808,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-a-user parameters: - - *61 - - *76 + - *62 + - *77 - *17 - *19 responses: @@ -106839,11 +106819,11 @@ paths: application/json: schema: type: array - items: *77 + items: *78 examples: - default: *78 + default: *79 headers: - Link: *56 + Link: *57 '422': *15 x-github: githubCloudOnly: false @@ -106862,7 +106842,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *61 + - *62 - *17 - *19 responses: @@ -106876,7 +106856,7 @@ paths: examples: default: *673 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106898,7 +106878,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-contextual-information-for-a-user parameters: - - *61 + - *62 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -106970,7 +106950,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *61 + - *62 responses: '200': description: Response @@ -106996,7 +106976,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#list-public-keys-for-a-user parameters: - - *61 + - *62 - *17 - *19 responses: @@ -107032,7 +107012,7 @@ paths: - id: 1 key: ssh-rsa AAA... headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107052,7 +107032,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-organizations-for-a-user parameters: - - *61 + - *62 - *17 - *19 responses: @@ -107062,11 +107042,11 @@ paths: application/json: schema: type: array - items: *63 + items: *64 examples: - default: *100 + default: *101 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107104,7 +107084,7 @@ paths: - nuget - container - *656 - - *61 + - *62 - *19 - *17 responses: @@ -107141,7 +107121,7 @@ paths: parameters: - *235 - *236 - - *61 + - *62 responses: '200': description: Response @@ -107172,7 +107152,7 @@ paths: parameters: - *235 - *236 - - *61 + - *62 responses: '204': description: Response @@ -107206,7 +107186,7 @@ paths: parameters: - *235 - *236 - - *61 + - *62 - name: token description: package token schema: @@ -107240,7 +107220,7 @@ paths: parameters: - *235 - *236 - - *61 + - *62 responses: '200': description: Response @@ -107309,7 +107289,7 @@ paths: - *235 - *236 - *238 - - *61 + - *62 responses: '200': description: Response @@ -107352,7 +107332,7 @@ paths: parameters: - *235 - *236 - - *61 + - *62 - *238 responses: '204': @@ -107387,7 +107367,7 @@ paths: parameters: - *235 - *236 - - *61 + - *62 - *238 responses: '204': @@ -107412,7 +107392,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-user parameters: - - *61 + - *62 - name: q description: Limit results to projects of the specified type. in: query @@ -107433,7 +107413,7 @@ paths: examples: default: *250 headers: - Link: *56 + Link: *57 '304': *35 '403': *27 '401': *23 @@ -107454,7 +107434,7 @@ paths: url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - *251 - - *61 + - *62 responses: '200': description: Response @@ -107464,7 +107444,7 @@ paths: examples: default: *250 headers: - Link: *56 + Link: *57 '304': *35 '403': *27 '401': *23 @@ -107485,7 +107465,7 @@ paths: url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - *251 - - *61 + - *62 - *17 - *43 - *44 @@ -107500,7 +107480,7 @@ paths: examples: default: *675 headers: - Link: *56 + Link: *57 '304': *35 '403': *27 '401': *23 @@ -107519,7 +107499,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#add-field-to-user-owned-project parameters: - - *61 + - *62 - *251 requestBody: required: true @@ -107632,7 +107612,7 @@ paths: parameters: - *251 - *685 - - *61 + - *62 responses: '200': description: Response @@ -107642,7 +107622,7 @@ paths: examples: default: *686 headers: - Link: *56 + Link: *57 '304': *35 '403': *27 '401': *23 @@ -107664,7 +107644,7 @@ paths: url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - *251 - - *61 + - *62 - *43 - *44 - *17 @@ -107700,7 +107680,7 @@ paths: examples: default: *259 headers: - Link: *56 + Link: *57 '304': *35 '403': *27 '401': *23 @@ -107719,75 +107699,67 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - - *61 + - *62 - *251 requestBody: required: true description: Details of the item to add to the project. You can specify either - the database ID or the repository owner, name, and issue/PR number. + the unique ID or the repository owner, name, and issue/PR number. content: application/json: schema: + type: object + additionalProperties: false + properties: + type: + type: string + enum: + - Issue + - PullRequest + description: The type of item to add to the project. Must be either + Issue or PullRequest. + id: + type: integer + description: The unique identifier of the issue or pull request + to add to the project. + owner: + type: string + description: The repository owner login. + repo: + type: string + description: The repository name. + number: + type: integer + description: The issue or pull request number. + required: + - type oneOf: - - type: object - properties: - type: - type: string - enum: - - Issue - - PullRequest - description: The type of item to add to the project. Must be either - Issue or PullRequest. - id: - type: integer - description: The unique ID of the issue or pull request to add - to the project. - required: - - type + - required: - id - - type: object - properties: - type: - type: string - enum: - - Issue - - PullRequest - description: The type of item to add to the project. Must be either - Issue or PullRequest. - owner: - type: string - description: The repository owner login. - repo: - type: string - description: The repository name. - number: - type: integer - description: The issue or pull request number. - required: - - type + - required: - owner - repo - number examples: - issue-with-id: - summary: Add issue by database ID + issue_with_id: + summary: Add an issue using its unique ID value: type: Issue id: 3 - pull_request-with-id: - summary: Add pull request by database ID + pull_request_with_id: + summary: Add a pull request using its unique ID value: type: PullRequest id: 3 - issue-with-nwo: - summary: Add issue by repository and number + issue_with_nwo: + summary: Add an issue using repository owner, name, and issue number value: type: Issue owner: octocat repo: hello-world number: 42 - pull_request-with-nwo: - summary: Add pull request by repository and number + pull_request_with_nwo: + summary: Add a pull request using repository owner, name, and PR number value: type: PullRequest owner: octocat @@ -107800,8 +107772,20 @@ paths: application/json: schema: *256 examples: - issue: *257 - pull_request: *257 + issue_with_id: + summary: Response for adding an issue using its unique ID + value: *257 + pull_request_with_id: + summary: Response for adding a pull request using its unique ID + value: *257 + issue_with_nwo: + summary: Response for adding an issue using repository owner, name, + and issue number + value: *257 + pull_request_with_nwo: + summary: Response for adding a pull request using repository owner, + name, and PR number + value: *257 '304': *35 '403': *27 '401': *23 @@ -107822,7 +107806,7 @@ paths: url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - *251 - - *61 + - *62 - *260 - name: fields description: |- @@ -107847,7 +107831,7 @@ paths: examples: default: *259 headers: - Link: *56 + Link: *57 '304': *35 '403': *27 '401': *23 @@ -107867,7 +107851,7 @@ paths: url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - *251 - - *61 + - *62 - *260 requestBody: required: true @@ -107968,7 +107952,7 @@ paths: url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - *251 - - *61 + - *62 - *260 responses: '204': @@ -107992,7 +107976,7 @@ paths: url: https://docs.github.com/rest/projects/items#list-items-for-a-user-project-view parameters: - *251 - - *61 + - *62 - *687 - name: fields description: |- @@ -108023,7 +108007,7 @@ paths: examples: default: *259 headers: - Link: *56 + Link: *57 '304': *35 '403': *27 '401': *23 @@ -108049,7 +108033,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *61 + - *62 - *17 - *19 responses: @@ -108059,7 +108043,7 @@ paths: application/json: schema: type: array - items: *95 + items: *96 examples: default: value: @@ -108124,7 +108108,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-received-by-a-user parameters: - - *61 + - *62 - *17 - *19 responses: @@ -108134,7 +108118,7 @@ paths: application/json: schema: type: array - items: *95 + items: *96 examples: default: value: @@ -108197,7 +108181,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repositories-for-a-user parameters: - - *61 + - *62 - name: type description: Limit results to repositories of the specified type. in: query @@ -108240,11 +108224,11 @@ paths: application/json: schema: type: array - items: *144 + items: *145 examples: default: *239 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108264,12 +108248,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-a-user parameters: - - *61 - - *107 - - *109 + - *62 - *108 - - *688 - *110 + - *109 + - *688 + - *111 responses: '200': description: Response when getting a billing premium request usage report @@ -108376,8 +108360,8 @@ paths: '400': *14 '403': *27 '404': *6 - '500': *104 - '503': *105 + '500': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108397,10 +108381,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-a-user parameters: - - *61 - - *107 - - *689 + - *62 - *108 + - *689 + - *109 responses: '200': description: Response when getting a billing usage report @@ -108470,8 +108454,8 @@ paths: repositoryName: user/example '400': *14 '403': *27 - '500': *104 - '503': *105 + '500': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108494,12 +108478,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-a-user parameters: - - *61 - - *107 - - *109 + - *62 - *108 - - *690 - *110 + - *109 + - *690 + - *111 - *691 responses: '200': @@ -108605,8 +108589,8 @@ paths: '400': *14 '403': *27 '404': *6 - '500': *104 - '503': *105 + '500': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108624,7 +108608,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *61 + - *62 - *17 - *19 responses: @@ -108638,7 +108622,7 @@ paths: examples: default: *662 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108656,7 +108640,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *61 + - *62 - *17 - *19 responses: @@ -108670,7 +108654,7 @@ paths: examples: default: *692 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108692,9 +108676,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *61 + - *62 - *693 - - *50 + - *51 - *17 - *19 responses: @@ -108707,11 +108691,11 @@ paths: - type: array items: *694 - type: array - items: *68 + items: *69 examples: default-response: *666 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108728,7 +108712,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *61 + - *62 - *17 - *19 responses: @@ -108738,11 +108722,11 @@ paths: application/json: schema: type: array - items: *144 + items: *145 examples: default: *239 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109061,7 +109045,7 @@ webhooks: license: anyOf: - type: 'null' - - *73 + - *74 organization: anyOf: - type: 'null' @@ -110596,8 +110580,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *74 - repository: *144 + items: *75 + repository: *145 status: type: string enum: @@ -110701,7 +110685,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *74 + items: *75 started_at: type: string format: date-time @@ -117404,11 +117388,11 @@ webhooks: new_property_values: type: array description: The new custom property values for the repository. - items: *103 + items: *104 old_property_values: type: array description: The old custom property values for the repository. - items: *103 + items: *104 required: - action - repository @@ -131867,12 +131851,12 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *70 + blocked_issue: *71 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *70 - blocking_issue_repo: *68 + blocking_issue: *71 + blocking_issue_repo: *69 installation: *696 organization: *697 repository: *698 @@ -131958,12 +131942,12 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *70 + blocked_issue: *71 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *70 - blocking_issue_repo: *68 + blocking_issue: *71 + blocking_issue_repo: *69 installation: *696 organization: *697 repository: *698 @@ -132048,12 +132032,12 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *70 - blocked_issue_repo: *68 + blocked_issue: *71 + blocked_issue_repo: *69 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *70 + blocking_issue: *71 installation: *696 organization: *697 repository: *698 @@ -132139,12 +132123,12 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *70 - blocked_issue_repo: *68 + blocked_issue: *71 + blocked_issue_repo: *69 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *70 + blocking_issue: *71 installation: *696 organization: *697 repository: *698 @@ -222686,14 +222670,14 @@ webhooks: alert: &750 type: object properties: - number: *162 - created_at: *163 + number: *163 + created_at: *164 updated_at: anyOf: - type: 'null' - - *164 - url: *165 - html_url: *166 + - *165 + url: *166 + html_url: *167 locations_url: type: string format: uri @@ -223771,7 +223755,7 @@ webhooks: required: - vector_string - score - cvss_severities: *52 + cvss_severities: *53 cwes: type: array items: @@ -224038,7 +224022,7 @@ webhooks: required: - vector_string - score - cvss_severities: *52 + cvss_severities: *53 cwes: type: array items: @@ -225706,12 +225690,12 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *70 - parent_issue_repo: *68 + parent_issue: *71 + parent_issue_repo: *69 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *70 + sub_issue: *71 installation: *696 organization: *697 repository: *698 @@ -225798,12 +225782,12 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *70 - parent_issue_repo: *68 + parent_issue: *71 + parent_issue_repo: *69 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *70 + sub_issue: *71 installation: *696 organization: *697 repository: *698 @@ -225890,12 +225874,12 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *70 - sub_issue_repo: *68 + sub_issue: *71 + sub_issue_repo: *69 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *70 + parent_issue: *71 installation: *696 organization: *697 repository: *698 @@ -225982,12 +225966,12 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *70 - sub_issue_repo: *68 + sub_issue: *71 + sub_issue_repo: *69 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *70 + parent_issue: *71 installation: *696 organization: *697 repository: *698 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 8a9beb0ed..9d27d0931 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 @@ -21380,6 +21380,22 @@ } } }, + "code_scanning_options": { + "type": [ + "object", + "null" + ], + "description": "Security Configuration feature options for code scanning", + "properties": { + "allow_advanced": { + "type": [ + "boolean", + "null" + ], + "description": "Whether to allow repos which use advanced setup" + } + } + }, "code_scanning_delegated_alert_dismissal": { "type": "string", "description": "The enablement status of code scanning delegated alert dismissal", @@ -109465,6 +109481,22 @@ } } }, + "code_scanning_options": { + "type": [ + "object", + "null" + ], + "description": "Security Configuration feature options for code scanning", + "properties": { + "allow_advanced": { + "type": [ + "boolean", + "null" + ], + "description": "Whether to allow repos which use advanced setup" + } + } + }, "code_scanning_delegated_alert_dismissal": { "type": "string", "description": "The enablement status of code scanning delegated alert dismissal", @@ -184929,58 +184961,49 @@ ], "requestBody": { "required": true, - "description": "Details of the item to add to the project. You can specify either the database ID or the repository owner, name, and issue/PR number.", + "description": "Details of the item to add to the project. You can specify either the unique ID or the repository owner, name, and issue/PR number.", "content": { "application/json": { "schema": { + "type": "object", + "additionalProperties": false, + "properties": { + "type": { + "type": "string", + "enum": [ + "Issue", + "PullRequest" + ], + "description": "The type of item to add to the project. Must be either Issue or PullRequest." + }, + "id": { + "type": "integer", + "description": "The unique identifier of the issue or pull request to add to the project." + }, + "owner": { + "type": "string", + "description": "The repository owner login." + }, + "repo": { + "type": "string", + "description": "The repository name." + }, + "number": { + "type": "integer", + "description": "The issue or pull request number." + } + }, + "required": [ + "type" + ], "oneOf": [ { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "Issue", - "PullRequest" - ], - "description": "The type of item to add to the project. Must be either Issue or PullRequest." - }, - "id": { - "type": "integer", - "description": "The unique ID of the issue or pull request to add to the project." - } - }, "required": [ - "type", "id" ] }, { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "Issue", - "PullRequest" - ], - "description": "The type of item to add to the project. Must be either Issue or PullRequest." - }, - "owner": { - "type": "string", - "description": "The repository owner login." - }, - "repo": { - "type": "string", - "description": "The repository name." - }, - "number": { - "type": "integer", - "description": "The issue or pull request number." - } - }, "required": [ - "type", "owner", "repo", "number" @@ -184989,22 +185012,22 @@ ] }, "examples": { - "issue-with-id": { - "summary": "Add issue by database ID", + "issue_with_id": { + "summary": "Add an issue using its unique ID", "value": { "type": "Issue", "id": 3 } }, - "pull_request-with-id": { - "summary": "Add pull request by database ID", + "pull_request_with_id": { + "summary": "Add a pull request using its unique ID", "value": { "type": "PullRequest", "id": 3 } }, - "issue-with-nwo": { - "summary": "Add issue by repository and number", + "issue_with_nwo": { + "summary": "Add an issue using repository owner, name, and issue number", "value": { "type": "Issue", "owner": "octocat", @@ -185012,8 +185035,8 @@ "number": 42 } }, - "pull_request-with-nwo": { - "summary": "Add pull request by repository and number", + "pull_request_with_nwo": { + "summary": "Add a pull request using repository owner, name, and PR number", "value": { "type": "PullRequest", "owner": "octocat", @@ -192571,18 +192594,105 @@ ] }, "examples": { - "issue": { + "issue_with_id": { + "summary": "Response for adding an issue using its unique ID", "value": { - "id": 17, - "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", - "content": { - "id": 38, - "node_id": "I_kwDOANN5s85FtLts", - "title": "Example Draft Issue", - "body": "This is a draft issue in the project.", + "value": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "title": "Example Draft Issue", + "body": "This is a draft issue in the project.", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "user": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + }, + "content_type": "DraftIssue", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, "created_at": "2022-04-28T12:00:00Z", "updated_at": "2022-04-28T12:00:00Z", - "user": { + "archived_at": null, + "project_url": "https://api.github.com/users/octocat/projectsV2/1", + "item_url": "https://api.github.com/users/octocat/projectsV2/items/17" + } + } + }, + "pull_request_with_id": { + "summary": "Response for adding a pull request using its unique ID", + "value": { + "value": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "title": "Example Draft Issue", + "body": "This is a draft issue in the project.", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "user": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + }, + "content_type": "DraftIssue", + "creator": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -192601,48 +192711,114 @@ "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", "site_admin": false - } - }, - "content_type": "DraftIssue", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2022-04-28T12:00:00Z", - "updated_at": "2022-04-28T12:00:00Z", - "archived_at": null, - "project_url": "https://api.github.com/users/octocat/projectsV2/1", - "item_url": "https://api.github.com/users/octocat/projectsV2/items/17" + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "archived_at": null, + "project_url": "https://api.github.com/users/octocat/projectsV2/1", + "item_url": "https://api.github.com/users/octocat/projectsV2/items/17" + } } }, - "pull_request": { + "issue_with_nwo": { + "summary": "Response for adding an issue using repository owner, name, and issue number", "value": { - "id": 17, - "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", - "content": { - "id": 38, - "node_id": "I_kwDOANN5s85FtLts", - "title": "Example Draft Issue", - "body": "This is a draft issue in the project.", + "value": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "title": "Example Draft Issue", + "body": "This is a draft issue in the project.", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "user": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + }, + "content_type": "DraftIssue", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, "created_at": "2022-04-28T12:00:00Z", "updated_at": "2022-04-28T12:00:00Z", - "user": { + "archived_at": null, + "project_url": "https://api.github.com/users/octocat/projectsV2/1", + "item_url": "https://api.github.com/users/octocat/projectsV2/items/17" + } + } + }, + "pull_request_with_nwo": { + "summary": "Response for adding a pull request using repository owner, name, and PR number", + "value": { + "value": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "title": "Example Draft Issue", + "body": "This is a draft issue in the project.", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "user": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + }, + "content_type": "DraftIssue", + "creator": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -192661,34 +192837,13 @@ "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", "site_admin": false - } - }, - "content_type": "DraftIssue", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2022-04-28T12:00:00Z", - "updated_at": "2022-04-28T12:00:00Z", - "archived_at": null, - "project_url": "https://api.github.com/users/octocat/projectsV2/1", - "item_url": "https://api.github.com/users/octocat/projectsV2/items/17" + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "archived_at": null, + "project_url": "https://api.github.com/users/octocat/projectsV2/1", + "item_url": "https://api.github.com/users/octocat/projectsV2/items/17" + } } } } @@ -268747,48 +268902,8 @@ } ], "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Workflow Dispatch Response", - "description": "Response containing the workflow run ID and URLs.", - "type": "object", - "properties": { - "workflow_run_id": { - "title": "Workflow Run ID", - "description": "The ID of the workflow run.", - "type": "integer", - "format": "int64" - }, - "run_url": { - "type": "string", - "format": "uri", - "description": "The URL to the workflow run." - }, - "html_url": { - "type": "string", - "format": "uri" - } - }, - "required": [ - "workflow_run_id", - "run_url", - "html_url" - ] - }, - "examples": { - "default": { - "value": { - "workflow_run_id": 1, - "run_url": "https://api.github.com/repos/octo-org/octo-repo/actions/runs/1", - "html_url": "https://github.com/octo-org/octo-repo/actions/runs/1" - } - } - } - } - } + "204": { + "description": "Response" } }, "requestBody": { @@ -499071,171 +499186,178 @@ ] }, "user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] + "anyOf": [ + { + "type": "null" }, - "user_view_type": { - "type": "string", - "examples": [ - "public" + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" ] }, "body": { @@ -522761,171 +522883,178 @@ ] }, "user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] + "anyOf": [ + { + "type": "null" }, - "user_view_type": { - "type": "string", - "examples": [ - "public" + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" ] }, "body": { @@ -523401,171 +523530,178 @@ ] }, "user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] + "anyOf": [ + { + "type": "null" }, - "user_view_type": { - "type": "string", - "examples": [ - "public" + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" ] }, "body": { @@ -524080,171 +524216,178 @@ ] }, "user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] + "anyOf": [ + { + "type": "null" }, - "user_view_type": { - "type": "string", - "examples": [ - "public" + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" ] }, "body": { @@ -539683,171 +539826,178 @@ ] }, "user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] + "anyOf": [ + { + "type": "null" }, - "user_view_type": { - "type": "string", - "examples": [ - "public" + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" ] }, "body": { @@ -540411,171 +540561,178 @@ ] }, "user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] + "anyOf": [ + { + "type": "null" }, - "user_view_type": { - "type": "string", - "examples": [ - "public" + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" ] }, "body": { @@ -541185,171 +541342,178 @@ ] }, "user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] + "anyOf": [ + { + "type": "null" }, - "user_view_type": { - "type": "string", - "examples": [ - "public" + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" ] }, "body": { @@ -748437,58 +748601,49 @@ ], "requestBody": { "required": true, - "description": "Details of the item to add to the project. You can specify either the database ID or the repository owner, name, and issue/PR number.", + "description": "Details of the item to add to the project. You can specify either the unique ID or the repository owner, name, and issue/PR number.", "content": { "application/json": { "schema": { + "type": "object", + "additionalProperties": false, + "properties": { + "type": { + "type": "string", + "enum": [ + "Issue", + "PullRequest" + ], + "description": "The type of item to add to the project. Must be either Issue or PullRequest." + }, + "id": { + "type": "integer", + "description": "The unique identifier of the issue or pull request to add to the project." + }, + "owner": { + "type": "string", + "description": "The repository owner login." + }, + "repo": { + "type": "string", + "description": "The repository name." + }, + "number": { + "type": "integer", + "description": "The issue or pull request number." + } + }, + "required": [ + "type" + ], "oneOf": [ { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "Issue", - "PullRequest" - ], - "description": "The type of item to add to the project. Must be either Issue or PullRequest." - }, - "id": { - "type": "integer", - "description": "The unique ID of the issue or pull request to add to the project." - } - }, "required": [ - "type", "id" ] }, { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "Issue", - "PullRequest" - ], - "description": "The type of item to add to the project. Must be either Issue or PullRequest." - }, - "owner": { - "type": "string", - "description": "The repository owner login." - }, - "repo": { - "type": "string", - "description": "The repository name." - }, - "number": { - "type": "integer", - "description": "The issue or pull request number." - } - }, "required": [ - "type", "owner", "repo", "number" @@ -748497,22 +748652,22 @@ ] }, "examples": { - "issue-with-id": { - "summary": "Add issue by database ID", + "issue_with_id": { + "summary": "Add an issue using its unique ID", "value": { "type": "Issue", "id": 3 } }, - "pull_request-with-id": { - "summary": "Add pull request by database ID", + "pull_request_with_id": { + "summary": "Add a pull request using its unique ID", "value": { "type": "PullRequest", "id": 3 } }, - "issue-with-nwo": { - "summary": "Add issue by repository and number", + "issue_with_nwo": { + "summary": "Add an issue using repository owner, name, and issue number", "value": { "type": "Issue", "owner": "octocat", @@ -748520,8 +748675,8 @@ "number": 42 } }, - "pull_request-with-nwo": { - "summary": "Add pull request by repository and number", + "pull_request_with_nwo": { + "summary": "Add a pull request using repository owner, name, and PR number", "value": { "type": "PullRequest", "owner": "octocat", @@ -756079,18 +756234,105 @@ ] }, "examples": { - "issue": { + "issue_with_id": { + "summary": "Response for adding an issue using its unique ID", "value": { - "id": 17, - "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", - "content": { - "id": 38, - "node_id": "I_kwDOANN5s85FtLts", - "title": "Example Draft Issue", - "body": "This is a draft issue in the project.", + "value": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "title": "Example Draft Issue", + "body": "This is a draft issue in the project.", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "user": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + }, + "content_type": "DraftIssue", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, "created_at": "2022-04-28T12:00:00Z", "updated_at": "2022-04-28T12:00:00Z", - "user": { + "archived_at": null, + "project_url": "https://api.github.com/users/octocat/projectsV2/1", + "item_url": "https://api.github.com/users/octocat/projectsV2/items/17" + } + } + }, + "pull_request_with_id": { + "summary": "Response for adding a pull request using its unique ID", + "value": { + "value": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "title": "Example Draft Issue", + "body": "This is a draft issue in the project.", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "user": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + }, + "content_type": "DraftIssue", + "creator": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -756109,48 +756351,114 @@ "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", "site_admin": false - } - }, - "content_type": "DraftIssue", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2022-04-28T12:00:00Z", - "updated_at": "2022-04-28T12:00:00Z", - "archived_at": null, - "project_url": "https://api.github.com/users/octocat/projectsV2/1", - "item_url": "https://api.github.com/users/octocat/projectsV2/items/17" + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "archived_at": null, + "project_url": "https://api.github.com/users/octocat/projectsV2/1", + "item_url": "https://api.github.com/users/octocat/projectsV2/items/17" + } } }, - "pull_request": { + "issue_with_nwo": { + "summary": "Response for adding an issue using repository owner, name, and issue number", "value": { - "id": 17, - "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", - "content": { - "id": 38, - "node_id": "I_kwDOANN5s85FtLts", - "title": "Example Draft Issue", - "body": "This is a draft issue in the project.", + "value": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "title": "Example Draft Issue", + "body": "This is a draft issue in the project.", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "user": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + }, + "content_type": "DraftIssue", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, "created_at": "2022-04-28T12:00:00Z", "updated_at": "2022-04-28T12:00:00Z", - "user": { + "archived_at": null, + "project_url": "https://api.github.com/users/octocat/projectsV2/1", + "item_url": "https://api.github.com/users/octocat/projectsV2/items/17" + } + } + }, + "pull_request_with_nwo": { + "summary": "Response for adding a pull request using repository owner, name, and PR number", + "value": { + "value": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "title": "Example Draft Issue", + "body": "This is a draft issue in the project.", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "user": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + }, + "content_type": "DraftIssue", + "creator": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -756169,34 +756477,13 @@ "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", "site_admin": false - } - }, - "content_type": "DraftIssue", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2022-04-28T12:00:00Z", - "updated_at": "2022-04-28T12:00:00Z", - "archived_at": null, - "project_url": "https://api.github.com/users/octocat/projectsV2/1", - "item_url": "https://api.github.com/users/octocat/projectsV2/items/17" + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "archived_at": null, + "project_url": "https://api.github.com/users/octocat/projectsV2/1", + "item_url": "https://api.github.com/users/octocat/projectsV2/items/17" + } } } } 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 fb253ff04..6678151bd 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 @@ -456,7 +456,7 @@ paths: required: false schema: type: string - - &50 + - &51 name: direction description: The direction to sort the results by. in: query @@ -695,7 +695,7 @@ paths: required: - vector_string - score - cvss_severities: &52 + cvss_severities: &53 type: - object - 'null' @@ -742,7 +742,7 @@ paths: required: - vector_string - score - epss: &53 + epss: &54 type: - object - 'null' @@ -1038,7 +1038,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &114 + schema: &115 title: Validation Error Simple description: Validation Error Simple type: object @@ -1831,7 +1831,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &113 + schema: &114 title: Validation Error description: Validation Error type: object @@ -2242,7 +2242,7 @@ paths: parameters: - *17 - *19 - - &76 + - &77 name: since description: 'Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -2837,7 +2837,7 @@ paths: suspended_at: suspended_by: headers: - Link: &56 + Link: &57 example: ; rel="next", ; rel="last" schema: @@ -3027,7 +3027,7 @@ paths: - selected repositories: type: array - items: &68 + items: &69 title: Repository description: A repository on GitHub. type: object @@ -3054,7 +3054,7 @@ paths: license: anyOf: - type: 'null' - - &73 + - &74 title: License Simple description: License Simple type: object @@ -5432,7 +5432,7 @@ paths: responses: '202': *37 '422': *7 - '500': &104 + '500': &105 description: Internal Error content: application/json: @@ -7927,7 +7927,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &172 + code_scanning_options: &49 type: - object - 'null' @@ -8349,6 +8349,7 @@ paths: - disabled - not_set code_scanning_default_setup_options: *48 + code_scanning_options: *49 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -8442,7 +8443,7 @@ paths: '304': *35 '403': *27 '404': *6 - '409': &49 + '409': &50 description: Conflict content: application/json: @@ -8477,7 +8478,7 @@ paths: '400': *14 '403': *27 '404': *6 - '409': *49 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -8529,7 +8530,7 @@ paths: '202': *37 '403': *27 '404': *6 - '409': *49 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -8702,7 +8703,7 @@ paths: - failed - updating - removed_by_enterprise - repository: &55 + repository: &56 title: Simple Repository description: A GitHub repository. type: object @@ -9208,7 +9209,7 @@ paths: - updated - epss_percentage default: created - - *50 + - *51 - *43 - *44 - *17 @@ -9223,7 +9224,7 @@ paths: type: object description: A Dependabot alert. properties: - number: &162 + number: &163 type: integer description: The security alert number. readOnly: true @@ -9241,7 +9242,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &51 + package: &52 type: object description: Details for the vulnerable package. readOnly: true @@ -9320,13 +9321,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &54 + items: &55 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *51 + package: *52 severity: type: string description: The severity of the vulnerability. @@ -9394,8 +9395,8 @@ paths: - score - vector_string additionalProperties: false - cvss_severities: *52 - epss: *53 + cvss_severities: *53 + epss: *54 cwes: type: array description: Details for the advisory pertaining to Common @@ -9495,30 +9496,30 @@ paths: - updated_at - withdrawn_at additionalProperties: false - security_vulnerability: *54 - url: &165 + security_vulnerability: *55 + url: &166 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &166 + html_url: &167 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - created_at: &163 + created_at: &164 type: string description: 'The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - updated_at: &164 + updated_at: &165 type: string description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_at: &168 + dismissed_at: &169 type: - string - 'null' @@ -9549,7 +9550,7 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: &167 + fixed_at: &168 type: - string - 'null' @@ -9604,7 +9605,7 @@ paths: format: uri description: The API URL to get more information about this dismissal request. - repository: *55 + repository: *56 required: - number - state @@ -9972,7 +9973,7 @@ paths: application/json: schema: type: array - items: &57 + items: &58 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -10037,7 +10038,7 @@ paths: - updated_at - group_id examples: - default: &58 + default: &59 value: - id: 1 name: Justice League @@ -10050,7 +10051,7 @@ paths: created_at: '2019-01-26T19:01:12Z' updated_at: '2019-01-26T19:14:43Z' headers: - Link: *56 + Link: *57 '403': *27 x-github: githubCloudOnly: false @@ -10125,9 +10126,9 @@ paths: description: Response content: application/json: - schema: *57 + schema: *58 examples: - default: *58 + default: *59 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10145,7 +10146,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *38 - - &59 + - &60 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -10164,7 +10165,7 @@ paths: type: array items: *4 examples: - default: &60 + default: &61 value: - login: octocat id: 1 @@ -10185,7 +10186,7 @@ paths: type: User site_admin: false headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10203,7 +10204,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *38 - - *59 + - *60 requestBody: required: true content: @@ -10234,7 +10235,7 @@ paths: type: array items: *4 examples: - default: *60 + default: *61 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10252,7 +10253,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *38 - - *59 + - *60 requestBody: required: true content: @@ -10283,7 +10284,7 @@ paths: type: array items: *4 examples: - default: *60 + default: *61 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10301,8 +10302,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *38 - - *59 - - &61 + - *60 + - &62 name: username description: The handle for the GitHub user account. in: path @@ -10316,7 +10317,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &62 + exampleKey1: &63 value: login: octocat id: 1 @@ -10352,8 +10353,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *38 - - *59 - - *61 + - *60 + - *62 responses: '201': description: Successfully added team member @@ -10361,7 +10362,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *62 + exampleKey1: *63 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10379,8 +10380,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *38 - - *59 - - *61 + - *60 + - *62 responses: '204': description: Response @@ -10402,7 +10403,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments parameters: - *38 - - *59 + - *60 - *17 - *19 responses: @@ -10412,7 +10413,7 @@ paths: application/json: schema: type: array - items: &63 + items: &64 title: Organization Simple description: A GitHub organization. type: object @@ -10484,7 +10485,7 @@ paths: - avatar_url - description examples: - default: &64 + default: &65 value: login: github id: 1 @@ -10515,7 +10516,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments parameters: - *38 - - *59 + - *60 requestBody: required: true content: @@ -10543,9 +10544,9 @@ paths: application/json: schema: type: array - items: *63 + items: *64 examples: - default: &100 + default: &101 value: - login: github id: 1 @@ -10576,7 +10577,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments parameters: - *38 - - *59 + - *60 requestBody: required: true content: @@ -10617,8 +10618,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment parameters: - *38 - - *59 - - &65 + - *60 + - &66 name: org description: The organization name. The name is not case sensitive. in: path @@ -10630,9 +10631,9 @@ paths: description: The team is assigned to the organization content: application/json: - schema: *63 + schema: *64 examples: - default: *64 + default: *65 '404': description: The team is not assigned to the organization x-github: @@ -10651,16 +10652,16 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment parameters: - *38 - - *59 - - *65 + - *60 + - *66 responses: '201': description: Successfully assigned the enterprise team to the organization. content: application/json: - schema: *63 + schema: *64 examples: - default: *64 + default: *65 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10677,8 +10678,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment parameters: - *38 - - *59 - - *65 + - *60 + - *66 responses: '204': description: Successfully unassigned the enterprise team from the organization. @@ -10702,7 +10703,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *38 - - &66 + - &67 name: team_slug description: The slug of the team name. in: path @@ -10714,11 +10715,11 @@ paths: description: Response content: application/json: - schema: *57 + schema: *58 examples: - default: *58 + default: *59 headers: - Link: *56 + Link: *57 '403': *27 x-github: githubCloudOnly: false @@ -10736,7 +10737,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *38 - - *66 + - *67 requestBody: required: true content: @@ -10794,11 +10795,11 @@ paths: description: Response content: application/json: - schema: *57 + schema: *58 examples: - default: *58 + default: *59 headers: - Link: *56 + Link: *57 '403': *27 x-github: githubCloudOnly: false @@ -10819,7 +10820,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *38 - - *66 + - *67 responses: '204': description: Response @@ -10857,7 +10858,7 @@ paths: application/json: schema: type: array - items: &95 + items: &96 title: Event description: Event type: object @@ -10868,7 +10869,7 @@ paths: type: - string - 'null' - actor: &67 + actor: &68 title: Actor description: Actor type: object @@ -10909,7 +10910,7 @@ paths: - id - name - url - org: *67 + org: *68 payload: oneOf: - title: CreateEvent @@ -11253,7 +11254,7 @@ paths: - id labels: type: array - items: &69 + items: &70 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -11336,7 +11337,7 @@ paths: properties: action: type: string - issue: &70 + issue: &71 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -11685,12 +11686,12 @@ paths: - node_id - name - description - repository: *68 + repository: *69 performed_via_github_app: anyOf: - type: 'null' - *5 - author_association: &71 + author_association: &72 title: author_association type: string description: How the author is associated with the @@ -11706,7 +11707,7 @@ paths: - OWNER examples: - OWNER - reactions: &72 + reactions: &73 title: Reaction Rollup type: object properties: @@ -11882,10 +11883,10 @@ paths: assignees: type: array items: *4 - label: *69 + label: *70 labels: type: array - items: *69 + items: *70 required: - action - issue @@ -11894,7 +11895,7 @@ paths: properties: action: type: string - issue: *70 + issue: *71 comment: &507 title: Issue Comment description: Comments provide a way for people to collaborate @@ -11945,12 +11946,12 @@ paths: issue_url: type: string format: uri - author_association: *71 + author_association: *72 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *72 + reactions: *73 required: - id - node_id @@ -12129,7 +12130,7 @@ paths: license: anyOf: - type: 'null' - - *73 + - *74 allow_forking: type: boolean is_template: @@ -12220,7 +12221,7 @@ paths: type: string number: type: integer - pull_request: &74 + pull_request: &75 title: Pull Request Minimal type: object properties: @@ -12291,10 +12292,10 @@ paths: assignees: type: array items: *4 - label: *69 + label: *70 labels: type: array - items: *69 + items: *70 required: - action - number @@ -12304,7 +12305,7 @@ paths: properties: action: type: string - pull_request: *74 + pull_request: *75 comment: type: object properties: @@ -12558,7 +12559,7 @@ paths: - pull_request updated_at: type: string - pull_request: *74 + pull_request: *75 required: - action - review @@ -12607,7 +12608,7 @@ paths: updated_at: type: string format: date-time - reactions: *72 + reactions: *73 required: - action - comment @@ -12775,7 +12776,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *72 + reactions: *73 required: - assets_url - upload_url @@ -12868,7 +12869,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *35 '403': *27 - '503': &105 + '503': &106 description: Service unavailable content: application/json: @@ -12970,7 +12971,7 @@ paths: _links: type: object properties: - timeline: &75 + timeline: &76 title: Link With Type description: Hypermedia Link with Type type: object @@ -12982,17 +12983,17 @@ paths: required: - href - type - user: *75 - security_advisories: *75 - current_user: *75 - current_user_public: *75 - current_user_actor: *75 - current_user_organization: *75 + user: *76 + security_advisories: *76 + current_user: *76 + current_user_public: *76 + current_user_actor: *76 + current_user_organization: *76 current_user_organizations: type: array - items: *75 - repository_discussions: *75 - repository_discussions_category: *75 + items: *76 + repository_discussions: *76 + repository_discussions_category: *76 required: - timeline - user @@ -13054,7 +13055,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *76 + - *77 - *17 - *19 responses: @@ -13064,7 +13065,7 @@ paths: application/json: schema: type: array - items: &77 + items: &78 title: Base Gist description: Base Gist type: object @@ -13161,7 +13162,7 @@ paths: - created_at - updated_at examples: - default: &78 + default: &79 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -13206,7 +13207,7 @@ paths: site_admin: false truncated: false headers: - Link: *56 + Link: *57 '304': *35 '403': *27 x-github: @@ -13285,7 +13286,7 @@ paths: description: Response content: application/json: - schema: &79 + schema: &80 title: Gist Simple description: Gist Simple type: object @@ -13677,7 +13678,7 @@ paths: truncated: type: boolean examples: - default: &80 + default: &81 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -13781,7 +13782,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-public-gists parameters: - - *76 + - *77 - *17 - *19 responses: @@ -13791,11 +13792,11 @@ paths: application/json: schema: type: array - items: *77 + items: *78 examples: - default: *78 + default: *79 headers: - Link: *56 + Link: *57 '422': *15 '304': *35 '403': *27 @@ -13815,7 +13816,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-starred-gists parameters: - - *76 + - *77 - *17 - *19 responses: @@ -13825,11 +13826,11 @@ paths: application/json: schema: type: array - items: *77 + items: *78 examples: - default: *78 + default: *79 headers: - Link: *56 + Link: *57 '401': *23 '304': *35 '403': *27 @@ -13855,7 +13856,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist parameters: - - &81 + - &82 name: gist_id description: The unique identifier of the gist. in: path @@ -13867,10 +13868,10 @@ paths: description: Response content: application/json: - schema: *79 + schema: *80 examples: - default: *80 - '403': &84 + default: *81 + '403': &85 description: Forbidden Gist content: application/json: @@ -13919,7 +13920,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#update-a-gist parameters: - - *81 + - *82 requestBody: required: true content: @@ -13983,9 +13984,9 @@ paths: description: Response content: application/json: - schema: *79 + schema: *80 examples: - updateGist: *80 + updateGist: *81 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -14143,7 +14144,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#delete-a-gist parameters: - - *81 + - *82 responses: '204': description: Response @@ -14172,7 +14173,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#list-gist-comments parameters: - - *81 + - *82 - *17 - *19 responses: @@ -14182,7 +14183,7 @@ paths: application/json: schema: type: array - items: &82 + items: &83 title: Gist Comment description: A comment made to a gist. type: object @@ -14220,7 +14221,7 @@ paths: format: date-time examples: - '2011-04-18T23:23:56Z' - author_association: *71 + author_association: *72 required: - url - id @@ -14260,7 +14261,7 @@ paths: updated_at: '2011-04-18T23:23:56Z' author_association: COLLABORATOR headers: - Link: *56 + Link: *57 '304': *35 '404': *6 '403': *27 @@ -14285,7 +14286,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#create-a-gist-comment parameters: - - *81 + - *82 requestBody: required: true content: @@ -14311,9 +14312,9 @@ paths: description: Response content: application/json: - schema: *82 + schema: *83 examples: - default: &83 + default: &84 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -14371,8 +14372,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#get-a-gist-comment parameters: - - *81 - - &85 + - *82 + - &86 name: comment_id description: The unique identifier of the comment. in: path @@ -14385,12 +14386,12 @@ paths: description: Response content: application/json: - schema: *82 + schema: *83 examples: - default: *83 + default: *84 '304': *35 '404': *6 - '403': *84 + '403': *85 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14412,8 +14413,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#update-a-gist-comment parameters: - - *81 - - *85 + - *82 + - *86 requestBody: required: true content: @@ -14439,9 +14440,9 @@ paths: description: Response content: application/json: - schema: *82 + schema: *83 examples: - default: *83 + default: *84 '404': *6 x-github: githubCloudOnly: false @@ -14458,8 +14459,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#delete-a-gist-comment parameters: - - *81 - - *85 + - *82 + - *86 responses: '204': description: Response @@ -14482,7 +14483,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-commits parameters: - - *81 + - *82 - *17 - *19 responses: @@ -14583,7 +14584,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-forks parameters: - - *81 + - *82 - *17 - *19 responses: @@ -14593,7 +14594,7 @@ paths: application/json: schema: type: array - items: *79 + items: *80 examples: default: value: @@ -14639,7 +14640,7 @@ paths: type: User site_admin: false headers: - Link: *56 + Link: *57 '404': *6 '304': *35 '403': *27 @@ -14658,13 +14659,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#fork-a-gist parameters: - - *81 + - *82 responses: '201': description: Response content: application/json: - schema: *77 + schema: *78 examples: default: value: @@ -14735,7 +14736,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *81 + - *82 responses: '204': description: Response if gist is starred @@ -14765,7 +14766,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#star-a-gist parameters: - - *81 + - *82 responses: '204': description: Response @@ -14787,7 +14788,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#unstar-a-gist parameters: - - *81 + - *82 responses: '204': description: Response @@ -14816,7 +14817,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist-revision parameters: - - *81 + - *82 - name: sha in: path required: true @@ -14827,9 +14828,9 @@ paths: description: Response content: application/json: - schema: *79 + schema: *80 examples: - default: *80 + default: *81 '422': *15 '404': *6 '403': *27 @@ -14990,7 +14991,7 @@ paths: type: integer repositories: type: array - items: *68 + items: *69 repository_selection: type: string examples: @@ -15114,7 +15115,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *56 + Link: *57 '403': *27 '304': *35 '401': *23 @@ -15216,8 +15217,8 @@ paths: - updated - comments default: created - - *50 - - *76 + - *51 + - *77 - name: collab in: query required: false @@ -15247,7 +15248,7 @@ paths: application/json: schema: type: array - items: *70 + items: *71 examples: default: &220 value: @@ -15493,7 +15494,7 @@ paths: watchers: 1 author_association: COLLABORATOR headers: - Link: *56 + Link: *57 '422': *15 '304': *35 '404': *6 @@ -15528,7 +15529,7 @@ paths: application/json: schema: type: array - items: *73 + items: *74 examples: default: value: @@ -15826,7 +15827,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &86 + X-CommonMarker-Version: &87 example: 0.17.4 schema: type: string @@ -15881,7 +15882,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *86 + X-CommonMarker-Version: *87 content: text/html: schema: @@ -15910,7 +15911,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &89 + - &90 name: account_id description: account_id parameter in: path @@ -15922,7 +15923,7 @@ paths: description: Response content: application/json: - schema: &88 + schema: &89 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -15956,7 +15957,7 @@ paths: - 'null' id: type: integer - plan: &87 + plan: &88 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -16059,7 +16060,7 @@ paths: - 'null' updated_at: type: string - plan: *87 + plan: *88 required: - url - id @@ -16067,7 +16068,7 @@ paths: - login - marketplace_purchase examples: - default: &90 + default: &91 value: url: https://api.github.com/orgs/github type: Organization @@ -16152,9 +16153,9 @@ paths: application/json: schema: type: array - items: *87 + items: *88 examples: - default: &91 + default: &92 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -16172,7 +16173,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *56 + Link: *57 '404': *6 '401': *23 x-github: @@ -16194,14 +16195,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &92 + - &93 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &93 + - &94 name: sort description: The property to sort the results by. in: query @@ -16231,9 +16232,9 @@ paths: application/json: schema: type: array - items: *88 + items: *89 examples: - default: &94 + default: &95 value: - url: https://api.github.com/orgs/github type: Organization @@ -16284,7 +16285,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *56 + Link: *57 '404': *6 '422': *15 '401': *23 @@ -16307,15 +16308,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *89 + - *90 responses: '200': description: Response content: application/json: - schema: *88 + schema: *89 examples: - default: *90 + default: *91 '404': description: Not Found when the account has not purchased the listing '401': *23 @@ -16347,11 +16348,11 @@ paths: application/json: schema: type: array - items: *87 + items: *88 examples: - default: *91 + default: *92 headers: - Link: *56 + Link: *57 '401': *23 x-github: githubCloudOnly: false @@ -16372,8 +16373,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *92 - *93 + - *94 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -16393,11 +16394,11 @@ paths: application/json: schema: type: array - items: *88 + items: *89 examples: - default: *94 + default: *95 headers: - Link: *56 + Link: *57 '401': *23 x-github: githubCloudOnly: false @@ -16684,7 +16685,7 @@ paths: application/json: schema: type: array - items: *95 + items: *96 examples: default: value: @@ -16768,7 +16769,7 @@ paths: schema: type: boolean default: false - - *76 + - *77 - &539 name: before description: 'Only show notifications updated before the given time. This @@ -16794,14 +16795,14 @@ paths: application/json: schema: type: array - items: &96 + items: &97 title: Thread description: Thread type: object properties: id: type: string - repository: &144 + repository: &145 title: Minimal Repository description: Minimal Repository type: object @@ -17387,7 +17388,7 @@ paths: url: https://api.github.com/notifications/threads/1 subscription_url: https://api.github.com/notifications/threads/1/subscription headers: - Link: *56 + Link: *57 '304': *35 '403': *27 '401': *23 @@ -17471,7 +17472,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread parameters: - - &97 + - &98 name: thread_id description: The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications @@ -17485,7 +17486,7 @@ paths: description: Response content: application/json: - schema: *96 + schema: *97 examples: default: value: @@ -17587,7 +17588,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-read parameters: - - *97 + - *98 responses: '205': description: Reset Content @@ -17609,7 +17610,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-done parameters: - - *97 + - *98 responses: '204': description: No content @@ -17632,13 +17633,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *97 + - *98 responses: '200': description: Response content: application/json: - schema: &98 + schema: &99 title: Thread Subscription description: Thread Subscription type: object @@ -17682,7 +17683,7 @@ paths: - url - subscribed examples: - default: &99 + default: &100 value: subscribed: true ignored: false @@ -17713,7 +17714,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#set-a-thread-subscription parameters: - - *97 + - *98 requestBody: required: false content: @@ -17734,9 +17735,9 @@ paths: description: Response content: application/json: - schema: *98 + schema: *99 examples: - default: *99 + default: *100 '304': *35 '403': *27 '401': *23 @@ -17759,7 +17760,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#delete-a-thread-subscription parameters: - - *97 + - *98 responses: '204': description: Response @@ -17854,9 +17855,9 @@ paths: application/json: schema: type: array - items: *63 + items: *64 examples: - default: *100 + default: *101 headers: Link: example: ; rel="next" @@ -17883,13 +17884,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-an-organization parameters: - - *65 + - *66 responses: '200': description: Response content: application/json: - schema: &101 + schema: &102 title: Actions cache retention limit for an organization description: GitHub Actions cache retention policy for an organization. type: object @@ -17923,12 +17924,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-an-organization parameters: - - *65 + - *66 requestBody: required: true content: application/json: - schema: *101 + schema: *102 examples: selected_actions: *40 responses: @@ -17957,13 +17958,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-an-organization parameters: - - *65 + - *66 responses: '200': description: Response content: application/json: - schema: &102 + schema: &103 title: Actions cache storage limit for an organization description: GitHub Actions cache storage policy for an organization. type: object @@ -17997,12 +17998,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-an-organization parameters: - - *65 + - *66 requestBody: required: true content: application/json: - schema: *102 + schema: *103 examples: selected_actions: *42 responses: @@ -18031,7 +18032,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization parameters: - - *65 + - *66 - name: page in: query description: The page number of results to fetch. @@ -18077,7 +18078,7 @@ paths: items: anyOf: - type: 'null' - - *55 + - *56 additionalProperties: false examples: default: @@ -18182,7 +18183,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization parameters: - - *65 + - *66 requestBody: required: true content: @@ -18248,7 +18249,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot parameters: - - *65 + - *66 requestBody: required: true content: @@ -18301,7 +18302,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties-for-orgs#get-all-custom-property-values-for-an-organization parameters: - - *65 + - *66 responses: '200': description: Response @@ -18309,7 +18310,7 @@ paths: application/json: schema: type: array - items: &103 + items: &104 title: Custom Property Value description: Custom property name and associated value type: object @@ -18366,7 +18367,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties-for-orgs#create-or-update-custom-property-values-for-an-organization parameters: - - *65 + - *66 requestBody: required: true content: @@ -18378,7 +18379,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the organization. - items: *103 + items: *104 required: - properties examples: @@ -18418,7 +18419,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#get-all-budgets-for-an-organization parameters: - - *65 + - *66 responses: '200': description: Response when getting all budgets @@ -18545,7 +18546,7 @@ paths: alert_recipients: [] '404': *6 '403': *27 - '500': *104 + '500': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18566,8 +18567,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#get-a-budget-by-id-for-an-organization parameters: - - *65 - - &106 + - *66 + - &107 name: budget_id description: The ID corresponding to the budget. in: path @@ -18666,8 +18667,8 @@ paths: '400': *14 '404': *6 '403': *27 - '500': *104 - '503': *105 + '500': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18687,8 +18688,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#update-a-budget-for-an-organization parameters: - - *65 - - *106 + - *66 + - *107 requestBody: required: true content: @@ -18874,8 +18875,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#delete-a-budget-for-an-organization parameters: - - *65 - - *106 + - *66 + - *107 responses: '200': description: Response when deleting a budget @@ -18901,8 +18902,8 @@ paths: '400': *14 '404': *6 '403': *27 - '500': *104 - '503': *105 + '500': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18922,8 +18923,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-an-organization parameters: - - *65 - - &107 + - *66 + - &108 name: year description: If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, @@ -18932,7 +18933,7 @@ paths: required: false schema: type: integer - - &109 + - &110 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current @@ -18941,7 +18942,7 @@ paths: required: false schema: type: integer - - &108 + - &109 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is @@ -18963,7 +18964,7 @@ paths: required: false schema: type: string - - &110 + - &111 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -19079,8 +19080,8 @@ paths: '400': *14 '403': *27 '404': *6 - '500': *104 - '503': *105 + '500': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19100,8 +19101,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-an-organization parameters: - - *65 - - *107 + - *66 + - *108 - &689 name: month description: If specified, only return results for a single month. The value @@ -19111,7 +19112,7 @@ paths: required: false schema: type: integer - - *108 + - *109 responses: '200': description: Billing usage report response for an organization @@ -19186,8 +19187,8 @@ paths: repositoryName: github/example '400': *14 '403': *27 - '500': *104 - '503': *105 + '500': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19210,10 +19211,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-an-organization parameters: - - *65 - - *107 - - *109 + - *66 - *108 + - *110 + - *109 - &690 name: repository description: The repository name to query for usage in the format owner/repository. @@ -19221,7 +19222,7 @@ paths: required: false schema: type: string - - *110 + - *111 - &691 name: sku description: The SKU to query for usage. @@ -19332,8 +19333,8 @@ paths: netAmount: 8.0 '400': *14 '403': *27 - '500': *104 - '503': *105 + '500': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19359,13 +19360,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-an-organization parameters: - - *65 + - *66 responses: '200': description: Response content: application/json: - schema: &111 + schema: &112 title: Organization Full description: Organization Full type: object @@ -19760,7 +19761,7 @@ paths: - updated_at - archived_at examples: - default-response: &112 + default-response: &113 value: login: github id: 1 @@ -19860,7 +19861,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#update-an-organization parameters: - - *65 + - *66 requestBody: required: false content: @@ -20077,18 +20078,18 @@ paths: description: Response content: application/json: - schema: *111 + schema: *112 examples: - default: *112 + default: *113 '422': description: Validation failed content: application/json: schema: oneOf: - - *113 - *114 - '409': *49 + - *115 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20111,7 +20112,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#delete-an-organization parameters: - - *65 + - *66 responses: '202': *37 '404': *6 @@ -20136,7 +20137,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *65 + - *66 responses: '200': description: Response @@ -20162,7 +20163,7 @@ paths: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20183,7 +20184,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization parameters: - - *65 + - *66 - *17 - *19 responses: @@ -20239,7 +20240,7 @@ paths: active_caches_size_in_bytes: 1022142 active_caches_count: 2 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20259,7 +20260,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *65 + - *66 - *17 - *19 responses: @@ -20277,7 +20278,7 @@ paths: type: integer runners: type: array - items: &115 + items: &116 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -20340,7 +20341,7 @@ paths: - size_gb - display_name - source - machine_size_details: &123 + machine_size_details: &124 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -20449,7 +20450,7 @@ paths: - public_ip_enabled - platform examples: - default: &143 + default: &144 value: total_count: 2 runners: @@ -20491,7 +20492,7 @@ paths: public_ips: [] last_active_on: '2023-04-26T15:23:37Z' headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20509,7 +20510,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *65 + - *66 requestBody: required: true content: @@ -20587,9 +20588,9 @@ paths: description: Response content: application/json: - schema: *115 + schema: *116 examples: - default: &124 + default: &125 value: id: 5 name: My hosted ubuntu runner @@ -20630,7 +20631,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-custom-images-for-an-organization parameters: - - *65 + - *66 responses: '200': description: Response @@ -20646,7 +20647,7 @@ paths: type: integer images: type: array - items: &116 + items: &117 title: GitHub-hosted runner custom image details description: Provides details of a custom runner image type: object @@ -20705,7 +20706,7 @@ paths: - latest_version - state examples: - default: &118 + default: &119 value: total_count: 2 image_versions: @@ -20736,8 +20737,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-a-custom-image-definition-for-github-actions-hosted-runners parameters: - - *65 - - &117 + - *66 + - &118 name: image_definition_id description: Image definition ID of custom image in: path @@ -20749,7 +20750,7 @@ paths: description: Response content: application/json: - schema: *116 + schema: *117 examples: default: value: @@ -20779,8 +20780,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-custom-image-from-the-organization parameters: - - *65 - - *117 + - *66 + - *118 responses: '204': description: Response @@ -20803,8 +20804,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-image-versions-of-a-custom-image-for-an-organization parameters: - - *117 - - *65 + - *118 + - *66 responses: '200': description: Response @@ -20820,7 +20821,7 @@ paths: type: integer image_versions: type: array - items: &119 + items: &120 title: GitHub-hosted runner custom image version details. description: Provides details of a hosted runner custom image version @@ -20858,7 +20859,7 @@ paths: - created_on - state_details examples: - default: *118 + default: *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20878,9 +20879,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-an-image-version-of-a-custom-image-for-github-actions-hosted-runners parameters: - - *65 - - *117 - - &120 + - *66 + - *118 + - &121 name: version description: Version of a custom image in: path @@ -20893,7 +20894,7 @@ paths: description: Response content: application/json: - schema: *119 + schema: *120 examples: default: value: @@ -20919,9 +20920,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-an-image-version-of-custom-image-from-the-organization parameters: - - *65 - - *117 - - *120 + - *66 + - *118 + - *121 responses: '204': description: Response @@ -20942,7 +20943,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-organization parameters: - - *65 + - *66 responses: '200': description: Response @@ -20958,7 +20959,7 @@ paths: type: integer images: type: array - items: &121 + items: &122 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -20998,7 +20999,7 @@ paths: - display_name - source examples: - default: &122 + default: &123 value: id: ubuntu-20.04 platform: linux-x64 @@ -21022,7 +21023,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-organization parameters: - - *65 + - *66 responses: '200': description: Response @@ -21038,9 +21039,9 @@ paths: type: integer images: type: array - items: *121 + items: *122 examples: - default: *122 + default: *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21057,7 +21058,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-organization parameters: - - *65 + - *66 responses: '200': description: Response @@ -21112,7 +21113,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-organization parameters: - - *65 + - *66 responses: '200': description: Response @@ -21128,7 +21129,7 @@ paths: type: integer machine_specs: type: array - items: *123 + items: *124 examples: default: value: @@ -21153,7 +21154,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-organization parameters: - - *65 + - *66 responses: '200': description: Response @@ -21197,8 +21198,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *65 - - &125 + - *66 + - &126 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -21210,11 +21211,11 @@ paths: description: Response content: application/json: - schema: *115 + schema: *116 examples: - default: *124 + default: *125 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21232,8 +21233,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *65 - - *125 + - *66 + - *126 requestBody: required: true content: @@ -21277,9 +21278,9 @@ paths: description: Response content: application/json: - schema: *115 + schema: *116 examples: - default: *124 + default: *125 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21295,16 +21296,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *65 - - *125 + - *66 + - *126 responses: '202': description: Response content: application/json: - schema: *115 + schema: *116 examples: - default: *124 + default: *125 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -21324,13 +21325,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *65 + - *66 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &126 + schema: &127 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -21344,7 +21345,7 @@ paths: required: - include_claim_keys examples: - default: &127 + default: &128 value: include_claim_keys: - repo @@ -21366,20 +21367,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *65 + - *66 requestBody: required: true content: application/json: - schema: *126 + schema: *127 examples: - default: *127 + default: *128 responses: '201': description: Empty response content: application/json: - schema: &153 + schema: &154 title: Empty Object description: An object without any properties. type: object @@ -21409,7 +21410,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *65 + - *66 responses: '200': description: Response @@ -21418,7 +21419,7 @@ paths: schema: type: object properties: - enabled_repositories: &128 + enabled_repositories: &129 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -21431,7 +21432,7 @@ paths: description: The API URL to use to get or set the selected repositories that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. - allowed_actions: &129 + allowed_actions: &130 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -21444,7 +21445,7 @@ paths: description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` is set to `selected`. - sha_pinning_required: &130 + sha_pinning_required: &131 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -21475,7 +21476,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *65 + - *66 responses: '204': description: Response @@ -21486,9 +21487,9 @@ paths: schema: type: object properties: - enabled_repositories: *128 - allowed_actions: *129 - sha_pinning_required: *130 + enabled_repositories: *129 + allowed_actions: *130 + sha_pinning_required: *131 required: - enabled_repositories examples: @@ -21516,7 +21517,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-an-organization parameters: - - *65 + - *66 responses: '200': description: Response @@ -21559,7 +21560,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-an-organization parameters: - - *65 + - *66 requestBody: required: true content: @@ -21581,7 +21582,7 @@ paths: description: No content '403': *27 '404': *6 - '409': *49 + '409': *50 '422': *15 x-github: enabledForGitHubApps: true @@ -21601,13 +21602,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *65 + - *66 responses: '200': description: Response content: application/json: - schema: &131 + schema: &132 type: object properties: approval_policy: @@ -21642,7 +21643,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *65 + - *66 responses: '204': description: Response @@ -21652,7 +21653,7 @@ paths: required: true content: application/json: - schema: *131 + schema: *132 examples: default: summary: Set approval policy to first time contributors @@ -21674,7 +21675,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *65 + - *66 responses: '200': description: Response @@ -21706,7 +21707,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &132 + default: &133 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -21729,7 +21730,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *65 + - *66 requestBody: required: true content: @@ -21757,7 +21758,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *132 + default: *133 responses: '204': description: Empty response for successful settings update @@ -21787,7 +21788,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *65 + - *66 - *17 - *19 responses: @@ -21805,9 +21806,9 @@ paths: type: number repositories: type: array - items: *68 + items: *69 examples: - default: &136 + default: &137 value: total_count: 1 repositories: @@ -21947,7 +21948,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *65 + - *66 responses: '204': description: Response @@ -21991,8 +21992,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *65 - - &133 + - *66 + - &134 name: repository_id description: The unique identifier of the repository. in: path @@ -22020,8 +22021,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *65 - - *133 + - *66 + - *134 responses: '204': description: Response @@ -22044,13 +22045,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *65 + - *66 responses: '200': description: Response content: application/json: - schema: &134 + schema: &135 type: object properties: github_owned_allowed: @@ -22072,7 +22073,7 @@ paths: items: type: string examples: - default: &135 + default: &136 value: github_owned_allowed: true verified_allowed: false @@ -22097,7 +22098,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *65 + - *66 responses: '204': description: Response @@ -22105,9 +22106,9 @@ paths: required: false content: application/json: - schema: *134 + schema: *135 examples: - selected_actions: *135 + selected_actions: *136 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -22127,7 +22128,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-self-hosted-runners-settings-for-an-organization parameters: - - *65 + - *66 responses: '200': description: Response @@ -22175,7 +22176,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-self-hosted-runners-settings-for-an-organization parameters: - - *65 + - *66 requestBody: required: true content: @@ -22202,7 +22203,7 @@ paths: description: No content '403': *27 '404': *6 - '409': *49 + '409': *50 '422': *15 x-github: enabledForGitHubApps: true @@ -22222,7 +22223,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#list-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *65 + - *66 - *17 - *19 responses: @@ -22237,9 +22238,9 @@ paths: type: integer repositories: type: array - items: *68 + items: *69 examples: - default: *136 + default: *137 '403': *27 '404': *6 x-github: @@ -22259,7 +22260,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *65 + - *66 requestBody: required: true content: @@ -22307,14 +22308,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *65 - - *133 + - *66 + - *134 responses: '204': description: No content '403': *27 '404': *6 - '409': *49 + '409': *50 '422': *15 x-github: enabledForGitHubApps: true @@ -22334,14 +22335,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *65 - - *133 + - *66 + - *134 responses: '204': description: No content '403': *27 '404': *6 - '409': *49 + '409': *50 '422': *15 x-github: enabledForGitHubApps: true @@ -22363,7 +22364,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *65 + - *66 responses: '200': description: Response @@ -22372,14 +22373,14 @@ paths: schema: &337 type: object properties: - default_workflow_permissions: &137 + default_workflow_permissions: &138 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &138 + can_approve_pull_request_reviews: &139 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -22387,7 +22388,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &139 + default: &140 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -22412,7 +22413,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *65 + - *66 responses: '204': description: Success response @@ -22423,10 +22424,10 @@ paths: schema: &338 type: object properties: - default_workflow_permissions: *137 - can_approve_pull_request_reviews: *138 + default_workflow_permissions: *138 + can_approve_pull_request_reviews: *139 examples: - default: *139 + default: *140 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22446,7 +22447,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization parameters: - - *65 + - *66 - *17 - *19 - name: visible_to_repository @@ -22471,7 +22472,7 @@ paths: type: number runner_groups: type: array - items: &140 + items: &141 type: object properties: id: @@ -22588,7 +22589,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization parameters: - - *65 + - *66 requestBody: required: true content: @@ -22661,9 +22662,9 @@ paths: description: Response content: application/json: - schema: *140 + schema: *141 examples: - default: &142 + default: &143 value: id: 2 name: octo-runner-group @@ -22698,8 +22699,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - - *65 - - &141 + - *66 + - &142 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -22711,7 +22712,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *141 examples: default: value: @@ -22747,8 +22748,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - - *65 - - *141 + - *66 + - *142 requestBody: required: true content: @@ -22804,9 +22805,9 @@ paths: description: Response content: application/json: - schema: *140 + schema: *141 examples: - default: *142 + default: *143 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -22825,8 +22826,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - - *65 - - *141 + - *66 + - *142 responses: '204': description: Response @@ -22849,8 +22850,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization parameters: - - *65 - - *141 + - *66 + - *142 - *17 - *19 responses: @@ -22868,11 +22869,11 @@ paths: type: number runners: type: array - items: *115 + items: *116 examples: - default: *143 + default: *144 headers: - Link: *56 + Link: *57 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -22892,8 +22893,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *65 - - *141 + - *66 + - *142 - *19 - *17 responses: @@ -22911,7 +22912,7 @@ paths: type: number repositories: type: array - items: *144 + items: *145 examples: default: &643 value: @@ -23165,8 +23166,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - - *65 - - *141 + - *66 + - *142 requestBody: required: true content: @@ -23210,9 +23211,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *65 - - *141 - - *133 + - *66 + - *142 + - *134 responses: '204': description: Response @@ -23234,9 +23235,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *65 - - *141 - - *133 + - *66 + - *142 + - *134 responses: '204': description: Response @@ -23259,8 +23260,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - - *65 - - *141 + - *66 + - *142 - *17 - *19 responses: @@ -23278,7 +23279,7 @@ paths: type: number runners: type: array - items: &146 + items: &147 title: Self hosted runners description: A self hosted runner type: object @@ -23312,7 +23313,7 @@ paths: type: boolean labels: type: array - items: &149 + items: &150 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -23342,7 +23343,7 @@ paths: - busy - labels examples: - default: &147 + default: &148 value: total_count: 2 runners: @@ -23382,7 +23383,7 @@ paths: name: no-gpu type: custom headers: - Link: *56 + Link: *57 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -23401,8 +23402,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - - *65 - - *141 + - *66 + - *142 requestBody: required: true content: @@ -23446,9 +23447,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - - *65 - - *141 - - &145 + - *66 + - *142 + - &146 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -23476,9 +23477,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - - *65 - - *141 - - *145 + - *66 + - *142 + - *146 responses: '204': description: Response @@ -23508,7 +23509,7 @@ paths: in: query schema: type: string - - *65 + - *66 - *17 - *19 responses: @@ -23526,11 +23527,11 @@ paths: type: integer runners: type: array - items: *146 + items: *147 examples: - default: *147 + default: *148 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23552,7 +23553,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *65 + - *66 responses: '200': description: Response @@ -23628,7 +23629,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-organization parameters: - - *65 + - *66 requestBody: required: true content: @@ -23681,7 +23682,7 @@ paths: - runner - encoded_jit_config properties: - runner: *146 + runner: *147 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -23710,7 +23711,7 @@ paths: encoded_jit_config: abc123 '404': *6 '422': *7 - '409': *49 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23738,13 +23739,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *65 + - *66 responses: '201': description: Response content: application/json: - schema: &148 + schema: &149 title: Authentication Token description: Authentication Token type: object @@ -23768,7 +23769,7 @@ paths: repositories: description: The repositories this token has access to type: array - items: *68 + items: *69 single_file: type: - string @@ -23817,13 +23818,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *65 + - *66 responses: '201': description: Response content: application/json: - schema: *148 + schema: *149 examples: default: &343 value: @@ -23850,14 +23851,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - - *65 - - *145 + - *66 + - *146 responses: '200': description: Response content: application/json: - schema: *146 + schema: *147 examples: default: &344 value: @@ -23900,8 +23901,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - - *65 - - *145 + - *66 + - *146 responses: '204': description: Response @@ -23927,10 +23928,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *65 - - *145 + - *66 + - *146 responses: - '200': &150 + '200': &151 description: Response content: application/json: @@ -23944,7 +23945,7 @@ paths: type: integer labels: type: array - items: *149 + items: *150 examples: default: value: @@ -23983,8 +23984,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization parameters: - - *65 - - *145 + - *66 + - *146 requestBody: required: true content: @@ -24008,7 +24009,7 @@ paths: - gpu - accelerated responses: - '200': *150 + '200': *151 '404': *6 '422': *7 x-github: @@ -24032,8 +24033,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *65 - - *145 + - *66 + - *146 requestBody: required: true content: @@ -24058,7 +24059,7 @@ paths: - gpu - accelerated responses: - '200': *150 + '200': *151 '404': *6 '422': *7 x-github: @@ -24082,8 +24083,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization parameters: - - *65 - - *145 + - *66 + - *146 responses: '200': &345 description: Response @@ -24099,7 +24100,7 @@ paths: type: integer labels: type: array - items: *149 + items: *150 examples: default: value: @@ -24140,8 +24141,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization parameters: - - *65 - - *145 + - *66 + - *146 - &346 name: name description: The name of a self-hosted runner's custom label. @@ -24150,7 +24151,7 @@ paths: schema: type: string responses: - '200': *150 + '200': *151 '404': *6 '422': *7 x-github: @@ -24175,7 +24176,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-organization-secrets parameters: - - *65 + - *66 - *17 - *19 responses: @@ -24193,7 +24194,7 @@ paths: type: integer secrets: type: array - items: &151 + items: &152 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -24245,7 +24246,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24268,7 +24269,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-public-key parameters: - - *65 + - *66 responses: '200': description: Response @@ -24334,8 +24335,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-secret parameters: - - *65 - - &152 + - *66 + - &153 name: secret_name description: The name of the secret. in: path @@ -24347,7 +24348,7 @@ paths: description: Response content: application/json: - schema: *151 + schema: *152 examples: default: value: @@ -24377,8 +24378,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *65 - - *152 + - *66 + - *153 requestBody: required: true content: @@ -24435,7 +24436,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *153 + schema: *154 examples: default: value: @@ -24461,8 +24462,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-organization-secret parameters: - - *65 - - *152 + - *66 + - *153 responses: '204': description: Response @@ -24488,8 +24489,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *65 - - *152 + - *66 + - *153 - *19 - *17 responses: @@ -24507,9 +24508,9 @@ paths: type: integer repositories: type: array - items: *144 + items: *145 examples: - default: &156 + default: &157 value: total_count: 1 repositories: @@ -24601,8 +24602,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *65 - - *152 + - *66 + - *153 requestBody: required: true content: @@ -24654,8 +24655,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *65 - - *152 + - *66 + - *153 - name: repository_id in: path required: true @@ -24688,8 +24689,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *65 - - *152 + - *66 + - *153 - name: repository_id in: path required: true @@ -24721,7 +24722,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - - *65 + - *66 - &327 name: per_page description: The number of results per page (max 30). For more information, @@ -24746,7 +24747,7 @@ paths: type: integer variables: type: array - items: &154 + items: &155 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -24815,7 +24816,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24836,7 +24837,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-organization-variable parameters: - - *65 + - *66 requestBody: required: true content: @@ -24884,7 +24885,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *153 + schema: *154 examples: default: value: @@ -24909,8 +24910,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-organization-variable parameters: - - *65 - - &155 + - *66 + - &156 name: name description: The name of the variable. in: path @@ -24922,7 +24923,7 @@ paths: description: Response content: application/json: - schema: *154 + schema: *155 examples: default: value: @@ -24952,8 +24953,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-organization-variable parameters: - - *65 - - *155 + - *66 + - *156 requestBody: required: true content: @@ -25015,8 +25016,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable parameters: - - *65 - - *155 + - *66 + - *156 responses: '204': description: Response @@ -25042,8 +25043,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *65 - - *155 + - *66 + - *156 - *19 - *17 responses: @@ -25061,9 +25062,9 @@ paths: type: integer repositories: type: array - items: *144 + items: *145 examples: - default: *156 + default: *157 '409': description: Response when the visibility of the variable is not set to `selected` @@ -25089,8 +25090,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *65 - - *155 + - *66 + - *156 requestBody: required: true content: @@ -25139,8 +25140,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *65 - - *155 + - *66 + - *156 - name: repository_id in: path required: true @@ -25174,8 +25175,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *65 - - *155 + - *66 + - *156 - name: repository_id in: path required: true @@ -25205,7 +25206,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-an-artifact-deployment-record parameters: - - *65 + - *66 requestBody: required: true content: @@ -25320,7 +25321,7 @@ paths: type: integer deployment_records: type: array - items: &157 + items: &158 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -25365,7 +25366,7 @@ paths: description: The ID of the provenance attestation associated with the deployment record. examples: - default: &158 + default: &159 value: total_count: 1 deployment_records: @@ -25400,7 +25401,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#set-cluster-deployment-records parameters: - - *65 + - *66 - name: cluster in: path description: The cluster name. @@ -25540,9 +25541,9 @@ paths: type: integer deployment_records: type: array - items: *157 + items: *158 examples: - default: *158 + default: *159 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25562,7 +25563,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-artifact-metadata-storage-record parameters: - - *65 + - *66 requestBody: required: true content: @@ -25726,7 +25727,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-deployment-records parameters: - - *65 + - *66 - name: subject_digest description: The SHA256 digest of the artifact, in the form `sha256:HEX_DIGEST`. in: path @@ -25752,9 +25753,9 @@ paths: - 3 deployment_records: type: array - items: *157 + items: *158 examples: - default: *158 + default: *159 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25774,7 +25775,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-storage-records parameters: - - *65 + - *66 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -25860,7 +25861,7 @@ paths: - *17 - *43 - *44 - - *65 + - *66 requestBody: required: true content: @@ -26057,7 +26058,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-in-bulk parameters: - - *65 + - *66 requestBody: required: true content: @@ -26122,7 +26123,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-subject-digest parameters: - - *65 + - *66 - name: subject_digest description: Subject Digest in: path @@ -26157,7 +26158,7 @@ paths: - *17 - *43 - *44 - - *65 + - *66 - name: predicate_type description: |- Optional filter for fetching attestations with a given predicate type. @@ -26205,7 +26206,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-id parameters: - - *65 + - *66 - name: attestation_id description: Attestation ID in: path @@ -26243,7 +26244,7 @@ paths: - *17 - *43 - *44 - - *65 + - *66 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -26404,7 +26405,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *65 + - *66 - *17 - *19 responses: @@ -26416,7 +26417,7 @@ paths: type: array items: *4 examples: - default: *60 + default: *61 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26435,8 +26436,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *65 - - *61 + - *66 + - *62 responses: '204': description: If the user is blocked @@ -26461,8 +26462,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *65 - - *61 + - *66 + - *62 responses: '204': description: Response @@ -26482,8 +26483,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *65 - - *61 + - *66 + - *62 responses: '204': description: Response @@ -26508,15 +26509,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *65 + - *66 - *19 - *17 - - *50 + - *51 - name: state description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &159 + schema: &160 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -26542,7 +26543,7 @@ paths: application/json: schema: type: array - items: &160 + items: &161 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -26786,7 +26787,7 @@ paths: - string - 'null' format: date-time - state: *159 + state: *160 contact_link: description: The contact link of the campaign. type: @@ -26882,9 +26883,9 @@ paths: closed_at: state: open headers: - Link: *56 + Link: *57 '404': *6 - '503': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26908,7 +26909,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *65 + - *66 requestBody: required: true content: @@ -27009,9 +27010,9 @@ paths: description: Response content: application/json: - schema: *160 + schema: *161 examples: - default: &161 + default: &162 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -27060,7 +27061,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27082,7 +27083,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *65 + - *66 - name: campaign_number description: The campaign number. in: path @@ -27094,16 +27095,16 @@ paths: description: Response content: application/json: - schema: *160 + schema: *161 examples: - default: *161 + default: *162 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27124,7 +27125,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#update-a-campaign parameters: - - *65 + - *66 - name: campaign_number description: The campaign number. in: path @@ -27174,7 +27175,7 @@ paths: - string - 'null' format: uri - state: *159 + state: *160 examples: default: value: @@ -27184,9 +27185,9 @@ paths: description: Response content: application/json: - schema: *160 + schema: *161 examples: - default: *161 + default: *162 '400': description: Bad Request content: @@ -27198,7 +27199,7 @@ paths: content: application/json: schema: *3 - '503': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27219,7 +27220,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *65 + - *66 - name: campaign_number description: The campaign number. in: path @@ -27230,7 +27231,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27252,7 +27253,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *65 + - *66 - &396 name: tool_name description: The name of a code scanning tool. Only results by this tool will @@ -27260,7 +27261,7 @@ paths: but not both. in: query required: false - schema: &169 + schema: &170 type: string description: The name of the tool used to generate the code scanning analysis. - &397 @@ -27271,7 +27272,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &170 + schema: &171 type: - string - 'null' @@ -27281,7 +27282,7 @@ paths: - *44 - *19 - *17 - - *50 + - *51 - name: state description: If specified, only code scanning alerts with this state will be returned. @@ -27339,18 +27340,18 @@ paths: items: type: object properties: - number: *162 - created_at: *163 - updated_at: *164 - url: *165 - html_url: *166 + number: *163 + created_at: *164 + updated_at: *165 + url: *166 + html_url: *167 instances_url: &401 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &171 + state: &172 type: - string - 'null' @@ -27360,12 +27361,12 @@ paths: - dismissed - fixed - - fixed_at: *167 + fixed_at: *168 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *168 + dismissed_at: *169 dismissed_reason: &402 type: - string @@ -27448,14 +27449,14 @@ paths: tool: &405 type: object properties: - name: *169 + name: *170 version: type: - string - 'null' description: The version of the tool used to generate the code scanning analysis. - guid: *170 + guid: *171 most_recent_instance: &406 type: object properties: @@ -27481,7 +27482,7 @@ paths: analysis was executed. Used to distinguish between multiple analyses for the same tool and commit, but performed on different languages or different parts of the code. - state: *171 + state: *172 commit_sha: type: string message: @@ -27522,7 +27523,7 @@ paths: - test - library - - repository: *55 + repository: *56 dismissal_approved_by: anyOf: - type: 'null' @@ -27774,9 +27775,9 @@ paths: trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks headers: - Link: *56 + Link: *57 '404': *6 - '503': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27798,7 +27799,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *65 + - *66 - name: target_type in: query description: The target type of the code security configuration @@ -27909,7 +27910,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration parameters: - - *65 + - *66 requestBody: required: true content: @@ -27987,7 +27988,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *172 + code_scanning_options: *49 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -28152,7 +28153,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations parameters: - - *65 + - *66 responses: '200': description: Response @@ -28186,7 +28187,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *65 + - *66 requestBody: required: true content: @@ -28216,7 +28217,7 @@ paths: '400': *14 '403': *27 '404': *6 - '409': *49 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28238,7 +28239,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-a-code-security-configuration parameters: - - *65 + - *66 - *47 responses: '200': @@ -28271,7 +28272,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#update-a-code-security-configuration parameters: - - *65 + - *66 - *47 requestBody: required: true @@ -28352,6 +28353,7 @@ paths: - disabled - not_set code_scanning_default_setup_options: *48 + code_scanning_options: *49 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -28528,14 +28530,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *65 + - *66 - *47 responses: '204': *176 '400': *14 '403': *27 '404': *6 - '409': *49 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28559,7 +28561,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *65 + - *66 - *47 requestBody: required: true @@ -28623,7 +28625,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization parameters: - - *65 + - *66 - *47 requestBody: required: true @@ -28693,7 +28695,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *65 + - *66 - *47 - name: per_page description: The number of results per page (max 100). For more information, @@ -28752,7 +28754,7 @@ paths: parameters: - *17 - *19 - - *65 + - *66 responses: '200': description: Response @@ -28799,7 +28801,7 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *144 + repository: *145 machine: anyOf: - type: 'null' @@ -29500,7 +29502,7 @@ paths: stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/stop recent_folders: [] '304': *35 - '500': *104 + '500': *105 '401': *23 '403': *27 '404': *6 @@ -29522,7 +29524,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *65 + - *66 deprecated: true requestBody: required: true @@ -29566,7 +29568,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *104 + '500': *105 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29589,7 +29591,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *65 + - *66 deprecated: true requestBody: required: true @@ -29621,7 +29623,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *104 + '500': *105 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29644,7 +29646,7 @@ paths: url: https://docs.github.com/rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *65 + - *66 requestBody: required: true content: @@ -29675,7 +29677,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *104 + '500': *105 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29696,7 +29698,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *65 + - *66 - *17 - *19 responses: @@ -29768,7 +29770,7 @@ paths: updated_at: '2020-01-11T11:59:22Z' visibility: all headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29787,7 +29789,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *65 + - *66 responses: '200': description: Response @@ -29851,8 +29853,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *65 - - *152 + - *66 + - *153 responses: '200': description: Response @@ -29867,7 +29869,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: all headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29887,8 +29889,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *65 - - *152 + - *66 + - *153 requestBody: required: true content: @@ -29943,7 +29945,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *153 + schema: *154 examples: default: value: @@ -29969,8 +29971,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *65 - - *152 + - *66 + - *153 responses: '204': description: Response @@ -29995,8 +29997,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *65 - - *152 + - *66 + - *153 - *19 - *17 responses: @@ -30014,9 +30016,9 @@ paths: type: integer repositories: type: array - items: *144 + items: *145 examples: - default: *156 + default: *157 '404': *6 x-github: githubCloudOnly: false @@ -30038,8 +30040,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *65 - - *152 + - *66 + - *153 requestBody: required: true content: @@ -30089,8 +30091,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *65 - - *152 + - *66 + - *153 - name: repository_id in: path required: true @@ -30123,8 +30125,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *65 - - *152 + - *66 + - *153 - name: repository_id in: path required: true @@ -30163,7 +30165,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization parameters: - - *65 + - *66 responses: '200': description: OK @@ -30272,7 +30274,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *104 + '500': *105 '401': *23 '403': *27 '404': *6 @@ -30304,7 +30306,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization parameters: - - *65 + - *66 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -30340,13 +30342,13 @@ paths: organization: anyOf: - type: 'null' - - *63 + - *64 assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - *180 - - *57 + - *58 type: - 'null' - object @@ -30476,8 +30478,8 @@ paths: type: User site_admin: false headers: - Link: *56 - '500': *104 + Link: *57 + '500': *105 '401': *23 '403': *27 '404': *6 @@ -30510,7 +30512,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization parameters: - - *65 + - *66 requestBody: content: application/json: @@ -30552,7 +30554,7 @@ paths: default: value: seats_created: 5 - '500': *104 + '500': *105 '401': *23 '403': *27 '404': *6 @@ -30588,7 +30590,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization parameters: - - *65 + - *66 requestBody: content: application/json: @@ -30630,7 +30632,7 @@ paths: default: value: seats_cancelled: 5 - '500': *104 + '500': *105 '401': *23 '403': *27 '404': *6 @@ -30668,7 +30670,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization parameters: - - *65 + - *66 requestBody: content: application/json: @@ -30709,7 +30711,7 @@ paths: default: value: seats_created: 5 - '500': *104 + '500': *105 '401': *23 '403': *27 '404': *6 @@ -30745,7 +30747,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization parameters: - - *65 + - *66 requestBody: content: application/json: @@ -30787,7 +30789,7 @@ paths: default: value: seats_cancelled: 5 - '500': *104 + '500': *105 '401': *23 '403': *27 '404': *6 @@ -30826,7 +30828,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *65 + - *66 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -31272,7 +31274,7 @@ paths: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - '500': *104 + '500': *105 '403': *27 '404': *6 '422': &304 @@ -31302,7 +31304,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *65 + - *66 - *181 - *182 - *183 @@ -31347,7 +31349,7 @@ paths: type: string - *186 - *187 - - *50 + - *51 - *43 - *44 - *17 @@ -31386,7 +31388,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-organization-secrets parameters: - - *65 + - *66 - *17 - *19 responses: @@ -31456,7 +31458,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/dependabot/secrets/SUPER_SECRET/repositories headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31477,7 +31479,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-public-key parameters: - - *65 + - *66 responses: '200': description: Response @@ -31525,8 +31527,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret parameters: - - *65 - - *152 + - *66 + - *153 responses: '200': description: Response @@ -31560,8 +31562,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *65 - - *152 + - *66 + - *153 requestBody: required: true content: @@ -31620,7 +31622,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *153 + schema: *154 examples: default: value: @@ -31644,8 +31646,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret parameters: - - *65 - - *152 + - *66 + - *153 responses: '204': description: Response @@ -31669,8 +31671,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *65 - - *152 + - *66 + - *153 - *19 - *17 responses: @@ -31688,9 +31690,9 @@ paths: type: integer repositories: type: array - items: *144 + items: *145 examples: - default: *156 + default: *157 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31711,8 +31713,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *65 - - *152 + - *66 + - *153 requestBody: required: true content: @@ -31762,8 +31764,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *65 - - *152 + - *66 + - *153 - name: repository_id in: path required: true @@ -31794,8 +31796,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *65 - - *152 + - *66 + - *153 - name: repository_id in: path required: true @@ -31825,7 +31827,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization parameters: - - *65 + - *66 responses: '200': description: Response @@ -31886,7 +31888,7 @@ paths: repository: anyOf: - type: 'null' - - *144 + - *145 created_at: type: string format: date-time @@ -31982,7 +31984,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-organization-events parameters: - - *65 + - *66 - *17 - *19 responses: @@ -31992,7 +31994,7 @@ paths: application/json: schema: type: array - items: *95 + items: *96 examples: 200-response: value: @@ -32064,7 +32066,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-failed-organization-invitations parameters: - - *65 + - *66 - *17 - *19 responses: @@ -32161,7 +32163,7 @@ paths: invitation_teams_url: https://api.github.com/organizations/2/invitations/1/teams invitation_source: member headers: - Link: *56 + Link: *57 '404': *6 x-github: githubCloudOnly: false @@ -32185,7 +32187,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-organization-webhooks parameters: - - *65 + - *66 - *17 - *19 responses: @@ -32295,7 +32297,7 @@ paths: created_at: '2011-09-06T17:26:27Z' type: Organization headers: - Link: *56 + Link: *57 '404': *6 x-github: githubCloudOnly: false @@ -32318,7 +32320,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#create-an-organization-webhook parameters: - - *65 + - *66 requestBody: required: true content: @@ -32429,7 +32431,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - - *65 + - *66 - &193 name: hook_id description: The unique identifier of the hook. You can find this value in @@ -32472,7 +32474,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - - *65 + - *66 - *193 requestBody: required: false @@ -32560,7 +32562,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *65 + - *66 - *193 responses: '204': @@ -32588,7 +32590,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *65 + - *66 - *193 responses: '200': @@ -32619,7 +32621,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *65 + - *66 - *193 requestBody: required: false @@ -32670,7 +32672,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *65 + - *66 - *193 - *17 - *194 @@ -32708,7 +32710,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *65 + - *66 - *193 - *16 responses: @@ -32743,7 +32745,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *65 + - *66 - *193 - *16 responses: @@ -32773,7 +32775,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *65 + - *66 - *193 responses: '204': @@ -32796,7 +32798,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *65 + - *66 - &203 name: actor_type in: path @@ -32836,7 +32838,7 @@ paths: type: string - *19 - *17 - - *50 + - *51 - name: sort description: The property to sort the results by. in: query @@ -32919,12 +32921,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - - *65 + - *66 - *199 - *200 - *19 - *17 - - *50 + - *51 - &209 name: sort description: The property to sort the results by. @@ -33004,7 +33006,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - - *65 + - *66 - *199 - *200 responses: @@ -33048,7 +33050,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *65 + - *66 - &205 name: user_id in: path @@ -33083,7 +33085,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *65 + - *66 - *199 - *200 - *203 @@ -33112,7 +33114,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - - *65 + - *66 - *199 - *200 - &206 @@ -33180,7 +33182,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - - *65 + - *66 - *205 - *199 - *200 @@ -33209,7 +33211,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *65 + - *66 - *203 - *204 - *199 @@ -33239,13 +33241,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - - *65 + - *66 - *205 - *199 - *200 - *19 - *17 - - *50 + - *51 - *209 - name: actor_name_substring in: query @@ -33322,7 +33324,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *65 + - *66 responses: '200': description: Response @@ -33399,7 +33401,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *65 + - *66 - *17 - *19 responses: @@ -33469,7 +33471,7 @@ paths: suspended_at: suspended_by: headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33488,7 +33490,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *65 + - *66 responses: '200': description: Response @@ -33553,7 +33555,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *65 + - *66 requestBody: required: true content: @@ -33609,7 +33611,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *65 + - *66 responses: '204': description: Response @@ -33633,7 +33635,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-pending-organization-invitations parameters: - - *65 + - *66 - *17 - *19 - name: role @@ -33671,7 +33673,7 @@ paths: examples: default: *214 headers: - Link: *56 + Link: *57 '404': *6 x-github: githubCloudOnly: false @@ -33692,7 +33694,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#create-an-organization-invitation parameters: - - *65 + - *66 requestBody: required: false content: @@ -33800,7 +33802,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - - *65 + - *66 - &215 name: invitation_id description: The unique identifier of the invitation. @@ -33831,7 +33833,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - - *65 + - *66 - *215 - *17 - *19 @@ -33860,7 +33862,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *56 + Link: *57 '404': *6 x-github: githubCloudOnly: false @@ -33879,7 +33881,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *65 + - *66 responses: '200': description: Response @@ -33925,7 +33927,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *65 + - *66 requestBody: required: true content: @@ -34009,7 +34011,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *65 + - *66 - &218 name: issue_type_id description: The unique identifier of the issue type. @@ -34092,7 +34094,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *65 + - *66 - *218 responses: '204': @@ -34126,7 +34128,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *65 + - *66 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -34174,8 +34176,8 @@ paths: - updated - comments default: created - - *50 - - *76 + - *51 + - *77 - *17 - *19 responses: @@ -34185,11 +34187,11 @@ paths: application/json: schema: type: array - items: *70 + items: *71 examples: default: *220 headers: - Link: *56 + Link: *57 '404': *6 x-github: githubCloudOnly: false @@ -34209,7 +34211,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-members parameters: - - *65 + - *66 - name: filter description: Filter members returned in the list. `2fa_disabled` means that only members without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -34247,9 +34249,9 @@ paths: type: array items: *4 examples: - default: *60 + default: *61 headers: - Link: *56 + Link: *57 '422': *15 x-github: githubCloudOnly: false @@ -34267,8 +34269,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-organization-membership-for-a-user parameters: - - *65 - - *61 + - *66 + - *62 responses: '204': description: Response if requester is an organization member and user is @@ -34302,8 +34304,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-an-organization-member parameters: - - *65 - - *61 + - *66 + - *62 responses: '204': description: Response @@ -34329,8 +34331,8 @@ paths: parameters: - *17 - *19 - - *65 - - *61 + - *66 + - *62 responses: '200': description: Response @@ -34350,7 +34352,7 @@ paths: examples: default: *222 '304': *35 - '500': *104 + '500': *105 '401': *23 '403': *27 '404': *6 @@ -34373,8 +34375,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *65 - - *61 + - *66 + - *62 - &223 name: codespace_name in: path @@ -34385,7 +34387,7 @@ paths: responses: '202': *37 '304': *35 - '500': *104 + '500': *105 '401': *23 '403': *27 '404': *6 @@ -34408,8 +34410,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *65 - - *61 + - *66 + - *62 - *223 responses: '200': @@ -34560,7 +34562,7 @@ paths: recent_folders: [] template: '304': *35 - '500': *104 + '500': *105 '401': *23 '403': *27 '404': *6 @@ -34591,8 +34593,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - - *65 - - *61 + - *66 + - *62 responses: '200': description: The user's GitHub Copilot seat details, including usage. @@ -34642,7 +34644,7 @@ paths: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - '500': *104 + '500': *105 '401': *23 '403': *27 '404': *6 @@ -34667,8 +34669,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-organization-membership-for-a-user parameters: - - *65 - - *61 + - *66 + - *62 responses: '200': description: Response @@ -34723,7 +34725,7 @@ paths: format: uri examples: - https://api.github.com/orgs/octocat - organization: *63 + organization: *64 user: anyOf: - type: 'null' @@ -34815,8 +34817,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-organization-membership-for-a-user parameters: - - *65 - - *61 + - *66 + - *62 requestBody: required: false content: @@ -34870,8 +34872,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *65 - - *61 + - *66 + - *62 responses: '204': description: Response @@ -34896,7 +34898,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-organization-migrations parameters: - - *65 + - *66 - *17 - *19 - name: exclude @@ -34960,7 +34962,7 @@ paths: type: array description: The repositories included in the migration. Only returned for export migrations. - items: *68 + items: *69 url: type: string format: uri @@ -35159,7 +35161,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -35175,7 +35177,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#start-an-organization-migration parameters: - - *65 + - *66 requestBody: required: true content: @@ -35434,7 +35436,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - - *65 + - *66 - &228 name: migration_id description: The unique identifier of the migration. @@ -35632,7 +35634,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *65 + - *66 - *228 responses: '302': @@ -35654,7 +35656,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *65 + - *66 - *228 responses: '204': @@ -35678,7 +35680,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - - *65 + - *66 - *228 - &655 name: repo_name @@ -35707,7 +35709,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *65 + - *66 - *228 - *17 - *19 @@ -35718,7 +35720,7 @@ paths: application/json: schema: type: array - items: *144 + items: *145 examples: default: &239 value: @@ -35831,7 +35833,7 @@ paths: secret_scanning_non_provider_patterns: status: disabled headers: - Link: *56 + Link: *57 '404': *6 x-github: githubCloudOnly: false @@ -35857,7 +35859,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *65 + - *66 responses: '200': description: Response - list of organization roles @@ -36022,8 +36024,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *65 - *66 + - *67 responses: '204': description: Response @@ -36048,8 +36050,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *65 - *66 + - *67 - &229 name: role_id description: The unique identifier of the role. @@ -36085,8 +36087,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *65 - *66 + - *67 - *229 responses: '204': @@ -36112,8 +36114,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *65 - - *61 + - *66 + - *62 responses: '204': description: Response @@ -36138,8 +36140,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *65 - - *61 + - *66 + - *62 - *229 responses: '204': @@ -36170,8 +36172,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *65 - - *61 + - *66 + - *62 - *229 responses: '204': @@ -36200,7 +36202,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - - *65 + - *66 - *229 responses: '200': @@ -36257,7 +36259,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - - *65 + - *66 - *229 - *17 - *19 @@ -36372,7 +36374,7 @@ paths: examples: default: *232 headers: - Link: *56 + Link: *57 '404': description: Response if the organization or role does not exist. '422': @@ -36399,7 +36401,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - - *65 + - *66 - *229 - *17 - *19 @@ -36546,9 +36548,9 @@ paths: - type - url examples: - default: *60 + default: *61 headers: - Link: *56 + Link: *57 '404': description: Response if the organization or role does not exist. '422': @@ -36570,7 +36572,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *65 + - *66 - name: filter description: Filter the list of outside collaborators. `2fa_disabled` means that only outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -36597,9 +36599,9 @@ paths: type: array items: *4 examples: - default: *60 + default: *61 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36622,8 +36624,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *65 - - *61 + - *66 + - *62 requestBody: required: false content: @@ -36680,8 +36682,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *65 - - *61 + - *66 + - *62 responses: '204': description: Response @@ -36738,7 +36740,7 @@ paths: - docker - nuget - container - - *65 + - *66 - &656 name: visibility description: |- @@ -36827,7 +36829,7 @@ paths: required: true schema: type: string - - *65 + - *66 responses: '200': description: Response @@ -36887,7 +36889,7 @@ paths: parameters: - *235 - *236 - - *65 + - *66 responses: '204': description: Response @@ -36921,7 +36923,7 @@ paths: parameters: - *235 - *236 - - *65 + - *66 - name: token description: package token schema: @@ -36955,7 +36957,7 @@ paths: parameters: - *235 - *236 - - *65 + - *66 - *19 - *17 - name: state @@ -37112,7 +37114,7 @@ paths: parameters: - *235 - *236 - - *65 + - *66 - &238 name: package_version_id description: Unique identifier of the package version. @@ -37163,7 +37165,7 @@ paths: parameters: - *235 - *236 - - *65 + - *66 - *238 responses: '204': @@ -37198,7 +37200,7 @@ paths: parameters: - *235 - *236 - - *65 + - *66 - *238 responses: '204': @@ -37226,7 +37228,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *65 + - *66 - *17 - *19 - &240 @@ -37239,7 +37241,7 @@ paths: enum: - created_at default: created_at - - *50 + - *51 - &241 name: owner description: A list of owner usernames to use to filter the results. @@ -37303,7 +37305,7 @@ paths: examples: - token_id[]=1,token_id[]=2 responses: - '500': *104 + '500': *105 '422': *15 '404': *6 '403': *27 @@ -37438,7 +37440,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37458,7 +37460,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *65 + - *66 requestBody: required: true content: @@ -37500,7 +37502,7 @@ paths: action: deny reason: Access is too broad. responses: - '500': *104 + '500': *105 '422': *15 '404': *6 '403': *27 @@ -37525,7 +37527,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token parameters: - - *65 + - *66 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -37562,7 +37564,7 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *104 + '500': *105 '422': *15 '404': *6 '403': *27 @@ -37587,7 +37589,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token parameters: - - *65 + - *66 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -37598,7 +37600,7 @@ paths: - *17 - *19 responses: - '500': *104 + '500': *105 '404': *6 '403': *27 '200': @@ -37607,11 +37609,11 @@ paths: application/json: schema: type: array - items: *144 + items: *145 examples: default: *239 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37632,11 +37634,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources parameters: - - *65 + - *66 - *17 - *19 - *240 - - *50 + - *51 - *241 - *242 - *243 @@ -37644,7 +37646,7 @@ paths: - *245 - *246 responses: - '500': *104 + '500': *105 '422': *15 '404': *6 '403': *27 @@ -37773,7 +37775,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37793,7 +37795,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens parameters: - - *65 + - *66 requestBody: required: true content: @@ -37828,7 +37830,7 @@ paths: - 1296269 - 1296280 responses: - '500': *104 + '500': *105 '404': *6 '202': *37 '403': *27 @@ -37853,7 +37855,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources parameters: - - *65 + - *66 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -37881,7 +37883,7 @@ paths: value: action: revoke responses: - '500': *104 + '500': *105 '404': *6 '204': *176 '403': *27 @@ -37905,7 +37907,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to parameters: - - *65 + - *66 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -37915,7 +37917,7 @@ paths: - *17 - *19 responses: - '500': *104 + '500': *105 '404': *6 '403': *27 '200': @@ -37924,11 +37926,11 @@ paths: application/json: schema: type: array - items: *144 + items: *145 examples: default: *239 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37950,7 +37952,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *65 + - *66 - *17 - *19 responses: @@ -38051,7 +38053,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: selected headers: - Link: *56 + Link: *57 '400': *14 '404': *6 x-github: @@ -38073,7 +38075,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *65 + - *66 requestBody: required: true content: @@ -38305,7 +38307,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization parameters: - - *65 + - *66 responses: '200': description: Response @@ -38333,7 +38335,7 @@ paths: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 headers: - Link: *56 + Link: *57 '404': *6 x-github: githubCloudOnly: false @@ -38355,8 +38357,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *65 - - *152 + - *66 + - *153 responses: '200': description: The specified private registry configuration for the organization @@ -38385,8 +38387,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *65 - - *152 + - *66 + - *153 requestBody: required: true content: @@ -38491,8 +38493,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *65 - - *152 + - *66 + - *153 responses: '204': description: Response @@ -38515,7 +38517,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-organization parameters: - - *65 + - *66 - name: q description: Limit results to projects of the specified type. in: query @@ -38774,7 +38776,7 @@ paths: updated_at: '2025-07-11T16:19:28Z' is_template: true headers: - Link: *56 + Link: *57 '304': *35 '403': *27 '401': *23 @@ -38801,7 +38803,7 @@ paths: required: true schema: type: integer - - *65 + - *66 responses: '200': description: Response @@ -38811,7 +38813,7 @@ paths: examples: default: *250 headers: - Link: *56 + Link: *57 '304': *35 '403': *27 '401': *23 @@ -38831,7 +38833,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - - *65 + - *66 - *251 requestBody: required: true @@ -38879,7 +38881,7 @@ paths: description: The node ID of the project item. content: oneOf: - - *70 + - *71 - &446 title: Pull Request Simple description: Pull Request Simple @@ -39063,7 +39065,7 @@ paths: type: string ref: type: string - repo: *68 + repo: *69 sha: type: string user: @@ -39083,7 +39085,7 @@ paths: type: string ref: type: string - repo: *68 + repo: *69 sha: type: string user: @@ -39124,7 +39126,7 @@ paths: - review_comments - review_comment - self - author_association: *71 + author_association: *72 auto_merge: &549 title: Auto merge description: The status of auto merging a pull request. @@ -39346,7 +39348,7 @@ paths: url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - *251 - - *65 + - *66 - *17 - *43 - *44 @@ -39618,7 +39620,7 @@ paths: created_at: '2022-06-20T16:45:00Z' updated_at: '2022-06-20T16:45:00Z' headers: - Link: *56 + Link: *57 '304': *35 '403': *27 '401': *23 @@ -39638,7 +39640,7 @@ paths: url: https://docs.github.com/rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - *251 - - *65 + - *66 requestBody: required: true content: @@ -39936,7 +39938,7 @@ paths: required: true schema: type: integer - - *65 + - *66 responses: '200': description: Response @@ -39979,7 +39981,7 @@ paths: created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' headers: - Link: *56 + Link: *57 '304': *35 '403': *27 '401': *23 @@ -40001,7 +40003,7 @@ paths: url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - *251 - - *65 + - *66 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information. @@ -40776,7 +40778,7 @@ paths: type: sub_issues_progress value: headers: - Link: *56 + Link: *57 '304': *35 '403': *27 '401': *23 @@ -40796,75 +40798,67 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - - *65 + - *66 - *251 requestBody: required: true description: Details of the item to add to the project. You can specify either - the database ID or the repository owner, name, and issue/PR number. + the unique ID or the repository owner, name, and issue/PR number. content: application/json: schema: + type: object + additionalProperties: false + properties: + type: + type: string + enum: + - Issue + - PullRequest + description: The type of item to add to the project. Must be either + Issue or PullRequest. + id: + type: integer + description: The unique identifier of the issue or pull request + to add to the project. + owner: + type: string + description: The repository owner login. + repo: + type: string + description: The repository name. + number: + type: integer + description: The issue or pull request number. + required: + - type oneOf: - - type: object - properties: - type: - type: string - enum: - - Issue - - PullRequest - description: The type of item to add to the project. Must be either - Issue or PullRequest. - id: - type: integer - description: The unique ID of the issue or pull request to add - to the project. - required: - - type + - required: - id - - type: object - properties: - type: - type: string - enum: - - Issue - - PullRequest - description: The type of item to add to the project. Must be either - Issue or PullRequest. - owner: - type: string - description: The repository owner login. - repo: - type: string - description: The repository name. - number: - type: integer - description: The issue or pull request number. - required: - - type + - required: - owner - repo - number examples: - issue-with-id: - summary: Add issue by database ID + issue_with_id: + summary: Add an issue using its unique ID value: type: Issue id: 3 - pull_request-with-id: - summary: Add pull request by database ID + pull_request_with_id: + summary: Add a pull request using its unique ID value: type: PullRequest id: 3 - issue-with-nwo: - summary: Add issue by repository and number + issue_with_nwo: + summary: Add an issue using repository owner, name, and issue number value: type: Issue owner: octocat repo: hello-world number: 42 - pull_request-with-nwo: - summary: Add pull request by repository and number + pull_request_with_nwo: + summary: Add a pull request using repository owner, name, and PR number value: type: PullRequest owner: octocat @@ -40877,8 +40871,20 @@ paths: application/json: schema: *256 examples: - issue: *257 - pull_request: *257 + issue_with_id: + summary: Response for adding an issue using its unique ID + value: *257 + pull_request_with_id: + summary: Response for adding a pull request using its unique ID + value: *257 + issue_with_nwo: + summary: Response for adding an issue using repository owner, name, + and issue number + value: *257 + pull_request_with_nwo: + summary: Response for adding a pull request using repository owner, + name, and PR number + value: *257 '304': *35 '403': *27 '401': *23 @@ -40899,7 +40905,7 @@ paths: url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - *251 - - *65 + - *66 - &260 name: item_id description: The unique identifier of the project item. @@ -40930,7 +40936,7 @@ paths: examples: default: *259 headers: - Link: *56 + Link: *57 '304': *35 '403': *27 '401': *23 @@ -40950,7 +40956,7 @@ paths: url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - *251 - - *65 + - *66 - *260 requestBody: required: true @@ -41051,7 +41057,7 @@ paths: url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - *251 - - *65 + - *66 - *260 responses: '204': @@ -41076,7 +41082,7 @@ paths: url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-project-view parameters: - *251 - - *65 + - *66 - &687 name: view_number description: The number that identifies the project view. @@ -41113,7 +41119,7 @@ paths: examples: default: *259 headers: - Link: *56 + Link: *57 '304': *35 '403': *27 '401': *23 @@ -41136,7 +41142,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *65 + - *66 responses: '200': description: Response @@ -41267,7 +41273,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *65 + - *66 requestBody: required: true content: @@ -41331,7 +41337,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *65 + - *66 - &263 name: custom_property_name description: The custom property name @@ -41380,7 +41386,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - - *65 + - *66 - *263 requestBody: required: true @@ -41483,7 +41489,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *65 + - *66 - *263 responses: '204': *176 @@ -41507,7 +41513,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *65 + - *66 - *17 - *19 - name: repository_query @@ -41548,7 +41554,7 @@ paths: - octocat/Hello-World properties: type: array - items: *103 + items: *104 description: List of custom property names and associated values required: - repository_id @@ -41569,7 +41575,7 @@ paths: - property_name: team value: octocat headers: - Link: *56 + Link: *57 '403': *27 '404': *6 x-github: @@ -41597,7 +41603,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories parameters: - - *65 + - *66 requestBody: required: true content: @@ -41617,7 +41623,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *103 + items: *104 required: - repository_names - properties @@ -41658,7 +41664,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-public-organization-members parameters: - - *65 + - *66 - *17 - *19 responses: @@ -41670,9 +41676,9 @@ paths: type: array items: *4 examples: - default: *60 + default: *61 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41689,8 +41695,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *65 - - *61 + - *66 + - *62 responses: '204': description: Response if user is a public member @@ -41714,8 +41720,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *65 - - *61 + - *66 + - *62 responses: '204': description: Response @@ -41736,8 +41742,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *65 - - *61 + - *66 + - *62 responses: '204': description: Response @@ -41761,7 +41767,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-organization-repositories parameters: - - *65 + - *66 - name: type description: Specifies the types of repositories you want returned. in: query @@ -41807,11 +41813,11 @@ paths: application/json: schema: type: array - items: *144 + items: *145 examples: default: *239 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41830,7 +41836,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-organization-repository parameters: - - *65 + - *66 requestBody: required: true content: @@ -42358,7 +42364,7 @@ paths: template_repository: anyOf: - type: 'null' - - *68 + - *69 temp_clone_token: type: - string @@ -42458,13 +42464,13 @@ paths: license: anyOf: - type: 'null' - - *73 + - *74 organization: anyOf: - type: 'null' - *4 - parent: *68 - source: *68 + parent: *69 + source: *69 forks: type: integer master_branch: @@ -43109,7 +43115,7 @@ paths: category: orgs subcategory: rules parameters: - - *65 + - *66 - *17 - *19 - &571 @@ -44190,7 +44196,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *104 + '500': *105 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -44206,7 +44212,7 @@ paths: category: orgs subcategory: rules parameters: - - *65 + - *66 requestBody: description: Request body required: true @@ -44341,7 +44347,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *104 + '500': *105 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -44355,7 +44361,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *65 + - *66 - &573 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally @@ -44494,7 +44500,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *104 + '500': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44513,7 +44519,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *65 + - *66 - &579 name: rule_suite_id description: |- @@ -44672,7 +44678,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *104 + '500': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44698,7 +44704,7 @@ paths: category: orgs subcategory: rules parameters: - - *65 + - *66 - name: ruleset_id description: The ID of the ruleset. in: path @@ -44714,7 +44720,7 @@ paths: examples: default: *293 '404': *6 - '500': *104 + '500': *105 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -44730,7 +44736,7 @@ paths: category: orgs subcategory: rules parameters: - - *65 + - *66 - name: ruleset_id description: The ID of the ruleset. in: path @@ -44804,7 +44810,7 @@ paths: examples: default: *293 '404': *6 - '500': *104 + '500': *105 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -44820,7 +44826,7 @@ paths: category: orgs subcategory: rules parameters: - - *65 + - *66 - name: ruleset_id description: The ID of the ruleset. in: path @@ -44831,7 +44837,7 @@ paths: '204': description: Response '404': *6 - '500': *104 + '500': *105 "/orgs/{org}/rulesets/{ruleset_id}/history": get: summary: Get organization ruleset history @@ -44843,7 +44849,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-history parameters: - - *65 + - *66 - *17 - *19 - name: ruleset_id @@ -44901,7 +44907,7 @@ paths: type: User updated_at: '2024-08-23T16:29:47Z' '404': *6 - '500': *104 + '500': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44918,7 +44924,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-version parameters: - - *65 + - *66 - name: ruleset_id description: The ID of the ruleset. in: path @@ -44985,7 +44991,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *104 + '500': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45007,7 +45013,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *65 + - *66 - &585 name: state in: query @@ -45069,7 +45075,7 @@ paths: - created - updated default: created - - *50 + - *51 - *19 - *17 - &590 @@ -45138,14 +45144,14 @@ paths: items: type: object properties: - number: *162 - created_at: *163 + number: *163 + created_at: *164 updated_at: anyOf: - type: 'null' - - *164 - url: *165 - html_url: *166 + - *165 + url: *166 + html_url: *167 locations_url: type: string format: uri @@ -45192,7 +45198,7 @@ paths: secret: type: string description: The secret that was detected. - repository: *55 + repository: *56 push_protection_bypassed: type: - boolean @@ -45741,9 +45747,9 @@ paths: type: User site_admin: false headers: - Link: *56 + Link: *57 '404': *6 - '503': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45768,7 +45774,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *65 + - *66 responses: '200': description: Response @@ -45908,7 +45914,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *65 + - *66 requestBody: required: true content: @@ -45978,7 +45984,7 @@ paths: '400': *14 '403': *27 '404': *6 - '409': *49 + '409': *50 '422': *15 "/orgs/{org}/security-advisories": get: @@ -45996,8 +46002,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *65 - - *50 + - *66 + - *51 - name: sort description: The property to sort the results by. in: query @@ -46248,7 +46254,7 @@ paths: required: - vector_string - score - cvss_severities: *52 + cvss_severities: *53 cwes: type: - array @@ -46327,7 +46333,7 @@ paths: description: A temporary private fork of the advisory's repository for collaborating on a fix. allOf: - - *55 + - *56 type: - 'null' required: @@ -46738,7 +46744,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams parameters: - - *65 + - *66 responses: '200': description: Response @@ -46771,8 +46777,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - - *65 - *66 + - *67 responses: '204': description: Response @@ -46797,8 +46803,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *65 - *66 + - *67 responses: '204': description: Response @@ -46825,7 +46831,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-immutable-releases-settings-for-an-organization parameters: - - *65 + - *66 responses: '200': description: Immutable releases settings response @@ -46875,7 +46881,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-immutable-releases-settings-for-an-organization parameters: - - *65 + - *66 responses: '204': description: Response @@ -46933,7 +46939,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement parameters: - - *65 + - *66 - *19 - *17 responses: @@ -46951,9 +46957,9 @@ paths: type: integer repositories: type: array - items: *144 + items: *145 examples: - default: *156 + default: *157 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46972,7 +46978,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement parameters: - - *65 + - *66 requestBody: required: true content: @@ -47021,8 +47027,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - - *65 - - *133 + - *66 + - *134 responses: '204': description: Response @@ -47044,8 +47050,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - - *65 - - *133 + - *66 + - *134 responses: '204': description: Response @@ -47068,7 +47074,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *65 + - *66 - *17 - *19 responses: @@ -47150,7 +47156,7 @@ paths: - 6789ABDCEF12345 created_on: '2023-04-26T15:23:37Z' headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47169,7 +47175,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization parameters: - - *65 + - *66 requestBody: required: true content: @@ -47241,7 +47247,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - - *65 + - *66 - &301 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. @@ -47258,7 +47264,7 @@ paths: examples: default: *300 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47277,7 +47283,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - - *65 + - *66 - *301 requestBody: required: true @@ -47338,7 +47344,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - - *65 + - *66 - *301 responses: '204': @@ -47362,7 +47368,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - - *65 + - *66 - name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -47421,7 +47427,7 @@ paths: subnet_id: "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet" region: eastus headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47451,8 +47457,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *65 - *66 + - *67 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -47487,7 +47493,7 @@ paths: items: *302 examples: default: *303 - '500': *104 + '500': *105 '403': *27 '404': *6 '422': *304 @@ -47508,7 +47514,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-teams parameters: - - *65 + - *66 - *17 - *19 responses: @@ -47522,7 +47528,7 @@ paths: examples: default: *232 headers: - Link: *56 + Link: *57 '403': *27 x-github: githubCloudOnly: false @@ -47542,7 +47548,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#create-a-team parameters: - - *65 + - *66 requestBody: required: true content: @@ -48083,8 +48089,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - - *65 - *66 + - *67 responses: '200': description: Response @@ -48113,8 +48119,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - - *65 - *66 + - *67 requestBody: required: false content: @@ -48211,8 +48217,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - - *65 - *66 + - *67 responses: '204': description: Response @@ -48238,9 +48244,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions parameters: - - *65 - *66 - - *50 + - *67 + - *51 - *17 - *19 - name: pinned @@ -48338,7 +48344,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *72 + reactions: *73 required: - author - body @@ -48404,7 +48410,7 @@ paths: eyes: 1 rocket: 1 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48428,8 +48434,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion parameters: - - *65 - *66 + - *67 requestBody: required: true content: @@ -48535,8 +48541,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion parameters: - - *65 - *66 + - *67 - &309 name: discussion_number description: The number that identifies the discussion. @@ -48573,8 +48579,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion parameters: - - *65 - *66 + - *67 - *309 requestBody: required: false @@ -48668,8 +48674,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion parameters: - - *65 - *66 + - *67 - *309 responses: '204': @@ -48694,8 +48700,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - - *65 - *66 + - *67 - *17 - *19 responses: @@ -48709,7 +48715,7 @@ paths: examples: default: *214 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48729,8 +48735,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members parameters: - - *65 - *66 + - *67 - name: role description: Filters members returned by their role in the team. in: query @@ -48753,9 +48759,9 @@ paths: type: array items: *4 examples: - default: *60 + default: *61 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48783,9 +48789,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - - *65 - *66 - - *61 + - *67 + - *62 responses: '200': description: Response @@ -48855,9 +48861,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *65 - *66 - - *61 + - *67 + - *62 requestBody: required: false content: @@ -48919,9 +48925,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - - *65 - *66 - - *61 + - *67 + - *62 responses: '204': description: Response @@ -48947,8 +48953,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - - *65 - *66 + - *67 - *17 - *19 responses: @@ -48958,11 +48964,11 @@ paths: application/json: schema: type: array - items: *144 + items: *145 examples: default: *239 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48989,8 +48995,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *65 - *66 + - *67 - *311 - *312 responses: @@ -49024,7 +49030,7 @@ paths: license: anyOf: - type: 'null' - - *73 + - *74 forks: type: integer permissions: @@ -49639,8 +49645,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *65 - *66 + - *67 - *311 - *312 requestBody: @@ -49687,8 +49693,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team parameters: - - *65 - *66 + - *67 - *311 - *312 responses: @@ -49714,8 +49720,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - - *65 - *66 + - *67 - *17 - *19 responses: @@ -49755,7 +49761,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos html_url: https://github.com/orgs/rails/teams/core headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49780,7 +49786,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *65 + - *66 - name: security_product in: path description: The security feature to enable or disable. @@ -50849,7 +50855,7 @@ paths: documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository '307': *317 '404': *6 - '409': *49 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51032,7 +51038,7 @@ paths: head_branch: main head_sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51392,7 +51398,7 @@ paths: - last_accessed_at - size_in_bytes default: last_accessed_at - - *50 + - *51 responses: '200': description: Response @@ -51460,7 +51466,7 @@ paths: created_at: '2019-01-24T22:45:36.000Z' size_in_bytes: 1024 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51963,7 +51969,7 @@ paths: description: Response content: application/json: - schema: *153 + schema: *154 examples: default: value: @@ -52073,7 +52079,7 @@ paths: description: Empty response content: application/json: - schema: *153 + schema: *154 examples: default: value: @@ -52153,7 +52159,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52241,7 +52247,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52274,9 +52280,9 @@ paths: enabled: &329 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *129 + allowed_actions: *130 selected_actions_url: *328 - sha_pinning_required: *130 + sha_pinning_required: *131 required: - enabled examples: @@ -52317,8 +52323,8 @@ paths: type: object properties: enabled: *329 - allowed_actions: *129 - sha_pinning_required: *130 + allowed_actions: *130 + sha_pinning_required: *131 required: - enabled examples: @@ -52501,7 +52507,7 @@ paths: description: Response content: application/json: - schema: *131 + schema: *132 examples: default: *334 '404': *6 @@ -52533,7 +52539,7 @@ paths: required: true content: application/json: - schema: *131 + schema: *132 examples: default: summary: Set approval policy to first time contributors @@ -52566,7 +52572,7 @@ paths: application/json: schema: *335 examples: - default: *132 + default: *133 '403': *27 '404': *6 x-github: @@ -52594,7 +52600,7 @@ paths: application/json: schema: *336 examples: - default: *132 + default: *133 responses: '204': description: Empty response for successful settings update @@ -52625,9 +52631,9 @@ paths: description: Response content: application/json: - schema: *134 + schema: *135 examples: - default: *135 + default: *136 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -52655,9 +52661,9 @@ paths: required: false content: application/json: - schema: *134 + schema: *135 examples: - selected_actions: *135 + selected_actions: *136 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -52688,7 +52694,7 @@ paths: application/json: schema: *337 examples: - default: *139 + default: *140 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52723,7 +52729,7 @@ paths: application/json: schema: *338 examples: - default: *139 + default: *140 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52769,11 +52775,11 @@ paths: type: integer runners: type: array - items: *146 + items: *147 examples: - default: *147 + default: *148 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52875,7 +52881,7 @@ paths: '201': *341 '404': *6 '422': *7 - '409': *49 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52910,7 +52916,7 @@ paths: description: Response content: application/json: - schema: *148 + schema: *149 examples: default: *342 x-github: @@ -52947,7 +52953,7 @@ paths: description: Response content: application/json: - schema: *148 + schema: *149 examples: default: *343 x-github: @@ -52973,13 +52979,13 @@ paths: parameters: - *311 - *312 - - *145 + - *146 responses: '200': description: Response content: application/json: - schema: *146 + schema: *147 examples: default: *344 x-github: @@ -53004,7 +53010,7 @@ paths: parameters: - *311 - *312 - - *145 + - *146 responses: '204': description: Response @@ -53032,9 +53038,9 @@ paths: parameters: - *311 - *312 - - *145 + - *146 responses: - '200': *150 + '200': *151 '404': *6 x-github: githubCloudOnly: false @@ -53058,7 +53064,7 @@ paths: parameters: - *311 - *312 - - *145 + - *146 requestBody: required: true content: @@ -53082,7 +53088,7 @@ paths: - gpu - accelerated responses: - '200': *150 + '200': *151 '404': *6 '422': *7 x-github: @@ -53108,7 +53114,7 @@ paths: parameters: - *311 - *312 - - *145 + - *146 requestBody: required: true content: @@ -53133,7 +53139,7 @@ paths: - gpu - accelerated responses: - '200': *150 + '200': *151 '404': *6 '422': *7 x-github: @@ -53159,7 +53165,7 @@ paths: parameters: - *311 - *312 - - *145 + - *146 responses: '200': *345 '404': *6 @@ -53190,10 +53196,10 @@ paths: parameters: - *311 - *312 - - *145 + - *146 - *346 responses: - '200': *150 + '200': *151 '404': *6 '422': *7 x-github: @@ -53437,7 +53443,7 @@ paths: type: - array - 'null' - items: *74 + items: *75 created_at: type: string format: date-time @@ -53572,8 +53578,8 @@ paths: - timestamp - author - committer - repository: *144 - head_repository: *144 + repository: *145 + head_repository: *145 head_repository_id: type: integer examples: @@ -53827,7 +53833,7 @@ paths: releases_url: https://api.github.com/repos/octo-org/octo-repo/releases{/id} deployments_url: https://api.github.com/repos/octo-org/octo-repo/deployments headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54270,7 +54276,7 @@ paths: description: Response content: application/json: - schema: *153 + schema: *154 examples: default: value: @@ -54322,7 +54328,7 @@ paths: examples: default: *351 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54497,7 +54503,7 @@ paths: workflow_name: CI head_branch: main headers: - Link: *56 + Link: *57 '404': *6 x-github: githubCloudOnly: false @@ -54560,11 +54566,11 @@ paths: description: Response content: application/json: - schema: *153 + schema: *154 examples: default: value: - '409': *49 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54664,11 +54670,11 @@ paths: description: Response content: application/json: - schema: *153 + schema: *154 examples: default: value: - '409': *49 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54727,7 +54733,7 @@ paths: examples: default: *355 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54786,7 +54792,7 @@ paths: '204': description: Response '403': *27 - '500': *104 + '500': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55209,7 +55215,7 @@ paths: description: Response content: application/json: - schema: *153 + schema: *154 examples: default: value: @@ -55256,7 +55262,7 @@ paths: description: Response content: application/json: - schema: *153 + schema: *154 examples: default: value: @@ -55450,7 +55456,7 @@ paths: examples: default: *357 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55506,7 +55512,7 @@ paths: parameters: - *311 - *312 - - *152 + - *153 responses: '200': description: Response @@ -55542,7 +55548,7 @@ paths: parameters: - *311 - *312 - - *152 + - *153 requestBody: required: true content: @@ -55573,7 +55579,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *153 + schema: *154 examples: default: value: @@ -55601,7 +55607,7 @@ paths: parameters: - *311 - *312 - - *152 + - *153 responses: '204': description: Response @@ -55649,7 +55655,7 @@ paths: examples: default: *361 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55698,7 +55704,7 @@ paths: description: Response content: application/json: - schema: *153 + schema: *154 examples: default: value: @@ -55725,7 +55731,7 @@ paths: parameters: - *311 - *312 - - *155 + - *156 responses: '200': description: Response @@ -55761,7 +55767,7 @@ paths: parameters: - *311 - *312 - - *155 + - *156 requestBody: required: true content: @@ -55805,7 +55811,7 @@ paths: parameters: - *311 - *312 - - *155 + - *156 responses: '204': description: Response @@ -55944,7 +55950,7 @@ paths: html_url: https://github.com/octo-org/octo-repo/blob/master/.github/workflows/269289 badge_url: https://github.com/octo-org/octo-repo/workflows/Linter/badge.svg headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56048,37 +56054,8 @@ paths: - *312 - *363 responses: - '200': + '204': description: Response - content: - application/json: - schema: - title: Workflow Dispatch Response - description: Response containing the workflow run ID and URLs. - type: object - properties: - workflow_run_id: - title: Workflow Run ID - description: The ID of the workflow run. - type: integer - format: int64 - run_url: - type: string - format: uri - description: The URL to the workflow run. - html_url: - type: string - format: uri - required: - - workflow_run_id - - run_url - - html_url - examples: - default: - value: - workflow_run_id: 1 - run_url: https://api.github.com/repos/octo-org/octo-repo/actions/runs/1 - html_url: https://github.com/octo-org/octo-repo/actions/runs/1 requestBody: required: true content: @@ -56187,7 +56164,7 @@ paths: examples: default: *371 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56282,7 +56259,7 @@ paths: parameters: - *311 - *312 - - *50 + - *51 - *17 - *43 - *44 @@ -56430,7 +56407,7 @@ paths: type: User site_admin: false headers: - Link: *56 + Link: *57 '422': *7 x-github: githubCloudOnly: false @@ -56462,9 +56439,9 @@ paths: type: array items: *4 examples: - default: *60 + default: *61 headers: - Link: *56 + Link: *57 '404': *6 x-github: githubCloudOnly: false @@ -57470,7 +57447,7 @@ paths: - linter protection_url: https://api.github.com/repos/octocat/hello-world/branches/master/protection headers: - Link: *56 + Link: *57 '404': *6 x-github: githubCloudOnly: false @@ -57632,14 +57609,14 @@ paths: author: oneOf: - *4 - - *153 + - *154 type: - 'null' - object committer: oneOf: - *4 - - *153 + - *154 type: - 'null' - object @@ -60072,7 +60049,7 @@ paths: type: array items: *4 examples: - default: *60 + default: *61 '404': *6 x-github: githubCloudOnly: false @@ -60131,7 +60108,7 @@ paths: type: array items: *4 examples: - default: *60 + default: *61 '422': *15 x-github: githubCloudOnly: false @@ -60191,7 +60168,7 @@ paths: type: array items: *4 examples: - default: *60 + default: *61 '422': *15 x-github: githubCloudOnly: false @@ -60251,7 +60228,7 @@ paths: type: array items: *4 examples: - default: *60 + default: *61 '422': *15 x-github: githubCloudOnly: false @@ -60833,7 +60810,7 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *74 + items: *75 deployment: &700 title: Deployment description: A deployment created as the result of an Actions @@ -61593,7 +61570,7 @@ paths: raw_details: Do you mean 'bananas' or 'banana'? blob_href: https://api.github.com/repos/github/rest-api-description/git/blobs/abc headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61621,7 +61598,7 @@ paths: description: Response content: application/json: - schema: *153 + schema: *154 examples: default: value: @@ -61764,12 +61741,12 @@ paths: type: - array - 'null' - items: *74 + items: *75 app: anyOf: - type: 'null' - *5 - repository: *144 + repository: *145 created_at: type: - string @@ -62182,7 +62159,7 @@ paths: required: - app_id - setting - repository: *144 + repository: *145 examples: default: value: @@ -62602,7 +62579,7 @@ paths: url: https://api.github.com/repos/github/hello-world name: hello-world headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62630,7 +62607,7 @@ paths: description: Response content: application/json: - schema: *153 + schema: *154 examples: default: value: @@ -62678,7 +62655,7 @@ paths: required: false schema: type: integer - - *50 + - *51 - *43 - *44 - name: sort @@ -62721,19 +62698,19 @@ paths: items: type: object properties: - number: *162 - created_at: *163 - updated_at: *164 - url: *165 - html_url: *166 + number: *163 + created_at: *164 + updated_at: *165 + url: *166 + html_url: *167 instances_url: *401 - state: *171 - fixed_at: *167 + state: *172 + fixed_at: *168 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *168 + dismissed_at: *169 dismissed_reason: *402 dismissed_comment: *403 rule: *404 @@ -62868,7 +62845,7 @@ paths: application/json: schema: *3 '404': *6 - '503': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62898,7 +62875,7 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *162 + schema: *163 responses: '200': description: Response @@ -62907,19 +62884,19 @@ paths: schema: &409 type: object properties: - number: *162 - created_at: *163 - updated_at: *164 - url: *165 - html_url: *166 + number: *163 + created_at: *164 + updated_at: *165 + url: *166 + html_url: *167 instances_url: *401 - state: *171 - fixed_at: *167 + state: *172 + fixed_at: *168 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *168 + dismissed_at: *169 dismissed_reason: *402 dismissed_comment: *403 rule: @@ -63082,7 +63059,7 @@ paths: '304': *35 '403': *407 '404': *6 - '503': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63229,7 +63206,7 @@ paths: application/json: schema: *3 '404': *6 - '503': *105 + '503': *106 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63303,7 +63280,7 @@ paths: status: '400' '403': *407 '404': *6 - '503': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63358,7 +63335,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63433,7 +63410,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63539,7 +63516,7 @@ paths: - source '403': *407 '404': *6 - '503': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63594,7 +63571,7 @@ paths: description: An identifier for the upload. examples: - 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 - - *50 + - *51 - name: sort description: The property by which to sort the results. in: query @@ -63717,7 +63694,7 @@ paths: warning: '' '403': *407 '404': *6 - '503': *105 + '503': *106 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63826,7 +63803,7 @@ paths: content: application/json: schema: *3 - '503': *105 + '503': *106 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63965,7 +63942,7 @@ paths: '400': *14 '403': *413 '404': *6 - '503': *105 + '503': *106 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -64108,7 +64085,7 @@ paths: commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c '403': *407 '404': *6 - '503': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64184,7 +64161,7 @@ paths: description: Found '403': *407 '404': *6 - '503': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64217,7 +64194,7 @@ paths: description: Response '403': *413 '404': *6 - '503': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64341,7 +64318,7 @@ paths: id: type: integer description: The ID of the variant analysis. - controller_repo: *55 + controller_repo: *56 actor: *4 query_language: *424 query_pack_url: @@ -64676,7 +64653,7 @@ paths: content: application/json: schema: *3 - '503': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64714,7 +64691,7 @@ paths: examples: default: *427 '404': *6 - '503': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64769,7 +64746,7 @@ paths: schema: type: object properties: - repository: *55 + repository: *56 analysis_status: *429 artifact_size_in_bytes: type: integer @@ -64874,7 +64851,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64991,7 +64968,7 @@ paths: schedule: weekly '403': *407 '404': *6 - '503': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65080,7 +65057,7 @@ paths: description: Response content: application/json: - schema: *153 + schema: *154 examples: default: value: @@ -65119,7 +65096,7 @@ paths: content: application/json: schema: *3 - '503': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65263,7 +65240,7 @@ paths: '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *105 + '503': *106 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -65334,7 +65311,7 @@ paths: '403': *407 '404': description: Not Found if the sarif id does not match any upload - '503': *105 + '503': *106 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -65860,7 +65837,7 @@ paths: start_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/start stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/stop recent_folders: [] - '500': *104 + '500': *105 '401': *23 '403': *27 '404': *6 @@ -65962,7 +65939,7 @@ paths: '401': *23 '403': *27 '404': *6 - '503': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -66027,7 +66004,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *104 + '500': *105 '400': *14 '401': *23 '403': *27 @@ -66108,7 +66085,7 @@ paths: memory_in_bytes: 34359738368 cpus: 8 '304': *35 - '500': *104 + '500': *105 '401': *23 '403': *27 '404': *6 @@ -66268,7 +66245,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66331,7 +66308,7 @@ paths: examples: default: *433 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66383,7 +66360,7 @@ paths: parameters: - *311 - *312 - - *152 + - *153 responses: '200': description: Response @@ -66413,7 +66390,7 @@ paths: parameters: - *311 - *312 - - *152 + - *153 requestBody: required: true content: @@ -66441,7 +66418,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *153 + schema: *154 examples: default: value: @@ -66467,7 +66444,7 @@ paths: parameters: - *311 - *312 - - *152 + - *153 responses: '204': description: Response @@ -66702,7 +66679,7 @@ paths: admin: false role_name: write headers: - Link: *56 + Link: *57 '404': *6 x-github: githubCloudOnly: false @@ -66729,7 +66706,7 @@ paths: parameters: - *311 - *312 - - *61 + - *62 responses: '204': description: Response if user is a collaborator @@ -66777,7 +66754,7 @@ paths: parameters: - *311 - *312 - - *61 + - *62 requestBody: required: false content: @@ -66815,7 +66792,7 @@ paths: format: int64 examples: - 42 - repository: *144 + repository: *145 invitee: anyOf: - type: 'null' @@ -66991,7 +66968,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *113 + schema: *114 '403': *27 x-github: triggersNotification: true @@ -67033,7 +67010,7 @@ paths: parameters: - *311 - *312 - - *61 + - *62 responses: '204': description: No Content when collaborator was removed from the repository. @@ -67066,7 +67043,7 @@ paths: parameters: - *311 - *312 - - *61 + - *62 responses: '200': description: if user has admin permissions @@ -67192,8 +67169,8 @@ paths: updated_at: type: string format: date-time - author_association: *71 - reactions: *72 + author_association: *72 + reactions: *73 required: - url - html_url @@ -67243,7 +67220,7 @@ paths: updated_at: '2011-04-14T16:00:49Z' author_association: COLLABORATOR headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67270,7 +67247,7 @@ paths: parameters: - *311 - *312 - - *85 + - *86 responses: '200': description: Response @@ -67337,7 +67314,7 @@ paths: parameters: - *311 - *312 - - *85 + - *86 requestBody: required: true content: @@ -67412,7 +67389,7 @@ paths: parameters: - *311 - *312 - - *85 + - *86 responses: '204': description: Response @@ -67435,7 +67412,7 @@ paths: parameters: - *311 - *312 - - *85 + - *86 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a commit comment. @@ -67531,7 +67508,7 @@ paths: content: heart created_at: '2016-05-20T20:09:31Z' headers: - Link: *56 + Link: *57 '404': *6 x-github: githubCloudOnly: false @@ -67552,7 +67529,7 @@ paths: parameters: - *311 - *312 - - *85 + - *86 requestBody: required: true content: @@ -67641,7 +67618,7 @@ paths: parameters: - *311 - *312 - - *85 + - *86 - &510 name: reaction_id description: The unique identifier of the reaction. @@ -67826,11 +67803,11 @@ paths: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: - Link: *56 - '500': *104 + Link: *57 + '500': *105 '400': *14 '404': *6 - '409': *49 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67899,7 +67876,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc protected: false '422': *15 - '409': *49 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67940,7 +67917,7 @@ paths: examples: default: *444 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68526,8 +68503,8 @@ paths: auto_merge: draft: false headers: - Link: *56 - '409': *49 + Link: *57 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68691,9 +68668,9 @@ paths: ..... '422': *15 '404': *6 - '500': *104 - '503': *105 - '409': *49 + '500': *105 + '503': *106 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68760,7 +68737,7 @@ paths: examples: default: *450 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68986,7 +68963,7 @@ paths: latest_check_runs_count: 1 check_runs_url: https://api.github.com/repos/octocat/Hello-World/check-suites/5/check-runs headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69084,7 +69061,7 @@ paths: type: string total_count: type: integer - repository: *144 + repository: *145 commit_url: type: string format: uri @@ -69307,7 +69284,7 @@ paths: type: User site_admin: false headers: - Link: *56 + Link: *57 '301': *315 x-github: githubCloudOnly: false @@ -69390,7 +69367,7 @@ paths: license: anyOf: - type: 'null' - - *73 + - *74 contributing: anyOf: - type: 'null' @@ -69855,8 +69832,8 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" '404': *6 - '500': *104 - '503': *105 + '500': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70954,8 +70931,8 @@ paths: verified_at: '422': *15 '404': *6 - '409': *49 - '503': *105 + '409': *50 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71077,7 +71054,7 @@ paths: site_admin: false contributions: 32 headers: - Link: *56 + Link: *57 '204': description: Response if repository is empty '403': *27 @@ -71116,7 +71093,7 @@ paths: - *457 - *186 - *187 - - *50 + - *51 - name: per_page description: The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -71138,7 +71115,7 @@ paths: type: object description: A Dependabot alert. properties: - number: *162 + number: *163 state: type: string description: The state of the Dependabot alert. @@ -71153,7 +71130,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *51 + package: *52 manifest_path: type: string description: The full path to the dependency manifest file, @@ -71185,12 +71162,12 @@ paths: - transitive - security_advisory: *458 - security_vulnerability: *54 - url: *165 - html_url: *166 - created_at: *163 - updated_at: *164 - dismissed_at: *168 + security_vulnerability: *55 + url: *166 + html_url: *167 + created_at: *164 + updated_at: *165 + dismissed_at: *169 dismissed_by: anyOf: - type: 'null' @@ -71214,7 +71191,7 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *167 + fixed_at: *168 auto_dismissed_at: *459 dismissal_request: *460 required: @@ -71457,7 +71434,7 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *162 + schema: *163 responses: '200': description: Response @@ -71729,7 +71706,7 @@ paths: '400': *14 '403': *27 '404': *6 - '409': *49 + '409': *50 '422': *7 x-github: githubCloudOnly: false @@ -71803,7 +71780,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71856,7 +71833,7 @@ paths: parameters: - *311 - *312 - - *152 + - *153 responses: '200': description: Response @@ -71890,7 +71867,7 @@ paths: parameters: - *311 - *312 - - *152 + - *153 requestBody: required: true content: @@ -71918,7 +71895,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *153 + schema: *154 examples: default: value: @@ -71944,7 +71921,7 @@ paths: parameters: - *311 - *312 - - *152 + - *153 responses: '204': description: Response @@ -72117,7 +72094,7 @@ paths: advisory_summary: Ruby OpenID advisory_url: https://github.com/advisories/GHSA-fqfj-cmh6-hj49 headers: - Link: *56 + Link: *57 '404': *6 '403': description: Response for a private repository when GitHub Advanced Security @@ -72379,7 +72356,7 @@ paths: spdxElementId: SPDXRef-DOCUMENT relatedSpdxElement: SPDXRef-Repository headers: - Link: *56 + Link: *57 '404': *6 '403': *27 x-github: @@ -72718,7 +72695,7 @@ paths: examples: default: *468 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73197,7 +73174,7 @@ paths: environment_url: https://test-branch.lab.acme.com log_url: https://example.com/deployment/42/output headers: - Link: *56 + Link: *57 '404': *6 x-github: githubCloudOnly: false @@ -74574,7 +74551,7 @@ paths: examples: default: *357 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74632,7 +74609,7 @@ paths: - *311 - *312 - *474 - - *152 + - *153 responses: '200': description: Response @@ -74665,7 +74642,7 @@ paths: - *311 - *312 - *474 - - *152 + - *153 requestBody: required: true content: @@ -74696,7 +74673,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *153 + schema: *154 examples: default: value: @@ -74725,7 +74702,7 @@ paths: - *311 - *312 - *474 - - *152 + - *153 responses: '204': description: Default response @@ -74774,7 +74751,7 @@ paths: examples: default: *361 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74824,7 +74801,7 @@ paths: description: Response content: application/json: - schema: *153 + schema: *154 examples: default: value: @@ -74852,7 +74829,7 @@ paths: - *311 - *312 - *474 - - *155 + - *156 responses: '200': description: Response @@ -74883,7 +74860,7 @@ paths: parameters: - *311 - *312 - - *155 + - *156 - *474 requestBody: required: true @@ -74928,7 +74905,7 @@ paths: parameters: - *311 - *312 - - *155 + - *156 - *474 responses: '204': @@ -74962,7 +74939,7 @@ paths: application/json: schema: type: array - items: *95 + items: *96 examples: 200-response: value: @@ -75043,7 +75020,7 @@ paths: application/json: schema: type: array - items: *144 + items: *145 examples: default: value: @@ -75156,7 +75133,7 @@ paths: url: https://api.github.com/licenses/mit node_id: MDc6TGljZW5zZW1pdA== headers: - Link: *56 + Link: *57 '400': *14 x-github: githubCloudOnly: false @@ -75289,7 +75266,7 @@ paths: schema: type: string '404': *6 - '409': *49 + '409': *50 '403': *27 '422': description: Validation failed @@ -75297,7 +75274,7 @@ paths: application/json: schema: oneOf: - - *113 + - *114 - *487 x-github: githubCloudOnly: false @@ -75376,7 +75353,7 @@ paths: '404': *6 '422': *15 '403': *27 - '409': *49 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75711,7 +75688,7 @@ paths: type: string '422': *15 '404': *6 - '409': *49 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75800,7 +75777,7 @@ paths: payload: verified_at: '404': *6 - '409': *49 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75898,8 +75875,8 @@ paths: sha: 612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: - Link: *56 - '409': *49 + Link: *57 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75940,7 +75917,7 @@ paths: sha: aa218f56b14c9653891f9e74264a383fa43fefbd url: https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd '404': *6 - '409': *49 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75998,7 +75975,7 @@ paths: schema: type: string '422': *15 - '409': *49 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76052,7 +76029,7 @@ paths: examples: default: *491 '422': *15 - '409': *49 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76077,7 +76054,7 @@ paths: '422': description: Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed. - '409': *49 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76286,7 +76263,7 @@ paths: schema: type: string '422': *15 - '409': *49 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76348,7 +76325,7 @@ paths: examples: default: *494 '404': *6 - '409': *49 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76524,7 +76501,7 @@ paths: '422': *15 '404': *6 '403': *27 - '409': *49 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76612,7 +76589,7 @@ paths: truncated: false '422': *15 '404': *6 - '409': *49 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76762,7 +76739,7 @@ paths: status: unused message: headers: - Link: *56 + Link: *57 '404': *6 x-github: githubCloudOnly: false @@ -77279,7 +77256,7 @@ paths: - *312 responses: '204': *176 - '409': *49 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77300,7 +77277,7 @@ paths: - *312 responses: '204': *176 - '409': *49 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78320,7 +78297,7 @@ paths: html_url: https://github.com/octocat/Hello-World/invitations node_id: MDQ6VXNlcjE= headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78593,8 +78570,8 @@ paths: - updated - comments default: created - - *50 - - *76 + - *51 + - *77 - *17 - *19 responses: @@ -78604,7 +78581,7 @@ paths: application/json: schema: type: array - items: *70 + items: *71 examples: default: &515 value: @@ -78753,7 +78730,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *56 + Link: *57 '301': *315 '422': *15 '404': *6 @@ -78874,7 +78851,7 @@ paths: description: Response content: application/json: - schema: *70 + schema: *71 examples: default: &512 value: @@ -79030,7 +79007,7 @@ paths: '400': *14 '403': *27 '422': *15 - '503': *105 + '503': *106 '404': *6 '410': *506 x-github: @@ -79062,7 +79039,7 @@ paths: parameters: - *311 - *312 - - *93 + - *94 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -79072,7 +79049,7 @@ paths: enum: - asc - desc - - *76 + - *77 - *17 - *19 responses: @@ -79115,7 +79092,7 @@ paths: issue_url: https://api.github.com/repos/octocat/Hello-World/issues/1347 author_association: COLLABORATOR headers: - Link: *56 + Link: *57 '422': *15 '404': *6 x-github: @@ -79144,7 +79121,7 @@ paths: parameters: - *311 - *312 - - *85 + - *86 responses: '200': description: Response @@ -79208,7 +79185,7 @@ paths: parameters: - *311 - *312 - - *85 + - *86 requestBody: required: true content: @@ -79252,7 +79229,7 @@ paths: parameters: - *311 - *312 - - *85 + - *86 responses: '204': description: Response @@ -79274,7 +79251,7 @@ paths: parameters: - *311 - *312 - - *85 + - *86 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue comment. @@ -79304,7 +79281,7 @@ paths: examples: default: *509 headers: - Link: *56 + Link: *57 '404': *6 x-github: githubCloudOnly: false @@ -79325,7 +79302,7 @@ paths: parameters: - *311 - *312 - - *85 + - *86 requestBody: required: true content: @@ -79390,7 +79367,7 @@ paths: parameters: - *311 - *312 - - *85 + - *86 - *510 responses: '204': @@ -79469,7 +79446,7 @@ paths: issue: anyOf: - type: 'null' - - *70 + - *71 label: title: Issue Event Label description: Issue Event Label @@ -79569,7 +79546,7 @@ paths: required: - from - to - author_association: *71 + author_association: *72 lock_reason: type: - string @@ -79743,7 +79720,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *56 + Link: *57 '422': *15 x-github: githubCloudOnly: false @@ -80013,7 +79990,7 @@ paths: description: Response content: application/json: - schema: *70 + schema: *71 examples: default: *512 '301': *315 @@ -80164,11 +80141,11 @@ paths: description: Response content: application/json: - schema: *70 + schema: *71 examples: default: *512 '422': *15 - '503': *105 + '503': *106 '403': *27 '301': *315 '404': *6 @@ -80218,7 +80195,7 @@ paths: description: Response content: application/json: - schema: *70 + schema: *71 examples: default: *512 x-github: @@ -80263,7 +80240,7 @@ paths: description: Response content: application/json: - schema: *70 + schema: *71 examples: default: *512 x-github: @@ -80332,7 +80309,7 @@ paths: - *311 - *312 - *513 - - *76 + - *77 - *17 - *19 responses: @@ -80346,7 +80323,7 @@ paths: examples: default: *514 headers: - Link: *56 + Link: *57 '404': *6 '410': *506 x-github: @@ -80450,11 +80427,11 @@ paths: application/json: schema: type: array - items: *70 + items: *71 examples: default: *515 headers: - Link: *56 + Link: *57 '301': *315 '404': *6 '410': *506 @@ -80509,7 +80486,7 @@ paths: description: Response content: application/json: - schema: *70 + schema: *71 examples: default: *512 headers: @@ -80564,7 +80541,7 @@ paths: description: Response content: application/json: - schema: *70 + schema: *71 examples: default: *512 '301': *315 @@ -80610,11 +80587,11 @@ paths: application/json: schema: type: array - items: *70 + items: *71 examples: default: *515 headers: - Link: *56 + Link: *57 '301': *315 '404': *6 '410': *506 @@ -81428,7 +81405,7 @@ paths: name: label color: red headers: - Link: *56 + Link: *57 '410': *506 x-github: githubCloudOnly: false @@ -81458,7 +81435,7 @@ paths: application/json: schema: type: array - items: *69 + items: *70 examples: default: &516 value: @@ -81477,7 +81454,7 @@ paths: color: a2eeef default: false headers: - Link: *56 + Link: *57 '301': *315 '404': *6 '410': *506 @@ -81558,7 +81535,7 @@ paths: application/json: schema: type: array - items: *69 + items: *70 examples: default: *516 '301': *315 @@ -81642,7 +81619,7 @@ paths: application/json: schema: type: array - items: *69 + items: *70 examples: default: *516 '301': *315 @@ -81706,7 +81683,7 @@ paths: application/json: schema: type: array - items: *69 + items: *70 examples: default: value: @@ -81828,7 +81805,7 @@ paths: description: Response content: application/json: - schema: *70 + schema: *71 examples: default: *512 '301': *315 @@ -81882,7 +81859,7 @@ paths: examples: default: *509 headers: - Link: *56 + Link: *57 '404': *6 '410': *506 x-github: @@ -82023,7 +82000,7 @@ paths: description: Response content: application/json: - schema: *70 + schema: *71 examples: default: *512 headers: @@ -82070,11 +82047,11 @@ paths: application/json: schema: type: array - items: *70 + items: *71 examples: default: *515 headers: - Link: *56 + Link: *57 '404': *6 '410': *506 x-github: @@ -82133,7 +82110,7 @@ paths: description: Response content: application/json: - schema: *70 + schema: *71 examples: default: *512 headers: @@ -82195,13 +82172,13 @@ paths: description: Response content: application/json: - schema: *70 + schema: *71 examples: default: *512 '403': *27 '404': *6 '422': *7 - '503': *105 + '503': *106 x-github: triggersNotification: true githubCloudOnly: false @@ -82296,12 +82273,12 @@ paths: issue_url: type: string format: uri - author_association: *71 + author_association: *72 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *72 + reactions: *73 required: - event - actor @@ -82332,7 +82309,7 @@ paths: properties: type: type: string - issue: *70 + issue: *71 required: - event - created_at @@ -82554,7 +82531,7 @@ paths: type: string body_text: type: string - author_association: *71 + author_association: *72 required: - event - id @@ -82652,7 +82629,10 @@ paths: type: integer examples: - 8 - user: *4 + user: + anyOf: + - type: 'null' + - *4 body: description: The text of the comment. type: string @@ -82682,7 +82662,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *71 + author_association: *72 _links: type: object properties: @@ -82777,7 +82757,7 @@ paths: enum: - line - file - reactions: *72 + reactions: *73 body_html: type: string examples: @@ -83088,7 +83068,7 @@ paths: type: User site_admin: true headers: - Link: *56 + Link: *57 '404': *6 '410': *506 x-github: @@ -83170,7 +83150,7 @@ paths: last_used: '2022-01-10T15:53:42Z' enabled: true headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83326,11 +83306,11 @@ paths: application/json: schema: type: array - items: *69 + items: *70 examples: default: *516 headers: - Link: *56 + Link: *57 '404': *6 x-github: githubCloudOnly: false @@ -83386,7 +83366,7 @@ paths: description: Response content: application/json: - schema: *69 + schema: *70 examples: default: &533 value: @@ -83432,7 +83412,7 @@ paths: description: Response content: application/json: - schema: *69 + schema: *70 examples: default: *533 '404': *6 @@ -83491,7 +83471,7 @@ paths: description: Response content: application/json: - schema: *69 + schema: *70 examples: default: value: @@ -83652,7 +83632,7 @@ paths: license: anyOf: - type: 'null' - - *73 + - *74 required: - _links - git_url @@ -83942,7 +83922,7 @@ paths: closed_at: '2013-02-12T13:22:01Z' due_on: '2012-10-09T23:39:01Z' headers: - Link: *56 + Link: *57 '404': *6 x-github: githubCloudOnly: false @@ -84187,11 +84167,11 @@ paths: application/json: schema: type: array - items: *69 + items: *70 examples: default: *516 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84212,7 +84192,7 @@ paths: - *312 - *537 - *538 - - *76 + - *77 - *539 - *17 - *19 @@ -84223,11 +84203,11 @@ paths: application/json: schema: type: array - items: *96 + items: *97 examples: default: *540 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -84560,7 +84540,7 @@ paths: examples: default: *542 '422': *15 - '409': *49 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84661,7 +84641,7 @@ paths: description: Response '422': *15 '400': *14 - '409': *49 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84689,7 +84669,7 @@ paths: description: Response '422': *15 '404': *6 - '409': *49 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84793,7 +84773,7 @@ paths: created_at: '2014-02-10T19:00:49Z' updated_at: '2014-02-10T19:00:51Z' headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85418,7 +85398,7 @@ paths: description: Empty response content: application/json: - schema: *153 + schema: *154 examples: default: value: @@ -85537,7 +85517,7 @@ paths: application/json: schema: type: array - items: *103 + items: *104 examples: default: *546 '403': *27 @@ -85574,7 +85554,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *103 + items: *104 required: - properties examples: @@ -85681,7 +85661,7 @@ paths: examples: default: *548 headers: - Link: *56 + Link: *57 '304': *35 '422': *15 x-github: @@ -85971,7 +85951,7 @@ paths: type: string ref: type: string - repo: *68 + repo: *69 sha: type: string user: *4 @@ -85988,7 +85968,7 @@ paths: type: string ref: type: string - repo: *68 + repo: *69 sha: type: string user: *4 @@ -86018,7 +85998,7 @@ paths: - review_comments - review_comment - self - author_association: *71 + author_association: *72 auto_merge: *549 draft: description: Indicates whether or not the pull request is a draft. @@ -86668,7 +86648,7 @@ paths: enum: - asc - desc - - *76 + - *77 - *17 - *19 responses: @@ -86732,7 +86712,7 @@ paths: original_line: 2 side: RIGHT headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86759,7 +86739,7 @@ paths: parameters: - *311 - *312 - - *85 + - *86 responses: '200': description: Response @@ -86844,7 +86824,7 @@ paths: parameters: - *311 - *312 - - *85 + - *86 requestBody: required: true content: @@ -86886,7 +86866,7 @@ paths: parameters: - *311 - *312 - - *85 + - *86 responses: '204': description: Response @@ -86909,7 +86889,7 @@ paths: parameters: - *311 - *312 - - *85 + - *86 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a pull request review comment. @@ -86939,7 +86919,7 @@ paths: examples: default: *509 headers: - Link: *56 + Link: *57 '404': *6 x-github: githubCloudOnly: false @@ -86960,7 +86940,7 @@ paths: parameters: - *311 - *312 - - *85 + - *86 requestBody: required: true content: @@ -87025,7 +87005,7 @@ paths: parameters: - *311 - *312 - - *85 + - *86 - *510 responses: '204': @@ -87094,8 +87074,8 @@ paths: content: application/json: schema: *3 - '500': *104 - '503': *105 + '500': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87266,7 +87246,7 @@ paths: '401': *23 '403': *27 '404': *6 - '503': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -87295,7 +87275,7 @@ paths: - *311 - *312 - *554 - - *93 + - *94 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -87305,7 +87285,7 @@ paths: enum: - asc - desc - - *76 + - *77 - *17 - *19 responses: @@ -87319,7 +87299,7 @@ paths: examples: default: *555 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87549,7 +87529,7 @@ paths: - *311 - *312 - *554 - - *85 + - *86 requestBody: required: true content: @@ -87673,7 +87653,7 @@ paths: examples: default: *556 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87729,10 +87709,10 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" headers: - Link: *56 + Link: *57 '422': *15 - '500': *104 - '503': *105 + '500': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87949,7 +87929,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89169,7 +89149,7 @@ paths: type: string body_text: type: string - author_association: *71 + author_association: *72 required: - id - node_id @@ -89218,7 +89198,7 @@ paths: commit_id: ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091 author_association: COLLABORATOR headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89707,7 +89687,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *71 + author_association: *72 _links: type: object properties: @@ -89722,7 +89702,7 @@ paths: type: string body_html: type: string - reactions: *72 + reactions: *73 side: description: The side of the first line of the range for a multi-line comment. @@ -89842,7 +89822,7 @@ paths: pull_request: href: https://api.github.com/repos/octocat/Hello-World/pulls/1 headers: - Link: *56 + Link: *57 '404': *6 x-github: githubCloudOnly: false @@ -90282,7 +90262,7 @@ paths: type: User site_admin: false headers: - Link: *56 + Link: *57 '404': *6 x-github: githubCloudOnly: false @@ -90975,7 +90955,7 @@ paths: type: User site_admin: false headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91132,7 +91112,7 @@ paths: examples: default: *509 headers: - Link: *56 + Link: *57 '404': *6 x-github: githubCloudOnly: false @@ -91431,7 +91411,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *104 + '500': *105 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -91543,7 +91523,7 @@ paths: created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' '404': *6 - '500': *104 + '500': *105 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -91574,7 +91554,7 @@ paths: examples: default: *578 '404': *6 - '500': *104 + '500': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91605,7 +91585,7 @@ paths: examples: default: *581 '404': *6 - '500': *104 + '500': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91656,7 +91636,7 @@ paths: examples: default: *582 '404': *6 - '500': *104 + '500': *105 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -91739,7 +91719,7 @@ paths: examples: default: *582 '404': *6 - '500': *104 + '500': *105 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -91767,7 +91747,7 @@ paths: '204': description: Response '404': *6 - '500': *104 + '500': *105 "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": get: summary: Get repository ruleset history @@ -91800,7 +91780,7 @@ paths: examples: default: *583 '404': *6 - '500': *104 + '500': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91869,7 +91849,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *104 + '500': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91898,7 +91878,7 @@ paths: - *587 - *588 - *589 - - *50 + - *51 - *19 - *17 - *590 @@ -91917,14 +91897,14 @@ paths: items: &599 type: object properties: - number: *162 - created_at: *163 + number: *163 + created_at: *164 updated_at: anyOf: - type: 'null' - - *164 - url: *165 - html_url: *166 + - *165 + url: *166 + html_url: *167 locations_url: type: string format: uri @@ -92148,7 +92128,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92210,7 +92190,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92353,7 +92333,7 @@ paths: '422': description: State does not match the resolution or resolution comment, or assignee does not have write access to the repository - '503': *105 + '503': *106 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -92487,11 +92467,11 @@ paths: details: pull_request_review_comment_url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 headers: - Link: *56 + Link: *57 '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92570,7 +92550,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *105 + '503': *106 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -92599,7 +92579,7 @@ paths: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *105 + '503': *106 '200': description: Response content: @@ -92717,7 +92697,7 @@ paths: parameters: - *311 - *312 - - *50 + - *51 - name: sort description: The property to sort the results by. in: query @@ -93669,7 +93649,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *113 + schema: *114 examples: invalid_state_transition: value: @@ -93840,7 +93820,7 @@ paths: type: User site_admin: false headers: - Link: *56 + Link: *57 '422': *15 x-github: githubCloudOnly: false @@ -94402,9 +94382,9 @@ paths: type: array items: *4 examples: - default: *60 + default: *61 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94637,7 +94617,7 @@ paths: tarball_url: https://github.com/octocat/Hello-World/tarball/v0.1 node_id: MDQ6VXNlcjE= headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94871,7 +94851,7 @@ paths: examples: default: *232 headers: - Link: *56 + Link: *57 '404': *6 x-github: githubCloudOnly: false @@ -95408,7 +95388,7 @@ paths: description: Response content: application/json: - schema: *144 + schema: *145 examples: default: value: @@ -95856,7 +95836,7 @@ paths: application/json: schema: type: array - items: *144 + items: *145 examples: default: value: @@ -96045,7 +96025,7 @@ paths: html_url: type: string format: uri - repository: *144 + repository: *145 score: type: number file_size: @@ -96179,7 +96159,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *35 - '503': *105 + '503': *106 '422': *15 '403': *27 x-github: @@ -96342,7 +96322,7 @@ paths: type: string sha: type: string - repository: *144 + repository: *145 score: type: number node_id: @@ -96706,10 +96686,10 @@ paths: type: string score: type: number - author_association: *71 + author_association: *72 draft: type: boolean - repository: *68 + repository: *69 body_html: type: string body_text: @@ -96722,7 +96702,7 @@ paths: anyOf: - type: 'null' - *5 - reactions: *72 + reactions: *73 required: - assignee - closed_at @@ -96838,7 +96818,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *105 + '503': *106 '422': *15 '304': *35 '403': *27 @@ -97240,7 +97220,7 @@ paths: license: anyOf: - type: 'null' - - *73 + - *74 permissions: type: object properties: @@ -97461,7 +97441,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *105 + '503': *106 '422': *15 '304': *35 x-github: @@ -97931,7 +97911,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *35 - '503': *105 + '503': *106 '422': *15 x-github: githubCloudOnly: false @@ -98125,7 +98105,7 @@ paths: url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - *633 - - *50 + - *51 - *17 - *19 responses: @@ -98139,7 +98119,7 @@ paths: examples: default: *634 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98356,7 +98336,7 @@ paths: examples: default: *214 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98403,9 +98383,9 @@ paths: type: array items: *4 examples: - default: *60 + default: *61 headers: - Link: *56 + Link: *57 '404': *6 x-github: githubCloudOnly: false @@ -98432,7 +98412,7 @@ paths: url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - *633 - - *61 + - *62 responses: '204': description: if user is a member @@ -98469,7 +98449,7 @@ paths: url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - *633 - - *61 + - *62 responses: '204': description: Response @@ -98509,7 +98489,7 @@ paths: url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - *633 - - *61 + - *62 responses: '204': description: Response @@ -98546,7 +98526,7 @@ paths: url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - *633 - - *61 + - *62 responses: '200': description: Response @@ -98588,7 +98568,7 @@ paths: url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - *633 - - *61 + - *62 requestBody: required: false content: @@ -98650,7 +98630,7 @@ paths: url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - *633 - - *61 + - *62 responses: '204': description: Response @@ -98687,11 +98667,11 @@ paths: application/json: schema: type: array - items: *144 + items: *145 examples: default: *239 headers: - Link: *56 + Link: *57 '404': *6 x-github: githubCloudOnly: false @@ -98971,7 +98951,7 @@ paths: examples: response-if-child-teams-exist: *639 headers: - Link: *56 + Link: *57 '404': *6 '403': *27 '422': *15 @@ -99491,7 +99471,7 @@ paths: type: array items: *4 examples: - default: *60 + default: *61 '304': *35 '404': *6 '403': *27 @@ -99514,7 +99494,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user parameters: - - *61 + - *62 responses: '204': description: If the user is blocked @@ -99542,7 +99522,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#block-a-user parameters: - - *61 + - *62 responses: '204': description: Response @@ -99566,7 +99546,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#unblock-a-user parameters: - - *61 + - *62 responses: '204': description: Response @@ -99619,7 +99599,7 @@ paths: examples: default: *222 '304': *35 - '500': *104 + '500': *105 '401': *23 '403': *27 '404': *6 @@ -99770,7 +99750,7 @@ paths: '401': *23 '403': *27 '404': *6 - '503': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99854,7 +99834,7 @@ paths: examples: default: *433 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99924,7 +99904,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *152 + - *153 responses: '200': description: Response @@ -99960,7 +99940,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *152 + - *153 requestBody: required: true content: @@ -100005,7 +99985,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *153 + schema: *154 examples: default: value: @@ -100033,7 +100013,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *152 + - *153 responses: '204': description: Response @@ -100058,7 +100038,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *152 + - *153 responses: '200': description: Response @@ -100074,13 +100054,13 @@ paths: type: integer repositories: type: array - items: *144 + items: *145 examples: default: *643 '401': *23 '403': *27 '404': *6 - '500': *104 + '500': *105 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100101,7 +100081,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *152 + - *153 requestBody: required: true content: @@ -100133,7 +100113,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *104 + '500': *105 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100155,7 +100135,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *152 + - *153 - name: repository_id in: path required: true @@ -100167,7 +100147,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *104 + '500': *105 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100188,7 +100168,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *152 + - *153 - name: repository_id in: path required: true @@ -100200,7 +100180,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *104 + '500': *105 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100230,7 +100210,7 @@ paths: examples: default: *431 '304': *35 - '500': *104 + '500': *105 '401': *23 '403': *27 '404': *6 @@ -100312,7 +100292,7 @@ paths: responses: '202': *37 '304': *35 - '500': *104 + '500': *105 '401': *23 '403': *27 '404': *6 @@ -100404,7 +100384,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *104 + '500': *105 '401': *23 '403': *27 '404': *6 @@ -100484,7 +100464,7 @@ paths: examples: default: *646 '304': *35 - '500': *104 + '500': *105 '401': *23 '403': *27 '404': *6 @@ -101378,7 +101358,7 @@ paths: examples: default: *431 '304': *35 - '500': *104 + '500': *105 '400': *14 '401': *23 '402': @@ -101388,7 +101368,7 @@ paths: schema: *3 '403': *27 '404': *6 - '409': *49 + '409': *50 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101417,7 +101397,7 @@ paths: schema: *221 examples: default: *431 - '500': *104 + '500': *105 '401': *23 '403': *27 '404': *6 @@ -101628,7 +101608,7 @@ paths: primary: true visibility: public headers: - Link: *56 + Link: *57 '304': *35 '404': *6 '403': *27 @@ -101810,9 +101790,9 @@ paths: type: array items: *4 examples: - default: *60 + default: *61 headers: - Link: *56 + Link: *57 '304': *35 '403': *27 '401': *23 @@ -101843,9 +101823,9 @@ paths: type: array items: *4 examples: - default: *60 + default: *61 headers: - Link: *56 + Link: *57 '304': *35 '403': *27 '401': *23 @@ -101865,7 +101845,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user parameters: - - *61 + - *62 responses: '204': description: if the person is followed by the authenticated user @@ -101895,7 +101875,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#follow-a-user parameters: - - *61 + - *62 responses: '204': description: Response @@ -101920,7 +101900,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#unfollow-a-user parameters: - - *61 + - *62 responses: '204': description: Response @@ -102133,7 +102113,7 @@ paths: revoked: false raw_key: string headers: - Link: *56 + Link: *57 '304': *35 '404': *6 '403': *27 @@ -102425,7 +102405,7 @@ paths: suspended_at: suspended_by: headers: - Link: *56 + Link: *57 '304': *35 '403': *27 '401': *23 @@ -102471,11 +102451,11 @@ paths: type: string repositories: type: array - items: *68 + items: *69 examples: - default: *136 + default: *137 headers: - Link: *56 + Link: *57 '404': *6 '403': *27 '304': *35 @@ -102498,7 +102478,7 @@ paths: url: https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *133 + - *134 responses: '204': description: Response @@ -102524,7 +102504,7 @@ paths: url: https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *133 + - *134 responses: '204': description: Response @@ -102691,8 +102671,8 @@ paths: - updated - comments default: created - - *50 - - *76 + - *51 + - *77 - *17 - *19 responses: @@ -102702,11 +102682,11 @@ paths: application/json: schema: type: array - items: *70 + items: *71 examples: default: *220 headers: - Link: *56 + Link: *57 '404': *6 '304': *35 x-github: @@ -102789,7 +102769,7 @@ paths: verified: false read_only: false headers: - Link: *56 + Link: *57 '304': *35 '404': *6 '403': *27 @@ -103007,7 +102987,7 @@ paths: - id - type - login - plan: *87 + plan: *88 required: - billing_cycle - next_billing_date @@ -103051,7 +103031,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *56 + Link: *57 '304': *35 '401': *23 '404': *6 @@ -103084,7 +103064,7 @@ paths: examples: default: *654 headers: - Link: *56 + Link: *57 '304': *35 '401': *23 x-github: @@ -103205,7 +103185,7 @@ paths: type: User site_admin: false headers: - Link: *56 + Link: *57 '304': *35 '403': *27 '401': *23 @@ -103230,7 +103210,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *65 + - *66 responses: '200': description: Response @@ -103298,7 +103278,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *65 + - *66 requestBody: required: true content: @@ -103548,7 +103528,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *56 + Link: *57 '304': *35 '403': *27 '401': *23 @@ -104134,11 +104114,11 @@ paths: application/json: schema: type: array - items: *144 + items: *145 examples: default: *239 headers: - Link: *56 + Link: *57 '404': *6 x-github: githubCloudOnly: false @@ -104171,11 +104151,11 @@ paths: application/json: schema: type: array - items: *63 + items: *64 examples: - default: *100 + default: *101 headers: - Link: *56 + Link: *57 '304': *35 '403': *27 '401': *23 @@ -104623,7 +104603,7 @@ paths: examples: default: *659 headers: - Link: *56 + Link: *57 '304': *35 '404': *6 '403': *27 @@ -104732,7 +104712,7 @@ paths: application/json: schema: type: array - items: *68 + items: *69 examples: default: &666 summary: Default response @@ -104855,7 +104835,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *56 + Link: *57 '422': *15 '304': *35 '403': *27 @@ -105096,7 +105076,7 @@ paths: examples: default: *660 headers: - Link: *56 + Link: *57 '304': *35 '404': *6 '403': *27 @@ -105122,7 +105102,7 @@ paths: '204': description: Response '403': *27 - '409': *49 + '409': *50 '404': *6 '304': *35 x-github: @@ -105144,7 +105124,7 @@ paths: responses: '204': description: Response - '409': *49 + '409': *50 '304': *35 '404': *6 '403': *27 @@ -105195,7 +105175,7 @@ paths: - provider: twitter url: https://twitter.com/github headers: - Link: *56 + Link: *57 '304': *35 '404': *6 '403': *27 @@ -105374,7 +105354,7 @@ paths: title: ssh-rsa AAAAB3NzaC1yc2EAAB created_at: '2020-07-11T21:31:57Z' headers: - Link: *56 + Link: *57 '304': *35 '404': *6 '403': *27 @@ -105539,7 +105519,7 @@ paths: - created - updated default: created - - *50 + - *51 - *17 - *19 responses: @@ -105549,7 +105529,7 @@ paths: application/json: schema: type: array - items: *68 + items: *69 examples: default-response: *666 application/vnd.github.v3.star+json: @@ -105563,7 +105543,7 @@ paths: starred_at: type: string format: date-time - repo: *68 + repo: *69 required: - starred_at - repo @@ -105691,7 +105671,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *56 + Link: *57 '304': *35 '403': *27 '401': *23 @@ -105799,11 +105779,11 @@ paths: application/json: schema: type: array - items: *144 + items: *145 examples: default: *239 headers: - Link: *56 + Link: *57 '304': *35 '403': *27 '401': *23 @@ -105889,7 +105869,7 @@ paths: updated_at: '2017-08-17T12:37:15Z' type: Organization headers: - Link: *56 + Link: *57 '304': *35 '404': *6 '403': *27 @@ -105916,7 +105896,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user-using-their-id parameters: - - *89 + - *90 responses: '200': description: Response @@ -106095,7 +106075,7 @@ paths: type: array items: *4 examples: - default: *60 + default: *61 headers: Link: example: ; rel="next" @@ -106125,7 +106105,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user parameters: - - *61 + - *62 responses: '200': description: Response @@ -106163,7 +106143,7 @@ paths: - *17 - *43 - *44 - - *61 + - *62 requestBody: required: true content: @@ -106260,7 +106240,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-in-bulk parameters: - - *61 + - *62 requestBody: required: true content: @@ -106325,7 +106305,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *61 + - *62 - name: subject_digest description: Subject Digest in: path @@ -106356,7 +106336,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-id parameters: - - *61 + - *62 - name: attestation_id description: Attestation ID in: path @@ -106394,7 +106374,7 @@ paths: - *17 - *43 - *44 - - *61 + - *62 - name: subject_digest description: Subject Digest in: path @@ -106452,7 +106432,7 @@ paths: description: Response content: application/json: - schema: *153 + schema: *154 examples: default: value: @@ -106478,7 +106458,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user parameters: - - *61 + - *62 responses: '200': description: Response @@ -106511,7 +106491,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-for-the-authenticated-user parameters: - - *61 + - *62 - *17 - *19 responses: @@ -106521,7 +106501,7 @@ paths: application/json: schema: type: array - items: *95 + items: *96 examples: default: value: @@ -106583,8 +106563,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *61 - - *65 + - *62 + - *66 - *17 - *19 responses: @@ -106594,7 +106574,7 @@ paths: application/json: schema: type: array - items: *95 + items: *96 examples: default: value: @@ -106671,7 +106651,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-user parameters: - - *61 + - *62 - *17 - *19 responses: @@ -106681,7 +106661,7 @@ paths: application/json: schema: type: array - items: *95 + items: *96 examples: default: value: @@ -106739,7 +106719,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-followers-of-a-user parameters: - - *61 + - *62 - *17 - *19 responses: @@ -106751,9 +106731,9 @@ paths: type: array items: *4 examples: - default: *60 + default: *61 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106770,7 +106750,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-the-people-a-user-follows parameters: - - *61 + - *62 - *17 - *19 responses: @@ -106782,9 +106762,9 @@ paths: type: array items: *4 examples: - default: *60 + default: *61 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106801,7 +106781,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-user-follows-another-user parameters: - - *61 + - *62 - name: target_user in: path required: true @@ -106828,8 +106808,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-a-user parameters: - - *61 - - *76 + - *62 + - *77 - *17 - *19 responses: @@ -106839,11 +106819,11 @@ paths: application/json: schema: type: array - items: *77 + items: *78 examples: - default: *78 + default: *79 headers: - Link: *56 + Link: *57 '422': *15 x-github: githubCloudOnly: false @@ -106862,7 +106842,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *61 + - *62 - *17 - *19 responses: @@ -106876,7 +106856,7 @@ paths: examples: default: *673 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106898,7 +106878,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-contextual-information-for-a-user parameters: - - *61 + - *62 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -106970,7 +106950,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *61 + - *62 responses: '200': description: Response @@ -106996,7 +106976,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#list-public-keys-for-a-user parameters: - - *61 + - *62 - *17 - *19 responses: @@ -107032,7 +107012,7 @@ paths: - id: 1 key: ssh-rsa AAA... headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107052,7 +107032,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-organizations-for-a-user parameters: - - *61 + - *62 - *17 - *19 responses: @@ -107062,11 +107042,11 @@ paths: application/json: schema: type: array - items: *63 + items: *64 examples: - default: *100 + default: *101 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107104,7 +107084,7 @@ paths: - nuget - container - *656 - - *61 + - *62 - *19 - *17 responses: @@ -107141,7 +107121,7 @@ paths: parameters: - *235 - *236 - - *61 + - *62 responses: '200': description: Response @@ -107172,7 +107152,7 @@ paths: parameters: - *235 - *236 - - *61 + - *62 responses: '204': description: Response @@ -107206,7 +107186,7 @@ paths: parameters: - *235 - *236 - - *61 + - *62 - name: token description: package token schema: @@ -107240,7 +107220,7 @@ paths: parameters: - *235 - *236 - - *61 + - *62 responses: '200': description: Response @@ -107309,7 +107289,7 @@ paths: - *235 - *236 - *238 - - *61 + - *62 responses: '200': description: Response @@ -107352,7 +107332,7 @@ paths: parameters: - *235 - *236 - - *61 + - *62 - *238 responses: '204': @@ -107387,7 +107367,7 @@ paths: parameters: - *235 - *236 - - *61 + - *62 - *238 responses: '204': @@ -107412,7 +107392,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-user parameters: - - *61 + - *62 - name: q description: Limit results to projects of the specified type. in: query @@ -107433,7 +107413,7 @@ paths: examples: default: *250 headers: - Link: *56 + Link: *57 '304': *35 '403': *27 '401': *23 @@ -107454,7 +107434,7 @@ paths: url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - *251 - - *61 + - *62 responses: '200': description: Response @@ -107464,7 +107444,7 @@ paths: examples: default: *250 headers: - Link: *56 + Link: *57 '304': *35 '403': *27 '401': *23 @@ -107485,7 +107465,7 @@ paths: url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - *251 - - *61 + - *62 - *17 - *43 - *44 @@ -107500,7 +107480,7 @@ paths: examples: default: *675 headers: - Link: *56 + Link: *57 '304': *35 '403': *27 '401': *23 @@ -107519,7 +107499,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#add-field-to-user-owned-project parameters: - - *61 + - *62 - *251 requestBody: required: true @@ -107632,7 +107612,7 @@ paths: parameters: - *251 - *685 - - *61 + - *62 responses: '200': description: Response @@ -107642,7 +107622,7 @@ paths: examples: default: *686 headers: - Link: *56 + Link: *57 '304': *35 '403': *27 '401': *23 @@ -107664,7 +107644,7 @@ paths: url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - *251 - - *61 + - *62 - *43 - *44 - *17 @@ -107700,7 +107680,7 @@ paths: examples: default: *259 headers: - Link: *56 + Link: *57 '304': *35 '403': *27 '401': *23 @@ -107719,75 +107699,67 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - - *61 + - *62 - *251 requestBody: required: true description: Details of the item to add to the project. You can specify either - the database ID or the repository owner, name, and issue/PR number. + the unique ID or the repository owner, name, and issue/PR number. content: application/json: schema: + type: object + additionalProperties: false + properties: + type: + type: string + enum: + - Issue + - PullRequest + description: The type of item to add to the project. Must be either + Issue or PullRequest. + id: + type: integer + description: The unique identifier of the issue or pull request + to add to the project. + owner: + type: string + description: The repository owner login. + repo: + type: string + description: The repository name. + number: + type: integer + description: The issue or pull request number. + required: + - type oneOf: - - type: object - properties: - type: - type: string - enum: - - Issue - - PullRequest - description: The type of item to add to the project. Must be either - Issue or PullRequest. - id: - type: integer - description: The unique ID of the issue or pull request to add - to the project. - required: - - type + - required: - id - - type: object - properties: - type: - type: string - enum: - - Issue - - PullRequest - description: The type of item to add to the project. Must be either - Issue or PullRequest. - owner: - type: string - description: The repository owner login. - repo: - type: string - description: The repository name. - number: - type: integer - description: The issue or pull request number. - required: - - type + - required: - owner - repo - number examples: - issue-with-id: - summary: Add issue by database ID + issue_with_id: + summary: Add an issue using its unique ID value: type: Issue id: 3 - pull_request-with-id: - summary: Add pull request by database ID + pull_request_with_id: + summary: Add a pull request using its unique ID value: type: PullRequest id: 3 - issue-with-nwo: - summary: Add issue by repository and number + issue_with_nwo: + summary: Add an issue using repository owner, name, and issue number value: type: Issue owner: octocat repo: hello-world number: 42 - pull_request-with-nwo: - summary: Add pull request by repository and number + pull_request_with_nwo: + summary: Add a pull request using repository owner, name, and PR number value: type: PullRequest owner: octocat @@ -107800,8 +107772,20 @@ paths: application/json: schema: *256 examples: - issue: *257 - pull_request: *257 + issue_with_id: + summary: Response for adding an issue using its unique ID + value: *257 + pull_request_with_id: + summary: Response for adding a pull request using its unique ID + value: *257 + issue_with_nwo: + summary: Response for adding an issue using repository owner, name, + and issue number + value: *257 + pull_request_with_nwo: + summary: Response for adding a pull request using repository owner, + name, and PR number + value: *257 '304': *35 '403': *27 '401': *23 @@ -107822,7 +107806,7 @@ paths: url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - *251 - - *61 + - *62 - *260 - name: fields description: |- @@ -107847,7 +107831,7 @@ paths: examples: default: *259 headers: - Link: *56 + Link: *57 '304': *35 '403': *27 '401': *23 @@ -107867,7 +107851,7 @@ paths: url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - *251 - - *61 + - *62 - *260 requestBody: required: true @@ -107968,7 +107952,7 @@ paths: url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - *251 - - *61 + - *62 - *260 responses: '204': @@ -107992,7 +107976,7 @@ paths: url: https://docs.github.com/rest/projects/items#list-items-for-a-user-project-view parameters: - *251 - - *61 + - *62 - *687 - name: fields description: |- @@ -108023,7 +108007,7 @@ paths: examples: default: *259 headers: - Link: *56 + Link: *57 '304': *35 '403': *27 '401': *23 @@ -108049,7 +108033,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *61 + - *62 - *17 - *19 responses: @@ -108059,7 +108043,7 @@ paths: application/json: schema: type: array - items: *95 + items: *96 examples: default: value: @@ -108124,7 +108108,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-received-by-a-user parameters: - - *61 + - *62 - *17 - *19 responses: @@ -108134,7 +108118,7 @@ paths: application/json: schema: type: array - items: *95 + items: *96 examples: default: value: @@ -108197,7 +108181,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repositories-for-a-user parameters: - - *61 + - *62 - name: type description: Limit results to repositories of the specified type. in: query @@ -108240,11 +108224,11 @@ paths: application/json: schema: type: array - items: *144 + items: *145 examples: default: *239 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108264,12 +108248,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-a-user parameters: - - *61 - - *107 - - *109 + - *62 - *108 - - *688 - *110 + - *109 + - *688 + - *111 responses: '200': description: Response when getting a billing premium request usage report @@ -108376,8 +108360,8 @@ paths: '400': *14 '403': *27 '404': *6 - '500': *104 - '503': *105 + '500': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108397,10 +108381,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-a-user parameters: - - *61 - - *107 - - *689 + - *62 - *108 + - *689 + - *109 responses: '200': description: Response when getting a billing usage report @@ -108470,8 +108454,8 @@ paths: repositoryName: user/example '400': *14 '403': *27 - '500': *104 - '503': *105 + '500': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108494,12 +108478,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-a-user parameters: - - *61 - - *107 - - *109 + - *62 - *108 - - *690 - *110 + - *109 + - *690 + - *111 - *691 responses: '200': @@ -108605,8 +108589,8 @@ paths: '400': *14 '403': *27 '404': *6 - '500': *104 - '503': *105 + '500': *105 + '503': *106 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108624,7 +108608,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *61 + - *62 - *17 - *19 responses: @@ -108638,7 +108622,7 @@ paths: examples: default: *662 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108656,7 +108640,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *61 + - *62 - *17 - *19 responses: @@ -108670,7 +108654,7 @@ paths: examples: default: *692 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108692,9 +108676,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *61 + - *62 - *693 - - *50 + - *51 - *17 - *19 responses: @@ -108707,11 +108691,11 @@ paths: - type: array items: *694 - type: array - items: *68 + items: *69 examples: default-response: *666 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108728,7 +108712,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *61 + - *62 - *17 - *19 responses: @@ -108738,11 +108722,11 @@ paths: application/json: schema: type: array - items: *144 + items: *145 examples: default: *239 headers: - Link: *56 + Link: *57 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109061,7 +109045,7 @@ webhooks: license: anyOf: - type: 'null' - - *73 + - *74 organization: anyOf: - type: 'null' @@ -110596,8 +110580,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *74 - repository: *144 + items: *75 + repository: *145 status: type: string enum: @@ -110701,7 +110685,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *74 + items: *75 started_at: type: string format: date-time @@ -117404,11 +117388,11 @@ webhooks: new_property_values: type: array description: The new custom property values for the repository. - items: *103 + items: *104 old_property_values: type: array description: The old custom property values for the repository. - items: *103 + items: *104 required: - action - repository @@ -131867,12 +131851,12 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *70 + blocked_issue: *71 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *70 - blocking_issue_repo: *68 + blocking_issue: *71 + blocking_issue_repo: *69 installation: *696 organization: *697 repository: *698 @@ -131958,12 +131942,12 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *70 + blocked_issue: *71 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *70 - blocking_issue_repo: *68 + blocking_issue: *71 + blocking_issue_repo: *69 installation: *696 organization: *697 repository: *698 @@ -132048,12 +132032,12 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *70 - blocked_issue_repo: *68 + blocked_issue: *71 + blocked_issue_repo: *69 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *70 + blocking_issue: *71 installation: *696 organization: *697 repository: *698 @@ -132139,12 +132123,12 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *70 - blocked_issue_repo: *68 + blocked_issue: *71 + blocked_issue_repo: *69 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *70 + blocking_issue: *71 installation: *696 organization: *697 repository: *698 @@ -222686,14 +222670,14 @@ webhooks: alert: &750 type: object properties: - number: *162 - created_at: *163 + number: *163 + created_at: *164 updated_at: anyOf: - type: 'null' - - *164 - url: *165 - html_url: *166 + - *165 + url: *166 + html_url: *167 locations_url: type: string format: uri @@ -223771,7 +223755,7 @@ webhooks: required: - vector_string - score - cvss_severities: *52 + cvss_severities: *53 cwes: type: array items: @@ -224038,7 +224022,7 @@ webhooks: required: - vector_string - score - cvss_severities: *52 + cvss_severities: *53 cwes: type: array items: @@ -225706,12 +225690,12 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *70 - parent_issue_repo: *68 + parent_issue: *71 + parent_issue_repo: *69 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *70 + sub_issue: *71 installation: *696 organization: *697 repository: *698 @@ -225798,12 +225782,12 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *70 - parent_issue_repo: *68 + parent_issue: *71 + parent_issue_repo: *69 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *70 + sub_issue: *71 installation: *696 organization: *697 repository: *698 @@ -225890,12 +225874,12 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *70 - sub_issue_repo: *68 + sub_issue: *71 + sub_issue_repo: *69 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *70 + parent_issue: *71 installation: *696 organization: *697 repository: *698 @@ -225982,12 +225966,12 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *70 - sub_issue_repo: *68 + sub_issue: *71 + sub_issue_repo: *69 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *70 + parent_issue: *71 installation: *696 organization: *697 repository: *698 diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json index 47d6cdffb..12a4222c4 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -41968,6 +41968,22 @@ } } }, + "code_scanning_options": { + "type": [ + "object", + "null" + ], + "description": "Security Configuration feature options for code scanning", + "properties": { + "allow_advanced": { + "type": [ + "boolean", + "null" + ], + "description": "Whether to allow repos which use advanced setup" + } + } + }, "code_scanning_delegated_alert_dismissal": { "type": "string", "description": "The enablement status of code scanning delegated alert dismissal", @@ -157246,6 +157262,22 @@ } } }, + "code_scanning_options": { + "type": [ + "object", + "null" + ], + "description": "Security Configuration feature options for code scanning", + "properties": { + "allow_advanced": { + "type": [ + "boolean", + "null" + ], + "description": "Whether to allow repos which use advanced setup" + } + } + }, "code_scanning_delegated_alert_dismissal": { "type": "string", "description": "The enablement status of code scanning delegated alert dismissal", @@ -239940,58 +239972,49 @@ ], "requestBody": { "required": true, - "description": "Details of the item to add to the project. You can specify either the database ID or the repository owner, name, and issue/PR number.", + "description": "Details of the item to add to the project. You can specify either the unique ID or the repository owner, name, and issue/PR number.", "content": { "application/json": { "schema": { + "type": "object", + "additionalProperties": false, + "properties": { + "type": { + "type": "string", + "enum": [ + "Issue", + "PullRequest" + ], + "description": "The type of item to add to the project. Must be either Issue or PullRequest." + }, + "id": { + "type": "integer", + "description": "The unique identifier of the issue or pull request to add to the project." + }, + "owner": { + "type": "string", + "description": "The repository owner login." + }, + "repo": { + "type": "string", + "description": "The repository name." + }, + "number": { + "type": "integer", + "description": "The issue or pull request number." + } + }, + "required": [ + "type" + ], "oneOf": [ { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "Issue", - "PullRequest" - ], - "description": "The type of item to add to the project. Must be either Issue or PullRequest." - }, - "id": { - "type": "integer", - "description": "The unique ID of the issue or pull request to add to the project." - } - }, "required": [ - "type", "id" ] }, { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "Issue", - "PullRequest" - ], - "description": "The type of item to add to the project. Must be either Issue or PullRequest." - }, - "owner": { - "type": "string", - "description": "The repository owner login." - }, - "repo": { - "type": "string", - "description": "The repository name." - }, - "number": { - "type": "integer", - "description": "The issue or pull request number." - } - }, "required": [ - "type", "owner", "repo", "number" @@ -240000,22 +240023,22 @@ ] }, "examples": { - "issue-with-id": { - "summary": "Add issue by database ID", + "issue_with_id": { + "summary": "Add an issue using its unique ID", "value": { "type": "Issue", "id": 3 } }, - "pull_request-with-id": { - "summary": "Add pull request by database ID", + "pull_request_with_id": { + "summary": "Add a pull request using its unique ID", "value": { "type": "PullRequest", "id": 3 } }, - "issue-with-nwo": { - "summary": "Add issue by repository and number", + "issue_with_nwo": { + "summary": "Add an issue using repository owner, name, and issue number", "value": { "type": "Issue", "owner": "octocat", @@ -240023,8 +240046,8 @@ "number": 42 } }, - "pull_request-with-nwo": { - "summary": "Add pull request by repository and number", + "pull_request_with_nwo": { + "summary": "Add a pull request using repository owner, name, and PR number", "value": { "type": "PullRequest", "owner": "octocat", @@ -247582,18 +247605,105 @@ ] }, "examples": { - "issue": { + "issue_with_id": { + "summary": "Response for adding an issue using its unique ID", "value": { - "id": 17, - "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", - "content": { - "id": 38, - "node_id": "I_kwDOANN5s85FtLts", - "title": "Example Draft Issue", - "body": "This is a draft issue in the project.", + "value": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "title": "Example Draft Issue", + "body": "This is a draft issue in the project.", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "user": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + }, + "content_type": "DraftIssue", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, "created_at": "2022-04-28T12:00:00Z", "updated_at": "2022-04-28T12:00:00Z", - "user": { + "archived_at": null, + "project_url": "https://api.github.com/users/octocat/projectsV2/1", + "item_url": "https://api.github.com/users/octocat/projectsV2/items/17" + } + } + }, + "pull_request_with_id": { + "summary": "Response for adding a pull request using its unique ID", + "value": { + "value": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "title": "Example Draft Issue", + "body": "This is a draft issue in the project.", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "user": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + }, + "content_type": "DraftIssue", + "creator": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -247612,48 +247722,114 @@ "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", "site_admin": false - } - }, - "content_type": "DraftIssue", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2022-04-28T12:00:00Z", - "updated_at": "2022-04-28T12:00:00Z", - "archived_at": null, - "project_url": "https://api.github.com/users/octocat/projectsV2/1", - "item_url": "https://api.github.com/users/octocat/projectsV2/items/17" + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "archived_at": null, + "project_url": "https://api.github.com/users/octocat/projectsV2/1", + "item_url": "https://api.github.com/users/octocat/projectsV2/items/17" + } } }, - "pull_request": { + "issue_with_nwo": { + "summary": "Response for adding an issue using repository owner, name, and issue number", "value": { - "id": 17, - "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", - "content": { - "id": 38, - "node_id": "I_kwDOANN5s85FtLts", - "title": "Example Draft Issue", - "body": "This is a draft issue in the project.", + "value": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "title": "Example Draft Issue", + "body": "This is a draft issue in the project.", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "user": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + }, + "content_type": "DraftIssue", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, "created_at": "2022-04-28T12:00:00Z", "updated_at": "2022-04-28T12:00:00Z", - "user": { + "archived_at": null, + "project_url": "https://api.github.com/users/octocat/projectsV2/1", + "item_url": "https://api.github.com/users/octocat/projectsV2/items/17" + } + } + }, + "pull_request_with_nwo": { + "summary": "Response for adding a pull request using repository owner, name, and PR number", + "value": { + "value": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "title": "Example Draft Issue", + "body": "This is a draft issue in the project.", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "user": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + }, + "content_type": "DraftIssue", + "creator": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -247672,34 +247848,13 @@ "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", "site_admin": false - } - }, - "content_type": "DraftIssue", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2022-04-28T12:00:00Z", - "updated_at": "2022-04-28T12:00:00Z", - "archived_at": null, - "project_url": "https://api.github.com/users/octocat/projectsV2/1", - "item_url": "https://api.github.com/users/octocat/projectsV2/items/17" + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "archived_at": null, + "project_url": "https://api.github.com/users/octocat/projectsV2/1", + "item_url": "https://api.github.com/users/octocat/projectsV2/items/17" + } } } } @@ -325090,48 +325245,8 @@ } ], "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Workflow Dispatch Response", - "description": "Response containing the workflow run ID and URLs.", - "type": "object", - "properties": { - "workflow_run_id": { - "title": "Workflow Run ID", - "description": "The ID of the workflow run.", - "type": "integer", - "format": "int64" - }, - "run_url": { - "type": "string", - "format": "uri", - "description": "The URL to the workflow run." - }, - "html_url": { - "type": "string", - "format": "uri" - } - }, - "required": [ - "workflow_run_id", - "run_url", - "html_url" - ] - }, - "examples": { - "default": { - "value": { - "workflow_run_id": 1, - "run_url": "https://api.github.com/repos/octo-org/octo-repo/actions/runs/1", - "html_url": "https://github.com/octo-org/octo-repo/actions/runs/1" - } - } - } - } - } + "204": { + "description": "Response" } }, "requestBody": { @@ -561763,171 +561878,178 @@ ] }, "user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] + "anyOf": [ + { + "type": "null" }, - "user_view_type": { - "type": "string", - "examples": [ - "public" + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" ] }, "body": { @@ -585572,171 +585694,178 @@ ] }, "user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] + "anyOf": [ + { + "type": "null" }, - "user_view_type": { - "type": "string", - "examples": [ - "public" + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" ] }, "body": { @@ -586212,171 +586341,178 @@ ] }, "user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] + "anyOf": [ + { + "type": "null" }, - "user_view_type": { - "type": "string", - "examples": [ - "public" + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" ] }, "body": { @@ -586891,171 +587027,178 @@ ] }, "user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] + "anyOf": [ + { + "type": "null" }, - "user_view_type": { - "type": "string", - "examples": [ - "public" + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" ] }, "body": { @@ -602518,171 +602661,178 @@ ] }, "user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] + "anyOf": [ + { + "type": "null" }, - "user_view_type": { - "type": "string", - "examples": [ - "public" + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" ] }, "body": { @@ -603246,171 +603396,178 @@ ] }, "user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] + "anyOf": [ + { + "type": "null" }, - "user_view_type": { - "type": "string", - "examples": [ - "public" + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" ] }, "body": { @@ -604020,171 +604177,178 @@ ] }, "user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] + "anyOf": [ + { + "type": "null" }, - "user_view_type": { - "type": "string", - "examples": [ - "public" + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" ] }, "body": { @@ -823556,58 +823720,49 @@ ], "requestBody": { "required": true, - "description": "Details of the item to add to the project. You can specify either the database ID or the repository owner, name, and issue/PR number.", + "description": "Details of the item to add to the project. You can specify either the unique ID or the repository owner, name, and issue/PR number.", "content": { "application/json": { "schema": { + "type": "object", + "additionalProperties": false, + "properties": { + "type": { + "type": "string", + "enum": [ + "Issue", + "PullRequest" + ], + "description": "The type of item to add to the project. Must be either Issue or PullRequest." + }, + "id": { + "type": "integer", + "description": "The unique identifier of the issue or pull request to add to the project." + }, + "owner": { + "type": "string", + "description": "The repository owner login." + }, + "repo": { + "type": "string", + "description": "The repository name." + }, + "number": { + "type": "integer", + "description": "The issue or pull request number." + } + }, + "required": [ + "type" + ], "oneOf": [ { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "Issue", - "PullRequest" - ], - "description": "The type of item to add to the project. Must be either Issue or PullRequest." - }, - "id": { - "type": "integer", - "description": "The unique ID of the issue or pull request to add to the project." - } - }, "required": [ - "type", "id" ] }, { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "Issue", - "PullRequest" - ], - "description": "The type of item to add to the project. Must be either Issue or PullRequest." - }, - "owner": { - "type": "string", - "description": "The repository owner login." - }, - "repo": { - "type": "string", - "description": "The repository name." - }, - "number": { - "type": "integer", - "description": "The issue or pull request number." - } - }, "required": [ - "type", "owner", "repo", "number" @@ -823616,22 +823771,22 @@ ] }, "examples": { - "issue-with-id": { - "summary": "Add issue by database ID", + "issue_with_id": { + "summary": "Add an issue using its unique ID", "value": { "type": "Issue", "id": 3 } }, - "pull_request-with-id": { - "summary": "Add pull request by database ID", + "pull_request_with_id": { + "summary": "Add a pull request using its unique ID", "value": { "type": "PullRequest", "id": 3 } }, - "issue-with-nwo": { - "summary": "Add issue by repository and number", + "issue_with_nwo": { + "summary": "Add an issue using repository owner, name, and issue number", "value": { "type": "Issue", "owner": "octocat", @@ -823639,8 +823794,8 @@ "number": 42 } }, - "pull_request-with-nwo": { - "summary": "Add pull request by repository and number", + "pull_request_with_nwo": { + "summary": "Add a pull request using repository owner, name, and PR number", "value": { "type": "PullRequest", "owner": "octocat", @@ -831198,18 +831353,105 @@ ] }, "examples": { - "issue": { + "issue_with_id": { + "summary": "Response for adding an issue using its unique ID", "value": { - "id": 17, - "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", - "content": { - "id": 38, - "node_id": "I_kwDOANN5s85FtLts", - "title": "Example Draft Issue", - "body": "This is a draft issue in the project.", + "value": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "title": "Example Draft Issue", + "body": "This is a draft issue in the project.", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "user": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + }, + "content_type": "DraftIssue", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, "created_at": "2022-04-28T12:00:00Z", "updated_at": "2022-04-28T12:00:00Z", - "user": { + "archived_at": null, + "project_url": "https://api.github.com/users/octocat/projectsV2/1", + "item_url": "https://api.github.com/users/octocat/projectsV2/items/17" + } + } + }, + "pull_request_with_id": { + "summary": "Response for adding a pull request using its unique ID", + "value": { + "value": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "title": "Example Draft Issue", + "body": "This is a draft issue in the project.", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "user": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + }, + "content_type": "DraftIssue", + "creator": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -831228,48 +831470,114 @@ "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", "site_admin": false - } - }, - "content_type": "DraftIssue", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2022-04-28T12:00:00Z", - "updated_at": "2022-04-28T12:00:00Z", - "archived_at": null, - "project_url": "https://api.github.com/users/octocat/projectsV2/1", - "item_url": "https://api.github.com/users/octocat/projectsV2/items/17" + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "archived_at": null, + "project_url": "https://api.github.com/users/octocat/projectsV2/1", + "item_url": "https://api.github.com/users/octocat/projectsV2/items/17" + } } }, - "pull_request": { + "issue_with_nwo": { + "summary": "Response for adding an issue using repository owner, name, and issue number", "value": { - "id": 17, - "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", - "content": { - "id": 38, - "node_id": "I_kwDOANN5s85FtLts", - "title": "Example Draft Issue", - "body": "This is a draft issue in the project.", + "value": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "title": "Example Draft Issue", + "body": "This is a draft issue in the project.", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "user": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + }, + "content_type": "DraftIssue", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, "created_at": "2022-04-28T12:00:00Z", "updated_at": "2022-04-28T12:00:00Z", - "user": { + "archived_at": null, + "project_url": "https://api.github.com/users/octocat/projectsV2/1", + "item_url": "https://api.github.com/users/octocat/projectsV2/items/17" + } + } + }, + "pull_request_with_nwo": { + "summary": "Response for adding a pull request using repository owner, name, and PR number", + "value": { + "value": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "title": "Example Draft Issue", + "body": "This is a draft issue in the project.", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "user": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + }, + "content_type": "DraftIssue", + "creator": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -831288,34 +831596,13 @@ "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", "site_admin": false - } - }, - "content_type": "DraftIssue", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2022-04-28T12:00:00Z", - "updated_at": "2022-04-28T12:00:00Z", - "archived_at": null, - "project_url": "https://api.github.com/users/octocat/projectsV2/1", - "item_url": "https://api.github.com/users/octocat/projectsV2/items/17" + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "archived_at": null, + "project_url": "https://api.github.com/users/octocat/projectsV2/1", + "item_url": "https://api.github.com/users/octocat/projectsV2/items/17" + } } } } diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml index 9199dc7cd..064909dcc 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -703,7 +703,7 @@ paths: required: - vector_string - score - cvss_severities: &125 + cvss_severities: &126 type: - object - 'null' @@ -750,7 +750,7 @@ paths: required: - vector_string - score - epss: &126 + epss: &127 type: - object - 'null' @@ -1046,7 +1046,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &248 + schema: &249 title: Validation Error Simple description: Validation Error Simple type: object @@ -1839,7 +1839,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &247 + schema: &248 title: Validation Error description: Validation Error type: object @@ -2250,7 +2250,7 @@ paths: parameters: - *17 - *19 - - &218 + - &219 name: since description: 'Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -3081,7 +3081,7 @@ paths: license: anyOf: - type: 'null' - - &215 + - &216 title: License Simple description: License Simple type: object @@ -7984,7 +7984,7 @@ paths: description: Response content: application/json: - schema: &249 + schema: &250 type: object properties: total_active_caches_count: @@ -7999,7 +7999,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &250 + default: &251 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -8214,7 +8214,7 @@ paths: - public_ip_enabled - platform examples: - default: &251 + default: &252 value: total_count: 2 runners: @@ -8518,7 +8518,7 @@ paths: application/json: schema: *47 examples: - default: &252 + default: &253 value: id: 1 platform: linux-x64 @@ -8663,7 +8663,7 @@ paths: application/json: schema: *50 examples: - default: &253 + default: &254 value: version: 1.0.0 size_gb: 75 @@ -8831,7 +8831,7 @@ paths: description: Response content: application/json: - schema: &254 + schema: &255 type: object properties: public_ips: @@ -8858,7 +8858,7 @@ paths: required: - public_ips examples: - default: &255 + default: &256 value: public_ips: current_usage: 17 @@ -8898,7 +8898,7 @@ paths: type: array items: *54 examples: - default: &256 + default: &257 value: id: 4-core cpu_cores: 4 @@ -9162,7 +9162,7 @@ paths: - all - local_only - selected - selected_actions_url: &259 + selected_actions_url: &260 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` @@ -9242,7 +9242,7 @@ paths: description: Successfully retrieved the artifact and log retention settings content: application/json: - schema: &261 + schema: &262 type: object properties: days: @@ -9288,7 +9288,7 @@ paths: required: true content: application/json: - schema: &262 + schema: &263 type: object properties: days: @@ -9337,7 +9337,7 @@ paths: required: - approval_policy examples: - default: &263 + default: &264 value: approval_policy: first_time_contributors '404': *6 @@ -9395,7 +9395,7 @@ paths: description: Response content: application/json: - schema: &264 + schema: &265 type: object required: - run_workflows_from_fork_pull_requests @@ -9449,7 +9449,7 @@ paths: required: true content: application/json: - schema: &265 + schema: &266 type: object required: - run_workflows_from_fork_pull_requests @@ -9885,7 +9885,7 @@ paths: description: Success response content: application/json: - schema: &268 + schema: &269 type: object properties: default_workflow_permissions: &65 @@ -9933,7 +9933,7 @@ paths: required: true content: application/json: - schema: &269 + schema: &270 type: object properties: default_workflow_permissions: *65 @@ -10778,7 +10778,7 @@ paths: application/json: schema: type: array - items: &273 + items: &274 title: Runner Application description: Runner Application type: object @@ -10803,7 +10803,7 @@ paths: - download_url - filename examples: - default: &274 + default: &275 value: - os: osx architecture: x64 @@ -10887,7 +10887,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &275 + '201': &276 description: Response content: application/json: @@ -10926,7 +10926,7 @@ paths: encoded_jit_config: abc123 '404': *6 '422': *7 - '409': &116 + '409': &117 description: Conflict content: application/json: @@ -11006,7 +11006,7 @@ paths: - token - expires_at examples: - default: &276 + default: &277 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -11046,7 +11046,7 @@ paths: application/json: schema: *77 examples: - default: &277 + default: &278 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -11078,7 +11078,7 @@ paths: application/json: schema: *74 examples: - default: &278 + default: &279 value: id: 23 name: MBP @@ -11294,7 +11294,7 @@ paths: - *39 - *73 responses: - '200': &279 + '200': &280 description: Response content: application/json: @@ -11350,7 +11350,7 @@ paths: parameters: - *39 - *73 - - &280 + - &281 name: name description: The name of a self-hosted runner's custom label. in: path @@ -11447,7 +11447,7 @@ paths: required: true content: application/json: - schema: &287 + schema: &288 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -12098,7 +12098,7 @@ paths: required: false schema: type: string - - &290 + - &291 name: include description: |- The event types to include: @@ -12116,7 +12116,7 @@ paths: - web - git - all - - &291 + - &292 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. @@ -12124,7 +12124,7 @@ paths: required: false schema: type: string - - &292 + - &293 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. @@ -12132,7 +12132,7 @@ paths: required: false schema: type: string - - &293 + - &294 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -12154,7 +12154,7 @@ paths: application/json: schema: type: array - items: &294 + items: &295 type: object properties: "@timestamp": @@ -12276,7 +12276,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &295 + default: &296 value: - "@timestamp": 1606929874512 action: team.add_member @@ -12944,7 +12944,7 @@ paths: application/json: schema: type: array - items: &296 + items: &297 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -13116,7 +13116,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &297 + default: &298 value: - id: 21 number: 42 @@ -13221,7 +13221,7 @@ paths: application/json: schema: type: array - items: &299 + items: &300 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -13352,7 +13352,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &300 + default: &301 value: - id: 21 number: 42 @@ -13437,7 +13437,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *39 - - &305 + - &306 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, @@ -13447,7 +13447,7 @@ paths: schema: &109 type: string description: The name of the tool used to generate the code scanning analysis. - - &306 + - &307 name: tool_guid description: The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in @@ -13471,7 +13471,7 @@ paths: be returned. in: query required: false - schema: &307 + schema: &308 type: string description: State of a code scanning alert. enum: @@ -13504,31 +13504,31 @@ paths: application/json: schema: type: array - items: &308 + items: &309 type: object properties: - number: &123 + number: &124 type: integer description: The security alert number. readOnly: true - created_at: &130 + created_at: &131 type: string description: 'The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - updated_at: &131 + updated_at: &132 type: string description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - url: &128 + url: &129 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &129 + html_url: &130 type: string description: The GitHub URL of the alert resource. format: uri @@ -13549,7 +13549,7 @@ paths: - dismissed - fixed - - fixed_at: &133 + fixed_at: &134 type: - string - 'null' @@ -13561,7 +13561,7 @@ paths: anyOf: - type: 'null' - *4 - dismissed_at: &132 + dismissed_at: &133 type: - string - 'null' @@ -13725,7 +13725,7 @@ paths: - test - library - - repository: &117 + repository: &118 title: Simple Repository description: A GitHub repository. type: object @@ -14069,7 +14069,7 @@ paths: - most_recent_instance - repository examples: - default: &309 + default: &310 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -14300,7 +14300,7 @@ paths: headers: Link: *45 '404': *6 - '503': &189 + '503': &190 description: Service unavailable content: application/json: @@ -14739,7 +14739,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &310 + code_scanning_options: &116 type: - object - 'null' @@ -15161,6 +15161,7 @@ paths: - disabled - not_set code_scanning_default_setup_options: *115 + code_scanning_options: *116 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -15254,7 +15255,7 @@ paths: '304': *35 '403': *27 '404': *6 - '409': *116 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -15280,12 +15281,12 @@ paths: - *39 - *114 responses: - '204': &148 + '204': &149 description: A header with no content is returned. '400': *14 '403': *27 '404': *6 - '409': *116 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -15337,7 +15338,7 @@ paths: '202': *37 '403': *27 '404': *6 - '409': *116 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -15510,7 +15511,7 @@ paths: - failed - updating - removed_by_enterprise - repository: *117 + repository: *118 examples: default: summary: Example of code security configuration repositories @@ -15999,7 +16000,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &139 + items: &140 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -16017,7 +16018,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &301 + - &302 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -16212,7 +16213,7 @@ paths: - slug - parent - type - - &138 + - &139 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -16335,7 +16336,7 @@ paths: - created_at additionalProperties: false examples: - default: &140 + default: &141 value: total_seats: 2 seats: @@ -16787,7 +16788,7 @@ paths: application/json: schema: type: array - items: &201 + items: &202 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -17102,7 +17103,7 @@ paths: - date additionalProperties: true examples: - default: &202 + default: &203 value: - date: '2024-06-24' total_active_users: 24 @@ -17204,7 +17205,7 @@ paths: '500': *38 '403': *27 '404': *6 - '422': &203 + '422': &204 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -17234,7 +17235,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage-metrics#get-copilot-enterprise-usage-metrics-for-a-specific-day parameters: - *39 - - &118 + - &119 name: day description: The day to request data for, in `YYYY-MM-DD` format. in: query @@ -17249,7 +17250,7 @@ paths: description: Response content: application/json: - schema: &119 + schema: &120 type: object title: Copilot Metrics 1 Day Report description: Links to download the Copilot usage metrics report for @@ -17270,7 +17271,7 @@ paths: - download_links - report_day examples: - default: &120 + default: &121 value: download_links: - https://example.com/copilot-usage-report-1.json @@ -17308,7 +17309,7 @@ paths: description: Response content: application/json: - schema: &121 + schema: &122 type: object title: Copilot Metrics 28 Day Report description: Links to download the latest Copilot usage metrics report @@ -17336,7 +17337,7 @@ paths: - report_start_day - report_end_day examples: - default: &122 + default: &123 value: download_links: - https://example.com/copilot-usage-report-1.json @@ -17370,15 +17371,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics-for-a-specific-day parameters: - *39 - - *118 + - *119 responses: '200': description: Response content: application/json: - schema: *119 + schema: *120 examples: - default: *120 + default: *121 '500': *38 '403': *27 '404': *6 @@ -17411,9 +17412,9 @@ paths: description: Response content: application/json: - schema: *121 + schema: *122 examples: - default: *122 + default: *123 '500': *38 '403': *27 '404': *6 @@ -17541,7 +17542,7 @@ paths: type: object description: A Dependabot alert. properties: - number: *123 + number: *124 state: type: string description: The state of the Dependabot alert. @@ -17556,7 +17557,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &124 + package: &125 type: object description: Details for the vulnerable package. readOnly: true @@ -17635,13 +17636,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &127 + items: &128 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *124 + package: *125 severity: type: string description: The severity of the vulnerability. @@ -17709,8 +17710,8 @@ paths: - score - vector_string additionalProperties: false - cvss_severities: *125 - epss: *126 + cvss_severities: *126 + epss: *127 cwes: type: array description: Details for the advisory pertaining to Common @@ -17810,12 +17811,12 @@ paths: - updated_at - withdrawn_at additionalProperties: false - security_vulnerability: *127 - url: *128 - html_url: *129 - created_at: *130 - updated_at: *131 - dismissed_at: *132 + security_vulnerability: *128 + url: *129 + html_url: *130 + created_at: *131 + updated_at: *132 + dismissed_at: *133 dismissed_by: anyOf: - type: 'null' @@ -17839,7 +17840,7 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *133 + fixed_at: *134 auto_dismissed_at: &572 type: - string @@ -17887,7 +17888,7 @@ paths: format: uri description: The API URL to get more information about this dismissal request. - repository: *117 + repository: *118 required: - number - state @@ -18269,7 +18270,7 @@ paths: roles: type: array description: The list of enterprise roles available to the enterprise. - items: &137 + items: &138 title: Enterprise Role description: Enterprise custom roles type: object @@ -18394,7 +18395,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#remove-all-enterprise-roles-from-a-team parameters: - *39 - - &134 + - &135 name: team_slug description: The slug of the enterprise team name. in: path @@ -18434,8 +18435,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#assign-an-enterprise-role-to-a-team parameters: - *39 - - *134 - - &135 + - *135 + - &136 name: role_id description: The unique identifier of the role. in: path @@ -18474,8 +18475,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#remove-an-enterprise-role-from-a-team parameters: - *39 - - *134 - *135 + - *136 responses: '204': description: Response @@ -18509,7 +18510,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#remove-all-enterprise-roles-from-a-user parameters: - *39 - - &136 + - &137 name: username description: The handle for the GitHub user account. in: path @@ -18549,8 +18550,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#assign-an-enterprise-role-to-an-enterprise-user parameters: - *39 + - *137 - *136 - - *135 responses: '204': description: Response @@ -18583,8 +18584,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#remove-enterprise-user-role-assignment parameters: - *39 + - *137 - *136 - - *135 responses: '204': description: Response @@ -18618,13 +18619,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#get-an-enterprise-role parameters: - *39 - - *135 + - *136 responses: '200': description: Response content: application/json: - schema: *137 + schema: *138 examples: default: value: @@ -18675,7 +18676,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#list-teams-that-are-assigned-to-an-enterprise-role parameters: - *39 - - *135 + - *136 - *17 - *19 responses: @@ -18685,9 +18686,9 @@ paths: application/json: schema: type: array - items: *138 + items: *139 examples: - default: &204 + default: &205 value: - id: 1 name: Justice League @@ -18726,7 +18727,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#list-users-that-are-assigned-to-an-enterprise-role parameters: - *39 - - *135 + - *136 - *17 - *19 responses: @@ -18759,7 +18760,7 @@ paths: description: Enterprise Team the user has gotten the role through type: array - items: *138 + items: *139 examples: default: value: @@ -18918,7 +18919,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-an-enterprise-user parameters: - *39 - - *136 + - *137 responses: '200': description: The user's GitHub Copilot seat details, including usage. @@ -18934,9 +18935,9 @@ paths: teams or multiple organizations are only counted once. seats: type: array - items: *139 + items: *140 examples: - default: *140 + default: *141 '500': *38 '401': *23 '403': *27 @@ -18979,7 +18980,7 @@ paths: type: integer network_configurations: type: array - items: &141 + items: &142 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -19102,9 +19103,9 @@ paths: description: Response content: application/json: - schema: *141 + schema: *142 examples: - default: &142 + default: &143 value: id: 123456789ABCDEF name: My network configuration @@ -19131,7 +19132,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-configuration-for-an-enterprise parameters: - *39 - - &143 + - &144 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -19143,9 +19144,9 @@ paths: description: Response content: application/json: - schema: *141 + schema: *142 examples: - default: *142 + default: *143 headers: Link: *45 x-github: @@ -19165,7 +19166,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#update-a-hosted-compute-network-configuration-for-an-enterprise parameters: - *39 - - *143 + - *144 requestBody: required: true content: @@ -19204,9 +19205,9 @@ paths: description: Response content: application/json: - schema: *141 + schema: *142 examples: - default: *142 + default: *143 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -19224,7 +19225,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#delete-a-hosted-compute-network-configuration-from-an-enterprise parameters: - *39 - - *143 + - *144 responses: '204': description: Response @@ -19337,7 +19338,7 @@ paths: application/json: schema: type: array - items: &144 + items: &145 title: Custom Property for Organization description: Custom property defined for an organization allOf: @@ -19415,7 +19416,7 @@ paths: - property_name - value_type examples: - default: &145 + default: &146 value: - property_name: environment url: https://api.github.com/enterprises/github/org-properties/schema/environment @@ -19475,7 +19476,7 @@ paths: type: array description: The array of organization custom properties to create or update. - items: *144 + items: *145 minItems: 1 maxItems: 100 required: @@ -19508,9 +19509,9 @@ paths: application/json: schema: type: array - items: *144 + items: *145 examples: - default: *145 + default: *146 '403': *27 '404': *6 '422': *7 @@ -19537,7 +19538,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties-for-orgs#get-an-organization-custom-property-definition-from-an-enterprise parameters: - *39 - - &146 + - &147 name: custom_property_name description: The custom property name in: path @@ -19549,9 +19550,9 @@ paths: description: Response content: application/json: - schema: *144 + schema: *145 examples: - default: &147 + default: &148 value: property_name: environment url: https://api.github.com/enterprises/github/org-properties/schema/environment @@ -19588,7 +19589,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties-for-orgs#create-or-update-an-organization-custom-property-definition-on-an-enterprise parameters: - *39 - - *146 + - *147 requestBody: required: true content: @@ -19666,9 +19667,9 @@ paths: description: Response content: application/json: - schema: *144 + schema: *145 examples: - default: *147 + default: *148 '403': *27 '404': *6 '422': *7 @@ -19694,9 +19695,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties-for-orgs#remove-an-organization-custom-property-definition-from-an-enterprise parameters: - *39 - - *146 + - *147 responses: - '204': *148 + '204': *149 '403': *27 '404': *6 '422': *7 @@ -19747,7 +19748,7 @@ paths: - Hello-World properties: type: array - items: &149 + items: &150 title: Custom Property Value description: Custom property name and associated value type: object @@ -19833,7 +19834,7 @@ paths: type: array description: List of custom property names and associated values to apply to the organizations. - items: *149 + items: *150 required: - organization_logins - properties @@ -19883,7 +19884,7 @@ paths: application/json: schema: type: array - items: &150 + items: &151 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -19958,7 +19959,7 @@ paths: - property_name - value_type examples: - default: &151 + default: &152 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -20015,7 +20016,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *150 + items: *151 minItems: 1 maxItems: 100 required: @@ -20045,9 +20046,9 @@ paths: application/json: schema: type: array - items: *150 + items: *151 examples: - default: *151 + default: *152 '403': *27 '404': *6 x-github: @@ -20071,15 +20072,15 @@ paths: parameters: - *39 - *85 - - *146 + - *147 responses: '200': description: Response content: application/json: - schema: *150 + schema: *151 examples: - default: &152 + default: &153 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -20112,15 +20113,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#get-a-custom-property-for-an-enterprise parameters: - *39 - - *146 + - *147 responses: '200': description: Response content: application/json: - schema: *150 + schema: *151 examples: - default: *152 + default: *153 '403': *27 '404': *6 x-github: @@ -20142,7 +20143,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#create-or-update-a-custom-property-for-an-enterprise parameters: - *39 - - *146 + - *147 requestBody: required: true content: @@ -20219,9 +20220,9 @@ paths: description: Response content: application/json: - schema: *150 + schema: *151 examples: - default: *152 + default: *153 '403': *27 '404': *6 x-github: @@ -20243,9 +20244,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#remove-a-custom-property-for-an-enterprise parameters: - *39 - - *146 + - *147 responses: - '204': *148 + '204': *149 '403': *27 '404': *6 x-github: @@ -20285,7 +20286,7 @@ paths: - push - repository default: branch - enforcement: &161 + enforcement: &162 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights @@ -20298,7 +20299,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &162 + items: &163 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -20340,7 +20341,7 @@ paths: - pull_request - exempt default: always - conditions: &186 + conditions: &187 title: Enterprise ruleset conditions type: object description: Conditions for an enterprise ruleset. The conditions @@ -20354,7 +20355,7 @@ paths: description: Conditions to target organizations by name and all repositories allOf: - - &153 + - &154 title: Repository ruleset conditions for organization names type: object description: Parameters for an organization name condition @@ -20380,7 +20381,7 @@ paths: type: string required: - organization_name - - &156 + - &157 title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -20409,7 +20410,7 @@ paths: is prevented. required: - repository_name - - &155 + - &156 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name condition @@ -20437,8 +20438,8 @@ paths: description: Conditions to target organizations by name and repositories by property allOf: - - *153 - - &158 + - *154 + - &159 title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -20451,7 +20452,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &154 + items: &155 title: Repository ruleset property targeting definition type: object description: Parameters for a targeting a repository @@ -20482,16 +20483,16 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *154 + items: *155 required: - repository_property - - *155 + - *156 - type: object title: organization_id_and_repository_name description: Conditions to target organizations by id and all repositories allOf: - - &157 + - &158 title: Repository ruleset conditions for organization IDs type: object description: Parameters for an organization ID condition @@ -20508,22 +20509,22 @@ paths: type: integer required: - organization_id + - *157 - *156 - - *155 - type: object title: organization_id_and_repository_property description: Conditions to target organization by id and repositories by property allOf: - - *157 - *158 - - *155 + - *159 + - *156 - type: object title: organization_property_and_repository_name description: Conditions to target organizations by property and all repositories allOf: - - &160 + - &161 title: Repository ruleset conditions for organization properties type: object description: Parameters for a organization property condition @@ -20536,7 +20537,7 @@ paths: description: The organization properties and values to include. All of these properties must match for the condition to pass. - items: &159 + items: &160 title: Repository ruleset property targeting definition type: object description: Parameters for a targeting a organization @@ -20560,28 +20561,28 @@ paths: description: The organization properties and values to exclude. The condition will not pass if any of these properties match. - items: *159 + items: *160 required: - organization_property + - *157 - *156 - - *155 - type: object title: organization_property_and_repository_property description: Conditions to target organizations by property and repositories by property allOf: - - *160 - - *158 - - *155 + - *161 + - *159 + - *156 rules: type: array description: An array of rules within the ruleset. - items: &187 + items: &188 title: Repository Rule type: object description: A repository rule. oneOf: - - &163 + - &164 title: creation description: Only allow users with bypass permission to create matching refs. @@ -20593,7 +20594,7 @@ paths: type: string enum: - creation - - &164 + - &165 title: update description: Only allow users with bypass permission to update matching refs. @@ -20614,7 +20615,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &165 + - &166 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -20626,7 +20627,7 @@ paths: type: string enum: - deletion - - &166 + - &167 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -20638,7 +20639,7 @@ paths: type: string enum: - required_linear_history - - &167 + - &168 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -20662,7 +20663,7 @@ paths: type: string required: - required_deployment_environments - - &168 + - &169 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -20674,7 +20675,7 @@ paths: type: string enum: - required_signatures - - &169 + - &170 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. @@ -20777,7 +20778,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &170 + - &171 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -20824,7 +20825,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &171 + - &172 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -20836,7 +20837,7 @@ paths: type: string enum: - non_fast_forward - - &172 + - &173 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -20872,7 +20873,7 @@ paths: required: - operator - pattern - - &173 + - &174 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -20908,7 +20909,7 @@ paths: required: - operator - pattern - - &174 + - &175 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -20944,7 +20945,7 @@ paths: required: - operator - pattern - - &175 + - &176 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -20980,7 +20981,7 @@ paths: required: - operator - pattern - - &176 + - &177 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -21016,7 +21017,7 @@ paths: required: - operator - pattern - - &177 + - &178 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. @@ -21040,7 +21041,7 @@ paths: type: string required: - restricted_file_paths - - &178 + - &179 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit @@ -21064,7 +21065,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &179 + - &180 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -21087,7 +21088,7 @@ paths: type: string required: - restricted_file_extensions - - &180 + - &181 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. @@ -21111,7 +21112,7 @@ paths: maximum: 100 required: - max_file_size - - &181 + - &182 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -21160,7 +21161,7 @@ paths: - repository_id required: - workflows - - &182 + - &183 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -21220,7 +21221,7 @@ paths: - tool required: - code_scanning_tools - - &183 + - &184 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code review @@ -21270,7 +21271,7 @@ paths: description: Response content: application/json: - schema: &184 + schema: &185 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -21305,11 +21306,11 @@ paths: source: type: string description: The name of the source - enforcement: *161 + enforcement: *162 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *162 + items: *163 current_user_can_bypass: type: string description: |- @@ -21341,7 +21342,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - *155 + - *156 - &405 title: Organization ruleset conditions type: object @@ -21356,14 +21357,14 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *155 - *156 + - *157 - type: object title: repository_id_and_ref_name description: Conditions to target repositories by id and refs by name allOf: - - *155 + - *156 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -21385,8 +21386,8 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *155 - - *158 + - *156 + - *159 type: - 'null' - object @@ -21397,10 +21398,10 @@ paths: type: object description: A repository rule. oneOf: - - *163 - *164 - *165 - *166 + - *167 - &693 title: merge_queue description: Merges must be performed via a merge queue. @@ -21479,7 +21480,6 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - *167 - *168 - *169 - *170 @@ -21496,6 +21496,7 @@ paths: - *181 - *182 - *183 + - *184 created_at: type: string format: date-time @@ -21503,7 +21504,7 @@ paths: type: string format: date-time examples: - default: &185 + default: &186 value: id: 21 name: super cool ruleset @@ -21562,9 +21563,9 @@ paths: description: Response content: application/json: - schema: *184 + schema: *185 examples: - default: *185 + default: *186 '404': *6 '500': *38 x-github: @@ -21608,16 +21609,16 @@ paths: - tag - push - repository - enforcement: *161 + enforcement: *162 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *162 - conditions: *186 + items: *163 + conditions: *187 rules: description: An array of rules within the ruleset. type: array - items: *187 + items: *188 examples: default: value: @@ -21641,9 +21642,9 @@ paths: description: Response content: application/json: - schema: *184 + schema: *185 examples: - default: *185 + default: *186 '404': *6 '500': *38 x-github: @@ -21705,7 +21706,7 @@ paths: application/json: schema: type: array - items: &188 + items: &189 title: Ruleset version type: object description: The historical version of a ruleset @@ -21784,7 +21785,7 @@ paths: application/json: schema: &409 allOf: - - *188 + - *189 - type: object required: - state @@ -21948,14 +21949,14 @@ paths: items: &419 type: object properties: - number: *123 - created_at: *130 + number: *124 + created_at: *131 updated_at: anyOf: - type: 'null' - - *131 - url: *128 - html_url: *129 + - *132 + url: *129 + html_url: *130 locations_url: type: string format: uri @@ -22002,7 +22003,7 @@ paths: secret: type: string description: The secret that was detected. - repository: *117 + repository: *118 push_protection_bypassed: type: - boolean @@ -22553,7 +22554,7 @@ paths: headers: Link: *45 '404': *6 - '503': *189 + '503': *190 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -22590,7 +22591,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &191 + pattern_config_version: &192 type: - string - 'null' @@ -22600,7 +22601,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &190 + items: &191 type: object properties: token_type: @@ -22669,7 +22670,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *190 + items: *191 examples: default: &422 value: @@ -22726,7 +22727,7 @@ paths: schema: type: object properties: - pattern_config_version: *191 + pattern_config_version: *192 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -22752,7 +22753,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *191 + custom_pattern_version: *192 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -22788,7 +22789,7 @@ paths: '400': *14 '403': *27 '404': *6 - '409': *116 + '409': *117 '422': *15 "/enterprises/{enterprise}/settings/billing/advanced-security": get: @@ -23276,7 +23277,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/budgets#get-a-budget-by-id parameters: - *39 - - &192 + - &193 name: budget_id description: The ID corresponding to the budget. in: path @@ -23376,7 +23377,7 @@ paths: '404': *6 '403': *27 '500': *38 - '503': *189 + '503': *190 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -23618,7 +23619,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/budgets#delete-a-budget parameters: - *39 - - *192 + - *193 responses: '200': description: Response when deleting a budget @@ -23645,7 +23646,7 @@ paths: '404': *6 '403': *27 '500': *38 - '503': *189 + '503': *190 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -23745,7 +23746,7 @@ paths: '400': *14 '403': *27 '500': *38 - '503': *189 + '503': *190 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -23875,7 +23876,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#get-a-cost-center-by-id parameters: - *39 - - &195 + - &196 name: cost_center_id description: The ID corresponding to the cost center. in: path @@ -23887,7 +23888,7 @@ paths: description: Response when getting a cost center content: application/json: - schema: &193 + schema: &194 type: object properties: id: @@ -23927,7 +23928,7 @@ paths: - name - resources examples: - default: &194 + default: &195 value: id: 2eeb8ffe-6903-11ee-8c99-0242ac120002 name: Cost Center Name @@ -23941,7 +23942,7 @@ paths: '400': *14 '403': *27 '500': *38 - '503': *189 + '503': *190 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -23991,15 +23992,15 @@ paths: description: Response when updating a cost center content: application/json: - schema: *193 + schema: *194 examples: - default: *194 + default: *195 '400': *14 '403': *27 '404': *6 - '409': *116 + '409': *117 '500': *38 - '503': *189 + '503': *190 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -24017,7 +24018,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#delete-a-cost-center parameters: - *39 - - *195 + - *196 responses: '200': description: Response when deleting a cost center @@ -24056,7 +24057,7 @@ paths: '404': *6 '403': *27 '500': *38 - '503': *189 + '503': *190 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -24077,7 +24078,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#add-resources-to-a-cost-center parameters: - *39 - - *195 + - *196 requestBody: required: true content: @@ -24148,9 +24149,9 @@ paths: previous_cost_center: yet-another-cost-center '400': *14 '403': *27 - '409': *116 + '409': *117 '500': *38 - '503': *189 + '503': *190 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -24170,7 +24171,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#remove-resources-from-a-cost-center parameters: - *39 - - *195 + - *196 requestBody: required: true content: @@ -24217,7 +24218,7 @@ paths: '400': *14 '403': *27 '500': *38 - '503': *189 + '503': *190 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -24238,7 +24239,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/usage#get-billing-premium-request-usage-report-for-an-enterprise parameters: - *39 - - &196 + - &197 name: year description: If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, @@ -24247,7 +24248,7 @@ paths: required: false schema: type: integer - - &198 + - &199 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current @@ -24256,7 +24257,7 @@ paths: required: false schema: type: integer - - &197 + - &198 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is @@ -24265,7 +24266,7 @@ paths: required: false schema: type: integer - - &199 + - &200 name: organization description: The organization name to query usage for. The name is not case sensitive. @@ -24285,7 +24286,7 @@ paths: required: false schema: type: string - - &200 + - &201 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -24424,7 +24425,7 @@ paths: '403': *27 '404': *6 '500': *38 - '503': *189 + '503': *190 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -24445,7 +24446,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/usage#get-billing-usage-report-for-an-enterprise parameters: - *39 - - *196 + - *197 - name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -24454,7 +24455,7 @@ paths: required: false schema: type: integer - - *197 + - *198 - name: cost_center_id description: The ID corresponding to a cost center. The default value is no cost center. @@ -24537,7 +24538,7 @@ paths: '400': *14 '403': *27 '500': *38 - '503': *189 + '503': *190 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -24561,17 +24562,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/usage#get-billing-usage-summary-for-an-enterprise parameters: - *39 - - *196 - - *198 - *197 - *199 + - *198 + - *200 - name: repository description: The repository name to query for usage in the format owner/repository. in: query required: false schema: type: string - - *200 + - *201 - name: sku description: The SKU to query for usage. in: query @@ -24704,7 +24705,7 @@ paths: '400': *14 '403': *27 '500': *38 - '503': *189 + '503': *190 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -24738,7 +24739,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-an-enterprise-team parameters: - *39 - - *134 + - *135 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -24770,13 +24771,13 @@ paths: application/json: schema: type: array - items: *201 + items: *202 examples: - default: *202 + default: *203 '500': *38 '403': *27 '404': *6 - '422': *203 + '422': *204 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -24803,9 +24804,9 @@ paths: application/json: schema: type: array - items: *138 + items: *139 examples: - default: *204 + default: *205 headers: Link: *45 '403': *27 @@ -24882,9 +24883,9 @@ paths: description: Response content: application/json: - schema: *138 + schema: *139 examples: - default: *204 + default: *205 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -24902,7 +24903,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *39 - - &205 + - &206 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -24921,7 +24922,7 @@ paths: type: array items: *4 examples: - default: &206 + default: &207 value: - login: octocat id: 1 @@ -24960,7 +24961,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *39 - - *205 + - *206 requestBody: required: true content: @@ -24991,7 +24992,7 @@ paths: type: array items: *4 examples: - default: *206 + default: *207 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -25009,7 +25010,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *39 - - *205 + - *206 requestBody: required: true content: @@ -25040,7 +25041,7 @@ paths: type: array items: *4 examples: - default: *206 + default: *207 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -25058,8 +25059,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *39 - - *205 - - *136 + - *206 + - *137 responses: '200': description: User is a member of the enterprise team. @@ -25067,7 +25068,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &207 + exampleKey1: &208 value: login: octocat id: 1 @@ -25103,8 +25104,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *39 - - *205 - - *136 + - *206 + - *137 responses: '201': description: Successfully added team member @@ -25112,7 +25113,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *207 + exampleKey1: *208 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -25130,8 +25131,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *39 - - *205 - - *136 + - *206 + - *137 responses: '204': description: Response @@ -25153,7 +25154,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments parameters: - *39 - - *205 + - *206 - *17 - *19 responses: @@ -25165,7 +25166,7 @@ paths: type: array items: *71 examples: - default: &208 + default: &209 value: login: github id: 1 @@ -25196,7 +25197,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments parameters: - *39 - - *205 + - *206 requestBody: required: true content: @@ -25226,7 +25227,7 @@ paths: type: array items: *71 examples: - default: &242 + default: &243 value: - login: github id: 1 @@ -25257,7 +25258,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments parameters: - *39 - - *205 + - *206 requestBody: required: true content: @@ -25298,7 +25299,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment parameters: - *39 - - *205 + - *206 - *85 responses: '200': @@ -25307,7 +25308,7 @@ paths: application/json: schema: *71 examples: - default: *208 + default: *209 '404': description: The team is not assigned to the organization x-github: @@ -25326,7 +25327,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment parameters: - *39 - - *205 + - *206 - *85 responses: '201': @@ -25335,7 +25336,7 @@ paths: application/json: schema: *71 examples: - default: *208 + default: *209 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -25352,7 +25353,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment parameters: - *39 - - *205 + - *206 - *85 responses: '204': @@ -25377,7 +25378,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *39 - - &209 + - &210 name: team_slug description: The slug of the team name. in: path @@ -25389,9 +25390,9 @@ paths: description: Response content: application/json: - schema: *138 + schema: *139 examples: - default: *204 + default: *205 headers: Link: *45 '403': *27 @@ -25411,7 +25412,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *39 - - *209 + - *210 requestBody: required: true content: @@ -25469,9 +25470,9 @@ paths: description: Response content: application/json: - schema: *138 + schema: *139 examples: - default: *204 + default: *205 headers: Link: *45 '403': *27 @@ -25494,7 +25495,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *39 - - *209 + - *210 responses: '204': description: Response @@ -25593,7 +25594,7 @@ paths: application/json: schema: type: array - items: &237 + items: &238 title: Event description: Event type: object @@ -25604,7 +25605,7 @@ paths: type: - string - 'null' - actor: &210 + actor: &211 title: Actor description: Actor type: object @@ -25645,7 +25646,7 @@ paths: - id - name - url - org: *210 + org: *211 payload: oneOf: - title: CreateEvent @@ -25989,7 +25990,7 @@ paths: - id labels: type: array - items: &211 + items: &212 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -26072,7 +26073,7 @@ paths: properties: action: type: string - issue: &212 + issue: &213 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -26426,7 +26427,7 @@ paths: anyOf: - type: 'null' - *5 - author_association: &213 + author_association: &214 title: author_association type: string description: How the author is associated with the @@ -26442,7 +26443,7 @@ paths: - OWNER examples: - OWNER - reactions: &214 + reactions: &215 title: Reaction Rollup type: object properties: @@ -26618,10 +26619,10 @@ paths: assignees: type: array items: *4 - label: *211 + label: *212 labels: type: array - items: *211 + items: *212 required: - action - issue @@ -26630,7 +26631,7 @@ paths: properties: action: type: string - issue: *212 + issue: *213 comment: &630 title: Issue Comment description: Comments provide a way for people to collaborate @@ -26681,12 +26682,12 @@ paths: issue_url: type: string format: uri - author_association: *213 + author_association: *214 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *214 + reactions: *215 required: - id - node_id @@ -26865,7 +26866,7 @@ paths: license: anyOf: - type: 'null' - - *215 + - *216 allow_forking: type: boolean is_template: @@ -26956,7 +26957,7 @@ paths: type: string number: type: integer - pull_request: &216 + pull_request: &217 title: Pull Request Minimal type: object properties: @@ -27027,10 +27028,10 @@ paths: assignees: type: array items: *4 - label: *211 + label: *212 labels: type: array - items: *211 + items: *212 required: - action - number @@ -27040,7 +27041,7 @@ paths: properties: action: type: string - pull_request: *216 + pull_request: *217 comment: type: object properties: @@ -27294,7 +27295,7 @@ paths: - pull_request updated_at: type: string - pull_request: *216 + pull_request: *217 required: - action - review @@ -27343,7 +27344,7 @@ paths: updated_at: type: string format: date-time - reactions: *214 + reactions: *215 required: - action - comment @@ -27511,7 +27512,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *214 + reactions: *215 required: - assets_url - upload_url @@ -27604,7 +27605,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *35 '403': *27 - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27694,7 +27695,7 @@ paths: _links: type: object properties: - timeline: &217 + timeline: &218 title: Link With Type description: Hypermedia Link with Type type: object @@ -27706,17 +27707,17 @@ paths: required: - href - type - user: *217 - security_advisories: *217 - current_user: *217 - current_user_public: *217 - current_user_actor: *217 - current_user_organization: *217 + user: *218 + security_advisories: *218 + current_user: *218 + current_user_public: *218 + current_user_actor: *218 + current_user_organization: *218 current_user_organizations: type: array - items: *217 - repository_discussions: *217 - repository_discussions_category: *217 + items: *218 + repository_discussions: *218 + repository_discussions_category: *218 required: - timeline - user @@ -27778,7 +27779,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *218 + - *219 - *17 - *19 responses: @@ -27788,7 +27789,7 @@ paths: application/json: schema: type: array - items: &219 + items: &220 title: Base Gist description: Base Gist type: object @@ -27885,7 +27886,7 @@ paths: - created_at - updated_at examples: - default: &220 + default: &221 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -28009,7 +28010,7 @@ paths: description: Response content: application/json: - schema: &221 + schema: &222 title: Gist Simple description: Gist Simple type: object @@ -28401,7 +28402,7 @@ paths: truncated: type: boolean examples: - default: &222 + default: &223 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -28505,7 +28506,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-public-gists parameters: - - *218 + - *219 - *17 - *19 responses: @@ -28515,9 +28516,9 @@ paths: application/json: schema: type: array - items: *219 + items: *220 examples: - default: *220 + default: *221 headers: Link: *45 '422': *15 @@ -28539,7 +28540,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-starred-gists parameters: - - *218 + - *219 - *17 - *19 responses: @@ -28549,9 +28550,9 @@ paths: application/json: schema: type: array - items: *219 + items: *220 examples: - default: *220 + default: *221 headers: Link: *45 '401': *23 @@ -28579,7 +28580,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist parameters: - - &223 + - &224 name: gist_id description: The unique identifier of the gist. in: path @@ -28591,10 +28592,10 @@ paths: description: Response content: application/json: - schema: *221 + schema: *222 examples: - default: *222 - '403': &226 + default: *223 + '403': &227 description: Forbidden Gist content: application/json: @@ -28643,7 +28644,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#update-a-gist parameters: - - *223 + - *224 requestBody: required: true content: @@ -28707,9 +28708,9 @@ paths: description: Response content: application/json: - schema: *221 + schema: *222 examples: - updateGist: *222 + updateGist: *223 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -28867,7 +28868,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#delete-a-gist parameters: - - *223 + - *224 responses: '204': description: Response @@ -28896,7 +28897,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#list-gist-comments parameters: - - *223 + - *224 - *17 - *19 responses: @@ -28906,7 +28907,7 @@ paths: application/json: schema: type: array - items: &224 + items: &225 title: Gist Comment description: A comment made to a gist. type: object @@ -28944,7 +28945,7 @@ paths: format: date-time examples: - '2011-04-18T23:23:56Z' - author_association: *213 + author_association: *214 required: - url - id @@ -29009,7 +29010,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#create-a-gist-comment parameters: - - *223 + - *224 requestBody: required: true content: @@ -29035,9 +29036,9 @@ paths: description: Response content: application/json: - schema: *224 + schema: *225 examples: - default: &225 + default: &226 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -29095,8 +29096,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#get-a-gist-comment parameters: - - *223 - - &227 + - *224 + - &228 name: comment_id description: The unique identifier of the comment. in: path @@ -29109,12 +29110,12 @@ paths: description: Response content: application/json: - schema: *224 + schema: *225 examples: - default: *225 + default: *226 '304': *35 '404': *6 - '403': *226 + '403': *227 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29136,8 +29137,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#update-a-gist-comment parameters: - - *223 - - *227 + - *224 + - *228 requestBody: required: true content: @@ -29163,9 +29164,9 @@ paths: description: Response content: application/json: - schema: *224 + schema: *225 examples: - default: *225 + default: *226 '404': *6 x-github: githubCloudOnly: false @@ -29182,8 +29183,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#delete-a-gist-comment parameters: - - *223 - - *227 + - *224 + - *228 responses: '204': description: Response @@ -29206,7 +29207,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-commits parameters: - - *223 + - *224 - *17 - *19 responses: @@ -29307,7 +29308,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-forks parameters: - - *223 + - *224 - *17 - *19 responses: @@ -29317,7 +29318,7 @@ paths: application/json: schema: type: array - items: *221 + items: *222 examples: default: value: @@ -29382,13 +29383,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#fork-a-gist parameters: - - *223 + - *224 responses: '201': description: Response content: application/json: - schema: *219 + schema: *220 examples: default: value: @@ -29459,7 +29460,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#check-if-a-gist-is-starred parameters: - - *223 + - *224 responses: '204': description: Response if gist is starred @@ -29489,7 +29490,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#star-a-gist parameters: - - *223 + - *224 responses: '204': description: Response @@ -29511,7 +29512,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#unstar-a-gist parameters: - - *223 + - *224 responses: '204': description: Response @@ -29540,7 +29541,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist-revision parameters: - - *223 + - *224 - name: sha in: path required: true @@ -29551,9 +29552,9 @@ paths: description: Response content: application/json: - schema: *221 + schema: *222 examples: - default: *222 + default: *223 '422': *15 '404': *6 '403': *27 @@ -29941,7 +29942,7 @@ paths: - comments default: created - *108 - - *218 + - *219 - name: collab in: query required: false @@ -29971,7 +29972,7 @@ paths: application/json: schema: type: array - items: *212 + items: *213 examples: default: &362 value: @@ -30252,7 +30253,7 @@ paths: application/json: schema: type: array - items: *215 + items: *216 examples: default: value: @@ -30550,7 +30551,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &228 + X-CommonMarker-Version: &229 example: 0.17.4 schema: type: string @@ -30605,7 +30606,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *228 + X-CommonMarker-Version: *229 content: text/html: schema: @@ -30634,7 +30635,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &231 + - &232 name: account_id description: account_id parameter in: path @@ -30646,7 +30647,7 @@ paths: description: Response content: application/json: - schema: &230 + schema: &231 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -30680,7 +30681,7 @@ paths: - 'null' id: type: integer - plan: &229 + plan: &230 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -30783,7 +30784,7 @@ paths: - 'null' updated_at: type: string - plan: *229 + plan: *230 required: - url - id @@ -30791,7 +30792,7 @@ paths: - login - marketplace_purchase examples: - default: &232 + default: &233 value: url: https://api.github.com/orgs/github type: Organization @@ -30876,9 +30877,9 @@ paths: application/json: schema: type: array - items: *229 + items: *230 examples: - default: &233 + default: &234 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -30918,14 +30919,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &234 + - &235 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &235 + - &236 name: sort description: The property to sort the results by. in: query @@ -30955,9 +30956,9 @@ paths: application/json: schema: type: array - items: *230 + items: *231 examples: - default: &236 + default: &237 value: - url: https://api.github.com/orgs/github type: Organization @@ -31031,15 +31032,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *231 + - *232 responses: '200': description: Response content: application/json: - schema: *230 + schema: *231 examples: - default: *232 + default: *233 '404': description: Not Found when the account has not purchased the listing '401': *23 @@ -31071,9 +31072,9 @@ paths: application/json: schema: type: array - items: *229 + items: *230 examples: - default: *233 + default: *234 headers: Link: *45 '401': *23 @@ -31096,8 +31097,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *234 - *235 + - *236 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -31117,9 +31118,9 @@ paths: application/json: schema: type: array - items: *230 + items: *231 examples: - default: *236 + default: *237 headers: Link: *45 '401': *23 @@ -31408,7 +31409,7 @@ paths: application/json: schema: type: array - items: *237 + items: *238 examples: default: value: @@ -31492,7 +31493,7 @@ paths: schema: type: boolean default: false - - *218 + - *219 - &662 name: before description: 'Only show notifications updated before the given time. This @@ -31518,14 +31519,14 @@ paths: application/json: schema: type: array - items: &238 + items: &239 title: Thread description: Thread type: object properties: id: type: string - repository: &272 + repository: &273 title: Minimal Repository description: Minimal Repository type: object @@ -32203,7 +32204,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread parameters: - - &239 + - &240 name: thread_id description: The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications @@ -32217,7 +32218,7 @@ paths: description: Response content: application/json: - schema: *238 + schema: *239 examples: default: value: @@ -32320,7 +32321,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-read parameters: - - *239 + - *240 responses: '205': description: Reset Content @@ -32343,7 +32344,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-done parameters: - - *239 + - *240 responses: '204': description: No content @@ -32366,13 +32367,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *239 + - *240 responses: '200': description: Response content: application/json: - schema: &240 + schema: &241 title: Thread Subscription description: Thread Subscription type: object @@ -32416,7 +32417,7 @@ paths: - url - subscribed examples: - default: &241 + default: &242 value: subscribed: true ignored: false @@ -32447,7 +32448,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#set-a-thread-subscription parameters: - - *239 + - *240 requestBody: required: false content: @@ -32468,9 +32469,9 @@ paths: description: Response content: application/json: - schema: *240 + schema: *241 examples: - default: *241 + default: *242 '304': *35 '403': *27 '401': *23 @@ -32493,7 +32494,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#delete-a-thread-subscription parameters: - - *239 + - *240 responses: '204': description: Response @@ -32590,7 +32591,7 @@ paths: type: array items: *71 examples: - default: *242 + default: *243 headers: Link: example: ; rel="next" @@ -32744,7 +32745,7 @@ paths: description: Response content: application/json: - schema: &243 + schema: &244 title: Actions cache retention limit for an organization description: GitHub Actions cache retention policy for an organization. type: object @@ -32783,7 +32784,7 @@ paths: required: true content: application/json: - schema: *243 + schema: *244 examples: selected_actions: *42 responses: @@ -32818,7 +32819,7 @@ paths: description: Response content: application/json: - schema: &244 + schema: &245 title: Actions cache storage limit for an organization description: GitHub Actions cache storage policy for an organization. type: object @@ -32857,7 +32858,7 @@ paths: required: true content: application/json: - schema: *244 + schema: *245 examples: selected_actions: *44 responses: @@ -32932,7 +32933,7 @@ paths: items: anyOf: - type: 'null' - - *117 + - *118 additionalProperties: false examples: default: @@ -33164,7 +33165,7 @@ paths: application/json: schema: type: array - items: *149 + items: *150 examples: default: &669 value: @@ -33212,7 +33213,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the organization. - items: *149 + items: *150 required: - properties examples: @@ -33263,7 +33264,7 @@ paths: description: Response content: application/json: - schema: &245 + schema: &246 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -33673,7 +33674,7 @@ paths: - updated_at - archived_at examples: - default-response: &246 + default-response: &247 value: login: github id: 1 @@ -33999,18 +34000,18 @@ paths: description: Response content: application/json: - schema: *245 + schema: *246 examples: - default: *246 + default: *247 '422': description: Validation failed content: application/json: schema: oneOf: - - *247 - *248 - '409': *116 + - *249 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34064,9 +34065,9 @@ paths: description: Response content: application/json: - schema: *249 + schema: *250 examples: - default: *250 + default: *251 headers: Link: *45 x-github: @@ -34185,7 +34186,7 @@ paths: type: array items: *46 examples: - default: *251 + default: *252 headers: Link: *45 x-github: @@ -34352,7 +34353,7 @@ paths: application/json: schema: *47 examples: - default: *252 + default: *253 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34444,7 +34445,7 @@ paths: application/json: schema: *50 examples: - default: *253 + default: *254 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34563,9 +34564,9 @@ paths: description: Response content: application/json: - schema: *254 + schema: *255 examples: - default: *255 + default: *256 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34601,7 +34602,7 @@ paths: type: array items: *54 examples: - default: *256 + default: *257 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34790,7 +34791,7 @@ paths: description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &257 + schema: &258 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -34804,7 +34805,7 @@ paths: required: - include_claim_keys examples: - default: &258 + default: &259 value: include_claim_keys: - repo @@ -34831,15 +34832,15 @@ paths: required: true content: application/json: - schema: *257 + schema: *258 examples: - default: *258 + default: *259 responses: '201': description: Empty response content: application/json: - schema: &283 + schema: &284 title: Empty Object description: An object without any properties. type: object @@ -34878,7 +34879,7 @@ paths: schema: type: object properties: - enabled_repositories: &260 + enabled_repositories: &261 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -34892,7 +34893,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *58 - selected_actions_url: *259 + selected_actions_url: *260 sha_pinning_required: *59 required: - enabled_repositories @@ -34934,7 +34935,7 @@ paths: schema: type: object properties: - enabled_repositories: *260 + enabled_repositories: *261 allowed_actions: *58 sha_pinning_required: *59 required: @@ -34970,7 +34971,7 @@ paths: description: Response content: application/json: - schema: *261 + schema: *262 examples: response: summary: Example response @@ -35001,7 +35002,7 @@ paths: required: true content: application/json: - schema: *262 + schema: *263 examples: application/json: value: @@ -35011,7 +35012,7 @@ paths: description: No content '403': *27 '404': *6 - '409': *116 + '409': *117 '422': *15 x-github: enabledForGitHubApps: true @@ -35039,7 +35040,7 @@ paths: application/json: schema: *60 examples: - default: *263 + default: *264 '404': *6 x-github: enabledForGitHubApps: true @@ -35096,7 +35097,7 @@ paths: description: Response content: application/json: - schema: *264 + schema: *265 examples: default: *61 '403': *27 @@ -35121,7 +35122,7 @@ paths: required: true content: application/json: - schema: *265 + schema: *266 examples: default: *61 responses: @@ -35173,7 +35174,7 @@ paths: type: array items: *76 examples: - default: &267 + default: &268 value: total_count: 1 repositories: @@ -35358,7 +35359,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - *85 - - &266 + - &267 name: repository_id description: The unique identifier of the repository. in: path @@ -35387,7 +35388,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - *85 - - *266 + - *267 responses: '204': description: Response @@ -35546,7 +35547,7 @@ paths: description: No content '403': *27 '404': *6 - '409': *116 + '409': *117 '422': *15 x-github: enabledForGitHubApps: true @@ -35583,7 +35584,7 @@ paths: type: array items: *76 examples: - default: *267 + default: *268 '403': *27 '404': *6 x-github: @@ -35652,13 +35653,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *85 - - *266 + - *267 responses: '204': description: No content '403': *27 '404': *6 - '409': *116 + '409': *117 '422': *15 x-github: enabledForGitHubApps: true @@ -35679,13 +35680,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *85 - - *266 + - *267 responses: '204': description: No content '403': *27 '404': *6 - '409': *116 + '409': *117 '422': *15 x-github: enabledForGitHubApps: true @@ -35713,7 +35714,7 @@ paths: description: Response content: application/json: - schema: *268 + schema: *269 examples: default: *67 x-github: @@ -35747,7 +35748,7 @@ paths: required: false content: application/json: - schema: *269 + schema: *270 examples: default: *67 x-github: @@ -35794,7 +35795,7 @@ paths: type: number runner_groups: type: array - items: &270 + items: &271 type: object properties: id: @@ -35984,9 +35985,9 @@ paths: description: Response content: application/json: - schema: *270 + schema: *271 examples: - default: &271 + default: &272 value: id: 2 name: octo-runner-group @@ -36028,7 +36029,7 @@ paths: description: Response content: application/json: - schema: *270 + schema: *271 examples: default: value: @@ -36121,9 +36122,9 @@ paths: description: Response content: application/json: - schema: *270 + schema: *271 examples: - default: *271 + default: *272 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -36187,7 +36188,7 @@ paths: type: array items: *46 examples: - default: *251 + default: *252 headers: Link: *45 x-github: @@ -36228,7 +36229,7 @@ paths: type: number repositories: type: array - items: *272 + items: *273 examples: default: &780 value: @@ -36529,7 +36530,7 @@ paths: parameters: - *85 - *70 - - *266 + - *267 responses: '204': description: Response @@ -36553,7 +36554,7 @@ paths: parameters: - *85 - *70 - - *266 + - *267 responses: '204': description: Response @@ -36771,9 +36772,9 @@ paths: application/json: schema: type: array - items: *273 + items: *274 examples: - default: *274 + default: *275 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36838,10 +36839,10 @@ paths: - no-gpu work_folder: _work responses: - '201': *275 + '201': *276 '404': *6 '422': *7 - '409': *116 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36877,7 +36878,7 @@ paths: application/json: schema: *77 examples: - default: *276 + default: *277 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36913,7 +36914,7 @@ paths: application/json: schema: *77 examples: - default: *277 + default: *278 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36944,7 +36945,7 @@ paths: application/json: schema: *74 examples: - default: *278 + default: *279 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37119,7 +37120,7 @@ paths: - *85 - *73 responses: - '200': *279 + '200': *280 '404': *6 x-github: githubCloudOnly: false @@ -37148,7 +37149,7 @@ paths: parameters: - *85 - *73 - - *280 + - *281 responses: '200': *79 '404': *6 @@ -37193,7 +37194,7 @@ paths: type: integer secrets: type: array - items: &281 + items: &282 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -37335,7 +37336,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - *85 - - &282 + - &283 name: secret_name description: The name of the secret. in: path @@ -37347,7 +37348,7 @@ paths: description: Response content: application/json: - schema: *281 + schema: *282 examples: default: value: @@ -37378,7 +37379,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - *85 - - *282 + - *283 requestBody: required: true content: @@ -37435,7 +37436,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *283 + schema: *284 examples: default: value: @@ -37462,7 +37463,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - *85 - - *282 + - *283 responses: '204': description: Response @@ -37489,7 +37490,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - *85 - - *282 + - *283 - *19 - *17 responses: @@ -37507,9 +37508,9 @@ paths: type: integer repositories: type: array - items: *272 + items: *273 examples: - default: &286 + default: &287 value: total_count: 1 repositories: @@ -37602,7 +37603,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - *85 - - *282 + - *283 requestBody: required: true content: @@ -37655,7 +37656,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - *85 - - *282 + - *283 - name: repository_id in: path required: true @@ -37689,7 +37690,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - *85 - - *282 + - *283 - name: repository_id in: path required: true @@ -37746,7 +37747,7 @@ paths: type: integer variables: type: array - items: &284 + items: &285 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -37884,7 +37885,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *283 + schema: *284 examples: default: value: @@ -37910,7 +37911,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - *85 - - &285 + - &286 name: name description: The name of the variable. in: path @@ -37922,7 +37923,7 @@ paths: description: Response content: application/json: - schema: *284 + schema: *285 examples: default: value: @@ -37953,7 +37954,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - *85 - - *285 + - *286 requestBody: required: true content: @@ -38016,7 +38017,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - *85 - - *285 + - *286 responses: '204': description: Response @@ -38043,7 +38044,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - *85 - - *285 + - *286 - *19 - *17 responses: @@ -38061,9 +38062,9 @@ paths: type: integer repositories: type: array - items: *272 + items: *273 examples: - default: *286 + default: *287 '409': description: Response when the visibility of the variable is not set to `selected` @@ -38090,7 +38091,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - *85 - - *285 + - *286 requestBody: required: true content: @@ -38140,7 +38141,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - *85 - - *285 + - *286 - name: repository_id in: path required: true @@ -38175,7 +38176,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - *85 - - *285 + - *286 - name: repository_id in: path required: true @@ -38233,7 +38234,7 @@ paths: required: true content: application/json: - schema: *287 + schema: *288 examples: default: *83 parameters: @@ -38398,7 +38399,7 @@ paths: type: integer deployment_records: type: array - items: &288 + items: &289 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -38443,7 +38444,7 @@ paths: description: The ID of the provenance attestation associated with the deployment record. examples: - default: &289 + default: &290 value: total_count: 1 deployment_records: @@ -38618,9 +38619,9 @@ paths: type: integer deployment_records: type: array - items: *288 + items: *289 examples: - default: *289 + default: *290 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38830,9 +38831,9 @@ paths: - 3 deployment_records: type: array - items: *288 + items: *289 examples: - default: *289 + default: *290 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39501,10 +39502,10 @@ paths: required: false schema: type: string - - *290 - *291 - *292 - *293 + - *294 - *17 responses: '200': @@ -39513,9 +39514,9 @@ paths: application/json: schema: type: array - items: *294 + items: *295 examples: - default: *295 + default: *296 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -39544,7 +39545,7 @@ paths: type: array items: *4 examples: - default: *206 + default: *207 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39564,7 +39565,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - *85 - - *136 + - *137 responses: '204': description: If the user is blocked @@ -39590,7 +39591,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#block-a-user-from-an-organization parameters: - *85 - - *136 + - *137 responses: '204': description: Response @@ -39611,7 +39612,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - *85 - - *136 + - *137 responses: '204': description: Response @@ -39638,7 +39639,7 @@ paths: subcategory: bypass-requests parameters: - *85 - - &298 + - &299 name: repository_name description: The name of the repository to filter on. in: query @@ -39657,9 +39658,9 @@ paths: application/json: schema: type: array - items: *296 + items: *297 examples: - default: *297 + default: *298 '404': *6 '500': *38 "/orgs/{org}/bypass-requests/secret-scanning": @@ -39683,7 +39684,7 @@ paths: subcategory: delegated-bypass parameters: - *85 - - *298 + - *299 - *101 - *102 - *103 @@ -39697,9 +39698,9 @@ paths: application/json: schema: type: array - items: *299 + items: *300 examples: - default: *300 + default: *301 '404': *6 '500': *38 "/orgs/{org}/campaigns": @@ -39726,7 +39727,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &302 + schema: &303 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -39752,7 +39753,7 @@ paths: application/json: schema: type: array - items: &303 + items: &304 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -39783,7 +39784,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *301 + items: *302 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -39802,7 +39803,7 @@ paths: - string - 'null' format: date-time - state: *302 + state: *303 contact_link: description: The contact link of the campaign. type: @@ -39900,7 +39901,7 @@ paths: headers: Link: *45 '404': *6 - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40025,9 +40026,9 @@ paths: description: Response content: application/json: - schema: *303 + schema: *304 examples: - default: &304 + default: &305 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -40076,7 +40077,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40110,16 +40111,16 @@ paths: description: Response content: application/json: - schema: *303 + schema: *304 examples: - default: *304 + default: *305 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40190,7 +40191,7 @@ paths: - string - 'null' format: uri - state: *302 + state: *303 examples: default: value: @@ -40200,9 +40201,9 @@ paths: description: Response content: application/json: - schema: *303 + schema: *304 examples: - default: *304 + default: *305 '400': description: Bad Request content: @@ -40214,7 +40215,7 @@ paths: content: application/json: schema: *3 - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40246,7 +40247,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40269,8 +40270,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *85 - - *305 - *306 + - *307 - *106 - *107 - *19 @@ -40281,7 +40282,7 @@ paths: be returned. in: query required: false - schema: *307 + schema: *308 - name: sort description: The property by which to sort the results. in: query @@ -40323,13 +40324,13 @@ paths: application/json: schema: type: array - items: *308 + items: *309 examples: - default: *309 + default: *310 headers: Link: *45 '404': *6 - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40540,7 +40541,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *310 + code_scanning_options: *116 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -40765,11 +40766,11 @@ paths: - 32 - 91 responses: - '204': *148 + '204': *149 '400': *14 '403': *27 '404': *6 - '409': *116 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40905,6 +40906,7 @@ paths: - disabled - not_set code_scanning_default_setup_options: *115 + code_scanning_options: *116 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -41084,11 +41086,11 @@ paths: - *85 - *114 responses: - '204': *148 + '204': *149 '400': *14 '403': *27 '404': *6 - '409': *116 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41352,7 +41354,7 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *272 + repository: *273 machine: anyOf: - type: 'null' @@ -42405,7 +42407,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - *85 - - *282 + - *283 responses: '200': description: Response @@ -42441,7 +42443,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - *85 - - *282 + - *283 requestBody: required: true content: @@ -42496,7 +42498,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *283 + schema: *284 examples: default: value: @@ -42523,7 +42525,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - *85 - - *282 + - *283 responses: '204': description: Response @@ -42549,7 +42551,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - *85 - - *282 + - *283 - *19 - *17 responses: @@ -42567,9 +42569,9 @@ paths: type: integer repositories: type: array - items: *272 + items: *273 examples: - default: *286 + default: *287 '404': *6 x-github: githubCloudOnly: false @@ -42592,7 +42594,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - *85 - - *282 + - *283 requestBody: required: true content: @@ -42643,7 +42645,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - *85 - - *282 + - *283 - name: repository_id in: path required: true @@ -42677,7 +42679,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - *85 - - *282 + - *283 - name: repository_id in: path required: true @@ -42880,9 +42882,9 @@ paths: currently being billed. seats: type: array - items: *139 + items: *140 examples: - default: *140 + default: *141 headers: Link: *45 '500': *38 @@ -43266,13 +43268,13 @@ paths: application/json: schema: type: array - items: *201 + items: *202 examples: - default: *202 + default: *203 '500': *38 '403': *27 '404': *6 - '422': *203 + '422': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43299,15 +43301,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics-for-a-specific-day parameters: - *85 - - *118 + - *119 responses: '200': description: Response content: application/json: - schema: *119 + schema: *120 examples: - default: *120 + default: *121 '500': *38 '403': *27 '404': *6 @@ -43342,9 +43344,9 @@ paths: description: Response content: application/json: - schema: *121 + schema: *122 examples: - default: *122 + default: *123 '500': *38 '403': *27 '404': *6 @@ -43374,15 +43376,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics-for-a-specific-day parameters: - *85 - - *118 + - *119 responses: '200': description: Response content: application/json: - schema: *119 + schema: *120 examples: - default: *120 + default: *121 '500': *38 '403': *27 '404': *6 @@ -43417,9 +43419,9 @@ paths: description: Response content: application/json: - schema: *121 + schema: *122 examples: - default: *122 + default: *123 '500': *38 '403': *27 '404': *6 @@ -43811,7 +43813,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - *85 - - *135 + - *136 responses: '200': description: Response @@ -43842,7 +43844,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - *85 - - *135 + - *136 requestBody: required: true content: @@ -43913,7 +43915,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - *85 - - *135 + - *136 responses: '204': description: Response @@ -43993,7 +43995,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - *85 - - *135 + - *136 responses: '200': description: Response @@ -44030,7 +44032,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - *85 - - *135 + - *136 requestBody: required: true content: @@ -44083,7 +44085,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - *85 - - *135 + - *136 responses: '204': description: Response @@ -44335,7 +44337,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - *85 - - *282 + - *283 responses: '200': description: Response @@ -44370,7 +44372,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - *85 - - *282 + - *283 requestBody: required: true content: @@ -44429,7 +44431,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *283 + schema: *284 examples: default: value: @@ -44454,7 +44456,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - *85 - - *282 + - *283 responses: '204': description: Response @@ -44479,7 +44481,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - *85 - - *282 + - *283 - *19 - *17 responses: @@ -44497,9 +44499,9 @@ paths: type: integer repositories: type: array - items: *272 + items: *273 examples: - default: *286 + default: *287 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44521,7 +44523,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - *85 - - *282 + - *283 requestBody: required: true content: @@ -44572,7 +44574,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - *85 - - *282 + - *283 - name: repository_id in: path required: true @@ -44604,7 +44606,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - *85 - - *282 + - *283 - name: repository_id in: path required: true @@ -44688,7 +44690,7 @@ paths: - denied - all default: all - - *298 + - *299 - *17 - *19 responses: @@ -44949,7 +44951,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *85 - - *298 + - *299 - *101 - *102 - *103 @@ -45190,7 +45192,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *85 - - *298 + - *299 - *101 - *102 - *103 @@ -45472,7 +45474,7 @@ paths: repository: anyOf: - type: 'null' - - *272 + - *273 created_at: type: string format: date-time @@ -45578,7 +45580,7 @@ paths: application/json: schema: type: array - items: *237 + items: *238 examples: 200-response: value: @@ -47711,7 +47713,7 @@ paths: application/json: schema: type: array - items: *301 + items: *302 examples: default: &372 value: @@ -48044,7 +48046,7 @@ paths: - comments default: created - *108 - - *218 + - *219 - *17 - *19 responses: @@ -48054,7 +48056,7 @@ paths: application/json: schema: type: array - items: *212 + items: *213 examples: default: *362 headers: @@ -48116,7 +48118,7 @@ paths: type: array items: *4 examples: - default: *206 + default: *207 headers: Link: *45 '422': *15 @@ -48137,7 +48139,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-organization-membership-for-a-user parameters: - *85 - - *136 + - *137 responses: '204': description: Response if requester is an organization member and user is @@ -48172,7 +48174,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-an-organization-member parameters: - *85 - - *136 + - *137 responses: '204': description: Response @@ -48199,7 +48201,7 @@ paths: - *17 - *19 - *85 - - *136 + - *137 responses: '200': description: Response @@ -48243,7 +48245,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - *85 - - *136 + - *137 - &365 name: codespace_name in: path @@ -48278,7 +48280,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - *85 - - *136 + - *137 - *365 responses: '200': @@ -48461,13 +48463,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - *85 - - *136 + - *137 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *139 + schema: *140 examples: default: value: @@ -48537,7 +48539,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-organization-membership-for-a-user parameters: - *85 - - *136 + - *137 responses: '200': description: Response @@ -48685,7 +48687,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-organization-membership-for-a-user parameters: - *85 - - *136 + - *137 requestBody: required: false content: @@ -48740,7 +48742,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-organization-membership-for-a-user parameters: - *85 - - *136 + - *137 responses: '204': description: Response @@ -49587,7 +49589,7 @@ paths: application/json: schema: type: array - items: *272 + items: *273 examples: default: &379 value: @@ -50036,7 +50038,7 @@ paths: updated_at: '2022-07-04T22:19:11Z' '422': *15 '404': *6 - '409': *116 + '409': *117 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -50059,7 +50061,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *85 - - *209 + - *210 responses: '204': description: Response @@ -50085,8 +50087,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *85 - - *209 - - *135 + - *210 + - *136 responses: '204': description: Response @@ -50116,8 +50118,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *85 - - *209 - - *135 + - *210 + - *136 responses: '204': description: Response @@ -50143,7 +50145,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - *85 - - *136 + - *137 responses: '204': description: Response @@ -50169,8 +50171,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - *85 + - *137 - *136 - - *135 responses: '204': description: Response @@ -50201,8 +50203,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - *85 + - *137 - *136 - - *135 responses: '204': description: Response @@ -50231,7 +50233,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - *85 - - *135 + - *136 responses: '200': description: Response @@ -50295,7 +50297,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - *85 - - *135 + - *136 requestBody: required: true content: @@ -50362,7 +50364,7 @@ paths: created_at: '2022-07-04T22:19:11Z' updated_at: '2022-07-04T22:19:11Z' '422': *15 - '409': *116 + '409': *117 '404': *6 x-github: githubCloudOnly: true @@ -50388,7 +50390,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - *85 - - *135 + - *136 responses: '204': description: Response @@ -50414,7 +50416,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *85 - - *135 + - *136 - *17 - *19 responses: @@ -50556,7 +50558,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *85 - - *135 + - *136 - *17 - *19 responses: @@ -50702,7 +50704,7 @@ paths: - type - url examples: - default: *206 + default: *207 headers: Link: *45 '404': @@ -50753,7 +50755,7 @@ paths: type: array items: *4 examples: - default: *206 + default: *207 headers: Link: *45 x-github: @@ -50779,7 +50781,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - *85 - - *136 + - *137 requestBody: required: false content: @@ -50837,7 +50839,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - *85 - - *136 + - *137 responses: '204': description: Response @@ -51722,7 +51724,7 @@ paths: '422': *15 '404': *6 '403': *27 - '204': *148 + '204': *149 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51763,7 +51765,7 @@ paths: application/json: schema: type: array - items: *272 + items: *273 examples: default: *379 headers: @@ -52039,7 +52041,7 @@ paths: responses: '500': *38 '404': *6 - '204': *148 + '204': *149 '403': *27 '422': *15 x-github: @@ -52080,7 +52082,7 @@ paths: application/json: schema: type: array - items: *272 + items: *273 examples: default: *379 headers: @@ -52512,7 +52514,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - *85 - - *282 + - *283 responses: '200': description: The specified private registry configuration for the organization @@ -52542,7 +52544,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - *85 - - *282 + - *283 requestBody: required: true content: @@ -52648,7 +52650,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - *85 - - *282 + - *283 responses: '204': description: Response @@ -53035,7 +53037,7 @@ paths: description: The node ID of the project item. content: oneOf: - - *212 + - *213 - &559 title: Pull Request Simple description: Pull Request Simple @@ -53211,7 +53213,7 @@ paths: type: - array - 'null' - items: *301 + items: *302 head: type: object properties: @@ -53280,7 +53282,7 @@ paths: - review_comments - review_comment - self - author_association: *213 + author_association: *214 auto_merge: &672 title: Auto merge description: The status of auto merging a pull request. @@ -54957,70 +54959,62 @@ paths: requestBody: required: true description: Details of the item to add to the project. You can specify either - the database ID or the repository owner, name, and issue/PR number. + the unique ID or the repository owner, name, and issue/PR number. content: application/json: schema: + type: object + additionalProperties: false + properties: + type: + type: string + enum: + - Issue + - PullRequest + description: The type of item to add to the project. Must be either + Issue or PullRequest. + id: + type: integer + description: The unique identifier of the issue or pull request + to add to the project. + owner: + type: string + description: The repository owner login. + repo: + type: string + description: The repository name. + number: + type: integer + description: The issue or pull request number. + required: + - type oneOf: - - type: object - properties: - type: - type: string - enum: - - Issue - - PullRequest - description: The type of item to add to the project. Must be either - Issue or PullRequest. - id: - type: integer - description: The unique ID of the issue or pull request to add - to the project. - required: - - type + - required: - id - - type: object - properties: - type: - type: string - enum: - - Issue - - PullRequest - description: The type of item to add to the project. Must be either - Issue or PullRequest. - owner: - type: string - description: The repository owner login. - repo: - type: string - description: The repository name. - number: - type: integer - description: The issue or pull request number. - required: - - type + - required: - owner - repo - number examples: - issue-with-id: - summary: Add issue by database ID + issue_with_id: + summary: Add an issue using its unique ID value: type: Issue id: 3 - pull_request-with-id: - summary: Add pull request by database ID + pull_request_with_id: + summary: Add a pull request using its unique ID value: type: PullRequest id: 3 - issue-with-nwo: - summary: Add issue by repository and number + issue_with_nwo: + summary: Add an issue using repository owner, name, and issue number value: type: Issue owner: octocat repo: hello-world number: 42 - pull_request-with-nwo: - summary: Add pull request by repository and number + pull_request_with_nwo: + summary: Add a pull request using repository owner, name, and PR number value: type: PullRequest owner: octocat @@ -55033,8 +55027,20 @@ paths: application/json: schema: *396 examples: - issue: *397 - pull_request: *397 + issue_with_id: + summary: Response for adding an issue using its unique ID + value: *397 + pull_request_with_id: + summary: Response for adding a pull request using its unique ID + value: *397 + issue_with_nwo: + summary: Response for adding an issue using repository owner, name, + and issue number + value: *397 + pull_request_with_nwo: + summary: Response for adding a pull request using repository owner, + name, and PR number + value: *397 '304': *35 '403': *27 '401': *23 @@ -55300,9 +55306,9 @@ paths: application/json: schema: type: array - items: *150 + items: *151 examples: - default: *151 + default: *152 '403': *27 '404': *6 x-github: @@ -55340,7 +55346,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *150 + items: *151 minItems: 1 maxItems: 100 required: @@ -55370,9 +55376,9 @@ paths: application/json: schema: type: array - items: *150 + items: *151 examples: - default: *151 + default: *152 '403': *27 '404': *6 x-github: @@ -55394,15 +55400,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *85 - - *146 + - *147 responses: '200': description: Response content: application/json: - schema: *150 + schema: *151 examples: - default: *152 + default: *153 '403': *27 '404': *6 x-github: @@ -55426,7 +55432,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *85 - - *146 + - *147 requestBody: required: true content: @@ -55447,9 +55453,9 @@ paths: description: Response content: application/json: - schema: *150 + schema: *151 examples: - default: *152 + default: *153 '403': *27 '404': *6 x-github: @@ -55473,9 +55479,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *85 - - *146 + - *147 responses: - '204': *148 + '204': *149 '403': *27 '404': *6 x-github: @@ -55537,7 +55543,7 @@ paths: - octocat/Hello-World properties: type: array - items: *149 + items: *150 description: List of custom property names and associated values required: - repository_id @@ -55606,7 +55612,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *149 + items: *150 required: - repository_names - properties @@ -55659,7 +55665,7 @@ paths: type: array items: *4 examples: - default: *206 + default: *207 headers: Link: *45 x-github: @@ -55679,7 +55685,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-public-organization-membership-for-a-user parameters: - *85 - - *136 + - *137 responses: '204': description: Response if user is a public member @@ -55704,7 +55710,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - *85 - - *136 + - *137 responses: '204': description: Response @@ -55726,7 +55732,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - *85 - - *136 + - *137 responses: '204': description: Response @@ -55797,7 +55803,7 @@ paths: application/json: schema: type: array - items: *272 + items: *273 examples: default: *379 headers: @@ -56449,7 +56455,7 @@ paths: license: anyOf: - type: 'null' - - *215 + - *216 organization: anyOf: - type: 'null' @@ -57154,7 +57160,7 @@ paths: application/json: schema: type: array - items: *184 + items: *185 examples: default: value: @@ -57222,11 +57228,11 @@ paths: - push - repository default: branch - enforcement: *161 + enforcement: *162 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *162 + items: *163 conditions: *405 rules: type: array @@ -57236,7 +57242,6 @@ paths: type: object description: A repository rule. oneOf: - - *163 - *164 - *165 - *166 @@ -57257,6 +57262,7 @@ paths: - *181 - *182 - *183 + - *184 required: - name - enforcement @@ -57294,7 +57300,7 @@ paths: description: Response content: application/json: - schema: *184 + schema: *185 examples: default: &406 value: @@ -57361,7 +57367,7 @@ paths: schema: type: string x-multi-segment: true - - *298 + - *299 - *103 - &697 name: actor_name @@ -57686,7 +57692,7 @@ paths: description: Response content: application/json: - schema: *184 + schema: *185 examples: default: *406 '404': *6 @@ -57732,11 +57738,11 @@ paths: - tag - push - repository - enforcement: *161 + enforcement: *162 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *162 + items: *163 conditions: *405 rules: description: An array of rules within the ruleset. @@ -57776,7 +57782,7 @@ paths: description: Response content: application/json: - schema: *184 + schema: *185 examples: default: *406 '404': *6 @@ -57835,7 +57841,7 @@ paths: application/json: schema: type: array - items: *188 + items: *189 examples: default: *408 '404': *6 @@ -57982,7 +57988,7 @@ paths: headers: Link: *45 '404': *6 - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58044,7 +58050,7 @@ paths: schema: type: object properties: - pattern_config_version: *191 + pattern_config_version: *192 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -58070,7 +58076,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *191 + custom_pattern_version: *192 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -58106,7 +58112,7 @@ paths: '400': *14 '403': *27 '404': *6 - '409': *116 + '409': *117 '422': *15 "/orgs/{org}/security-advisories": get: @@ -58376,7 +58382,7 @@ paths: required: - vector_string - score - cvss_severities: *125 + cvss_severities: *126 cwes: type: - array @@ -58449,13 +58455,13 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *301 + items: *302 private_fork: readOnly: true description: A temporary private fork of the advisory's repository for collaborating on a fix. allOf: - - *117 + - *118 type: - 'null' required: @@ -58900,7 +58906,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - *85 - - *209 + - *210 responses: '204': description: Response @@ -58926,7 +58932,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - *85 - - *209 + - *210 responses: '204': description: Response @@ -59114,9 +59120,9 @@ paths: type: integer repositories: type: array - items: *272 + items: *273 examples: - default: *286 + default: *287 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59185,7 +59191,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *85 - - *266 + - *267 responses: '204': description: Response @@ -59208,7 +59214,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *85 - - *266 + - *267 responses: '204': description: Response @@ -59249,7 +59255,7 @@ paths: type: integer network_configurations: type: array - items: *141 + items: *142 examples: default: *427 headers: @@ -59314,9 +59320,9 @@ paths: description: Response content: application/json: - schema: *141 + schema: *142 examples: - default: *142 + default: *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59337,15 +59343,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *85 - - *143 + - *144 responses: '200': description: Response content: application/json: - schema: *141 + schema: *142 examples: - default: *142 + default: *143 headers: Link: *45 x-github: @@ -59367,7 +59373,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *85 - - *143 + - *144 requestBody: required: true content: @@ -59406,9 +59412,9 @@ paths: description: Response content: application/json: - schema: *141 + schema: *142 examples: - default: *142 + default: *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59428,7 +59434,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *85 - - *143 + - *144 responses: '204': description: Response @@ -59596,7 +59602,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - *85 - - *209 + - *210 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -59628,13 +59634,13 @@ paths: application/json: schema: type: array - items: *201 + items: *202 examples: - default: *202 + default: *203 '500': *38 '403': *27 '404': *6 - '422': *203 + '422': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59662,7 +59668,7 @@ paths: application/json: schema: type: array - items: *301 + items: *302 examples: default: *372 headers: @@ -60228,7 +60234,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - *85 - - *209 + - *210 responses: '200': description: Response @@ -60258,7 +60264,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - *85 - - *209 + - *210 requestBody: required: false content: @@ -60356,7 +60362,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - *85 - - *209 + - *210 responses: '204': description: Response @@ -60383,7 +60389,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - *85 - - *209 + - *210 - *108 - *17 - *19 @@ -60482,7 +60488,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *214 + reactions: *215 required: - author - body @@ -60573,7 +60579,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - *85 - - *209 + - *210 requestBody: required: true content: @@ -60680,7 +60686,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - *85 - - *209 + - *210 - &435 name: discussion_number description: The number that identifies the discussion. @@ -60718,7 +60724,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - *85 - - *209 + - *210 - *435 requestBody: required: false @@ -60813,7 +60819,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - *85 - - *209 + - *210 - *435 responses: '204': @@ -60838,7 +60844,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - *85 - - *209 + - *210 responses: '200': description: Response @@ -60866,7 +60872,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team parameters: - *85 - - *209 + - *210 requestBody: required: true content: @@ -60912,7 +60918,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - *85 - - *209 + - *210 responses: '204': description: Response @@ -60937,7 +60943,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - *85 - - *209 + - *210 - *17 - *19 responses: @@ -60972,7 +60978,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - *85 - - *209 + - *210 - name: role description: Filters members returned by their role in the team. in: query @@ -60995,7 +61001,7 @@ paths: type: array items: *4 examples: - default: *206 + default: *207 headers: Link: *45 x-github: @@ -61026,8 +61032,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - *85 - - *209 - - *136 + - *210 + - *137 responses: '200': description: Response @@ -61098,8 +61104,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *85 - - *209 - - *136 + - *210 + - *137 requestBody: required: false content: @@ -61162,8 +61168,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - *85 - - *209 - - *136 + - *210 + - *137 responses: '204': description: Response @@ -61190,7 +61196,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - *85 - - *209 + - *210 - *17 - *19 responses: @@ -61200,7 +61206,7 @@ paths: application/json: schema: type: array - items: *272 + items: *273 examples: default: *379 headers: @@ -61232,7 +61238,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - *85 - - *209 + - *210 - *441 - *442 responses: @@ -61266,7 +61272,7 @@ paths: license: anyOf: - type: 'null' - - *215 + - *216 forks: type: integer permissions: @@ -61882,7 +61888,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - *85 - - *209 + - *210 - *441 - *442 requestBody: @@ -61930,7 +61936,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - *85 - - *209 + - *210 - *441 - *442 responses: @@ -61959,7 +61965,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team parameters: - *85 - - *209 + - *210 responses: '200': description: Response @@ -61990,7 +61996,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections parameters: - *85 - - *209 + - *210 requestBody: required: true content: @@ -62066,7 +62072,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - *85 - - *209 + - *210 - *17 - *19 responses: @@ -62076,7 +62082,7 @@ paths: application/json: schema: type: array - items: *301 + items: *302 examples: response-if-child-teams-exist: &776 value: @@ -63214,7 +63220,7 @@ paths: documentation_url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository '307': *449 '404': *6 - '409': *116 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64328,7 +64334,7 @@ paths: description: Response content: application/json: - schema: *283 + schema: *284 examples: default: value: @@ -64438,7 +64444,7 @@ paths: description: Empty response content: application/json: - schema: *283 + schema: *284 examples: default: value: @@ -64640,7 +64646,7 @@ paths: type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *58 - selected_actions_url: *259 + selected_actions_url: *260 sha_pinning_required: *59 required: - enabled @@ -64805,7 +64811,7 @@ paths: description: Response content: application/json: - schema: *261 + schema: *262 examples: default: value: @@ -64840,7 +64846,7 @@ paths: required: true content: application/json: - schema: *262 + schema: *263 examples: default: summary: Set retention days @@ -64873,7 +64879,7 @@ paths: application/json: schema: *60 examples: - default: *263 + default: *264 '404': *6 x-github: enabledForGitHubApps: true @@ -64934,7 +64940,7 @@ paths: description: Response content: application/json: - schema: *264 + schema: *265 examples: default: *61 '403': *27 @@ -64962,7 +64968,7 @@ paths: required: true content: application/json: - schema: *265 + schema: *266 examples: default: *61 responses: @@ -65060,7 +65066,7 @@ paths: description: Response content: application/json: - schema: *268 + schema: *269 examples: default: *67 x-github: @@ -65095,7 +65101,7 @@ paths: required: true content: application/json: - schema: *269 + schema: *270 examples: default: *67 x-github: @@ -65178,9 +65184,9 @@ paths: application/json: schema: type: array - items: *273 + items: *274 examples: - default: *274 + default: *275 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65246,10 +65252,10 @@ paths: - no-gpu work_folder: _work responses: - '201': *275 + '201': *276 '404': *6 '422': *7 - '409': *116 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65286,7 +65292,7 @@ paths: application/json: schema: *77 examples: - default: *276 + default: *277 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65323,7 +65329,7 @@ paths: application/json: schema: *77 examples: - default: *277 + default: *278 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65355,7 +65361,7 @@ paths: application/json: schema: *74 examples: - default: *278 + default: *279 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65535,7 +65541,7 @@ paths: - *442 - *73 responses: - '200': *279 + '200': *280 '404': *6 x-github: githubCloudOnly: false @@ -65565,7 +65571,7 @@ paths: - *441 - *442 - *73 - - *280 + - *281 responses: '200': *79 '404': *6 @@ -65811,7 +65817,7 @@ paths: type: - array - 'null' - items: *216 + items: *217 created_at: type: string format: date-time @@ -65946,8 +65952,8 @@ paths: - timestamp - author - committer - repository: *272 - head_repository: *272 + repository: *273 + head_repository: *273 head_repository_id: type: integer examples: @@ -66644,7 +66650,7 @@ paths: description: Response content: application/json: - schema: *283 + schema: *284 examples: default: value: @@ -66934,11 +66940,11 @@ paths: description: Response content: application/json: - schema: *283 + schema: *284 examples: default: value: - '409': *116 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67038,11 +67044,11 @@ paths: description: Response content: application/json: - schema: *283 + schema: *284 examples: default: value: - '409': *116 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67264,7 +67270,7 @@ paths: reviewer: anyOf: - *4 - - *301 + - *302 required: - environment - wait_timer @@ -67583,7 +67589,7 @@ paths: description: Response content: application/json: - schema: *283 + schema: *284 examples: default: value: @@ -67630,7 +67636,7 @@ paths: description: Response content: application/json: - schema: *283 + schema: *284 examples: default: value: @@ -67881,7 +67887,7 @@ paths: parameters: - *441 - *442 - - *282 + - *283 responses: '200': description: Response @@ -67917,7 +67923,7 @@ paths: parameters: - *441 - *442 - - *282 + - *283 requestBody: required: true content: @@ -67948,7 +67954,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *283 + schema: *284 examples: default: value: @@ -67976,7 +67982,7 @@ paths: parameters: - *441 - *442 - - *282 + - *283 responses: '204': description: Response @@ -68073,7 +68079,7 @@ paths: description: Response content: application/json: - schema: *283 + schema: *284 examples: default: value: @@ -68100,7 +68106,7 @@ paths: parameters: - *441 - *442 - - *285 + - *286 responses: '200': description: Response @@ -68136,7 +68142,7 @@ paths: parameters: - *441 - *442 - - *285 + - *286 requestBody: required: true content: @@ -68180,7 +68186,7 @@ paths: parameters: - *441 - *442 - - *285 + - *286 responses: '204': description: Response @@ -68423,37 +68429,8 @@ paths: - *442 - *479 responses: - '200': + '204': description: Response - content: - application/json: - schema: - title: Workflow Dispatch Response - description: Response containing the workflow run ID and URLs. - type: object - properties: - workflow_run_id: - title: Workflow Run ID - description: The ID of the workflow run. - type: integer - format: int64 - run_url: - type: string - format: uri - description: The URL to the workflow run. - html_url: - type: string - format: uri - required: - - workflow_run_id - - run_url - - html_url - examples: - default: - value: - workflow_run_id: 1 - run_url: https://api.github.com/repos/octo-org/octo-repo/actions/runs/1 - html_url: https://github.com/octo-org/octo-repo/actions/runs/1 requestBody: required: true content: @@ -68838,7 +68815,7 @@ paths: type: array items: *4 examples: - default: *206 + default: *207 headers: Link: *45 '404': *6 @@ -69509,7 +69486,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *301 + items: *302 apps: description: The list of apps with review dismissal access. @@ -69541,7 +69518,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *301 + items: *302 apps: description: The list of apps allowed to bypass pull request requirements. @@ -69634,7 +69611,7 @@ paths: type: string teams: type: array - items: *301 + items: *302 apps: type: array items: @@ -70008,14 +69985,14 @@ paths: author: oneOf: - *4 - - *283 + - *284 type: - 'null' - object committer: oneOf: - *4 - - *283 + - *284 type: - 'null' - object @@ -70824,7 +70801,7 @@ paths: items: *4 teams: type: array - items: *301 + items: *302 apps: type: array items: *5 @@ -70842,7 +70819,7 @@ paths: items: *4 teams: type: array - items: *301 + items: *302 apps: type: array items: *5 @@ -72231,7 +72208,7 @@ paths: application/json: schema: type: array - items: *301 + items: *302 examples: default: *372 '404': *6 @@ -72291,7 +72268,7 @@ paths: application/json: schema: type: array - items: *301 + items: *302 examples: default: *372 '422': *15 @@ -72352,7 +72329,7 @@ paths: application/json: schema: type: array - items: *301 + items: *302 examples: default: *372 '422': *15 @@ -72412,7 +72389,7 @@ paths: application/json: schema: type: array - items: *301 + items: *302 examples: default: *372 '422': *15 @@ -72448,7 +72425,7 @@ paths: type: array items: *4 examples: - default: *206 + default: *207 '404': *6 x-github: githubCloudOnly: false @@ -72507,7 +72484,7 @@ paths: type: array items: *4 examples: - default: *206 + default: *207 '422': *15 x-github: githubCloudOnly: false @@ -72567,7 +72544,7 @@ paths: type: array items: *4 examples: - default: *206 + default: *207 '422': *15 x-github: githubCloudOnly: false @@ -72627,7 +72604,7 @@ paths: type: array items: *4 examples: - default: *206 + default: *207 '422': *15 x-github: githubCloudOnly: false @@ -72807,9 +72784,9 @@ paths: application/json: schema: type: array - items: *296 + items: *297 examples: - default: *297 + default: *298 '404': *6 '500': *38 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -72844,7 +72821,7 @@ paths: description: Response content: application/json: - schema: *296 + schema: *297 examples: default: value: @@ -72918,9 +72895,9 @@ paths: application/json: schema: type: array - items: *299 + items: *300 examples: - default: *300 + default: *301 '404': *6 '403': *27 '500': *38 @@ -72957,7 +72934,7 @@ paths: description: A single bypass request. content: application/json: - schema: *299 + schema: *300 examples: default: value: @@ -73536,7 +73513,7 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *216 + items: *217 deployment: &835 title: Deployment description: A deployment created as the result of an Actions @@ -74324,7 +74301,7 @@ paths: description: Response content: application/json: - schema: *283 + schema: *284 examples: default: value: @@ -74467,12 +74444,12 @@ paths: type: - array - 'null' - items: *216 + items: *217 app: anyOf: - type: 'null' - *5 - repository: *272 + repository: *273 created_at: type: - string @@ -74885,7 +74862,7 @@ paths: required: - app_id - setting - repository: *272 + repository: *273 examples: default: value: @@ -75333,7 +75310,7 @@ paths: description: Response content: application/json: - schema: *283 + schema: *284 examples: default: value: @@ -75362,8 +75339,8 @@ paths: parameters: - *441 - *442 - - *305 - *306 + - *307 - *19 - *17 - &527 @@ -75399,7 +75376,7 @@ paths: be returned. in: query required: false - schema: *307 + schema: *308 - name: severity description: If specified, only code scanning alerts with this severity will be returned. @@ -75424,19 +75401,19 @@ paths: items: type: object properties: - number: *123 - created_at: *130 - updated_at: *131 - url: *128 - html_url: *129 + number: *124 + created_at: *131 + updated_at: *132 + url: *129 + html_url: *130 instances_url: *514 state: *111 - fixed_at: *133 + fixed_at: *134 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *132 + dismissed_at: *133 dismissed_reason: *515 dismissed_comment: *516 rule: *517 @@ -75571,7 +75548,7 @@ paths: application/json: schema: *3 '404': *6 - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75601,7 +75578,7 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *123 + schema: *124 responses: '200': description: Response @@ -75610,19 +75587,19 @@ paths: schema: &522 type: object properties: - number: *123 - created_at: *130 - updated_at: *131 - url: *128 - html_url: *129 + number: *124 + created_at: *131 + updated_at: *132 + url: *129 + html_url: *130 instances_url: *514 state: *111 - fixed_at: *133 + fixed_at: *134 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *132 + dismissed_at: *133 dismissed_reason: *515 dismissed_comment: *516 rule: @@ -75785,7 +75762,7 @@ paths: '304': *35 '403': *520 '404': *6 - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75932,7 +75909,7 @@ paths: application/json: schema: *3 '404': *6 - '503': *189 + '503': *190 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -76006,7 +75983,7 @@ paths: status: '400' '403': *520 '404': *6 - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76061,7 +76038,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76136,7 +76113,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76242,7 +76219,7 @@ paths: - source '403': *520 '404': *6 - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76276,8 +76253,8 @@ paths: parameters: - *441 - *442 - - *305 - *306 + - *307 - *19 - *17 - *528 @@ -76420,7 +76397,7 @@ paths: warning: '' '403': *520 '404': *6 - '503': *189 + '503': *190 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -76529,7 +76506,7 @@ paths: content: application/json: schema: *3 - '503': *189 + '503': *190 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -76668,7 +76645,7 @@ paths: '400': *14 '403': *526 '404': *6 - '503': *189 + '503': *190 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -76811,7 +76788,7 @@ paths: commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c '403': *520 '404': *6 - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76887,7 +76864,7 @@ paths: description: Found '403': *520 '404': *6 - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76920,7 +76897,7 @@ paths: description: Response '403': *526 '404': *6 - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77044,7 +77021,7 @@ paths: id: type: integer description: The ID of the variant analysis. - controller_repo: *117 + controller_repo: *118 actor: *4 query_language: *537 query_pack_url: @@ -77379,7 +77356,7 @@ paths: content: application/json: schema: *3 - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77417,7 +77394,7 @@ paths: examples: default: *540 '404': *6 - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77472,7 +77449,7 @@ paths: schema: type: object properties: - repository: *117 + repository: *118 analysis_status: *542 artifact_size_in_bytes: type: integer @@ -77577,7 +77554,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77694,7 +77671,7 @@ paths: schedule: weekly '403': *520 '404': *6 - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77783,7 +77760,7 @@ paths: description: Response content: application/json: - schema: *283 + schema: *284 examples: default: value: @@ -77822,7 +77799,7 @@ paths: content: application/json: schema: *3 - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77966,7 +77943,7 @@ paths: '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *189 + '503': *190 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -78037,7 +78014,7 @@ paths: '403': *520 '404': description: Not Found if the sarif id does not match any upload - '503': *189 + '503': *190 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -78116,7 +78093,7 @@ paths: html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325 created_at: '2024-05-01T00:00:00Z' updated_at: '2024-05-01T00:00:00Z' - '204': *148 + '204': *149 '304': *35 '403': *27 '404': *6 @@ -78665,7 +78642,7 @@ paths: '401': *23 '403': *27 '404': *6 - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -78971,7 +78948,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79086,7 +79063,7 @@ paths: parameters: - *441 - *442 - - *282 + - *283 responses: '200': description: Response @@ -79116,7 +79093,7 @@ paths: parameters: - *441 - *442 - - *282 + - *283 requestBody: required: true content: @@ -79144,7 +79121,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *283 + schema: *284 examples: default: value: @@ -79170,7 +79147,7 @@ paths: parameters: - *441 - *442 - - *282 + - *283 responses: '204': description: Response @@ -79432,7 +79409,7 @@ paths: parameters: - *441 - *442 - - *136 + - *137 responses: '204': description: Response if user is a collaborator @@ -79480,7 +79457,7 @@ paths: parameters: - *441 - *442 - - *136 + - *137 requestBody: required: false content: @@ -79518,7 +79495,7 @@ paths: format: int64 examples: - 42 - repository: *272 + repository: *273 invitee: anyOf: - type: 'null' @@ -79694,7 +79671,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *247 + schema: *248 '403': *27 x-github: triggersNotification: true @@ -79736,7 +79713,7 @@ paths: parameters: - *441 - *442 - - *136 + - *137 responses: '204': description: No Content when collaborator was removed from the repository. @@ -79769,7 +79746,7 @@ paths: parameters: - *441 - *442 - - *136 + - *137 responses: '200': description: if user has admin permissions @@ -79895,8 +79872,8 @@ paths: updated_at: type: string format: date-time - author_association: *213 - reactions: *214 + author_association: *214 + reactions: *215 required: - url - html_url @@ -79973,7 +79950,7 @@ paths: parameters: - *441 - *442 - - *227 + - *228 responses: '200': description: Response @@ -80040,7 +80017,7 @@ paths: parameters: - *441 - *442 - - *227 + - *228 requestBody: required: true content: @@ -80115,7 +80092,7 @@ paths: parameters: - *441 - *442 - - *227 + - *228 responses: '204': description: Response @@ -80138,7 +80115,7 @@ paths: parameters: - *441 - *442 - - *227 + - *228 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a commit comment. @@ -80255,7 +80232,7 @@ paths: parameters: - *441 - *442 - - *227 + - *228 requestBody: required: true content: @@ -80344,7 +80321,7 @@ paths: parameters: - *441 - *442 - - *227 + - *228 - &633 name: reaction_id description: The unique identifier of the reaction. @@ -80533,7 +80510,7 @@ paths: '500': *38 '400': *14 '404': *6 - '409': *116 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80602,7 +80579,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc protected: false '422': *15 - '409': *116 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81230,7 +81207,7 @@ paths: draft: false headers: Link: *45 - '409': *116 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81395,8 +81372,8 @@ paths: '422': *15 '404': *6 '500': *38 - '503': *189 - '409': *116 + '503': *190 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81787,7 +81764,7 @@ paths: type: string total_count: type: integer - repository: *272 + repository: *273 commit_url: type: string format: uri @@ -82093,7 +82070,7 @@ paths: license: anyOf: - type: 'null' - - *215 + - *216 contributing: anyOf: - type: 'null' @@ -82559,7 +82536,7 @@ paths: module Test" '404': *6 '500': *38 - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83657,8 +83634,8 @@ paths: verified_at: '422': *15 '404': *6 - '409': *116 - '503': *189 + '409': *117 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83841,7 +83818,7 @@ paths: type: object description: A Dependabot alert. properties: - number: *123 + number: *124 state: type: string description: The state of the Dependabot alert. @@ -83856,7 +83833,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *124 + package: *125 manifest_path: type: string description: The full path to the dependency manifest file, @@ -83888,12 +83865,12 @@ paths: - transitive - security_advisory: *571 - security_vulnerability: *127 - url: *128 - html_url: *129 - created_at: *130 - updated_at: *131 - dismissed_at: *132 + security_vulnerability: *128 + url: *129 + html_url: *130 + created_at: *131 + updated_at: *132 + dismissed_at: *133 dismissed_by: anyOf: - type: 'null' @@ -83917,7 +83894,7 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *133 + fixed_at: *134 auto_dismissed_at: *572 dismissal_request: *573 required: @@ -84160,7 +84137,7 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *123 + schema: *124 responses: '200': description: Response @@ -84432,7 +84409,7 @@ paths: '400': *14 '403': *27 '404': *6 - '409': *116 + '409': *117 '422': *7 x-github: githubCloudOnly: false @@ -84559,7 +84536,7 @@ paths: parameters: - *441 - *442 - - *282 + - *283 responses: '200': description: Response @@ -84593,7 +84570,7 @@ paths: parameters: - *441 - *442 - - *282 + - *283 requestBody: required: true content: @@ -84621,7 +84598,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *283 + schema: *284 examples: default: value: @@ -84647,7 +84624,7 @@ paths: parameters: - *441 - *442 - - *282 + - *283 responses: '204': description: Response @@ -86936,7 +86913,7 @@ paths: reviewer: anyOf: - *4 - - *301 + - *302 required: - id - node_id @@ -87991,7 +87968,7 @@ paths: - *441 - *442 - *597 - - *282 + - *283 responses: '200': description: Response @@ -88024,7 +88001,7 @@ paths: - *441 - *442 - *597 - - *282 + - *283 requestBody: required: true content: @@ -88055,7 +88032,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *283 + schema: *284 examples: default: value: @@ -88084,7 +88061,7 @@ paths: - *441 - *442 - *597 - - *282 + - *283 responses: '204': description: Default response @@ -88183,7 +88160,7 @@ paths: description: Response content: application/json: - schema: *283 + schema: *284 examples: default: value: @@ -88211,7 +88188,7 @@ paths: - *441 - *442 - *597 - - *285 + - *286 responses: '200': description: Response @@ -88242,7 +88219,7 @@ paths: parameters: - *441 - *442 - - *285 + - *286 - *597 requestBody: required: true @@ -88287,7 +88264,7 @@ paths: parameters: - *441 - *442 - - *285 + - *286 - *597 responses: '204': @@ -88321,7 +88298,7 @@ paths: application/json: schema: type: array - items: *237 + items: *238 examples: 200-response: value: @@ -88402,7 +88379,7 @@ paths: application/json: schema: type: array - items: *272 + items: *273 examples: default: value: @@ -88648,7 +88625,7 @@ paths: schema: type: string '404': *6 - '409': *116 + '409': *117 '403': *27 '422': description: Validation failed @@ -88656,7 +88633,7 @@ paths: application/json: schema: oneOf: - - *247 + - *248 - *610 x-github: githubCloudOnly: false @@ -88735,7 +88712,7 @@ paths: '404': *6 '422': *15 '403': *27 - '409': *116 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89070,7 +89047,7 @@ paths: type: string '422': *15 '404': *6 - '409': *116 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89159,7 +89136,7 @@ paths: payload: verified_at: '404': *6 - '409': *116 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89258,7 +89235,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: Link: *45 - '409': *116 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89299,7 +89276,7 @@ paths: sha: aa218f56b14c9653891f9e74264a383fa43fefbd url: https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd '404': *6 - '409': *116 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89357,7 +89334,7 @@ paths: schema: type: string '422': *15 - '409': *116 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89411,7 +89388,7 @@ paths: examples: default: *614 '422': *15 - '409': *116 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89436,7 +89413,7 @@ paths: '422': description: Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed. - '409': *116 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89645,7 +89622,7 @@ paths: schema: type: string '422': *15 - '409': *116 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89707,7 +89684,7 @@ paths: examples: default: *617 '404': *6 - '409': *116 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89883,7 +89860,7 @@ paths: '422': *15 '404': *6 '403': *27 - '409': *116 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89971,7 +89948,7 @@ paths: truncated: false '422': *15 '404': *6 - '409': *116 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90637,8 +90614,8 @@ paths: - *441 - *442 responses: - '204': *148 - '409': *116 + '204': *149 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90658,8 +90635,8 @@ paths: - *441 - *442 responses: - '204': *148 - '409': *116 + '204': *149 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91953,7 +91930,7 @@ paths: - comments default: created - *108 - - *218 + - *219 - *17 - *19 responses: @@ -91963,7 +91940,7 @@ paths: application/json: schema: type: array - items: *212 + items: *213 examples: default: &638 value: @@ -92233,7 +92210,7 @@ paths: description: Response content: application/json: - schema: *212 + schema: *213 examples: default: &635 value: @@ -92389,7 +92366,7 @@ paths: '400': *14 '403': *27 '422': *15 - '503': *189 + '503': *190 '404': *6 '410': *629 x-github: @@ -92421,7 +92398,7 @@ paths: parameters: - *441 - *442 - - *235 + - *236 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -92431,7 +92408,7 @@ paths: enum: - asc - desc - - *218 + - *219 - *17 - *19 responses: @@ -92503,7 +92480,7 @@ paths: parameters: - *441 - *442 - - *227 + - *228 responses: '200': description: Response @@ -92567,7 +92544,7 @@ paths: parameters: - *441 - *442 - - *227 + - *228 requestBody: required: true content: @@ -92611,7 +92588,7 @@ paths: parameters: - *441 - *442 - - *227 + - *228 responses: '204': description: Response @@ -92633,7 +92610,7 @@ paths: parameters: - *441 - *442 - - *227 + - *228 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue comment. @@ -92684,7 +92661,7 @@ paths: parameters: - *441 - *442 - - *227 + - *228 requestBody: required: true content: @@ -92749,7 +92726,7 @@ paths: parameters: - *441 - *442 - - *227 + - *228 - *633 responses: '204': @@ -92828,7 +92805,7 @@ paths: issue: anyOf: - type: 'null' - - *212 + - *213 label: title: Issue Event Label description: Issue Event Label @@ -92861,7 +92838,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *301 + requested_team: *302 dismissed_review: title: Issue Event Dismissed Review type: object @@ -92928,7 +92905,7 @@ paths: required: - from - to - author_association: *213 + author_association: *214 lock_reason: type: - string @@ -93372,7 +93349,7 @@ paths: description: Response content: application/json: - schema: *212 + schema: *213 examples: default: *635 '301': *447 @@ -93523,11 +93500,11 @@ paths: description: Response content: application/json: - schema: *212 + schema: *213 examples: default: *635 '422': *15 - '503': *189 + '503': *190 '403': *27 '301': *447 '404': *6 @@ -93577,7 +93554,7 @@ paths: description: Response content: application/json: - schema: *212 + schema: *213 examples: default: *635 x-github: @@ -93622,7 +93599,7 @@ paths: description: Response content: application/json: - schema: *212 + schema: *213 examples: default: *635 x-github: @@ -93691,7 +93668,7 @@ paths: - *441 - *442 - *636 - - *218 + - *219 - *17 - *19 responses: @@ -93809,7 +93786,7 @@ paths: application/json: schema: type: array - items: *212 + items: *213 examples: default: *638 headers: @@ -93868,7 +93845,7 @@ paths: description: Response content: application/json: - schema: *212 + schema: *213 examples: default: *635 headers: @@ -93923,7 +93900,7 @@ paths: description: Response content: application/json: - schema: *212 + schema: *213 examples: default: *635 '301': *447 @@ -93969,7 +93946,7 @@ paths: application/json: schema: type: array - items: *212 + items: *213 examples: default: *638 headers: @@ -94356,7 +94333,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *301 + requested_team: *302 requested_reviewer: *4 required: - review_requester @@ -94398,7 +94375,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *301 + requested_team: *302 requested_reviewer: *4 required: - review_requester @@ -94817,7 +94794,7 @@ paths: application/json: schema: type: array - items: *211 + items: *212 examples: default: &639 value: @@ -94917,7 +94894,7 @@ paths: application/json: schema: type: array - items: *211 + items: *212 examples: default: *639 '301': *447 @@ -95001,7 +94978,7 @@ paths: application/json: schema: type: array - items: *211 + items: *212 examples: default: *639 '301': *447 @@ -95065,7 +95042,7 @@ paths: application/json: schema: type: array - items: *211 + items: *212 examples: default: value: @@ -95187,7 +95164,7 @@ paths: description: Response content: application/json: - schema: *212 + schema: *213 examples: default: *635 '301': *447 @@ -95382,7 +95359,7 @@ paths: description: Response content: application/json: - schema: *212 + schema: *213 examples: default: *635 headers: @@ -95429,7 +95406,7 @@ paths: application/json: schema: type: array - items: *212 + items: *213 examples: default: *638 headers: @@ -95492,7 +95469,7 @@ paths: description: Response content: application/json: - schema: *212 + schema: *213 examples: default: *635 headers: @@ -95554,13 +95531,13 @@ paths: description: Response content: application/json: - schema: *212 + schema: *213 examples: default: *635 '403': *27 '404': *6 '422': *7 - '503': *189 + '503': *190 x-github: triggersNotification: true githubCloudOnly: false @@ -95655,12 +95632,12 @@ paths: issue_url: type: string format: uri - author_association: *213 + author_association: *214 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *214 + reactions: *215 required: - event - actor @@ -95691,7 +95668,7 @@ paths: properties: type: type: string - issue: *212 + issue: *213 required: - event - created_at @@ -95913,7 +95890,7 @@ paths: type: string body_text: type: string - author_association: *213 + author_association: *214 required: - event - id @@ -96011,7 +95988,10 @@ paths: type: integer examples: - 8 - user: *4 + user: + anyOf: + - type: 'null' + - *4 body: description: The text of the comment. type: string @@ -96041,7 +96021,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *213 + author_association: *214 _links: type: object properties: @@ -96136,7 +96116,7 @@ paths: enum: - line - file - reactions: *214 + reactions: *215 body_html: type: string examples: @@ -96685,7 +96665,7 @@ paths: application/json: schema: type: array - items: *211 + items: *212 examples: default: *639 headers: @@ -96745,7 +96725,7 @@ paths: description: Response content: application/json: - schema: *211 + schema: *212 examples: default: &656 value: @@ -96791,7 +96771,7 @@ paths: description: Response content: application/json: - schema: *211 + schema: *212 examples: default: *656 '404': *6 @@ -96850,7 +96830,7 @@ paths: description: Response content: application/json: - schema: *211 + schema: *212 examples: default: value: @@ -97064,7 +97044,7 @@ paths: license: anyOf: - type: 'null' - - *215 + - *216 required: - _links - git_url @@ -97599,7 +97579,7 @@ paths: application/json: schema: type: array - items: *211 + items: *212 examples: default: *639 headers: @@ -97624,7 +97604,7 @@ paths: - *442 - *660 - *661 - - *218 + - *219 - *662 - *17 - *19 @@ -97635,7 +97615,7 @@ paths: application/json: schema: type: array - items: *238 + items: *239 examples: default: *663 headers: @@ -97972,7 +97952,7 @@ paths: examples: default: *665 '422': *15 - '409': *116 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98081,7 +98061,7 @@ paths: description: Response '422': *15 '400': *14 - '409': *116 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98109,7 +98089,7 @@ paths: description: Response '422': *15 '404': *6 - '409': *116 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98544,7 +98524,7 @@ paths: - *442 - *668 responses: - '204': *148 + '204': *149 '404': *6 x-github: githubCloudOnly: false @@ -98838,7 +98818,7 @@ paths: description: Empty response content: application/json: - schema: *283 + schema: *284 examples: default: value: @@ -98906,7 +98886,7 @@ paths: - *441 - *442 responses: - '204': *148 + '204': *149 '422': *14 x-github: githubCloudOnly: false @@ -98928,7 +98908,7 @@ paths: - *441 - *442 responses: - '204': *148 + '204': *149 '422': *14 x-github: githubCloudOnly: false @@ -98957,7 +98937,7 @@ paths: application/json: schema: type: array - items: *149 + items: *150 examples: default: *669 '403': *27 @@ -98994,7 +98974,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *149 + items: *150 required: - properties examples: @@ -99438,7 +99418,7 @@ paths: - review_comments - review_comment - self - author_association: *213 + author_association: *214 auto_merge: *672 draft: description: Indicates whether or not the pull request is a draft. @@ -100088,7 +100068,7 @@ paths: enum: - asc - desc - - *218 + - *219 - *17 - *19 responses: @@ -100179,7 +100159,7 @@ paths: parameters: - *441 - *442 - - *227 + - *228 responses: '200': description: Response @@ -100264,7 +100244,7 @@ paths: parameters: - *441 - *442 - - *227 + - *228 requestBody: required: true content: @@ -100306,7 +100286,7 @@ paths: parameters: - *441 - *442 - - *227 + - *228 responses: '204': description: Response @@ -100329,7 +100309,7 @@ paths: parameters: - *441 - *442 - - *227 + - *228 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a pull request review comment. @@ -100380,7 +100360,7 @@ paths: parameters: - *441 - *442 - - *227 + - *228 requestBody: required: true content: @@ -100445,7 +100425,7 @@ paths: parameters: - *441 - *442 - - *227 + - *228 - *633 responses: '204': @@ -100515,7 +100495,7 @@ paths: application/json: schema: *3 '500': *38 - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100686,7 +100666,7 @@ paths: '401': *23 '403': *27 '404': *6 - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100715,7 +100695,7 @@ paths: - *441 - *442 - *677 - - *235 + - *236 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -100725,7 +100705,7 @@ paths: enum: - asc - desc - - *218 + - *219 - *17 - *19 responses: @@ -100969,7 +100949,7 @@ paths: - *441 - *442 - *677 - - *227 + - *228 requestBody: required: true content: @@ -101152,7 +101132,7 @@ paths: Link: *45 '422': *15 '500': *38 - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101328,7 +101308,7 @@ paths: items: *4 teams: type: array - items: *301 + items: *302 required: - users - teams @@ -102589,7 +102569,7 @@ paths: type: string body_text: type: string - author_association: *213 + author_association: *214 required: - id - node_id @@ -103127,7 +103107,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *213 + author_association: *214 _links: type: object properties: @@ -103142,7 +103122,7 @@ paths: type: string body_html: type: string - reactions: *214 + reactions: *215 side: description: The side of the first line of the range for a multi-line comment. @@ -104680,7 +104660,7 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *163 + - *164 - &692 title: repository ruleset data for rule description: User-defined metadata to store domain-specific @@ -104700,9 +104680,6 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *164 - - *692 - allOf: - *165 - *692 @@ -104710,10 +104687,10 @@ paths: - *166 - *692 - allOf: - - *693 + - *167 - *692 - allOf: - - *167 + - *693 - *692 - allOf: - *168 @@ -104763,6 +104740,9 @@ paths: - allOf: - *183 - *692 + - allOf: + - *184 + - *692 examples: default: value: @@ -104821,7 +104801,7 @@ paths: application/json: schema: type: array - items: *184 + items: *185 examples: default: value: @@ -104889,12 +104869,12 @@ paths: - tag - push default: branch - enforcement: *161 + enforcement: *162 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *162 - conditions: *155 + items: *163 + conditions: *156 rules: type: array description: An array of rules within the ruleset. @@ -104929,7 +104909,7 @@ paths: description: Response content: application/json: - schema: *184 + schema: *185 examples: default: &704 value: @@ -105073,7 +105053,7 @@ paths: description: Response content: application/json: - schema: *184 + schema: *185 examples: default: *704 '404': *6 @@ -105119,12 +105099,12 @@ paths: - branch - tag - push - enforcement: *161 + enforcement: *162 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *162 - conditions: *155 + items: *163 + conditions: *156 rules: description: An array of rules within the ruleset. type: array @@ -105156,7 +105136,7 @@ paths: description: Response content: application/json: - schema: *184 + schema: *185 examples: default: *704 '404': *6 @@ -105217,7 +105197,7 @@ paths: application/json: schema: type: array - items: *188 + items: *189 examples: default: *408 '404': *6 @@ -105338,14 +105318,14 @@ paths: items: &710 type: object properties: - number: *123 - created_at: *130 + number: *124 + created_at: *131 updated_at: anyOf: - type: 'null' - - *131 - url: *128 - html_url: *129 + - *132 + url: *129 + html_url: *130 locations_url: type: string format: uri @@ -105569,7 +105549,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105631,7 +105611,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105774,7 +105754,7 @@ paths: '422': description: State does not match the resolution or resolution comment, or assignee does not have write access to the repository - '503': *189 + '503': *190 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -105912,7 +105892,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105991,7 +105971,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *189 + '503': *190 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -106020,7 +106000,7 @@ paths: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *189 + '503': *190 '200': description: Response content: @@ -107090,7 +107070,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *247 + schema: *248 examples: invalid_state_transition: value: @@ -107306,7 +107286,7 @@ paths: - 1124 - -435 '202': *37 - '204': *148 + '204': *149 '422': description: Repository contains more than 10,000 commits x-github: @@ -107378,7 +107358,7 @@ paths: total: 89 week: 1336280400 '202': *37 - '204': *148 + '204': *149 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107478,7 +107458,7 @@ paths: d: 77 c: 10 '202': *37 - '204': *148 + '204': *149 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107679,7 +107659,7 @@ paths: - - 0 - 2 - 21 - '204': *148 + '204': *149 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107823,7 +107803,7 @@ paths: type: array items: *4 examples: - default: *206 + default: *207 headers: Link: *45 x-github: @@ -108288,7 +108268,7 @@ paths: application/json: schema: type: array - items: *301 + items: *302 examples: default: *372 headers: @@ -108829,7 +108809,7 @@ paths: description: Response content: application/json: - schema: *272 + schema: *273 examples: default: value: @@ -109277,7 +109257,7 @@ paths: application/json: schema: type: array - items: *272 + items: *273 examples: default: value: @@ -111536,7 +111516,7 @@ paths: html_url: type: string format: uri - repository: *272 + repository: *273 score: type: number file_size: @@ -111670,7 +111650,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *35 - '503': *189 + '503': *190 '422': *15 '403': *27 x-github: @@ -111834,7 +111814,7 @@ paths: type: string sha: type: string - repository: *272 + repository: *273 score: type: number node_id: @@ -112199,7 +112179,7 @@ paths: type: string score: type: number - author_association: *213 + author_association: *214 draft: type: boolean repository: *76 @@ -112215,7 +112195,7 @@ paths: anyOf: - type: 'null' - *5 - reactions: *214 + reactions: *215 required: - assignee - closed_at @@ -112331,7 +112311,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *189 + '503': *190 '422': *15 '304': *35 '403': *27 @@ -112734,7 +112714,7 @@ paths: license: anyOf: - type: 'null' - - *215 + - *216 permissions: type: object properties: @@ -112955,7 +112935,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *189 + '503': *190 '422': *15 '304': *35 x-github: @@ -113428,7 +113408,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *35 - '503': *189 + '503': *190 '422': *15 x-github: githubCloudOnly: false @@ -113900,7 +113880,7 @@ paths: type: array items: *4 examples: - default: *206 + default: *207 headers: Link: *45 '404': *6 @@ -113929,7 +113909,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - *770 - - *136 + - *137 responses: '204': description: if user is a member @@ -113966,7 +113946,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - *770 - - *136 + - *137 responses: '204': description: Response @@ -114006,7 +113986,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - *770 - - *136 + - *137 responses: '204': description: Response @@ -114043,7 +114023,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user-legacy parameters: - *770 - - *136 + - *137 responses: '200': description: Response @@ -114085,7 +114065,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - *770 - - *136 + - *137 requestBody: required: false content: @@ -114147,7 +114127,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - *770 - - *136 + - *137 responses: '204': description: Response @@ -114184,7 +114164,7 @@ paths: application/json: schema: type: array - items: *272 + items: *273 examples: default: *379 headers: @@ -114595,7 +114575,7 @@ paths: application/json: schema: type: array - items: *301 + items: *302 examples: response-if-child-teams-exist: *776 headers: @@ -115119,7 +115099,7 @@ paths: type: array items: *4 examples: - default: *206 + default: *207 '304': *35 '404': *6 '403': *27 @@ -115142,7 +115122,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user parameters: - - *136 + - *137 responses: '204': description: If the user is blocked @@ -115170,7 +115150,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#block-a-user parameters: - - *136 + - *137 responses: '204': description: Response @@ -115194,7 +115174,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#unblock-a-user parameters: - - *136 + - *137 responses: '204': description: Response @@ -115398,7 +115378,7 @@ paths: '401': *23 '403': *27 '404': *6 - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -115552,7 +115532,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *282 + - *283 responses: '200': description: Response @@ -115588,7 +115568,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *282 + - *283 requestBody: required: true content: @@ -115633,7 +115613,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *283 + schema: *284 examples: default: value: @@ -115661,7 +115641,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *282 + - *283 responses: '204': description: Response @@ -115686,7 +115666,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *282 + - *283 responses: '200': description: Response @@ -115702,7 +115682,7 @@ paths: type: integer repositories: type: array - items: *272 + items: *273 examples: default: *780 '401': *23 @@ -115729,7 +115709,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *282 + - *283 requestBody: required: true content: @@ -115783,7 +115763,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *282 + - *283 - name: repository_id in: path required: true @@ -115816,7 +115796,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *282 + - *283 - name: repository_id in: path required: true @@ -117016,7 +116996,7 @@ paths: schema: *3 '403': *27 '404': *6 - '409': *116 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -117438,7 +117418,7 @@ paths: type: array items: *4 examples: - default: *206 + default: *207 headers: Link: *45 '304': *35 @@ -117471,7 +117451,7 @@ paths: type: array items: *4 examples: - default: *206 + default: *207 headers: Link: *45 '304': *35 @@ -117493,7 +117473,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user parameters: - - *136 + - *137 responses: '204': description: if the person is followed by the authenticated user @@ -117523,7 +117503,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#follow-a-user parameters: - - *136 + - *137 responses: '204': description: Response @@ -117548,7 +117528,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#unfollow-a-user parameters: - - *136 + - *137 responses: '204': description: Response @@ -118101,7 +118081,7 @@ paths: type: array items: *76 examples: - default: *267 + default: *268 headers: Link: *45 '404': *6 @@ -118126,7 +118106,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *266 + - *267 responses: '204': description: Response @@ -118152,7 +118132,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *266 + - *267 responses: '204': description: Response @@ -118320,7 +118300,7 @@ paths: - comments default: created - *108 - - *218 + - *219 - *17 - *19 responses: @@ -118330,7 +118310,7 @@ paths: application/json: schema: type: array - items: *212 + items: *213 examples: default: *362 headers: @@ -118635,7 +118615,7 @@ paths: - id - type - login - plan: *229 + plan: *230 required: - billing_cycle - next_billing_date @@ -119762,7 +119742,7 @@ paths: application/json: schema: type: array - items: *272 + items: *273 examples: default: *379 headers: @@ -119801,7 +119781,7 @@ paths: type: array items: *71 examples: - default: *242 + default: *243 headers: Link: *45 '304': *35 @@ -120750,7 +120730,7 @@ paths: '204': description: Response '403': *27 - '409': *116 + '409': *117 '404': *6 '304': *35 x-github: @@ -120772,7 +120752,7 @@ paths: responses: '204': description: Response - '409': *116 + '409': *117 '304': *35 '404': *6 '403': *27 @@ -121427,7 +121407,7 @@ paths: application/json: schema: type: array - items: *272 + items: *273 examples: default: *379 headers: @@ -121544,7 +121524,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user-using-their-id parameters: - - *231 + - *232 responses: '200': description: Response @@ -121723,7 +121703,7 @@ paths: type: array items: *4 examples: - default: *206 + default: *207 headers: Link: example: ; rel="next" @@ -121753,7 +121733,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user parameters: - - *136 + - *137 responses: '200': description: Response @@ -121791,7 +121771,7 @@ paths: - *17 - *106 - *107 - - *136 + - *137 requestBody: required: true content: @@ -121888,7 +121868,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-in-bulk parameters: - - *136 + - *137 requestBody: required: true content: @@ -121953,7 +121933,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *136 + - *137 - name: subject_digest description: Subject Digest in: path @@ -121984,7 +121964,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-id parameters: - - *136 + - *137 - name: attestation_id description: Attestation ID in: path @@ -122022,7 +122002,7 @@ paths: - *17 - *106 - *107 - - *136 + - *137 - name: subject_digest description: Subject Digest in: path @@ -122080,7 +122060,7 @@ paths: description: Response content: application/json: - schema: *283 + schema: *284 examples: default: value: @@ -122106,7 +122086,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user parameters: - - *136 + - *137 responses: '200': description: Response @@ -122139,7 +122119,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-for-the-authenticated-user parameters: - - *136 + - *137 - *17 - *19 responses: @@ -122149,7 +122129,7 @@ paths: application/json: schema: type: array - items: *237 + items: *238 examples: default: value: @@ -122211,7 +122191,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *136 + - *137 - *85 - *17 - *19 @@ -122222,7 +122202,7 @@ paths: application/json: schema: type: array - items: *237 + items: *238 examples: default: value: @@ -122299,7 +122279,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-user parameters: - - *136 + - *137 - *17 - *19 responses: @@ -122309,7 +122289,7 @@ paths: application/json: schema: type: array - items: *237 + items: *238 examples: default: value: @@ -122367,7 +122347,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-followers-of-a-user parameters: - - *136 + - *137 - *17 - *19 responses: @@ -122379,7 +122359,7 @@ paths: type: array items: *4 examples: - default: *206 + default: *207 headers: Link: *45 x-github: @@ -122398,7 +122378,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-the-people-a-user-follows parameters: - - *136 + - *137 - *17 - *19 responses: @@ -122410,7 +122390,7 @@ paths: type: array items: *4 examples: - default: *206 + default: *207 headers: Link: *45 x-github: @@ -122429,7 +122409,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#check-if-a-user-follows-another-user parameters: - - *136 + - *137 - name: target_user in: path required: true @@ -122456,8 +122436,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - - *136 - - *218 + - *137 + - *219 - *17 - *19 responses: @@ -122467,9 +122447,9 @@ paths: application/json: schema: type: array - items: *219 + items: *220 examples: - default: *220 + default: *221 headers: Link: *45 '422': *15 @@ -122490,7 +122470,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *136 + - *137 - *17 - *19 responses: @@ -122526,7 +122506,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-contextual-information-for-a-user parameters: - - *136 + - *137 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -122598,7 +122578,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *136 + - *137 responses: '200': description: Response @@ -122624,7 +122604,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#list-public-keys-for-a-user parameters: - - *136 + - *137 - *17 - *19 responses: @@ -122680,7 +122660,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations-for-a-user parameters: - - *136 + - *137 - *17 - *19 responses: @@ -122692,7 +122672,7 @@ paths: type: array items: *71 examples: - default: *242 + default: *243 headers: Link: *45 x-github: @@ -122732,7 +122712,7 @@ paths: - nuget - container - *793 - - *136 + - *137 - *19 - *17 responses: @@ -122769,7 +122749,7 @@ paths: parameters: - *375 - *376 - - *136 + - *137 responses: '200': description: Response @@ -122800,7 +122780,7 @@ paths: parameters: - *375 - *376 - - *136 + - *137 responses: '204': description: Response @@ -122834,7 +122814,7 @@ paths: parameters: - *375 - *376 - - *136 + - *137 - name: token description: package token schema: @@ -122868,7 +122848,7 @@ paths: parameters: - *375 - *376 - - *136 + - *137 responses: '200': description: Response @@ -122937,7 +122917,7 @@ paths: - *375 - *376 - *378 - - *136 + - *137 responses: '200': description: Response @@ -122980,7 +122960,7 @@ paths: parameters: - *375 - *376 - - *136 + - *137 - *378 responses: '204': @@ -123015,7 +122995,7 @@ paths: parameters: - *375 - *376 - - *136 + - *137 - *378 responses: '204': @@ -123040,7 +123020,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-projects-for-user parameters: - - *136 + - *137 - name: q description: Limit results to projects of the specified type. in: query @@ -123082,7 +123062,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - *391 - - *136 + - *137 responses: '200': description: Response @@ -123113,7 +123093,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - *391 - - *136 + - *137 - *17 - *106 - *107 @@ -123147,7 +123127,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#add-field-to-user-owned-project parameters: - - *136 + - *137 - *391 requestBody: required: true @@ -123260,7 +123240,7 @@ paths: parameters: - *391 - *822 - - *136 + - *137 responses: '200': description: Response @@ -123292,7 +123272,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-a-user-owned-project parameters: - *391 - - *136 + - *137 - *106 - *107 - *17 @@ -123347,75 +123327,67 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - - *136 + - *137 - *391 requestBody: required: true description: Details of the item to add to the project. You can specify either - the database ID or the repository owner, name, and issue/PR number. + the unique ID or the repository owner, name, and issue/PR number. content: application/json: schema: + type: object + additionalProperties: false + properties: + type: + type: string + enum: + - Issue + - PullRequest + description: The type of item to add to the project. Must be either + Issue or PullRequest. + id: + type: integer + description: The unique identifier of the issue or pull request + to add to the project. + owner: + type: string + description: The repository owner login. + repo: + type: string + description: The repository name. + number: + type: integer + description: The issue or pull request number. + required: + - type oneOf: - - type: object - properties: - type: - type: string - enum: - - Issue - - PullRequest - description: The type of item to add to the project. Must be either - Issue or PullRequest. - id: - type: integer - description: The unique ID of the issue or pull request to add - to the project. - required: - - type + - required: - id - - type: object - properties: - type: - type: string - enum: - - Issue - - PullRequest - description: The type of item to add to the project. Must be either - Issue or PullRequest. - owner: - type: string - description: The repository owner login. - repo: - type: string - description: The repository name. - number: - type: integer - description: The issue or pull request number. - required: - - type + - required: - owner - repo - number examples: - issue-with-id: - summary: Add issue by database ID + issue_with_id: + summary: Add an issue using its unique ID value: type: Issue id: 3 - pull_request-with-id: - summary: Add pull request by database ID + pull_request_with_id: + summary: Add a pull request using its unique ID value: type: PullRequest id: 3 - issue-with-nwo: - summary: Add issue by repository and number + issue_with_nwo: + summary: Add an issue using repository owner, name, and issue number value: type: Issue owner: octocat repo: hello-world number: 42 - pull_request-with-nwo: - summary: Add pull request by repository and number + pull_request_with_nwo: + summary: Add a pull request using repository owner, name, and PR number value: type: PullRequest owner: octocat @@ -123428,8 +123400,20 @@ paths: application/json: schema: *396 examples: - issue: *397 - pull_request: *397 + issue_with_id: + summary: Response for adding an issue using its unique ID + value: *397 + pull_request_with_id: + summary: Response for adding a pull request using its unique ID + value: *397 + issue_with_nwo: + summary: Response for adding an issue using repository owner, name, + and issue number + value: *397 + pull_request_with_nwo: + summary: Response for adding a pull request using repository owner, + name, and PR number + value: *397 '304': *35 '403': *27 '401': *23 @@ -123450,7 +123434,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#get-an-item-for-a-user-owned-project parameters: - *391 - - *136 + - *137 - *400 - name: fields description: |- @@ -123495,7 +123479,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - *391 - - *136 + - *137 - *400 requestBody: required: true @@ -123596,7 +123580,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - *391 - - *136 + - *137 - *400 responses: '204': @@ -123620,7 +123604,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-a-user-project-view parameters: - *391 - - *136 + - *137 - *824 - name: fields description: |- @@ -123677,7 +123661,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *136 + - *137 - *17 - *19 responses: @@ -123687,7 +123671,7 @@ paths: application/json: schema: type: array - items: *237 + items: *238 examples: default: value: @@ -123752,7 +123736,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-received-by-a-user parameters: - - *136 + - *137 - *17 - *19 responses: @@ -123762,7 +123746,7 @@ paths: application/json: schema: type: array - items: *237 + items: *238 examples: default: value: @@ -123825,7 +123809,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repositories-for-a-user parameters: - - *136 + - *137 - name: type description: Limit results to repositories of the specified type. in: query @@ -123868,7 +123852,7 @@ paths: application/json: schema: type: array - items: *272 + items: *273 examples: default: *379 headers: @@ -123890,7 +123874,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *136 + - *137 - *17 - *19 responses: @@ -123922,7 +123906,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *136 + - *137 - *17 - *19 responses: @@ -123958,7 +123942,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *136 + - *137 - *826 - *108 - *17 @@ -123994,7 +123978,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *136 + - *137 - *17 - *19 responses: @@ -124004,7 +123988,7 @@ paths: application/json: schema: type: array - items: *272 + items: *273 examples: default: *379 headers: @@ -124327,7 +124311,7 @@ webhooks: license: anyOf: - type: 'null' - - *215 + - *216 organization: anyOf: - type: 'null' @@ -126601,8 +126585,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *216 - repository: *272 + items: *217 + repository: *273 status: type: string enum: @@ -126706,7 +126690,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *216 + items: *217 started_at: type: string format: date-time @@ -133074,7 +133058,7 @@ webhooks: type: string enum: - created - definition: *150 + definition: *151 enterprise: *828 installation: *829 organization: *830 @@ -133241,7 +133225,7 @@ webhooks: type: string enum: - promote_to_enterprise - definition: *150 + definition: *151 enterprise: *828 installation: *829 organization: *830 @@ -133321,7 +133305,7 @@ webhooks: type: string enum: - updated - definition: *150 + definition: *151 enterprise: *828 installation: *829 organization: *830 @@ -133409,11 +133393,11 @@ webhooks: new_property_values: type: array description: The new custom property values for the repository. - items: *149 + items: *150 old_property_values: type: array description: The old custom property values for the repository. - items: *149 + items: *150 required: - action - repository @@ -148844,11 +148828,11 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *212 + blocked_issue: *213 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *212 + blocking_issue: *213 blocking_issue_repo: *76 installation: *829 organization: *830 @@ -148935,11 +148919,11 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *212 + blocked_issue: *213 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *212 + blocking_issue: *213 blocking_issue_repo: *76 installation: *829 organization: *830 @@ -149025,12 +149009,12 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *212 + blocked_issue: *213 blocked_issue_repo: *76 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *212 + blocking_issue: *213 installation: *829 organization: *830 repository: *831 @@ -149116,12 +149100,12 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *212 + blocked_issue: *213 blocked_issue_repo: *76 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *212 + blocking_issue: *213 installation: *829 organization: *830 repository: *831 @@ -168131,7 +168115,7 @@ webhooks: type: string enum: - created - definition: *144 + definition: *145 enterprise: *828 sender: *4 required: @@ -168285,7 +168269,7 @@ webhooks: type: string enum: - updated - definition: *144 + definition: *145 enterprise: *828 installation: *829 sender: *4 @@ -168366,11 +168350,11 @@ webhooks: new_property_values: type: array description: The new custom property values. - items: *149 + items: *150 old_property_values: type: array description: The old custom property values. - items: *149 + items: *150 required: - action - organization @@ -238636,7 +238620,7 @@ webhooks: installation: *829 organization: *830 repository: *831 - repository_ruleset: *184 + repository_ruleset: *185 sender: *4 required: - action @@ -238718,7 +238702,7 @@ webhooks: installation: *829 organization: *830 repository: *831 - repository_ruleset: *184 + repository_ruleset: *185 sender: *4 required: - action @@ -238800,7 +238784,7 @@ webhooks: installation: *829 organization: *830 repository: *831 - repository_ruleset: *184 + repository_ruleset: *185 changes: type: object properties: @@ -238819,16 +238803,16 @@ webhooks: properties: added: type: array - items: *155 + items: *156 deleted: type: array - items: *155 + items: *156 updated: type: array items: type: object properties: - condition: *155 + condition: *156 changes: type: object properties: @@ -239977,14 +239961,14 @@ webhooks: alert: &890 type: object properties: - number: *123 - created_at: *130 + number: *124 + created_at: *131 updated_at: anyOf: - type: 'null' - - *131 - url: *128 - html_url: *129 + - *132 + url: *129 + html_url: *130 locations_url: type: string format: uri @@ -241062,7 +241046,7 @@ webhooks: required: - vector_string - score - cvss_severities: *125 + cvss_severities: *126 cwes: type: array items: @@ -241329,7 +241313,7 @@ webhooks: required: - vector_string - score - cvss_severities: *125 + cvss_severities: *126 cwes: type: array items: @@ -242997,12 +242981,12 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *212 + parent_issue: *213 parent_issue_repo: *76 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *212 + sub_issue: *213 installation: *829 organization: *830 repository: *831 @@ -243089,12 +243073,12 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *212 + parent_issue: *213 parent_issue_repo: *76 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *212 + sub_issue: *213 installation: *829 organization: *830 repository: *831 @@ -243181,12 +243165,12 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *212 + sub_issue: *213 sub_issue_repo: *76 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *212 + parent_issue: *213 installation: *829 organization: *830 repository: *831 @@ -243273,12 +243257,12 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *212 + sub_issue: *213 sub_issue_repo: *76 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *212 + parent_issue: *213 installation: *829 organization: *830 repository: *831 diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.json b/descriptions-next/ghec/dereferenced/ghec.deref.json index 47d6cdffb..12a4222c4 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.deref.json @@ -41968,6 +41968,22 @@ } } }, + "code_scanning_options": { + "type": [ + "object", + "null" + ], + "description": "Security Configuration feature options for code scanning", + "properties": { + "allow_advanced": { + "type": [ + "boolean", + "null" + ], + "description": "Whether to allow repos which use advanced setup" + } + } + }, "code_scanning_delegated_alert_dismissal": { "type": "string", "description": "The enablement status of code scanning delegated alert dismissal", @@ -157246,6 +157262,22 @@ } } }, + "code_scanning_options": { + "type": [ + "object", + "null" + ], + "description": "Security Configuration feature options for code scanning", + "properties": { + "allow_advanced": { + "type": [ + "boolean", + "null" + ], + "description": "Whether to allow repos which use advanced setup" + } + } + }, "code_scanning_delegated_alert_dismissal": { "type": "string", "description": "The enablement status of code scanning delegated alert dismissal", @@ -239940,58 +239972,49 @@ ], "requestBody": { "required": true, - "description": "Details of the item to add to the project. You can specify either the database ID or the repository owner, name, and issue/PR number.", + "description": "Details of the item to add to the project. You can specify either the unique ID or the repository owner, name, and issue/PR number.", "content": { "application/json": { "schema": { + "type": "object", + "additionalProperties": false, + "properties": { + "type": { + "type": "string", + "enum": [ + "Issue", + "PullRequest" + ], + "description": "The type of item to add to the project. Must be either Issue or PullRequest." + }, + "id": { + "type": "integer", + "description": "The unique identifier of the issue or pull request to add to the project." + }, + "owner": { + "type": "string", + "description": "The repository owner login." + }, + "repo": { + "type": "string", + "description": "The repository name." + }, + "number": { + "type": "integer", + "description": "The issue or pull request number." + } + }, + "required": [ + "type" + ], "oneOf": [ { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "Issue", - "PullRequest" - ], - "description": "The type of item to add to the project. Must be either Issue or PullRequest." - }, - "id": { - "type": "integer", - "description": "The unique ID of the issue or pull request to add to the project." - } - }, "required": [ - "type", "id" ] }, { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "Issue", - "PullRequest" - ], - "description": "The type of item to add to the project. Must be either Issue or PullRequest." - }, - "owner": { - "type": "string", - "description": "The repository owner login." - }, - "repo": { - "type": "string", - "description": "The repository name." - }, - "number": { - "type": "integer", - "description": "The issue or pull request number." - } - }, "required": [ - "type", "owner", "repo", "number" @@ -240000,22 +240023,22 @@ ] }, "examples": { - "issue-with-id": { - "summary": "Add issue by database ID", + "issue_with_id": { + "summary": "Add an issue using its unique ID", "value": { "type": "Issue", "id": 3 } }, - "pull_request-with-id": { - "summary": "Add pull request by database ID", + "pull_request_with_id": { + "summary": "Add a pull request using its unique ID", "value": { "type": "PullRequest", "id": 3 } }, - "issue-with-nwo": { - "summary": "Add issue by repository and number", + "issue_with_nwo": { + "summary": "Add an issue using repository owner, name, and issue number", "value": { "type": "Issue", "owner": "octocat", @@ -240023,8 +240046,8 @@ "number": 42 } }, - "pull_request-with-nwo": { - "summary": "Add pull request by repository and number", + "pull_request_with_nwo": { + "summary": "Add a pull request using repository owner, name, and PR number", "value": { "type": "PullRequest", "owner": "octocat", @@ -247582,18 +247605,105 @@ ] }, "examples": { - "issue": { + "issue_with_id": { + "summary": "Response for adding an issue using its unique ID", "value": { - "id": 17, - "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", - "content": { - "id": 38, - "node_id": "I_kwDOANN5s85FtLts", - "title": "Example Draft Issue", - "body": "This is a draft issue in the project.", + "value": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "title": "Example Draft Issue", + "body": "This is a draft issue in the project.", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "user": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + }, + "content_type": "DraftIssue", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, "created_at": "2022-04-28T12:00:00Z", "updated_at": "2022-04-28T12:00:00Z", - "user": { + "archived_at": null, + "project_url": "https://api.github.com/users/octocat/projectsV2/1", + "item_url": "https://api.github.com/users/octocat/projectsV2/items/17" + } + } + }, + "pull_request_with_id": { + "summary": "Response for adding a pull request using its unique ID", + "value": { + "value": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "title": "Example Draft Issue", + "body": "This is a draft issue in the project.", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "user": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + }, + "content_type": "DraftIssue", + "creator": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -247612,48 +247722,114 @@ "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", "site_admin": false - } - }, - "content_type": "DraftIssue", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2022-04-28T12:00:00Z", - "updated_at": "2022-04-28T12:00:00Z", - "archived_at": null, - "project_url": "https://api.github.com/users/octocat/projectsV2/1", - "item_url": "https://api.github.com/users/octocat/projectsV2/items/17" + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "archived_at": null, + "project_url": "https://api.github.com/users/octocat/projectsV2/1", + "item_url": "https://api.github.com/users/octocat/projectsV2/items/17" + } } }, - "pull_request": { + "issue_with_nwo": { + "summary": "Response for adding an issue using repository owner, name, and issue number", "value": { - "id": 17, - "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", - "content": { - "id": 38, - "node_id": "I_kwDOANN5s85FtLts", - "title": "Example Draft Issue", - "body": "This is a draft issue in the project.", + "value": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "title": "Example Draft Issue", + "body": "This is a draft issue in the project.", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "user": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + }, + "content_type": "DraftIssue", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, "created_at": "2022-04-28T12:00:00Z", "updated_at": "2022-04-28T12:00:00Z", - "user": { + "archived_at": null, + "project_url": "https://api.github.com/users/octocat/projectsV2/1", + "item_url": "https://api.github.com/users/octocat/projectsV2/items/17" + } + } + }, + "pull_request_with_nwo": { + "summary": "Response for adding a pull request using repository owner, name, and PR number", + "value": { + "value": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "title": "Example Draft Issue", + "body": "This is a draft issue in the project.", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "user": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + }, + "content_type": "DraftIssue", + "creator": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -247672,34 +247848,13 @@ "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", "site_admin": false - } - }, - "content_type": "DraftIssue", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2022-04-28T12:00:00Z", - "updated_at": "2022-04-28T12:00:00Z", - "archived_at": null, - "project_url": "https://api.github.com/users/octocat/projectsV2/1", - "item_url": "https://api.github.com/users/octocat/projectsV2/items/17" + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "archived_at": null, + "project_url": "https://api.github.com/users/octocat/projectsV2/1", + "item_url": "https://api.github.com/users/octocat/projectsV2/items/17" + } } } } @@ -325090,48 +325245,8 @@ } ], "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Workflow Dispatch Response", - "description": "Response containing the workflow run ID and URLs.", - "type": "object", - "properties": { - "workflow_run_id": { - "title": "Workflow Run ID", - "description": "The ID of the workflow run.", - "type": "integer", - "format": "int64" - }, - "run_url": { - "type": "string", - "format": "uri", - "description": "The URL to the workflow run." - }, - "html_url": { - "type": "string", - "format": "uri" - } - }, - "required": [ - "workflow_run_id", - "run_url", - "html_url" - ] - }, - "examples": { - "default": { - "value": { - "workflow_run_id": 1, - "run_url": "https://api.github.com/repos/octo-org/octo-repo/actions/runs/1", - "html_url": "https://github.com/octo-org/octo-repo/actions/runs/1" - } - } - } - } - } + "204": { + "description": "Response" } }, "requestBody": { @@ -561763,171 +561878,178 @@ ] }, "user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] + "anyOf": [ + { + "type": "null" }, - "user_view_type": { - "type": "string", - "examples": [ - "public" + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" ] }, "body": { @@ -585572,171 +585694,178 @@ ] }, "user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] + "anyOf": [ + { + "type": "null" }, - "user_view_type": { - "type": "string", - "examples": [ - "public" + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" ] }, "body": { @@ -586212,171 +586341,178 @@ ] }, "user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] + "anyOf": [ + { + "type": "null" }, - "user_view_type": { - "type": "string", - "examples": [ - "public" + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" ] }, "body": { @@ -586891,171 +587027,178 @@ ] }, "user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] + "anyOf": [ + { + "type": "null" }, - "user_view_type": { - "type": "string", - "examples": [ - "public" + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" ] }, "body": { @@ -602518,171 +602661,178 @@ ] }, "user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] + "anyOf": [ + { + "type": "null" }, - "user_view_type": { - "type": "string", - "examples": [ - "public" + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" ] }, "body": { @@ -603246,171 +603396,178 @@ ] }, "user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] + "anyOf": [ + { + "type": "null" }, - "user_view_type": { - "type": "string", - "examples": [ - "public" + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" ] }, "body": { @@ -604020,171 +604177,178 @@ ] }, "user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] + "anyOf": [ + { + "type": "null" }, - "user_view_type": { - "type": "string", - "examples": [ - "public" + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" ] }, "body": { @@ -823556,58 +823720,49 @@ ], "requestBody": { "required": true, - "description": "Details of the item to add to the project. You can specify either the database ID or the repository owner, name, and issue/PR number.", + "description": "Details of the item to add to the project. You can specify either the unique ID or the repository owner, name, and issue/PR number.", "content": { "application/json": { "schema": { + "type": "object", + "additionalProperties": false, + "properties": { + "type": { + "type": "string", + "enum": [ + "Issue", + "PullRequest" + ], + "description": "The type of item to add to the project. Must be either Issue or PullRequest." + }, + "id": { + "type": "integer", + "description": "The unique identifier of the issue or pull request to add to the project." + }, + "owner": { + "type": "string", + "description": "The repository owner login." + }, + "repo": { + "type": "string", + "description": "The repository name." + }, + "number": { + "type": "integer", + "description": "The issue or pull request number." + } + }, + "required": [ + "type" + ], "oneOf": [ { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "Issue", - "PullRequest" - ], - "description": "The type of item to add to the project. Must be either Issue or PullRequest." - }, - "id": { - "type": "integer", - "description": "The unique ID of the issue or pull request to add to the project." - } - }, "required": [ - "type", "id" ] }, { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "Issue", - "PullRequest" - ], - "description": "The type of item to add to the project. Must be either Issue or PullRequest." - }, - "owner": { - "type": "string", - "description": "The repository owner login." - }, - "repo": { - "type": "string", - "description": "The repository name." - }, - "number": { - "type": "integer", - "description": "The issue or pull request number." - } - }, "required": [ - "type", "owner", "repo", "number" @@ -823616,22 +823771,22 @@ ] }, "examples": { - "issue-with-id": { - "summary": "Add issue by database ID", + "issue_with_id": { + "summary": "Add an issue using its unique ID", "value": { "type": "Issue", "id": 3 } }, - "pull_request-with-id": { - "summary": "Add pull request by database ID", + "pull_request_with_id": { + "summary": "Add a pull request using its unique ID", "value": { "type": "PullRequest", "id": 3 } }, - "issue-with-nwo": { - "summary": "Add issue by repository and number", + "issue_with_nwo": { + "summary": "Add an issue using repository owner, name, and issue number", "value": { "type": "Issue", "owner": "octocat", @@ -823639,8 +823794,8 @@ "number": 42 } }, - "pull_request-with-nwo": { - "summary": "Add pull request by repository and number", + "pull_request_with_nwo": { + "summary": "Add a pull request using repository owner, name, and PR number", "value": { "type": "PullRequest", "owner": "octocat", @@ -831198,18 +831353,105 @@ ] }, "examples": { - "issue": { + "issue_with_id": { + "summary": "Response for adding an issue using its unique ID", "value": { - "id": 17, - "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", - "content": { - "id": 38, - "node_id": "I_kwDOANN5s85FtLts", - "title": "Example Draft Issue", - "body": "This is a draft issue in the project.", + "value": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "title": "Example Draft Issue", + "body": "This is a draft issue in the project.", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "user": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + }, + "content_type": "DraftIssue", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, "created_at": "2022-04-28T12:00:00Z", "updated_at": "2022-04-28T12:00:00Z", - "user": { + "archived_at": null, + "project_url": "https://api.github.com/users/octocat/projectsV2/1", + "item_url": "https://api.github.com/users/octocat/projectsV2/items/17" + } + } + }, + "pull_request_with_id": { + "summary": "Response for adding a pull request using its unique ID", + "value": { + "value": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "title": "Example Draft Issue", + "body": "This is a draft issue in the project.", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "user": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + }, + "content_type": "DraftIssue", + "creator": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -831228,48 +831470,114 @@ "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", "site_admin": false - } - }, - "content_type": "DraftIssue", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2022-04-28T12:00:00Z", - "updated_at": "2022-04-28T12:00:00Z", - "archived_at": null, - "project_url": "https://api.github.com/users/octocat/projectsV2/1", - "item_url": "https://api.github.com/users/octocat/projectsV2/items/17" + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "archived_at": null, + "project_url": "https://api.github.com/users/octocat/projectsV2/1", + "item_url": "https://api.github.com/users/octocat/projectsV2/items/17" + } } }, - "pull_request": { + "issue_with_nwo": { + "summary": "Response for adding an issue using repository owner, name, and issue number", "value": { - "id": 17, - "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", - "content": { - "id": 38, - "node_id": "I_kwDOANN5s85FtLts", - "title": "Example Draft Issue", - "body": "This is a draft issue in the project.", + "value": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "title": "Example Draft Issue", + "body": "This is a draft issue in the project.", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "user": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + }, + "content_type": "DraftIssue", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, "created_at": "2022-04-28T12:00:00Z", "updated_at": "2022-04-28T12:00:00Z", - "user": { + "archived_at": null, + "project_url": "https://api.github.com/users/octocat/projectsV2/1", + "item_url": "https://api.github.com/users/octocat/projectsV2/items/17" + } + } + }, + "pull_request_with_nwo": { + "summary": "Response for adding a pull request using repository owner, name, and PR number", + "value": { + "value": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "title": "Example Draft Issue", + "body": "This is a draft issue in the project.", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "user": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + }, + "content_type": "DraftIssue", + "creator": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -831288,34 +831596,13 @@ "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", "site_admin": false - } - }, - "content_type": "DraftIssue", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2022-04-28T12:00:00Z", - "updated_at": "2022-04-28T12:00:00Z", - "archived_at": null, - "project_url": "https://api.github.com/users/octocat/projectsV2/1", - "item_url": "https://api.github.com/users/octocat/projectsV2/items/17" + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "archived_at": null, + "project_url": "https://api.github.com/users/octocat/projectsV2/1", + "item_url": "https://api.github.com/users/octocat/projectsV2/items/17" + } } } } diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.deref.yaml index 9199dc7cd..064909dcc 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.deref.yaml @@ -703,7 +703,7 @@ paths: required: - vector_string - score - cvss_severities: &125 + cvss_severities: &126 type: - object - 'null' @@ -750,7 +750,7 @@ paths: required: - vector_string - score - epss: &126 + epss: &127 type: - object - 'null' @@ -1046,7 +1046,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &248 + schema: &249 title: Validation Error Simple description: Validation Error Simple type: object @@ -1839,7 +1839,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &247 + schema: &248 title: Validation Error description: Validation Error type: object @@ -2250,7 +2250,7 @@ paths: parameters: - *17 - *19 - - &218 + - &219 name: since description: 'Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -3081,7 +3081,7 @@ paths: license: anyOf: - type: 'null' - - &215 + - &216 title: License Simple description: License Simple type: object @@ -7984,7 +7984,7 @@ paths: description: Response content: application/json: - schema: &249 + schema: &250 type: object properties: total_active_caches_count: @@ -7999,7 +7999,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &250 + default: &251 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -8214,7 +8214,7 @@ paths: - public_ip_enabled - platform examples: - default: &251 + default: &252 value: total_count: 2 runners: @@ -8518,7 +8518,7 @@ paths: application/json: schema: *47 examples: - default: &252 + default: &253 value: id: 1 platform: linux-x64 @@ -8663,7 +8663,7 @@ paths: application/json: schema: *50 examples: - default: &253 + default: &254 value: version: 1.0.0 size_gb: 75 @@ -8831,7 +8831,7 @@ paths: description: Response content: application/json: - schema: &254 + schema: &255 type: object properties: public_ips: @@ -8858,7 +8858,7 @@ paths: required: - public_ips examples: - default: &255 + default: &256 value: public_ips: current_usage: 17 @@ -8898,7 +8898,7 @@ paths: type: array items: *54 examples: - default: &256 + default: &257 value: id: 4-core cpu_cores: 4 @@ -9162,7 +9162,7 @@ paths: - all - local_only - selected - selected_actions_url: &259 + selected_actions_url: &260 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` @@ -9242,7 +9242,7 @@ paths: description: Successfully retrieved the artifact and log retention settings content: application/json: - schema: &261 + schema: &262 type: object properties: days: @@ -9288,7 +9288,7 @@ paths: required: true content: application/json: - schema: &262 + schema: &263 type: object properties: days: @@ -9337,7 +9337,7 @@ paths: required: - approval_policy examples: - default: &263 + default: &264 value: approval_policy: first_time_contributors '404': *6 @@ -9395,7 +9395,7 @@ paths: description: Response content: application/json: - schema: &264 + schema: &265 type: object required: - run_workflows_from_fork_pull_requests @@ -9449,7 +9449,7 @@ paths: required: true content: application/json: - schema: &265 + schema: &266 type: object required: - run_workflows_from_fork_pull_requests @@ -9885,7 +9885,7 @@ paths: description: Success response content: application/json: - schema: &268 + schema: &269 type: object properties: default_workflow_permissions: &65 @@ -9933,7 +9933,7 @@ paths: required: true content: application/json: - schema: &269 + schema: &270 type: object properties: default_workflow_permissions: *65 @@ -10778,7 +10778,7 @@ paths: application/json: schema: type: array - items: &273 + items: &274 title: Runner Application description: Runner Application type: object @@ -10803,7 +10803,7 @@ paths: - download_url - filename examples: - default: &274 + default: &275 value: - os: osx architecture: x64 @@ -10887,7 +10887,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &275 + '201': &276 description: Response content: application/json: @@ -10926,7 +10926,7 @@ paths: encoded_jit_config: abc123 '404': *6 '422': *7 - '409': &116 + '409': &117 description: Conflict content: application/json: @@ -11006,7 +11006,7 @@ paths: - token - expires_at examples: - default: &276 + default: &277 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -11046,7 +11046,7 @@ paths: application/json: schema: *77 examples: - default: &277 + default: &278 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -11078,7 +11078,7 @@ paths: application/json: schema: *74 examples: - default: &278 + default: &279 value: id: 23 name: MBP @@ -11294,7 +11294,7 @@ paths: - *39 - *73 responses: - '200': &279 + '200': &280 description: Response content: application/json: @@ -11350,7 +11350,7 @@ paths: parameters: - *39 - *73 - - &280 + - &281 name: name description: The name of a self-hosted runner's custom label. in: path @@ -11447,7 +11447,7 @@ paths: required: true content: application/json: - schema: &287 + schema: &288 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -12098,7 +12098,7 @@ paths: required: false schema: type: string - - &290 + - &291 name: include description: |- The event types to include: @@ -12116,7 +12116,7 @@ paths: - web - git - all - - &291 + - &292 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. @@ -12124,7 +12124,7 @@ paths: required: false schema: type: string - - &292 + - &293 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. @@ -12132,7 +12132,7 @@ paths: required: false schema: type: string - - &293 + - &294 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -12154,7 +12154,7 @@ paths: application/json: schema: type: array - items: &294 + items: &295 type: object properties: "@timestamp": @@ -12276,7 +12276,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &295 + default: &296 value: - "@timestamp": 1606929874512 action: team.add_member @@ -12944,7 +12944,7 @@ paths: application/json: schema: type: array - items: &296 + items: &297 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -13116,7 +13116,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &297 + default: &298 value: - id: 21 number: 42 @@ -13221,7 +13221,7 @@ paths: application/json: schema: type: array - items: &299 + items: &300 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -13352,7 +13352,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &300 + default: &301 value: - id: 21 number: 42 @@ -13437,7 +13437,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *39 - - &305 + - &306 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, @@ -13447,7 +13447,7 @@ paths: schema: &109 type: string description: The name of the tool used to generate the code scanning analysis. - - &306 + - &307 name: tool_guid description: The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in @@ -13471,7 +13471,7 @@ paths: be returned. in: query required: false - schema: &307 + schema: &308 type: string description: State of a code scanning alert. enum: @@ -13504,31 +13504,31 @@ paths: application/json: schema: type: array - items: &308 + items: &309 type: object properties: - number: &123 + number: &124 type: integer description: The security alert number. readOnly: true - created_at: &130 + created_at: &131 type: string description: 'The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - updated_at: &131 + updated_at: &132 type: string description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - url: &128 + url: &129 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &129 + html_url: &130 type: string description: The GitHub URL of the alert resource. format: uri @@ -13549,7 +13549,7 @@ paths: - dismissed - fixed - - fixed_at: &133 + fixed_at: &134 type: - string - 'null' @@ -13561,7 +13561,7 @@ paths: anyOf: - type: 'null' - *4 - dismissed_at: &132 + dismissed_at: &133 type: - string - 'null' @@ -13725,7 +13725,7 @@ paths: - test - library - - repository: &117 + repository: &118 title: Simple Repository description: A GitHub repository. type: object @@ -14069,7 +14069,7 @@ paths: - most_recent_instance - repository examples: - default: &309 + default: &310 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -14300,7 +14300,7 @@ paths: headers: Link: *45 '404': *6 - '503': &189 + '503': &190 description: Service unavailable content: application/json: @@ -14739,7 +14739,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &310 + code_scanning_options: &116 type: - object - 'null' @@ -15161,6 +15161,7 @@ paths: - disabled - not_set code_scanning_default_setup_options: *115 + code_scanning_options: *116 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -15254,7 +15255,7 @@ paths: '304': *35 '403': *27 '404': *6 - '409': *116 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -15280,12 +15281,12 @@ paths: - *39 - *114 responses: - '204': &148 + '204': &149 description: A header with no content is returned. '400': *14 '403': *27 '404': *6 - '409': *116 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -15337,7 +15338,7 @@ paths: '202': *37 '403': *27 '404': *6 - '409': *116 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -15510,7 +15511,7 @@ paths: - failed - updating - removed_by_enterprise - repository: *117 + repository: *118 examples: default: summary: Example of code security configuration repositories @@ -15999,7 +16000,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &139 + items: &140 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -16017,7 +16018,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &301 + - &302 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -16212,7 +16213,7 @@ paths: - slug - parent - type - - &138 + - &139 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -16335,7 +16336,7 @@ paths: - created_at additionalProperties: false examples: - default: &140 + default: &141 value: total_seats: 2 seats: @@ -16787,7 +16788,7 @@ paths: application/json: schema: type: array - items: &201 + items: &202 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -17102,7 +17103,7 @@ paths: - date additionalProperties: true examples: - default: &202 + default: &203 value: - date: '2024-06-24' total_active_users: 24 @@ -17204,7 +17205,7 @@ paths: '500': *38 '403': *27 '404': *6 - '422': &203 + '422': &204 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -17234,7 +17235,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage-metrics#get-copilot-enterprise-usage-metrics-for-a-specific-day parameters: - *39 - - &118 + - &119 name: day description: The day to request data for, in `YYYY-MM-DD` format. in: query @@ -17249,7 +17250,7 @@ paths: description: Response content: application/json: - schema: &119 + schema: &120 type: object title: Copilot Metrics 1 Day Report description: Links to download the Copilot usage metrics report for @@ -17270,7 +17271,7 @@ paths: - download_links - report_day examples: - default: &120 + default: &121 value: download_links: - https://example.com/copilot-usage-report-1.json @@ -17308,7 +17309,7 @@ paths: description: Response content: application/json: - schema: &121 + schema: &122 type: object title: Copilot Metrics 28 Day Report description: Links to download the latest Copilot usage metrics report @@ -17336,7 +17337,7 @@ paths: - report_start_day - report_end_day examples: - default: &122 + default: &123 value: download_links: - https://example.com/copilot-usage-report-1.json @@ -17370,15 +17371,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics-for-a-specific-day parameters: - *39 - - *118 + - *119 responses: '200': description: Response content: application/json: - schema: *119 + schema: *120 examples: - default: *120 + default: *121 '500': *38 '403': *27 '404': *6 @@ -17411,9 +17412,9 @@ paths: description: Response content: application/json: - schema: *121 + schema: *122 examples: - default: *122 + default: *123 '500': *38 '403': *27 '404': *6 @@ -17541,7 +17542,7 @@ paths: type: object description: A Dependabot alert. properties: - number: *123 + number: *124 state: type: string description: The state of the Dependabot alert. @@ -17556,7 +17557,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &124 + package: &125 type: object description: Details for the vulnerable package. readOnly: true @@ -17635,13 +17636,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &127 + items: &128 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *124 + package: *125 severity: type: string description: The severity of the vulnerability. @@ -17709,8 +17710,8 @@ paths: - score - vector_string additionalProperties: false - cvss_severities: *125 - epss: *126 + cvss_severities: *126 + epss: *127 cwes: type: array description: Details for the advisory pertaining to Common @@ -17810,12 +17811,12 @@ paths: - updated_at - withdrawn_at additionalProperties: false - security_vulnerability: *127 - url: *128 - html_url: *129 - created_at: *130 - updated_at: *131 - dismissed_at: *132 + security_vulnerability: *128 + url: *129 + html_url: *130 + created_at: *131 + updated_at: *132 + dismissed_at: *133 dismissed_by: anyOf: - type: 'null' @@ -17839,7 +17840,7 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *133 + fixed_at: *134 auto_dismissed_at: &572 type: - string @@ -17887,7 +17888,7 @@ paths: format: uri description: The API URL to get more information about this dismissal request. - repository: *117 + repository: *118 required: - number - state @@ -18269,7 +18270,7 @@ paths: roles: type: array description: The list of enterprise roles available to the enterprise. - items: &137 + items: &138 title: Enterprise Role description: Enterprise custom roles type: object @@ -18394,7 +18395,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#remove-all-enterprise-roles-from-a-team parameters: - *39 - - &134 + - &135 name: team_slug description: The slug of the enterprise team name. in: path @@ -18434,8 +18435,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#assign-an-enterprise-role-to-a-team parameters: - *39 - - *134 - - &135 + - *135 + - &136 name: role_id description: The unique identifier of the role. in: path @@ -18474,8 +18475,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#remove-an-enterprise-role-from-a-team parameters: - *39 - - *134 - *135 + - *136 responses: '204': description: Response @@ -18509,7 +18510,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#remove-all-enterprise-roles-from-a-user parameters: - *39 - - &136 + - &137 name: username description: The handle for the GitHub user account. in: path @@ -18549,8 +18550,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#assign-an-enterprise-role-to-an-enterprise-user parameters: - *39 + - *137 - *136 - - *135 responses: '204': description: Response @@ -18583,8 +18584,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#remove-enterprise-user-role-assignment parameters: - *39 + - *137 - *136 - - *135 responses: '204': description: Response @@ -18618,13 +18619,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#get-an-enterprise-role parameters: - *39 - - *135 + - *136 responses: '200': description: Response content: application/json: - schema: *137 + schema: *138 examples: default: value: @@ -18675,7 +18676,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#list-teams-that-are-assigned-to-an-enterprise-role parameters: - *39 - - *135 + - *136 - *17 - *19 responses: @@ -18685,9 +18686,9 @@ paths: application/json: schema: type: array - items: *138 + items: *139 examples: - default: &204 + default: &205 value: - id: 1 name: Justice League @@ -18726,7 +18727,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#list-users-that-are-assigned-to-an-enterprise-role parameters: - *39 - - *135 + - *136 - *17 - *19 responses: @@ -18759,7 +18760,7 @@ paths: description: Enterprise Team the user has gotten the role through type: array - items: *138 + items: *139 examples: default: value: @@ -18918,7 +18919,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-an-enterprise-user parameters: - *39 - - *136 + - *137 responses: '200': description: The user's GitHub Copilot seat details, including usage. @@ -18934,9 +18935,9 @@ paths: teams or multiple organizations are only counted once. seats: type: array - items: *139 + items: *140 examples: - default: *140 + default: *141 '500': *38 '401': *23 '403': *27 @@ -18979,7 +18980,7 @@ paths: type: integer network_configurations: type: array - items: &141 + items: &142 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -19102,9 +19103,9 @@ paths: description: Response content: application/json: - schema: *141 + schema: *142 examples: - default: &142 + default: &143 value: id: 123456789ABCDEF name: My network configuration @@ -19131,7 +19132,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-configuration-for-an-enterprise parameters: - *39 - - &143 + - &144 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -19143,9 +19144,9 @@ paths: description: Response content: application/json: - schema: *141 + schema: *142 examples: - default: *142 + default: *143 headers: Link: *45 x-github: @@ -19165,7 +19166,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#update-a-hosted-compute-network-configuration-for-an-enterprise parameters: - *39 - - *143 + - *144 requestBody: required: true content: @@ -19204,9 +19205,9 @@ paths: description: Response content: application/json: - schema: *141 + schema: *142 examples: - default: *142 + default: *143 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -19224,7 +19225,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#delete-a-hosted-compute-network-configuration-from-an-enterprise parameters: - *39 - - *143 + - *144 responses: '204': description: Response @@ -19337,7 +19338,7 @@ paths: application/json: schema: type: array - items: &144 + items: &145 title: Custom Property for Organization description: Custom property defined for an organization allOf: @@ -19415,7 +19416,7 @@ paths: - property_name - value_type examples: - default: &145 + default: &146 value: - property_name: environment url: https://api.github.com/enterprises/github/org-properties/schema/environment @@ -19475,7 +19476,7 @@ paths: type: array description: The array of organization custom properties to create or update. - items: *144 + items: *145 minItems: 1 maxItems: 100 required: @@ -19508,9 +19509,9 @@ paths: application/json: schema: type: array - items: *144 + items: *145 examples: - default: *145 + default: *146 '403': *27 '404': *6 '422': *7 @@ -19537,7 +19538,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties-for-orgs#get-an-organization-custom-property-definition-from-an-enterprise parameters: - *39 - - &146 + - &147 name: custom_property_name description: The custom property name in: path @@ -19549,9 +19550,9 @@ paths: description: Response content: application/json: - schema: *144 + schema: *145 examples: - default: &147 + default: &148 value: property_name: environment url: https://api.github.com/enterprises/github/org-properties/schema/environment @@ -19588,7 +19589,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties-for-orgs#create-or-update-an-organization-custom-property-definition-on-an-enterprise parameters: - *39 - - *146 + - *147 requestBody: required: true content: @@ -19666,9 +19667,9 @@ paths: description: Response content: application/json: - schema: *144 + schema: *145 examples: - default: *147 + default: *148 '403': *27 '404': *6 '422': *7 @@ -19694,9 +19695,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties-for-orgs#remove-an-organization-custom-property-definition-from-an-enterprise parameters: - *39 - - *146 + - *147 responses: - '204': *148 + '204': *149 '403': *27 '404': *6 '422': *7 @@ -19747,7 +19748,7 @@ paths: - Hello-World properties: type: array - items: &149 + items: &150 title: Custom Property Value description: Custom property name and associated value type: object @@ -19833,7 +19834,7 @@ paths: type: array description: List of custom property names and associated values to apply to the organizations. - items: *149 + items: *150 required: - organization_logins - properties @@ -19883,7 +19884,7 @@ paths: application/json: schema: type: array - items: &150 + items: &151 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -19958,7 +19959,7 @@ paths: - property_name - value_type examples: - default: &151 + default: &152 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -20015,7 +20016,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *150 + items: *151 minItems: 1 maxItems: 100 required: @@ -20045,9 +20046,9 @@ paths: application/json: schema: type: array - items: *150 + items: *151 examples: - default: *151 + default: *152 '403': *27 '404': *6 x-github: @@ -20071,15 +20072,15 @@ paths: parameters: - *39 - *85 - - *146 + - *147 responses: '200': description: Response content: application/json: - schema: *150 + schema: *151 examples: - default: &152 + default: &153 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -20112,15 +20113,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#get-a-custom-property-for-an-enterprise parameters: - *39 - - *146 + - *147 responses: '200': description: Response content: application/json: - schema: *150 + schema: *151 examples: - default: *152 + default: *153 '403': *27 '404': *6 x-github: @@ -20142,7 +20143,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#create-or-update-a-custom-property-for-an-enterprise parameters: - *39 - - *146 + - *147 requestBody: required: true content: @@ -20219,9 +20220,9 @@ paths: description: Response content: application/json: - schema: *150 + schema: *151 examples: - default: *152 + default: *153 '403': *27 '404': *6 x-github: @@ -20243,9 +20244,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#remove-a-custom-property-for-an-enterprise parameters: - *39 - - *146 + - *147 responses: - '204': *148 + '204': *149 '403': *27 '404': *6 x-github: @@ -20285,7 +20286,7 @@ paths: - push - repository default: branch - enforcement: &161 + enforcement: &162 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights @@ -20298,7 +20299,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &162 + items: &163 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -20340,7 +20341,7 @@ paths: - pull_request - exempt default: always - conditions: &186 + conditions: &187 title: Enterprise ruleset conditions type: object description: Conditions for an enterprise ruleset. The conditions @@ -20354,7 +20355,7 @@ paths: description: Conditions to target organizations by name and all repositories allOf: - - &153 + - &154 title: Repository ruleset conditions for organization names type: object description: Parameters for an organization name condition @@ -20380,7 +20381,7 @@ paths: type: string required: - organization_name - - &156 + - &157 title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -20409,7 +20410,7 @@ paths: is prevented. required: - repository_name - - &155 + - &156 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name condition @@ -20437,8 +20438,8 @@ paths: description: Conditions to target organizations by name and repositories by property allOf: - - *153 - - &158 + - *154 + - &159 title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -20451,7 +20452,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &154 + items: &155 title: Repository ruleset property targeting definition type: object description: Parameters for a targeting a repository @@ -20482,16 +20483,16 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *154 + items: *155 required: - repository_property - - *155 + - *156 - type: object title: organization_id_and_repository_name description: Conditions to target organizations by id and all repositories allOf: - - &157 + - &158 title: Repository ruleset conditions for organization IDs type: object description: Parameters for an organization ID condition @@ -20508,22 +20509,22 @@ paths: type: integer required: - organization_id + - *157 - *156 - - *155 - type: object title: organization_id_and_repository_property description: Conditions to target organization by id and repositories by property allOf: - - *157 - *158 - - *155 + - *159 + - *156 - type: object title: organization_property_and_repository_name description: Conditions to target organizations by property and all repositories allOf: - - &160 + - &161 title: Repository ruleset conditions for organization properties type: object description: Parameters for a organization property condition @@ -20536,7 +20537,7 @@ paths: description: The organization properties and values to include. All of these properties must match for the condition to pass. - items: &159 + items: &160 title: Repository ruleset property targeting definition type: object description: Parameters for a targeting a organization @@ -20560,28 +20561,28 @@ paths: description: The organization properties and values to exclude. The condition will not pass if any of these properties match. - items: *159 + items: *160 required: - organization_property + - *157 - *156 - - *155 - type: object title: organization_property_and_repository_property description: Conditions to target organizations by property and repositories by property allOf: - - *160 - - *158 - - *155 + - *161 + - *159 + - *156 rules: type: array description: An array of rules within the ruleset. - items: &187 + items: &188 title: Repository Rule type: object description: A repository rule. oneOf: - - &163 + - &164 title: creation description: Only allow users with bypass permission to create matching refs. @@ -20593,7 +20594,7 @@ paths: type: string enum: - creation - - &164 + - &165 title: update description: Only allow users with bypass permission to update matching refs. @@ -20614,7 +20615,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &165 + - &166 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -20626,7 +20627,7 @@ paths: type: string enum: - deletion - - &166 + - &167 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -20638,7 +20639,7 @@ paths: type: string enum: - required_linear_history - - &167 + - &168 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -20662,7 +20663,7 @@ paths: type: string required: - required_deployment_environments - - &168 + - &169 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -20674,7 +20675,7 @@ paths: type: string enum: - required_signatures - - &169 + - &170 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. @@ -20777,7 +20778,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &170 + - &171 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -20824,7 +20825,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &171 + - &172 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -20836,7 +20837,7 @@ paths: type: string enum: - non_fast_forward - - &172 + - &173 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -20872,7 +20873,7 @@ paths: required: - operator - pattern - - &173 + - &174 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -20908,7 +20909,7 @@ paths: required: - operator - pattern - - &174 + - &175 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -20944,7 +20945,7 @@ paths: required: - operator - pattern - - &175 + - &176 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -20980,7 +20981,7 @@ paths: required: - operator - pattern - - &176 + - &177 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -21016,7 +21017,7 @@ paths: required: - operator - pattern - - &177 + - &178 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. @@ -21040,7 +21041,7 @@ paths: type: string required: - restricted_file_paths - - &178 + - &179 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit @@ -21064,7 +21065,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &179 + - &180 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -21087,7 +21088,7 @@ paths: type: string required: - restricted_file_extensions - - &180 + - &181 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. @@ -21111,7 +21112,7 @@ paths: maximum: 100 required: - max_file_size - - &181 + - &182 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -21160,7 +21161,7 @@ paths: - repository_id required: - workflows - - &182 + - &183 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -21220,7 +21221,7 @@ paths: - tool required: - code_scanning_tools - - &183 + - &184 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code review @@ -21270,7 +21271,7 @@ paths: description: Response content: application/json: - schema: &184 + schema: &185 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -21305,11 +21306,11 @@ paths: source: type: string description: The name of the source - enforcement: *161 + enforcement: *162 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *162 + items: *163 current_user_can_bypass: type: string description: |- @@ -21341,7 +21342,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - *155 + - *156 - &405 title: Organization ruleset conditions type: object @@ -21356,14 +21357,14 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *155 - *156 + - *157 - type: object title: repository_id_and_ref_name description: Conditions to target repositories by id and refs by name allOf: - - *155 + - *156 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -21385,8 +21386,8 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *155 - - *158 + - *156 + - *159 type: - 'null' - object @@ -21397,10 +21398,10 @@ paths: type: object description: A repository rule. oneOf: - - *163 - *164 - *165 - *166 + - *167 - &693 title: merge_queue description: Merges must be performed via a merge queue. @@ -21479,7 +21480,6 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - *167 - *168 - *169 - *170 @@ -21496,6 +21496,7 @@ paths: - *181 - *182 - *183 + - *184 created_at: type: string format: date-time @@ -21503,7 +21504,7 @@ paths: type: string format: date-time examples: - default: &185 + default: &186 value: id: 21 name: super cool ruleset @@ -21562,9 +21563,9 @@ paths: description: Response content: application/json: - schema: *184 + schema: *185 examples: - default: *185 + default: *186 '404': *6 '500': *38 x-github: @@ -21608,16 +21609,16 @@ paths: - tag - push - repository - enforcement: *161 + enforcement: *162 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *162 - conditions: *186 + items: *163 + conditions: *187 rules: description: An array of rules within the ruleset. type: array - items: *187 + items: *188 examples: default: value: @@ -21641,9 +21642,9 @@ paths: description: Response content: application/json: - schema: *184 + schema: *185 examples: - default: *185 + default: *186 '404': *6 '500': *38 x-github: @@ -21705,7 +21706,7 @@ paths: application/json: schema: type: array - items: &188 + items: &189 title: Ruleset version type: object description: The historical version of a ruleset @@ -21784,7 +21785,7 @@ paths: application/json: schema: &409 allOf: - - *188 + - *189 - type: object required: - state @@ -21948,14 +21949,14 @@ paths: items: &419 type: object properties: - number: *123 - created_at: *130 + number: *124 + created_at: *131 updated_at: anyOf: - type: 'null' - - *131 - url: *128 - html_url: *129 + - *132 + url: *129 + html_url: *130 locations_url: type: string format: uri @@ -22002,7 +22003,7 @@ paths: secret: type: string description: The secret that was detected. - repository: *117 + repository: *118 push_protection_bypassed: type: - boolean @@ -22553,7 +22554,7 @@ paths: headers: Link: *45 '404': *6 - '503': *189 + '503': *190 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -22590,7 +22591,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &191 + pattern_config_version: &192 type: - string - 'null' @@ -22600,7 +22601,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &190 + items: &191 type: object properties: token_type: @@ -22669,7 +22670,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *190 + items: *191 examples: default: &422 value: @@ -22726,7 +22727,7 @@ paths: schema: type: object properties: - pattern_config_version: *191 + pattern_config_version: *192 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -22752,7 +22753,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *191 + custom_pattern_version: *192 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -22788,7 +22789,7 @@ paths: '400': *14 '403': *27 '404': *6 - '409': *116 + '409': *117 '422': *15 "/enterprises/{enterprise}/settings/billing/advanced-security": get: @@ -23276,7 +23277,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/budgets#get-a-budget-by-id parameters: - *39 - - &192 + - &193 name: budget_id description: The ID corresponding to the budget. in: path @@ -23376,7 +23377,7 @@ paths: '404': *6 '403': *27 '500': *38 - '503': *189 + '503': *190 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -23618,7 +23619,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/budgets#delete-a-budget parameters: - *39 - - *192 + - *193 responses: '200': description: Response when deleting a budget @@ -23645,7 +23646,7 @@ paths: '404': *6 '403': *27 '500': *38 - '503': *189 + '503': *190 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -23745,7 +23746,7 @@ paths: '400': *14 '403': *27 '500': *38 - '503': *189 + '503': *190 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -23875,7 +23876,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#get-a-cost-center-by-id parameters: - *39 - - &195 + - &196 name: cost_center_id description: The ID corresponding to the cost center. in: path @@ -23887,7 +23888,7 @@ paths: description: Response when getting a cost center content: application/json: - schema: &193 + schema: &194 type: object properties: id: @@ -23927,7 +23928,7 @@ paths: - name - resources examples: - default: &194 + default: &195 value: id: 2eeb8ffe-6903-11ee-8c99-0242ac120002 name: Cost Center Name @@ -23941,7 +23942,7 @@ paths: '400': *14 '403': *27 '500': *38 - '503': *189 + '503': *190 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -23991,15 +23992,15 @@ paths: description: Response when updating a cost center content: application/json: - schema: *193 + schema: *194 examples: - default: *194 + default: *195 '400': *14 '403': *27 '404': *6 - '409': *116 + '409': *117 '500': *38 - '503': *189 + '503': *190 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -24017,7 +24018,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#delete-a-cost-center parameters: - *39 - - *195 + - *196 responses: '200': description: Response when deleting a cost center @@ -24056,7 +24057,7 @@ paths: '404': *6 '403': *27 '500': *38 - '503': *189 + '503': *190 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -24077,7 +24078,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#add-resources-to-a-cost-center parameters: - *39 - - *195 + - *196 requestBody: required: true content: @@ -24148,9 +24149,9 @@ paths: previous_cost_center: yet-another-cost-center '400': *14 '403': *27 - '409': *116 + '409': *117 '500': *38 - '503': *189 + '503': *190 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -24170,7 +24171,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#remove-resources-from-a-cost-center parameters: - *39 - - *195 + - *196 requestBody: required: true content: @@ -24217,7 +24218,7 @@ paths: '400': *14 '403': *27 '500': *38 - '503': *189 + '503': *190 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -24238,7 +24239,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/usage#get-billing-premium-request-usage-report-for-an-enterprise parameters: - *39 - - &196 + - &197 name: year description: If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, @@ -24247,7 +24248,7 @@ paths: required: false schema: type: integer - - &198 + - &199 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current @@ -24256,7 +24257,7 @@ paths: required: false schema: type: integer - - &197 + - &198 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is @@ -24265,7 +24266,7 @@ paths: required: false schema: type: integer - - &199 + - &200 name: organization description: The organization name to query usage for. The name is not case sensitive. @@ -24285,7 +24286,7 @@ paths: required: false schema: type: string - - &200 + - &201 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -24424,7 +24425,7 @@ paths: '403': *27 '404': *6 '500': *38 - '503': *189 + '503': *190 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -24445,7 +24446,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/usage#get-billing-usage-report-for-an-enterprise parameters: - *39 - - *196 + - *197 - name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -24454,7 +24455,7 @@ paths: required: false schema: type: integer - - *197 + - *198 - name: cost_center_id description: The ID corresponding to a cost center. The default value is no cost center. @@ -24537,7 +24538,7 @@ paths: '400': *14 '403': *27 '500': *38 - '503': *189 + '503': *190 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -24561,17 +24562,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/usage#get-billing-usage-summary-for-an-enterprise parameters: - *39 - - *196 - - *198 - *197 - *199 + - *198 + - *200 - name: repository description: The repository name to query for usage in the format owner/repository. in: query required: false schema: type: string - - *200 + - *201 - name: sku description: The SKU to query for usage. in: query @@ -24704,7 +24705,7 @@ paths: '400': *14 '403': *27 '500': *38 - '503': *189 + '503': *190 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -24738,7 +24739,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-an-enterprise-team parameters: - *39 - - *134 + - *135 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -24770,13 +24771,13 @@ paths: application/json: schema: type: array - items: *201 + items: *202 examples: - default: *202 + default: *203 '500': *38 '403': *27 '404': *6 - '422': *203 + '422': *204 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -24803,9 +24804,9 @@ paths: application/json: schema: type: array - items: *138 + items: *139 examples: - default: *204 + default: *205 headers: Link: *45 '403': *27 @@ -24882,9 +24883,9 @@ paths: description: Response content: application/json: - schema: *138 + schema: *139 examples: - default: *204 + default: *205 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -24902,7 +24903,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *39 - - &205 + - &206 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -24921,7 +24922,7 @@ paths: type: array items: *4 examples: - default: &206 + default: &207 value: - login: octocat id: 1 @@ -24960,7 +24961,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *39 - - *205 + - *206 requestBody: required: true content: @@ -24991,7 +24992,7 @@ paths: type: array items: *4 examples: - default: *206 + default: *207 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -25009,7 +25010,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *39 - - *205 + - *206 requestBody: required: true content: @@ -25040,7 +25041,7 @@ paths: type: array items: *4 examples: - default: *206 + default: *207 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -25058,8 +25059,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *39 - - *205 - - *136 + - *206 + - *137 responses: '200': description: User is a member of the enterprise team. @@ -25067,7 +25068,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &207 + exampleKey1: &208 value: login: octocat id: 1 @@ -25103,8 +25104,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *39 - - *205 - - *136 + - *206 + - *137 responses: '201': description: Successfully added team member @@ -25112,7 +25113,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *207 + exampleKey1: *208 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -25130,8 +25131,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *39 - - *205 - - *136 + - *206 + - *137 responses: '204': description: Response @@ -25153,7 +25154,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments parameters: - *39 - - *205 + - *206 - *17 - *19 responses: @@ -25165,7 +25166,7 @@ paths: type: array items: *71 examples: - default: &208 + default: &209 value: login: github id: 1 @@ -25196,7 +25197,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments parameters: - *39 - - *205 + - *206 requestBody: required: true content: @@ -25226,7 +25227,7 @@ paths: type: array items: *71 examples: - default: &242 + default: &243 value: - login: github id: 1 @@ -25257,7 +25258,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments parameters: - *39 - - *205 + - *206 requestBody: required: true content: @@ -25298,7 +25299,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment parameters: - *39 - - *205 + - *206 - *85 responses: '200': @@ -25307,7 +25308,7 @@ paths: application/json: schema: *71 examples: - default: *208 + default: *209 '404': description: The team is not assigned to the organization x-github: @@ -25326,7 +25327,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment parameters: - *39 - - *205 + - *206 - *85 responses: '201': @@ -25335,7 +25336,7 @@ paths: application/json: schema: *71 examples: - default: *208 + default: *209 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -25352,7 +25353,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment parameters: - *39 - - *205 + - *206 - *85 responses: '204': @@ -25377,7 +25378,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *39 - - &209 + - &210 name: team_slug description: The slug of the team name. in: path @@ -25389,9 +25390,9 @@ paths: description: Response content: application/json: - schema: *138 + schema: *139 examples: - default: *204 + default: *205 headers: Link: *45 '403': *27 @@ -25411,7 +25412,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *39 - - *209 + - *210 requestBody: required: true content: @@ -25469,9 +25470,9 @@ paths: description: Response content: application/json: - schema: *138 + schema: *139 examples: - default: *204 + default: *205 headers: Link: *45 '403': *27 @@ -25494,7 +25495,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *39 - - *209 + - *210 responses: '204': description: Response @@ -25593,7 +25594,7 @@ paths: application/json: schema: type: array - items: &237 + items: &238 title: Event description: Event type: object @@ -25604,7 +25605,7 @@ paths: type: - string - 'null' - actor: &210 + actor: &211 title: Actor description: Actor type: object @@ -25645,7 +25646,7 @@ paths: - id - name - url - org: *210 + org: *211 payload: oneOf: - title: CreateEvent @@ -25989,7 +25990,7 @@ paths: - id labels: type: array - items: &211 + items: &212 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -26072,7 +26073,7 @@ paths: properties: action: type: string - issue: &212 + issue: &213 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -26426,7 +26427,7 @@ paths: anyOf: - type: 'null' - *5 - author_association: &213 + author_association: &214 title: author_association type: string description: How the author is associated with the @@ -26442,7 +26443,7 @@ paths: - OWNER examples: - OWNER - reactions: &214 + reactions: &215 title: Reaction Rollup type: object properties: @@ -26618,10 +26619,10 @@ paths: assignees: type: array items: *4 - label: *211 + label: *212 labels: type: array - items: *211 + items: *212 required: - action - issue @@ -26630,7 +26631,7 @@ paths: properties: action: type: string - issue: *212 + issue: *213 comment: &630 title: Issue Comment description: Comments provide a way for people to collaborate @@ -26681,12 +26682,12 @@ paths: issue_url: type: string format: uri - author_association: *213 + author_association: *214 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *214 + reactions: *215 required: - id - node_id @@ -26865,7 +26866,7 @@ paths: license: anyOf: - type: 'null' - - *215 + - *216 allow_forking: type: boolean is_template: @@ -26956,7 +26957,7 @@ paths: type: string number: type: integer - pull_request: &216 + pull_request: &217 title: Pull Request Minimal type: object properties: @@ -27027,10 +27028,10 @@ paths: assignees: type: array items: *4 - label: *211 + label: *212 labels: type: array - items: *211 + items: *212 required: - action - number @@ -27040,7 +27041,7 @@ paths: properties: action: type: string - pull_request: *216 + pull_request: *217 comment: type: object properties: @@ -27294,7 +27295,7 @@ paths: - pull_request updated_at: type: string - pull_request: *216 + pull_request: *217 required: - action - review @@ -27343,7 +27344,7 @@ paths: updated_at: type: string format: date-time - reactions: *214 + reactions: *215 required: - action - comment @@ -27511,7 +27512,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *214 + reactions: *215 required: - assets_url - upload_url @@ -27604,7 +27605,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *35 '403': *27 - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27694,7 +27695,7 @@ paths: _links: type: object properties: - timeline: &217 + timeline: &218 title: Link With Type description: Hypermedia Link with Type type: object @@ -27706,17 +27707,17 @@ paths: required: - href - type - user: *217 - security_advisories: *217 - current_user: *217 - current_user_public: *217 - current_user_actor: *217 - current_user_organization: *217 + user: *218 + security_advisories: *218 + current_user: *218 + current_user_public: *218 + current_user_actor: *218 + current_user_organization: *218 current_user_organizations: type: array - items: *217 - repository_discussions: *217 - repository_discussions_category: *217 + items: *218 + repository_discussions: *218 + repository_discussions_category: *218 required: - timeline - user @@ -27778,7 +27779,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *218 + - *219 - *17 - *19 responses: @@ -27788,7 +27789,7 @@ paths: application/json: schema: type: array - items: &219 + items: &220 title: Base Gist description: Base Gist type: object @@ -27885,7 +27886,7 @@ paths: - created_at - updated_at examples: - default: &220 + default: &221 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -28009,7 +28010,7 @@ paths: description: Response content: application/json: - schema: &221 + schema: &222 title: Gist Simple description: Gist Simple type: object @@ -28401,7 +28402,7 @@ paths: truncated: type: boolean examples: - default: &222 + default: &223 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -28505,7 +28506,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-public-gists parameters: - - *218 + - *219 - *17 - *19 responses: @@ -28515,9 +28516,9 @@ paths: application/json: schema: type: array - items: *219 + items: *220 examples: - default: *220 + default: *221 headers: Link: *45 '422': *15 @@ -28539,7 +28540,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-starred-gists parameters: - - *218 + - *219 - *17 - *19 responses: @@ -28549,9 +28550,9 @@ paths: application/json: schema: type: array - items: *219 + items: *220 examples: - default: *220 + default: *221 headers: Link: *45 '401': *23 @@ -28579,7 +28580,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist parameters: - - &223 + - &224 name: gist_id description: The unique identifier of the gist. in: path @@ -28591,10 +28592,10 @@ paths: description: Response content: application/json: - schema: *221 + schema: *222 examples: - default: *222 - '403': &226 + default: *223 + '403': &227 description: Forbidden Gist content: application/json: @@ -28643,7 +28644,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#update-a-gist parameters: - - *223 + - *224 requestBody: required: true content: @@ -28707,9 +28708,9 @@ paths: description: Response content: application/json: - schema: *221 + schema: *222 examples: - updateGist: *222 + updateGist: *223 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -28867,7 +28868,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#delete-a-gist parameters: - - *223 + - *224 responses: '204': description: Response @@ -28896,7 +28897,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#list-gist-comments parameters: - - *223 + - *224 - *17 - *19 responses: @@ -28906,7 +28907,7 @@ paths: application/json: schema: type: array - items: &224 + items: &225 title: Gist Comment description: A comment made to a gist. type: object @@ -28944,7 +28945,7 @@ paths: format: date-time examples: - '2011-04-18T23:23:56Z' - author_association: *213 + author_association: *214 required: - url - id @@ -29009,7 +29010,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#create-a-gist-comment parameters: - - *223 + - *224 requestBody: required: true content: @@ -29035,9 +29036,9 @@ paths: description: Response content: application/json: - schema: *224 + schema: *225 examples: - default: &225 + default: &226 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -29095,8 +29096,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#get-a-gist-comment parameters: - - *223 - - &227 + - *224 + - &228 name: comment_id description: The unique identifier of the comment. in: path @@ -29109,12 +29110,12 @@ paths: description: Response content: application/json: - schema: *224 + schema: *225 examples: - default: *225 + default: *226 '304': *35 '404': *6 - '403': *226 + '403': *227 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29136,8 +29137,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#update-a-gist-comment parameters: - - *223 - - *227 + - *224 + - *228 requestBody: required: true content: @@ -29163,9 +29164,9 @@ paths: description: Response content: application/json: - schema: *224 + schema: *225 examples: - default: *225 + default: *226 '404': *6 x-github: githubCloudOnly: false @@ -29182,8 +29183,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#delete-a-gist-comment parameters: - - *223 - - *227 + - *224 + - *228 responses: '204': description: Response @@ -29206,7 +29207,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-commits parameters: - - *223 + - *224 - *17 - *19 responses: @@ -29307,7 +29308,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-forks parameters: - - *223 + - *224 - *17 - *19 responses: @@ -29317,7 +29318,7 @@ paths: application/json: schema: type: array - items: *221 + items: *222 examples: default: value: @@ -29382,13 +29383,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#fork-a-gist parameters: - - *223 + - *224 responses: '201': description: Response content: application/json: - schema: *219 + schema: *220 examples: default: value: @@ -29459,7 +29460,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#check-if-a-gist-is-starred parameters: - - *223 + - *224 responses: '204': description: Response if gist is starred @@ -29489,7 +29490,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#star-a-gist parameters: - - *223 + - *224 responses: '204': description: Response @@ -29511,7 +29512,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#unstar-a-gist parameters: - - *223 + - *224 responses: '204': description: Response @@ -29540,7 +29541,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist-revision parameters: - - *223 + - *224 - name: sha in: path required: true @@ -29551,9 +29552,9 @@ paths: description: Response content: application/json: - schema: *221 + schema: *222 examples: - default: *222 + default: *223 '422': *15 '404': *6 '403': *27 @@ -29941,7 +29942,7 @@ paths: - comments default: created - *108 - - *218 + - *219 - name: collab in: query required: false @@ -29971,7 +29972,7 @@ paths: application/json: schema: type: array - items: *212 + items: *213 examples: default: &362 value: @@ -30252,7 +30253,7 @@ paths: application/json: schema: type: array - items: *215 + items: *216 examples: default: value: @@ -30550,7 +30551,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &228 + X-CommonMarker-Version: &229 example: 0.17.4 schema: type: string @@ -30605,7 +30606,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *228 + X-CommonMarker-Version: *229 content: text/html: schema: @@ -30634,7 +30635,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &231 + - &232 name: account_id description: account_id parameter in: path @@ -30646,7 +30647,7 @@ paths: description: Response content: application/json: - schema: &230 + schema: &231 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -30680,7 +30681,7 @@ paths: - 'null' id: type: integer - plan: &229 + plan: &230 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -30783,7 +30784,7 @@ paths: - 'null' updated_at: type: string - plan: *229 + plan: *230 required: - url - id @@ -30791,7 +30792,7 @@ paths: - login - marketplace_purchase examples: - default: &232 + default: &233 value: url: https://api.github.com/orgs/github type: Organization @@ -30876,9 +30877,9 @@ paths: application/json: schema: type: array - items: *229 + items: *230 examples: - default: &233 + default: &234 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -30918,14 +30919,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &234 + - &235 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &235 + - &236 name: sort description: The property to sort the results by. in: query @@ -30955,9 +30956,9 @@ paths: application/json: schema: type: array - items: *230 + items: *231 examples: - default: &236 + default: &237 value: - url: https://api.github.com/orgs/github type: Organization @@ -31031,15 +31032,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *231 + - *232 responses: '200': description: Response content: application/json: - schema: *230 + schema: *231 examples: - default: *232 + default: *233 '404': description: Not Found when the account has not purchased the listing '401': *23 @@ -31071,9 +31072,9 @@ paths: application/json: schema: type: array - items: *229 + items: *230 examples: - default: *233 + default: *234 headers: Link: *45 '401': *23 @@ -31096,8 +31097,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *234 - *235 + - *236 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -31117,9 +31118,9 @@ paths: application/json: schema: type: array - items: *230 + items: *231 examples: - default: *236 + default: *237 headers: Link: *45 '401': *23 @@ -31408,7 +31409,7 @@ paths: application/json: schema: type: array - items: *237 + items: *238 examples: default: value: @@ -31492,7 +31493,7 @@ paths: schema: type: boolean default: false - - *218 + - *219 - &662 name: before description: 'Only show notifications updated before the given time. This @@ -31518,14 +31519,14 @@ paths: application/json: schema: type: array - items: &238 + items: &239 title: Thread description: Thread type: object properties: id: type: string - repository: &272 + repository: &273 title: Minimal Repository description: Minimal Repository type: object @@ -32203,7 +32204,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread parameters: - - &239 + - &240 name: thread_id description: The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications @@ -32217,7 +32218,7 @@ paths: description: Response content: application/json: - schema: *238 + schema: *239 examples: default: value: @@ -32320,7 +32321,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-read parameters: - - *239 + - *240 responses: '205': description: Reset Content @@ -32343,7 +32344,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-done parameters: - - *239 + - *240 responses: '204': description: No content @@ -32366,13 +32367,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *239 + - *240 responses: '200': description: Response content: application/json: - schema: &240 + schema: &241 title: Thread Subscription description: Thread Subscription type: object @@ -32416,7 +32417,7 @@ paths: - url - subscribed examples: - default: &241 + default: &242 value: subscribed: true ignored: false @@ -32447,7 +32448,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#set-a-thread-subscription parameters: - - *239 + - *240 requestBody: required: false content: @@ -32468,9 +32469,9 @@ paths: description: Response content: application/json: - schema: *240 + schema: *241 examples: - default: *241 + default: *242 '304': *35 '403': *27 '401': *23 @@ -32493,7 +32494,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#delete-a-thread-subscription parameters: - - *239 + - *240 responses: '204': description: Response @@ -32590,7 +32591,7 @@ paths: type: array items: *71 examples: - default: *242 + default: *243 headers: Link: example: ; rel="next" @@ -32744,7 +32745,7 @@ paths: description: Response content: application/json: - schema: &243 + schema: &244 title: Actions cache retention limit for an organization description: GitHub Actions cache retention policy for an organization. type: object @@ -32783,7 +32784,7 @@ paths: required: true content: application/json: - schema: *243 + schema: *244 examples: selected_actions: *42 responses: @@ -32818,7 +32819,7 @@ paths: description: Response content: application/json: - schema: &244 + schema: &245 title: Actions cache storage limit for an organization description: GitHub Actions cache storage policy for an organization. type: object @@ -32857,7 +32858,7 @@ paths: required: true content: application/json: - schema: *244 + schema: *245 examples: selected_actions: *44 responses: @@ -32932,7 +32933,7 @@ paths: items: anyOf: - type: 'null' - - *117 + - *118 additionalProperties: false examples: default: @@ -33164,7 +33165,7 @@ paths: application/json: schema: type: array - items: *149 + items: *150 examples: default: &669 value: @@ -33212,7 +33213,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the organization. - items: *149 + items: *150 required: - properties examples: @@ -33263,7 +33264,7 @@ paths: description: Response content: application/json: - schema: &245 + schema: &246 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -33673,7 +33674,7 @@ paths: - updated_at - archived_at examples: - default-response: &246 + default-response: &247 value: login: github id: 1 @@ -33999,18 +34000,18 @@ paths: description: Response content: application/json: - schema: *245 + schema: *246 examples: - default: *246 + default: *247 '422': description: Validation failed content: application/json: schema: oneOf: - - *247 - *248 - '409': *116 + - *249 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34064,9 +34065,9 @@ paths: description: Response content: application/json: - schema: *249 + schema: *250 examples: - default: *250 + default: *251 headers: Link: *45 x-github: @@ -34185,7 +34186,7 @@ paths: type: array items: *46 examples: - default: *251 + default: *252 headers: Link: *45 x-github: @@ -34352,7 +34353,7 @@ paths: application/json: schema: *47 examples: - default: *252 + default: *253 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34444,7 +34445,7 @@ paths: application/json: schema: *50 examples: - default: *253 + default: *254 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34563,9 +34564,9 @@ paths: description: Response content: application/json: - schema: *254 + schema: *255 examples: - default: *255 + default: *256 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34601,7 +34602,7 @@ paths: type: array items: *54 examples: - default: *256 + default: *257 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34790,7 +34791,7 @@ paths: description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &257 + schema: &258 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -34804,7 +34805,7 @@ paths: required: - include_claim_keys examples: - default: &258 + default: &259 value: include_claim_keys: - repo @@ -34831,15 +34832,15 @@ paths: required: true content: application/json: - schema: *257 + schema: *258 examples: - default: *258 + default: *259 responses: '201': description: Empty response content: application/json: - schema: &283 + schema: &284 title: Empty Object description: An object without any properties. type: object @@ -34878,7 +34879,7 @@ paths: schema: type: object properties: - enabled_repositories: &260 + enabled_repositories: &261 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -34892,7 +34893,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *58 - selected_actions_url: *259 + selected_actions_url: *260 sha_pinning_required: *59 required: - enabled_repositories @@ -34934,7 +34935,7 @@ paths: schema: type: object properties: - enabled_repositories: *260 + enabled_repositories: *261 allowed_actions: *58 sha_pinning_required: *59 required: @@ -34970,7 +34971,7 @@ paths: description: Response content: application/json: - schema: *261 + schema: *262 examples: response: summary: Example response @@ -35001,7 +35002,7 @@ paths: required: true content: application/json: - schema: *262 + schema: *263 examples: application/json: value: @@ -35011,7 +35012,7 @@ paths: description: No content '403': *27 '404': *6 - '409': *116 + '409': *117 '422': *15 x-github: enabledForGitHubApps: true @@ -35039,7 +35040,7 @@ paths: application/json: schema: *60 examples: - default: *263 + default: *264 '404': *6 x-github: enabledForGitHubApps: true @@ -35096,7 +35097,7 @@ paths: description: Response content: application/json: - schema: *264 + schema: *265 examples: default: *61 '403': *27 @@ -35121,7 +35122,7 @@ paths: required: true content: application/json: - schema: *265 + schema: *266 examples: default: *61 responses: @@ -35173,7 +35174,7 @@ paths: type: array items: *76 examples: - default: &267 + default: &268 value: total_count: 1 repositories: @@ -35358,7 +35359,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - *85 - - &266 + - &267 name: repository_id description: The unique identifier of the repository. in: path @@ -35387,7 +35388,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - *85 - - *266 + - *267 responses: '204': description: Response @@ -35546,7 +35547,7 @@ paths: description: No content '403': *27 '404': *6 - '409': *116 + '409': *117 '422': *15 x-github: enabledForGitHubApps: true @@ -35583,7 +35584,7 @@ paths: type: array items: *76 examples: - default: *267 + default: *268 '403': *27 '404': *6 x-github: @@ -35652,13 +35653,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *85 - - *266 + - *267 responses: '204': description: No content '403': *27 '404': *6 - '409': *116 + '409': *117 '422': *15 x-github: enabledForGitHubApps: true @@ -35679,13 +35680,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *85 - - *266 + - *267 responses: '204': description: No content '403': *27 '404': *6 - '409': *116 + '409': *117 '422': *15 x-github: enabledForGitHubApps: true @@ -35713,7 +35714,7 @@ paths: description: Response content: application/json: - schema: *268 + schema: *269 examples: default: *67 x-github: @@ -35747,7 +35748,7 @@ paths: required: false content: application/json: - schema: *269 + schema: *270 examples: default: *67 x-github: @@ -35794,7 +35795,7 @@ paths: type: number runner_groups: type: array - items: &270 + items: &271 type: object properties: id: @@ -35984,9 +35985,9 @@ paths: description: Response content: application/json: - schema: *270 + schema: *271 examples: - default: &271 + default: &272 value: id: 2 name: octo-runner-group @@ -36028,7 +36029,7 @@ paths: description: Response content: application/json: - schema: *270 + schema: *271 examples: default: value: @@ -36121,9 +36122,9 @@ paths: description: Response content: application/json: - schema: *270 + schema: *271 examples: - default: *271 + default: *272 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -36187,7 +36188,7 @@ paths: type: array items: *46 examples: - default: *251 + default: *252 headers: Link: *45 x-github: @@ -36228,7 +36229,7 @@ paths: type: number repositories: type: array - items: *272 + items: *273 examples: default: &780 value: @@ -36529,7 +36530,7 @@ paths: parameters: - *85 - *70 - - *266 + - *267 responses: '204': description: Response @@ -36553,7 +36554,7 @@ paths: parameters: - *85 - *70 - - *266 + - *267 responses: '204': description: Response @@ -36771,9 +36772,9 @@ paths: application/json: schema: type: array - items: *273 + items: *274 examples: - default: *274 + default: *275 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36838,10 +36839,10 @@ paths: - no-gpu work_folder: _work responses: - '201': *275 + '201': *276 '404': *6 '422': *7 - '409': *116 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36877,7 +36878,7 @@ paths: application/json: schema: *77 examples: - default: *276 + default: *277 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36913,7 +36914,7 @@ paths: application/json: schema: *77 examples: - default: *277 + default: *278 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36944,7 +36945,7 @@ paths: application/json: schema: *74 examples: - default: *278 + default: *279 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37119,7 +37120,7 @@ paths: - *85 - *73 responses: - '200': *279 + '200': *280 '404': *6 x-github: githubCloudOnly: false @@ -37148,7 +37149,7 @@ paths: parameters: - *85 - *73 - - *280 + - *281 responses: '200': *79 '404': *6 @@ -37193,7 +37194,7 @@ paths: type: integer secrets: type: array - items: &281 + items: &282 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -37335,7 +37336,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - *85 - - &282 + - &283 name: secret_name description: The name of the secret. in: path @@ -37347,7 +37348,7 @@ paths: description: Response content: application/json: - schema: *281 + schema: *282 examples: default: value: @@ -37378,7 +37379,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - *85 - - *282 + - *283 requestBody: required: true content: @@ -37435,7 +37436,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *283 + schema: *284 examples: default: value: @@ -37462,7 +37463,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - *85 - - *282 + - *283 responses: '204': description: Response @@ -37489,7 +37490,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - *85 - - *282 + - *283 - *19 - *17 responses: @@ -37507,9 +37508,9 @@ paths: type: integer repositories: type: array - items: *272 + items: *273 examples: - default: &286 + default: &287 value: total_count: 1 repositories: @@ -37602,7 +37603,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - *85 - - *282 + - *283 requestBody: required: true content: @@ -37655,7 +37656,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - *85 - - *282 + - *283 - name: repository_id in: path required: true @@ -37689,7 +37690,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - *85 - - *282 + - *283 - name: repository_id in: path required: true @@ -37746,7 +37747,7 @@ paths: type: integer variables: type: array - items: &284 + items: &285 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -37884,7 +37885,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *283 + schema: *284 examples: default: value: @@ -37910,7 +37911,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - *85 - - &285 + - &286 name: name description: The name of the variable. in: path @@ -37922,7 +37923,7 @@ paths: description: Response content: application/json: - schema: *284 + schema: *285 examples: default: value: @@ -37953,7 +37954,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - *85 - - *285 + - *286 requestBody: required: true content: @@ -38016,7 +38017,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - *85 - - *285 + - *286 responses: '204': description: Response @@ -38043,7 +38044,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - *85 - - *285 + - *286 - *19 - *17 responses: @@ -38061,9 +38062,9 @@ paths: type: integer repositories: type: array - items: *272 + items: *273 examples: - default: *286 + default: *287 '409': description: Response when the visibility of the variable is not set to `selected` @@ -38090,7 +38091,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - *85 - - *285 + - *286 requestBody: required: true content: @@ -38140,7 +38141,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - *85 - - *285 + - *286 - name: repository_id in: path required: true @@ -38175,7 +38176,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - *85 - - *285 + - *286 - name: repository_id in: path required: true @@ -38233,7 +38234,7 @@ paths: required: true content: application/json: - schema: *287 + schema: *288 examples: default: *83 parameters: @@ -38398,7 +38399,7 @@ paths: type: integer deployment_records: type: array - items: &288 + items: &289 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -38443,7 +38444,7 @@ paths: description: The ID of the provenance attestation associated with the deployment record. examples: - default: &289 + default: &290 value: total_count: 1 deployment_records: @@ -38618,9 +38619,9 @@ paths: type: integer deployment_records: type: array - items: *288 + items: *289 examples: - default: *289 + default: *290 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38830,9 +38831,9 @@ paths: - 3 deployment_records: type: array - items: *288 + items: *289 examples: - default: *289 + default: *290 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39501,10 +39502,10 @@ paths: required: false schema: type: string - - *290 - *291 - *292 - *293 + - *294 - *17 responses: '200': @@ -39513,9 +39514,9 @@ paths: application/json: schema: type: array - items: *294 + items: *295 examples: - default: *295 + default: *296 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -39544,7 +39545,7 @@ paths: type: array items: *4 examples: - default: *206 + default: *207 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39564,7 +39565,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - *85 - - *136 + - *137 responses: '204': description: If the user is blocked @@ -39590,7 +39591,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#block-a-user-from-an-organization parameters: - *85 - - *136 + - *137 responses: '204': description: Response @@ -39611,7 +39612,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - *85 - - *136 + - *137 responses: '204': description: Response @@ -39638,7 +39639,7 @@ paths: subcategory: bypass-requests parameters: - *85 - - &298 + - &299 name: repository_name description: The name of the repository to filter on. in: query @@ -39657,9 +39658,9 @@ paths: application/json: schema: type: array - items: *296 + items: *297 examples: - default: *297 + default: *298 '404': *6 '500': *38 "/orgs/{org}/bypass-requests/secret-scanning": @@ -39683,7 +39684,7 @@ paths: subcategory: delegated-bypass parameters: - *85 - - *298 + - *299 - *101 - *102 - *103 @@ -39697,9 +39698,9 @@ paths: application/json: schema: type: array - items: *299 + items: *300 examples: - default: *300 + default: *301 '404': *6 '500': *38 "/orgs/{org}/campaigns": @@ -39726,7 +39727,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &302 + schema: &303 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -39752,7 +39753,7 @@ paths: application/json: schema: type: array - items: &303 + items: &304 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -39783,7 +39784,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *301 + items: *302 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -39802,7 +39803,7 @@ paths: - string - 'null' format: date-time - state: *302 + state: *303 contact_link: description: The contact link of the campaign. type: @@ -39900,7 +39901,7 @@ paths: headers: Link: *45 '404': *6 - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40025,9 +40026,9 @@ paths: description: Response content: application/json: - schema: *303 + schema: *304 examples: - default: &304 + default: &305 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -40076,7 +40077,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40110,16 +40111,16 @@ paths: description: Response content: application/json: - schema: *303 + schema: *304 examples: - default: *304 + default: *305 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40190,7 +40191,7 @@ paths: - string - 'null' format: uri - state: *302 + state: *303 examples: default: value: @@ -40200,9 +40201,9 @@ paths: description: Response content: application/json: - schema: *303 + schema: *304 examples: - default: *304 + default: *305 '400': description: Bad Request content: @@ -40214,7 +40215,7 @@ paths: content: application/json: schema: *3 - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40246,7 +40247,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40269,8 +40270,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *85 - - *305 - *306 + - *307 - *106 - *107 - *19 @@ -40281,7 +40282,7 @@ paths: be returned. in: query required: false - schema: *307 + schema: *308 - name: sort description: The property by which to sort the results. in: query @@ -40323,13 +40324,13 @@ paths: application/json: schema: type: array - items: *308 + items: *309 examples: - default: *309 + default: *310 headers: Link: *45 '404': *6 - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40540,7 +40541,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *310 + code_scanning_options: *116 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -40765,11 +40766,11 @@ paths: - 32 - 91 responses: - '204': *148 + '204': *149 '400': *14 '403': *27 '404': *6 - '409': *116 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40905,6 +40906,7 @@ paths: - disabled - not_set code_scanning_default_setup_options: *115 + code_scanning_options: *116 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -41084,11 +41086,11 @@ paths: - *85 - *114 responses: - '204': *148 + '204': *149 '400': *14 '403': *27 '404': *6 - '409': *116 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41352,7 +41354,7 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *272 + repository: *273 machine: anyOf: - type: 'null' @@ -42405,7 +42407,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - *85 - - *282 + - *283 responses: '200': description: Response @@ -42441,7 +42443,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - *85 - - *282 + - *283 requestBody: required: true content: @@ -42496,7 +42498,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *283 + schema: *284 examples: default: value: @@ -42523,7 +42525,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - *85 - - *282 + - *283 responses: '204': description: Response @@ -42549,7 +42551,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - *85 - - *282 + - *283 - *19 - *17 responses: @@ -42567,9 +42569,9 @@ paths: type: integer repositories: type: array - items: *272 + items: *273 examples: - default: *286 + default: *287 '404': *6 x-github: githubCloudOnly: false @@ -42592,7 +42594,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - *85 - - *282 + - *283 requestBody: required: true content: @@ -42643,7 +42645,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - *85 - - *282 + - *283 - name: repository_id in: path required: true @@ -42677,7 +42679,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - *85 - - *282 + - *283 - name: repository_id in: path required: true @@ -42880,9 +42882,9 @@ paths: currently being billed. seats: type: array - items: *139 + items: *140 examples: - default: *140 + default: *141 headers: Link: *45 '500': *38 @@ -43266,13 +43268,13 @@ paths: application/json: schema: type: array - items: *201 + items: *202 examples: - default: *202 + default: *203 '500': *38 '403': *27 '404': *6 - '422': *203 + '422': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43299,15 +43301,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics-for-a-specific-day parameters: - *85 - - *118 + - *119 responses: '200': description: Response content: application/json: - schema: *119 + schema: *120 examples: - default: *120 + default: *121 '500': *38 '403': *27 '404': *6 @@ -43342,9 +43344,9 @@ paths: description: Response content: application/json: - schema: *121 + schema: *122 examples: - default: *122 + default: *123 '500': *38 '403': *27 '404': *6 @@ -43374,15 +43376,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics-for-a-specific-day parameters: - *85 - - *118 + - *119 responses: '200': description: Response content: application/json: - schema: *119 + schema: *120 examples: - default: *120 + default: *121 '500': *38 '403': *27 '404': *6 @@ -43417,9 +43419,9 @@ paths: description: Response content: application/json: - schema: *121 + schema: *122 examples: - default: *122 + default: *123 '500': *38 '403': *27 '404': *6 @@ -43811,7 +43813,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - *85 - - *135 + - *136 responses: '200': description: Response @@ -43842,7 +43844,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - *85 - - *135 + - *136 requestBody: required: true content: @@ -43913,7 +43915,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - *85 - - *135 + - *136 responses: '204': description: Response @@ -43993,7 +43995,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - *85 - - *135 + - *136 responses: '200': description: Response @@ -44030,7 +44032,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - *85 - - *135 + - *136 requestBody: required: true content: @@ -44083,7 +44085,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - *85 - - *135 + - *136 responses: '204': description: Response @@ -44335,7 +44337,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - *85 - - *282 + - *283 responses: '200': description: Response @@ -44370,7 +44372,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - *85 - - *282 + - *283 requestBody: required: true content: @@ -44429,7 +44431,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *283 + schema: *284 examples: default: value: @@ -44454,7 +44456,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - *85 - - *282 + - *283 responses: '204': description: Response @@ -44479,7 +44481,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - *85 - - *282 + - *283 - *19 - *17 responses: @@ -44497,9 +44499,9 @@ paths: type: integer repositories: type: array - items: *272 + items: *273 examples: - default: *286 + default: *287 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44521,7 +44523,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - *85 - - *282 + - *283 requestBody: required: true content: @@ -44572,7 +44574,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - *85 - - *282 + - *283 - name: repository_id in: path required: true @@ -44604,7 +44606,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - *85 - - *282 + - *283 - name: repository_id in: path required: true @@ -44688,7 +44690,7 @@ paths: - denied - all default: all - - *298 + - *299 - *17 - *19 responses: @@ -44949,7 +44951,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *85 - - *298 + - *299 - *101 - *102 - *103 @@ -45190,7 +45192,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *85 - - *298 + - *299 - *101 - *102 - *103 @@ -45472,7 +45474,7 @@ paths: repository: anyOf: - type: 'null' - - *272 + - *273 created_at: type: string format: date-time @@ -45578,7 +45580,7 @@ paths: application/json: schema: type: array - items: *237 + items: *238 examples: 200-response: value: @@ -47711,7 +47713,7 @@ paths: application/json: schema: type: array - items: *301 + items: *302 examples: default: &372 value: @@ -48044,7 +48046,7 @@ paths: - comments default: created - *108 - - *218 + - *219 - *17 - *19 responses: @@ -48054,7 +48056,7 @@ paths: application/json: schema: type: array - items: *212 + items: *213 examples: default: *362 headers: @@ -48116,7 +48118,7 @@ paths: type: array items: *4 examples: - default: *206 + default: *207 headers: Link: *45 '422': *15 @@ -48137,7 +48139,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-organization-membership-for-a-user parameters: - *85 - - *136 + - *137 responses: '204': description: Response if requester is an organization member and user is @@ -48172,7 +48174,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-an-organization-member parameters: - *85 - - *136 + - *137 responses: '204': description: Response @@ -48199,7 +48201,7 @@ paths: - *17 - *19 - *85 - - *136 + - *137 responses: '200': description: Response @@ -48243,7 +48245,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - *85 - - *136 + - *137 - &365 name: codespace_name in: path @@ -48278,7 +48280,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - *85 - - *136 + - *137 - *365 responses: '200': @@ -48461,13 +48463,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - *85 - - *136 + - *137 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *139 + schema: *140 examples: default: value: @@ -48537,7 +48539,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-organization-membership-for-a-user parameters: - *85 - - *136 + - *137 responses: '200': description: Response @@ -48685,7 +48687,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-organization-membership-for-a-user parameters: - *85 - - *136 + - *137 requestBody: required: false content: @@ -48740,7 +48742,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-organization-membership-for-a-user parameters: - *85 - - *136 + - *137 responses: '204': description: Response @@ -49587,7 +49589,7 @@ paths: application/json: schema: type: array - items: *272 + items: *273 examples: default: &379 value: @@ -50036,7 +50038,7 @@ paths: updated_at: '2022-07-04T22:19:11Z' '422': *15 '404': *6 - '409': *116 + '409': *117 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -50059,7 +50061,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *85 - - *209 + - *210 responses: '204': description: Response @@ -50085,8 +50087,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *85 - - *209 - - *135 + - *210 + - *136 responses: '204': description: Response @@ -50116,8 +50118,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *85 - - *209 - - *135 + - *210 + - *136 responses: '204': description: Response @@ -50143,7 +50145,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - *85 - - *136 + - *137 responses: '204': description: Response @@ -50169,8 +50171,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - *85 + - *137 - *136 - - *135 responses: '204': description: Response @@ -50201,8 +50203,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - *85 + - *137 - *136 - - *135 responses: '204': description: Response @@ -50231,7 +50233,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - *85 - - *135 + - *136 responses: '200': description: Response @@ -50295,7 +50297,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - *85 - - *135 + - *136 requestBody: required: true content: @@ -50362,7 +50364,7 @@ paths: created_at: '2022-07-04T22:19:11Z' updated_at: '2022-07-04T22:19:11Z' '422': *15 - '409': *116 + '409': *117 '404': *6 x-github: githubCloudOnly: true @@ -50388,7 +50390,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - *85 - - *135 + - *136 responses: '204': description: Response @@ -50414,7 +50416,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *85 - - *135 + - *136 - *17 - *19 responses: @@ -50556,7 +50558,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *85 - - *135 + - *136 - *17 - *19 responses: @@ -50702,7 +50704,7 @@ paths: - type - url examples: - default: *206 + default: *207 headers: Link: *45 '404': @@ -50753,7 +50755,7 @@ paths: type: array items: *4 examples: - default: *206 + default: *207 headers: Link: *45 x-github: @@ -50779,7 +50781,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - *85 - - *136 + - *137 requestBody: required: false content: @@ -50837,7 +50839,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - *85 - - *136 + - *137 responses: '204': description: Response @@ -51722,7 +51724,7 @@ paths: '422': *15 '404': *6 '403': *27 - '204': *148 + '204': *149 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51763,7 +51765,7 @@ paths: application/json: schema: type: array - items: *272 + items: *273 examples: default: *379 headers: @@ -52039,7 +52041,7 @@ paths: responses: '500': *38 '404': *6 - '204': *148 + '204': *149 '403': *27 '422': *15 x-github: @@ -52080,7 +52082,7 @@ paths: application/json: schema: type: array - items: *272 + items: *273 examples: default: *379 headers: @@ -52512,7 +52514,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - *85 - - *282 + - *283 responses: '200': description: The specified private registry configuration for the organization @@ -52542,7 +52544,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - *85 - - *282 + - *283 requestBody: required: true content: @@ -52648,7 +52650,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - *85 - - *282 + - *283 responses: '204': description: Response @@ -53035,7 +53037,7 @@ paths: description: The node ID of the project item. content: oneOf: - - *212 + - *213 - &559 title: Pull Request Simple description: Pull Request Simple @@ -53211,7 +53213,7 @@ paths: type: - array - 'null' - items: *301 + items: *302 head: type: object properties: @@ -53280,7 +53282,7 @@ paths: - review_comments - review_comment - self - author_association: *213 + author_association: *214 auto_merge: &672 title: Auto merge description: The status of auto merging a pull request. @@ -54957,70 +54959,62 @@ paths: requestBody: required: true description: Details of the item to add to the project. You can specify either - the database ID or the repository owner, name, and issue/PR number. + the unique ID or the repository owner, name, and issue/PR number. content: application/json: schema: + type: object + additionalProperties: false + properties: + type: + type: string + enum: + - Issue + - PullRequest + description: The type of item to add to the project. Must be either + Issue or PullRequest. + id: + type: integer + description: The unique identifier of the issue or pull request + to add to the project. + owner: + type: string + description: The repository owner login. + repo: + type: string + description: The repository name. + number: + type: integer + description: The issue or pull request number. + required: + - type oneOf: - - type: object - properties: - type: - type: string - enum: - - Issue - - PullRequest - description: The type of item to add to the project. Must be either - Issue or PullRequest. - id: - type: integer - description: The unique ID of the issue or pull request to add - to the project. - required: - - type + - required: - id - - type: object - properties: - type: - type: string - enum: - - Issue - - PullRequest - description: The type of item to add to the project. Must be either - Issue or PullRequest. - owner: - type: string - description: The repository owner login. - repo: - type: string - description: The repository name. - number: - type: integer - description: The issue or pull request number. - required: - - type + - required: - owner - repo - number examples: - issue-with-id: - summary: Add issue by database ID + issue_with_id: + summary: Add an issue using its unique ID value: type: Issue id: 3 - pull_request-with-id: - summary: Add pull request by database ID + pull_request_with_id: + summary: Add a pull request using its unique ID value: type: PullRequest id: 3 - issue-with-nwo: - summary: Add issue by repository and number + issue_with_nwo: + summary: Add an issue using repository owner, name, and issue number value: type: Issue owner: octocat repo: hello-world number: 42 - pull_request-with-nwo: - summary: Add pull request by repository and number + pull_request_with_nwo: + summary: Add a pull request using repository owner, name, and PR number value: type: PullRequest owner: octocat @@ -55033,8 +55027,20 @@ paths: application/json: schema: *396 examples: - issue: *397 - pull_request: *397 + issue_with_id: + summary: Response for adding an issue using its unique ID + value: *397 + pull_request_with_id: + summary: Response for adding a pull request using its unique ID + value: *397 + issue_with_nwo: + summary: Response for adding an issue using repository owner, name, + and issue number + value: *397 + pull_request_with_nwo: + summary: Response for adding a pull request using repository owner, + name, and PR number + value: *397 '304': *35 '403': *27 '401': *23 @@ -55300,9 +55306,9 @@ paths: application/json: schema: type: array - items: *150 + items: *151 examples: - default: *151 + default: *152 '403': *27 '404': *6 x-github: @@ -55340,7 +55346,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *150 + items: *151 minItems: 1 maxItems: 100 required: @@ -55370,9 +55376,9 @@ paths: application/json: schema: type: array - items: *150 + items: *151 examples: - default: *151 + default: *152 '403': *27 '404': *6 x-github: @@ -55394,15 +55400,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *85 - - *146 + - *147 responses: '200': description: Response content: application/json: - schema: *150 + schema: *151 examples: - default: *152 + default: *153 '403': *27 '404': *6 x-github: @@ -55426,7 +55432,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *85 - - *146 + - *147 requestBody: required: true content: @@ -55447,9 +55453,9 @@ paths: description: Response content: application/json: - schema: *150 + schema: *151 examples: - default: *152 + default: *153 '403': *27 '404': *6 x-github: @@ -55473,9 +55479,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *85 - - *146 + - *147 responses: - '204': *148 + '204': *149 '403': *27 '404': *6 x-github: @@ -55537,7 +55543,7 @@ paths: - octocat/Hello-World properties: type: array - items: *149 + items: *150 description: List of custom property names and associated values required: - repository_id @@ -55606,7 +55612,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *149 + items: *150 required: - repository_names - properties @@ -55659,7 +55665,7 @@ paths: type: array items: *4 examples: - default: *206 + default: *207 headers: Link: *45 x-github: @@ -55679,7 +55685,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-public-organization-membership-for-a-user parameters: - *85 - - *136 + - *137 responses: '204': description: Response if user is a public member @@ -55704,7 +55710,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - *85 - - *136 + - *137 responses: '204': description: Response @@ -55726,7 +55732,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - *85 - - *136 + - *137 responses: '204': description: Response @@ -55797,7 +55803,7 @@ paths: application/json: schema: type: array - items: *272 + items: *273 examples: default: *379 headers: @@ -56449,7 +56455,7 @@ paths: license: anyOf: - type: 'null' - - *215 + - *216 organization: anyOf: - type: 'null' @@ -57154,7 +57160,7 @@ paths: application/json: schema: type: array - items: *184 + items: *185 examples: default: value: @@ -57222,11 +57228,11 @@ paths: - push - repository default: branch - enforcement: *161 + enforcement: *162 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *162 + items: *163 conditions: *405 rules: type: array @@ -57236,7 +57242,6 @@ paths: type: object description: A repository rule. oneOf: - - *163 - *164 - *165 - *166 @@ -57257,6 +57262,7 @@ paths: - *181 - *182 - *183 + - *184 required: - name - enforcement @@ -57294,7 +57300,7 @@ paths: description: Response content: application/json: - schema: *184 + schema: *185 examples: default: &406 value: @@ -57361,7 +57367,7 @@ paths: schema: type: string x-multi-segment: true - - *298 + - *299 - *103 - &697 name: actor_name @@ -57686,7 +57692,7 @@ paths: description: Response content: application/json: - schema: *184 + schema: *185 examples: default: *406 '404': *6 @@ -57732,11 +57738,11 @@ paths: - tag - push - repository - enforcement: *161 + enforcement: *162 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *162 + items: *163 conditions: *405 rules: description: An array of rules within the ruleset. @@ -57776,7 +57782,7 @@ paths: description: Response content: application/json: - schema: *184 + schema: *185 examples: default: *406 '404': *6 @@ -57835,7 +57841,7 @@ paths: application/json: schema: type: array - items: *188 + items: *189 examples: default: *408 '404': *6 @@ -57982,7 +57988,7 @@ paths: headers: Link: *45 '404': *6 - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58044,7 +58050,7 @@ paths: schema: type: object properties: - pattern_config_version: *191 + pattern_config_version: *192 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -58070,7 +58076,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *191 + custom_pattern_version: *192 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -58106,7 +58112,7 @@ paths: '400': *14 '403': *27 '404': *6 - '409': *116 + '409': *117 '422': *15 "/orgs/{org}/security-advisories": get: @@ -58376,7 +58382,7 @@ paths: required: - vector_string - score - cvss_severities: *125 + cvss_severities: *126 cwes: type: - array @@ -58449,13 +58455,13 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *301 + items: *302 private_fork: readOnly: true description: A temporary private fork of the advisory's repository for collaborating on a fix. allOf: - - *117 + - *118 type: - 'null' required: @@ -58900,7 +58906,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - *85 - - *209 + - *210 responses: '204': description: Response @@ -58926,7 +58932,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - *85 - - *209 + - *210 responses: '204': description: Response @@ -59114,9 +59120,9 @@ paths: type: integer repositories: type: array - items: *272 + items: *273 examples: - default: *286 + default: *287 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59185,7 +59191,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *85 - - *266 + - *267 responses: '204': description: Response @@ -59208,7 +59214,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *85 - - *266 + - *267 responses: '204': description: Response @@ -59249,7 +59255,7 @@ paths: type: integer network_configurations: type: array - items: *141 + items: *142 examples: default: *427 headers: @@ -59314,9 +59320,9 @@ paths: description: Response content: application/json: - schema: *141 + schema: *142 examples: - default: *142 + default: *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59337,15 +59343,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *85 - - *143 + - *144 responses: '200': description: Response content: application/json: - schema: *141 + schema: *142 examples: - default: *142 + default: *143 headers: Link: *45 x-github: @@ -59367,7 +59373,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *85 - - *143 + - *144 requestBody: required: true content: @@ -59406,9 +59412,9 @@ paths: description: Response content: application/json: - schema: *141 + schema: *142 examples: - default: *142 + default: *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59428,7 +59434,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *85 - - *143 + - *144 responses: '204': description: Response @@ -59596,7 +59602,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - *85 - - *209 + - *210 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -59628,13 +59634,13 @@ paths: application/json: schema: type: array - items: *201 + items: *202 examples: - default: *202 + default: *203 '500': *38 '403': *27 '404': *6 - '422': *203 + '422': *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59662,7 +59668,7 @@ paths: application/json: schema: type: array - items: *301 + items: *302 examples: default: *372 headers: @@ -60228,7 +60234,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - *85 - - *209 + - *210 responses: '200': description: Response @@ -60258,7 +60264,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - *85 - - *209 + - *210 requestBody: required: false content: @@ -60356,7 +60362,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - *85 - - *209 + - *210 responses: '204': description: Response @@ -60383,7 +60389,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - *85 - - *209 + - *210 - *108 - *17 - *19 @@ -60482,7 +60488,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *214 + reactions: *215 required: - author - body @@ -60573,7 +60579,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - *85 - - *209 + - *210 requestBody: required: true content: @@ -60680,7 +60686,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - *85 - - *209 + - *210 - &435 name: discussion_number description: The number that identifies the discussion. @@ -60718,7 +60724,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - *85 - - *209 + - *210 - *435 requestBody: required: false @@ -60813,7 +60819,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - *85 - - *209 + - *210 - *435 responses: '204': @@ -60838,7 +60844,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - *85 - - *209 + - *210 responses: '200': description: Response @@ -60866,7 +60872,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team parameters: - *85 - - *209 + - *210 requestBody: required: true content: @@ -60912,7 +60918,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - *85 - - *209 + - *210 responses: '204': description: Response @@ -60937,7 +60943,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - *85 - - *209 + - *210 - *17 - *19 responses: @@ -60972,7 +60978,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - *85 - - *209 + - *210 - name: role description: Filters members returned by their role in the team. in: query @@ -60995,7 +61001,7 @@ paths: type: array items: *4 examples: - default: *206 + default: *207 headers: Link: *45 x-github: @@ -61026,8 +61032,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - *85 - - *209 - - *136 + - *210 + - *137 responses: '200': description: Response @@ -61098,8 +61104,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *85 - - *209 - - *136 + - *210 + - *137 requestBody: required: false content: @@ -61162,8 +61168,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - *85 - - *209 - - *136 + - *210 + - *137 responses: '204': description: Response @@ -61190,7 +61196,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - *85 - - *209 + - *210 - *17 - *19 responses: @@ -61200,7 +61206,7 @@ paths: application/json: schema: type: array - items: *272 + items: *273 examples: default: *379 headers: @@ -61232,7 +61238,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - *85 - - *209 + - *210 - *441 - *442 responses: @@ -61266,7 +61272,7 @@ paths: license: anyOf: - type: 'null' - - *215 + - *216 forks: type: integer permissions: @@ -61882,7 +61888,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - *85 - - *209 + - *210 - *441 - *442 requestBody: @@ -61930,7 +61936,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - *85 - - *209 + - *210 - *441 - *442 responses: @@ -61959,7 +61965,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team parameters: - *85 - - *209 + - *210 responses: '200': description: Response @@ -61990,7 +61996,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections parameters: - *85 - - *209 + - *210 requestBody: required: true content: @@ -62066,7 +62072,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - *85 - - *209 + - *210 - *17 - *19 responses: @@ -62076,7 +62082,7 @@ paths: application/json: schema: type: array - items: *301 + items: *302 examples: response-if-child-teams-exist: &776 value: @@ -63214,7 +63220,7 @@ paths: documentation_url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository '307': *449 '404': *6 - '409': *116 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64328,7 +64334,7 @@ paths: description: Response content: application/json: - schema: *283 + schema: *284 examples: default: value: @@ -64438,7 +64444,7 @@ paths: description: Empty response content: application/json: - schema: *283 + schema: *284 examples: default: value: @@ -64640,7 +64646,7 @@ paths: type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *58 - selected_actions_url: *259 + selected_actions_url: *260 sha_pinning_required: *59 required: - enabled @@ -64805,7 +64811,7 @@ paths: description: Response content: application/json: - schema: *261 + schema: *262 examples: default: value: @@ -64840,7 +64846,7 @@ paths: required: true content: application/json: - schema: *262 + schema: *263 examples: default: summary: Set retention days @@ -64873,7 +64879,7 @@ paths: application/json: schema: *60 examples: - default: *263 + default: *264 '404': *6 x-github: enabledForGitHubApps: true @@ -64934,7 +64940,7 @@ paths: description: Response content: application/json: - schema: *264 + schema: *265 examples: default: *61 '403': *27 @@ -64962,7 +64968,7 @@ paths: required: true content: application/json: - schema: *265 + schema: *266 examples: default: *61 responses: @@ -65060,7 +65066,7 @@ paths: description: Response content: application/json: - schema: *268 + schema: *269 examples: default: *67 x-github: @@ -65095,7 +65101,7 @@ paths: required: true content: application/json: - schema: *269 + schema: *270 examples: default: *67 x-github: @@ -65178,9 +65184,9 @@ paths: application/json: schema: type: array - items: *273 + items: *274 examples: - default: *274 + default: *275 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65246,10 +65252,10 @@ paths: - no-gpu work_folder: _work responses: - '201': *275 + '201': *276 '404': *6 '422': *7 - '409': *116 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65286,7 +65292,7 @@ paths: application/json: schema: *77 examples: - default: *276 + default: *277 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65323,7 +65329,7 @@ paths: application/json: schema: *77 examples: - default: *277 + default: *278 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65355,7 +65361,7 @@ paths: application/json: schema: *74 examples: - default: *278 + default: *279 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65535,7 +65541,7 @@ paths: - *442 - *73 responses: - '200': *279 + '200': *280 '404': *6 x-github: githubCloudOnly: false @@ -65565,7 +65571,7 @@ paths: - *441 - *442 - *73 - - *280 + - *281 responses: '200': *79 '404': *6 @@ -65811,7 +65817,7 @@ paths: type: - array - 'null' - items: *216 + items: *217 created_at: type: string format: date-time @@ -65946,8 +65952,8 @@ paths: - timestamp - author - committer - repository: *272 - head_repository: *272 + repository: *273 + head_repository: *273 head_repository_id: type: integer examples: @@ -66644,7 +66650,7 @@ paths: description: Response content: application/json: - schema: *283 + schema: *284 examples: default: value: @@ -66934,11 +66940,11 @@ paths: description: Response content: application/json: - schema: *283 + schema: *284 examples: default: value: - '409': *116 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67038,11 +67044,11 @@ paths: description: Response content: application/json: - schema: *283 + schema: *284 examples: default: value: - '409': *116 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67264,7 +67270,7 @@ paths: reviewer: anyOf: - *4 - - *301 + - *302 required: - environment - wait_timer @@ -67583,7 +67589,7 @@ paths: description: Response content: application/json: - schema: *283 + schema: *284 examples: default: value: @@ -67630,7 +67636,7 @@ paths: description: Response content: application/json: - schema: *283 + schema: *284 examples: default: value: @@ -67881,7 +67887,7 @@ paths: parameters: - *441 - *442 - - *282 + - *283 responses: '200': description: Response @@ -67917,7 +67923,7 @@ paths: parameters: - *441 - *442 - - *282 + - *283 requestBody: required: true content: @@ -67948,7 +67954,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *283 + schema: *284 examples: default: value: @@ -67976,7 +67982,7 @@ paths: parameters: - *441 - *442 - - *282 + - *283 responses: '204': description: Response @@ -68073,7 +68079,7 @@ paths: description: Response content: application/json: - schema: *283 + schema: *284 examples: default: value: @@ -68100,7 +68106,7 @@ paths: parameters: - *441 - *442 - - *285 + - *286 responses: '200': description: Response @@ -68136,7 +68142,7 @@ paths: parameters: - *441 - *442 - - *285 + - *286 requestBody: required: true content: @@ -68180,7 +68186,7 @@ paths: parameters: - *441 - *442 - - *285 + - *286 responses: '204': description: Response @@ -68423,37 +68429,8 @@ paths: - *442 - *479 responses: - '200': + '204': description: Response - content: - application/json: - schema: - title: Workflow Dispatch Response - description: Response containing the workflow run ID and URLs. - type: object - properties: - workflow_run_id: - title: Workflow Run ID - description: The ID of the workflow run. - type: integer - format: int64 - run_url: - type: string - format: uri - description: The URL to the workflow run. - html_url: - type: string - format: uri - required: - - workflow_run_id - - run_url - - html_url - examples: - default: - value: - workflow_run_id: 1 - run_url: https://api.github.com/repos/octo-org/octo-repo/actions/runs/1 - html_url: https://github.com/octo-org/octo-repo/actions/runs/1 requestBody: required: true content: @@ -68838,7 +68815,7 @@ paths: type: array items: *4 examples: - default: *206 + default: *207 headers: Link: *45 '404': *6 @@ -69509,7 +69486,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *301 + items: *302 apps: description: The list of apps with review dismissal access. @@ -69541,7 +69518,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *301 + items: *302 apps: description: The list of apps allowed to bypass pull request requirements. @@ -69634,7 +69611,7 @@ paths: type: string teams: type: array - items: *301 + items: *302 apps: type: array items: @@ -70008,14 +69985,14 @@ paths: author: oneOf: - *4 - - *283 + - *284 type: - 'null' - object committer: oneOf: - *4 - - *283 + - *284 type: - 'null' - object @@ -70824,7 +70801,7 @@ paths: items: *4 teams: type: array - items: *301 + items: *302 apps: type: array items: *5 @@ -70842,7 +70819,7 @@ paths: items: *4 teams: type: array - items: *301 + items: *302 apps: type: array items: *5 @@ -72231,7 +72208,7 @@ paths: application/json: schema: type: array - items: *301 + items: *302 examples: default: *372 '404': *6 @@ -72291,7 +72268,7 @@ paths: application/json: schema: type: array - items: *301 + items: *302 examples: default: *372 '422': *15 @@ -72352,7 +72329,7 @@ paths: application/json: schema: type: array - items: *301 + items: *302 examples: default: *372 '422': *15 @@ -72412,7 +72389,7 @@ paths: application/json: schema: type: array - items: *301 + items: *302 examples: default: *372 '422': *15 @@ -72448,7 +72425,7 @@ paths: type: array items: *4 examples: - default: *206 + default: *207 '404': *6 x-github: githubCloudOnly: false @@ -72507,7 +72484,7 @@ paths: type: array items: *4 examples: - default: *206 + default: *207 '422': *15 x-github: githubCloudOnly: false @@ -72567,7 +72544,7 @@ paths: type: array items: *4 examples: - default: *206 + default: *207 '422': *15 x-github: githubCloudOnly: false @@ -72627,7 +72604,7 @@ paths: type: array items: *4 examples: - default: *206 + default: *207 '422': *15 x-github: githubCloudOnly: false @@ -72807,9 +72784,9 @@ paths: application/json: schema: type: array - items: *296 + items: *297 examples: - default: *297 + default: *298 '404': *6 '500': *38 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -72844,7 +72821,7 @@ paths: description: Response content: application/json: - schema: *296 + schema: *297 examples: default: value: @@ -72918,9 +72895,9 @@ paths: application/json: schema: type: array - items: *299 + items: *300 examples: - default: *300 + default: *301 '404': *6 '403': *27 '500': *38 @@ -72957,7 +72934,7 @@ paths: description: A single bypass request. content: application/json: - schema: *299 + schema: *300 examples: default: value: @@ -73536,7 +73513,7 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *216 + items: *217 deployment: &835 title: Deployment description: A deployment created as the result of an Actions @@ -74324,7 +74301,7 @@ paths: description: Response content: application/json: - schema: *283 + schema: *284 examples: default: value: @@ -74467,12 +74444,12 @@ paths: type: - array - 'null' - items: *216 + items: *217 app: anyOf: - type: 'null' - *5 - repository: *272 + repository: *273 created_at: type: - string @@ -74885,7 +74862,7 @@ paths: required: - app_id - setting - repository: *272 + repository: *273 examples: default: value: @@ -75333,7 +75310,7 @@ paths: description: Response content: application/json: - schema: *283 + schema: *284 examples: default: value: @@ -75362,8 +75339,8 @@ paths: parameters: - *441 - *442 - - *305 - *306 + - *307 - *19 - *17 - &527 @@ -75399,7 +75376,7 @@ paths: be returned. in: query required: false - schema: *307 + schema: *308 - name: severity description: If specified, only code scanning alerts with this severity will be returned. @@ -75424,19 +75401,19 @@ paths: items: type: object properties: - number: *123 - created_at: *130 - updated_at: *131 - url: *128 - html_url: *129 + number: *124 + created_at: *131 + updated_at: *132 + url: *129 + html_url: *130 instances_url: *514 state: *111 - fixed_at: *133 + fixed_at: *134 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *132 + dismissed_at: *133 dismissed_reason: *515 dismissed_comment: *516 rule: *517 @@ -75571,7 +75548,7 @@ paths: application/json: schema: *3 '404': *6 - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75601,7 +75578,7 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *123 + schema: *124 responses: '200': description: Response @@ -75610,19 +75587,19 @@ paths: schema: &522 type: object properties: - number: *123 - created_at: *130 - updated_at: *131 - url: *128 - html_url: *129 + number: *124 + created_at: *131 + updated_at: *132 + url: *129 + html_url: *130 instances_url: *514 state: *111 - fixed_at: *133 + fixed_at: *134 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *132 + dismissed_at: *133 dismissed_reason: *515 dismissed_comment: *516 rule: @@ -75785,7 +75762,7 @@ paths: '304': *35 '403': *520 '404': *6 - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75932,7 +75909,7 @@ paths: application/json: schema: *3 '404': *6 - '503': *189 + '503': *190 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -76006,7 +75983,7 @@ paths: status: '400' '403': *520 '404': *6 - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76061,7 +76038,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76136,7 +76113,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76242,7 +76219,7 @@ paths: - source '403': *520 '404': *6 - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76276,8 +76253,8 @@ paths: parameters: - *441 - *442 - - *305 - *306 + - *307 - *19 - *17 - *528 @@ -76420,7 +76397,7 @@ paths: warning: '' '403': *520 '404': *6 - '503': *189 + '503': *190 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -76529,7 +76506,7 @@ paths: content: application/json: schema: *3 - '503': *189 + '503': *190 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -76668,7 +76645,7 @@ paths: '400': *14 '403': *526 '404': *6 - '503': *189 + '503': *190 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -76811,7 +76788,7 @@ paths: commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c '403': *520 '404': *6 - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76887,7 +76864,7 @@ paths: description: Found '403': *520 '404': *6 - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76920,7 +76897,7 @@ paths: description: Response '403': *526 '404': *6 - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77044,7 +77021,7 @@ paths: id: type: integer description: The ID of the variant analysis. - controller_repo: *117 + controller_repo: *118 actor: *4 query_language: *537 query_pack_url: @@ -77379,7 +77356,7 @@ paths: content: application/json: schema: *3 - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77417,7 +77394,7 @@ paths: examples: default: *540 '404': *6 - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77472,7 +77449,7 @@ paths: schema: type: object properties: - repository: *117 + repository: *118 analysis_status: *542 artifact_size_in_bytes: type: integer @@ -77577,7 +77554,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77694,7 +77671,7 @@ paths: schedule: weekly '403': *520 '404': *6 - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77783,7 +77760,7 @@ paths: description: Response content: application/json: - schema: *283 + schema: *284 examples: default: value: @@ -77822,7 +77799,7 @@ paths: content: application/json: schema: *3 - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77966,7 +77943,7 @@ paths: '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *189 + '503': *190 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -78037,7 +78014,7 @@ paths: '403': *520 '404': description: Not Found if the sarif id does not match any upload - '503': *189 + '503': *190 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -78116,7 +78093,7 @@ paths: html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325 created_at: '2024-05-01T00:00:00Z' updated_at: '2024-05-01T00:00:00Z' - '204': *148 + '204': *149 '304': *35 '403': *27 '404': *6 @@ -78665,7 +78642,7 @@ paths: '401': *23 '403': *27 '404': *6 - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -78971,7 +78948,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79086,7 +79063,7 @@ paths: parameters: - *441 - *442 - - *282 + - *283 responses: '200': description: Response @@ -79116,7 +79093,7 @@ paths: parameters: - *441 - *442 - - *282 + - *283 requestBody: required: true content: @@ -79144,7 +79121,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *283 + schema: *284 examples: default: value: @@ -79170,7 +79147,7 @@ paths: parameters: - *441 - *442 - - *282 + - *283 responses: '204': description: Response @@ -79432,7 +79409,7 @@ paths: parameters: - *441 - *442 - - *136 + - *137 responses: '204': description: Response if user is a collaborator @@ -79480,7 +79457,7 @@ paths: parameters: - *441 - *442 - - *136 + - *137 requestBody: required: false content: @@ -79518,7 +79495,7 @@ paths: format: int64 examples: - 42 - repository: *272 + repository: *273 invitee: anyOf: - type: 'null' @@ -79694,7 +79671,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *247 + schema: *248 '403': *27 x-github: triggersNotification: true @@ -79736,7 +79713,7 @@ paths: parameters: - *441 - *442 - - *136 + - *137 responses: '204': description: No Content when collaborator was removed from the repository. @@ -79769,7 +79746,7 @@ paths: parameters: - *441 - *442 - - *136 + - *137 responses: '200': description: if user has admin permissions @@ -79895,8 +79872,8 @@ paths: updated_at: type: string format: date-time - author_association: *213 - reactions: *214 + author_association: *214 + reactions: *215 required: - url - html_url @@ -79973,7 +79950,7 @@ paths: parameters: - *441 - *442 - - *227 + - *228 responses: '200': description: Response @@ -80040,7 +80017,7 @@ paths: parameters: - *441 - *442 - - *227 + - *228 requestBody: required: true content: @@ -80115,7 +80092,7 @@ paths: parameters: - *441 - *442 - - *227 + - *228 responses: '204': description: Response @@ -80138,7 +80115,7 @@ paths: parameters: - *441 - *442 - - *227 + - *228 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a commit comment. @@ -80255,7 +80232,7 @@ paths: parameters: - *441 - *442 - - *227 + - *228 requestBody: required: true content: @@ -80344,7 +80321,7 @@ paths: parameters: - *441 - *442 - - *227 + - *228 - &633 name: reaction_id description: The unique identifier of the reaction. @@ -80533,7 +80510,7 @@ paths: '500': *38 '400': *14 '404': *6 - '409': *116 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80602,7 +80579,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc protected: false '422': *15 - '409': *116 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81230,7 +81207,7 @@ paths: draft: false headers: Link: *45 - '409': *116 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81395,8 +81372,8 @@ paths: '422': *15 '404': *6 '500': *38 - '503': *189 - '409': *116 + '503': *190 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81787,7 +81764,7 @@ paths: type: string total_count: type: integer - repository: *272 + repository: *273 commit_url: type: string format: uri @@ -82093,7 +82070,7 @@ paths: license: anyOf: - type: 'null' - - *215 + - *216 contributing: anyOf: - type: 'null' @@ -82559,7 +82536,7 @@ paths: module Test" '404': *6 '500': *38 - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83657,8 +83634,8 @@ paths: verified_at: '422': *15 '404': *6 - '409': *116 - '503': *189 + '409': *117 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83841,7 +83818,7 @@ paths: type: object description: A Dependabot alert. properties: - number: *123 + number: *124 state: type: string description: The state of the Dependabot alert. @@ -83856,7 +83833,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *124 + package: *125 manifest_path: type: string description: The full path to the dependency manifest file, @@ -83888,12 +83865,12 @@ paths: - transitive - security_advisory: *571 - security_vulnerability: *127 - url: *128 - html_url: *129 - created_at: *130 - updated_at: *131 - dismissed_at: *132 + security_vulnerability: *128 + url: *129 + html_url: *130 + created_at: *131 + updated_at: *132 + dismissed_at: *133 dismissed_by: anyOf: - type: 'null' @@ -83917,7 +83894,7 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *133 + fixed_at: *134 auto_dismissed_at: *572 dismissal_request: *573 required: @@ -84160,7 +84137,7 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *123 + schema: *124 responses: '200': description: Response @@ -84432,7 +84409,7 @@ paths: '400': *14 '403': *27 '404': *6 - '409': *116 + '409': *117 '422': *7 x-github: githubCloudOnly: false @@ -84559,7 +84536,7 @@ paths: parameters: - *441 - *442 - - *282 + - *283 responses: '200': description: Response @@ -84593,7 +84570,7 @@ paths: parameters: - *441 - *442 - - *282 + - *283 requestBody: required: true content: @@ -84621,7 +84598,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *283 + schema: *284 examples: default: value: @@ -84647,7 +84624,7 @@ paths: parameters: - *441 - *442 - - *282 + - *283 responses: '204': description: Response @@ -86936,7 +86913,7 @@ paths: reviewer: anyOf: - *4 - - *301 + - *302 required: - id - node_id @@ -87991,7 +87968,7 @@ paths: - *441 - *442 - *597 - - *282 + - *283 responses: '200': description: Response @@ -88024,7 +88001,7 @@ paths: - *441 - *442 - *597 - - *282 + - *283 requestBody: required: true content: @@ -88055,7 +88032,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *283 + schema: *284 examples: default: value: @@ -88084,7 +88061,7 @@ paths: - *441 - *442 - *597 - - *282 + - *283 responses: '204': description: Default response @@ -88183,7 +88160,7 @@ paths: description: Response content: application/json: - schema: *283 + schema: *284 examples: default: value: @@ -88211,7 +88188,7 @@ paths: - *441 - *442 - *597 - - *285 + - *286 responses: '200': description: Response @@ -88242,7 +88219,7 @@ paths: parameters: - *441 - *442 - - *285 + - *286 - *597 requestBody: required: true @@ -88287,7 +88264,7 @@ paths: parameters: - *441 - *442 - - *285 + - *286 - *597 responses: '204': @@ -88321,7 +88298,7 @@ paths: application/json: schema: type: array - items: *237 + items: *238 examples: 200-response: value: @@ -88402,7 +88379,7 @@ paths: application/json: schema: type: array - items: *272 + items: *273 examples: default: value: @@ -88648,7 +88625,7 @@ paths: schema: type: string '404': *6 - '409': *116 + '409': *117 '403': *27 '422': description: Validation failed @@ -88656,7 +88633,7 @@ paths: application/json: schema: oneOf: - - *247 + - *248 - *610 x-github: githubCloudOnly: false @@ -88735,7 +88712,7 @@ paths: '404': *6 '422': *15 '403': *27 - '409': *116 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89070,7 +89047,7 @@ paths: type: string '422': *15 '404': *6 - '409': *116 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89159,7 +89136,7 @@ paths: payload: verified_at: '404': *6 - '409': *116 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89258,7 +89235,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: Link: *45 - '409': *116 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89299,7 +89276,7 @@ paths: sha: aa218f56b14c9653891f9e74264a383fa43fefbd url: https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd '404': *6 - '409': *116 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89357,7 +89334,7 @@ paths: schema: type: string '422': *15 - '409': *116 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89411,7 +89388,7 @@ paths: examples: default: *614 '422': *15 - '409': *116 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89436,7 +89413,7 @@ paths: '422': description: Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed. - '409': *116 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89645,7 +89622,7 @@ paths: schema: type: string '422': *15 - '409': *116 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89707,7 +89684,7 @@ paths: examples: default: *617 '404': *6 - '409': *116 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89883,7 +89860,7 @@ paths: '422': *15 '404': *6 '403': *27 - '409': *116 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89971,7 +89948,7 @@ paths: truncated: false '422': *15 '404': *6 - '409': *116 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90637,8 +90614,8 @@ paths: - *441 - *442 responses: - '204': *148 - '409': *116 + '204': *149 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90658,8 +90635,8 @@ paths: - *441 - *442 responses: - '204': *148 - '409': *116 + '204': *149 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91953,7 +91930,7 @@ paths: - comments default: created - *108 - - *218 + - *219 - *17 - *19 responses: @@ -91963,7 +91940,7 @@ paths: application/json: schema: type: array - items: *212 + items: *213 examples: default: &638 value: @@ -92233,7 +92210,7 @@ paths: description: Response content: application/json: - schema: *212 + schema: *213 examples: default: &635 value: @@ -92389,7 +92366,7 @@ paths: '400': *14 '403': *27 '422': *15 - '503': *189 + '503': *190 '404': *6 '410': *629 x-github: @@ -92421,7 +92398,7 @@ paths: parameters: - *441 - *442 - - *235 + - *236 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -92431,7 +92408,7 @@ paths: enum: - asc - desc - - *218 + - *219 - *17 - *19 responses: @@ -92503,7 +92480,7 @@ paths: parameters: - *441 - *442 - - *227 + - *228 responses: '200': description: Response @@ -92567,7 +92544,7 @@ paths: parameters: - *441 - *442 - - *227 + - *228 requestBody: required: true content: @@ -92611,7 +92588,7 @@ paths: parameters: - *441 - *442 - - *227 + - *228 responses: '204': description: Response @@ -92633,7 +92610,7 @@ paths: parameters: - *441 - *442 - - *227 + - *228 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue comment. @@ -92684,7 +92661,7 @@ paths: parameters: - *441 - *442 - - *227 + - *228 requestBody: required: true content: @@ -92749,7 +92726,7 @@ paths: parameters: - *441 - *442 - - *227 + - *228 - *633 responses: '204': @@ -92828,7 +92805,7 @@ paths: issue: anyOf: - type: 'null' - - *212 + - *213 label: title: Issue Event Label description: Issue Event Label @@ -92861,7 +92838,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *301 + requested_team: *302 dismissed_review: title: Issue Event Dismissed Review type: object @@ -92928,7 +92905,7 @@ paths: required: - from - to - author_association: *213 + author_association: *214 lock_reason: type: - string @@ -93372,7 +93349,7 @@ paths: description: Response content: application/json: - schema: *212 + schema: *213 examples: default: *635 '301': *447 @@ -93523,11 +93500,11 @@ paths: description: Response content: application/json: - schema: *212 + schema: *213 examples: default: *635 '422': *15 - '503': *189 + '503': *190 '403': *27 '301': *447 '404': *6 @@ -93577,7 +93554,7 @@ paths: description: Response content: application/json: - schema: *212 + schema: *213 examples: default: *635 x-github: @@ -93622,7 +93599,7 @@ paths: description: Response content: application/json: - schema: *212 + schema: *213 examples: default: *635 x-github: @@ -93691,7 +93668,7 @@ paths: - *441 - *442 - *636 - - *218 + - *219 - *17 - *19 responses: @@ -93809,7 +93786,7 @@ paths: application/json: schema: type: array - items: *212 + items: *213 examples: default: *638 headers: @@ -93868,7 +93845,7 @@ paths: description: Response content: application/json: - schema: *212 + schema: *213 examples: default: *635 headers: @@ -93923,7 +93900,7 @@ paths: description: Response content: application/json: - schema: *212 + schema: *213 examples: default: *635 '301': *447 @@ -93969,7 +93946,7 @@ paths: application/json: schema: type: array - items: *212 + items: *213 examples: default: *638 headers: @@ -94356,7 +94333,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *301 + requested_team: *302 requested_reviewer: *4 required: - review_requester @@ -94398,7 +94375,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *301 + requested_team: *302 requested_reviewer: *4 required: - review_requester @@ -94817,7 +94794,7 @@ paths: application/json: schema: type: array - items: *211 + items: *212 examples: default: &639 value: @@ -94917,7 +94894,7 @@ paths: application/json: schema: type: array - items: *211 + items: *212 examples: default: *639 '301': *447 @@ -95001,7 +94978,7 @@ paths: application/json: schema: type: array - items: *211 + items: *212 examples: default: *639 '301': *447 @@ -95065,7 +95042,7 @@ paths: application/json: schema: type: array - items: *211 + items: *212 examples: default: value: @@ -95187,7 +95164,7 @@ paths: description: Response content: application/json: - schema: *212 + schema: *213 examples: default: *635 '301': *447 @@ -95382,7 +95359,7 @@ paths: description: Response content: application/json: - schema: *212 + schema: *213 examples: default: *635 headers: @@ -95429,7 +95406,7 @@ paths: application/json: schema: type: array - items: *212 + items: *213 examples: default: *638 headers: @@ -95492,7 +95469,7 @@ paths: description: Response content: application/json: - schema: *212 + schema: *213 examples: default: *635 headers: @@ -95554,13 +95531,13 @@ paths: description: Response content: application/json: - schema: *212 + schema: *213 examples: default: *635 '403': *27 '404': *6 '422': *7 - '503': *189 + '503': *190 x-github: triggersNotification: true githubCloudOnly: false @@ -95655,12 +95632,12 @@ paths: issue_url: type: string format: uri - author_association: *213 + author_association: *214 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *214 + reactions: *215 required: - event - actor @@ -95691,7 +95668,7 @@ paths: properties: type: type: string - issue: *212 + issue: *213 required: - event - created_at @@ -95913,7 +95890,7 @@ paths: type: string body_text: type: string - author_association: *213 + author_association: *214 required: - event - id @@ -96011,7 +95988,10 @@ paths: type: integer examples: - 8 - user: *4 + user: + anyOf: + - type: 'null' + - *4 body: description: The text of the comment. type: string @@ -96041,7 +96021,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *213 + author_association: *214 _links: type: object properties: @@ -96136,7 +96116,7 @@ paths: enum: - line - file - reactions: *214 + reactions: *215 body_html: type: string examples: @@ -96685,7 +96665,7 @@ paths: application/json: schema: type: array - items: *211 + items: *212 examples: default: *639 headers: @@ -96745,7 +96725,7 @@ paths: description: Response content: application/json: - schema: *211 + schema: *212 examples: default: &656 value: @@ -96791,7 +96771,7 @@ paths: description: Response content: application/json: - schema: *211 + schema: *212 examples: default: *656 '404': *6 @@ -96850,7 +96830,7 @@ paths: description: Response content: application/json: - schema: *211 + schema: *212 examples: default: value: @@ -97064,7 +97044,7 @@ paths: license: anyOf: - type: 'null' - - *215 + - *216 required: - _links - git_url @@ -97599,7 +97579,7 @@ paths: application/json: schema: type: array - items: *211 + items: *212 examples: default: *639 headers: @@ -97624,7 +97604,7 @@ paths: - *442 - *660 - *661 - - *218 + - *219 - *662 - *17 - *19 @@ -97635,7 +97615,7 @@ paths: application/json: schema: type: array - items: *238 + items: *239 examples: default: *663 headers: @@ -97972,7 +97952,7 @@ paths: examples: default: *665 '422': *15 - '409': *116 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98081,7 +98061,7 @@ paths: description: Response '422': *15 '400': *14 - '409': *116 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98109,7 +98089,7 @@ paths: description: Response '422': *15 '404': *6 - '409': *116 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98544,7 +98524,7 @@ paths: - *442 - *668 responses: - '204': *148 + '204': *149 '404': *6 x-github: githubCloudOnly: false @@ -98838,7 +98818,7 @@ paths: description: Empty response content: application/json: - schema: *283 + schema: *284 examples: default: value: @@ -98906,7 +98886,7 @@ paths: - *441 - *442 responses: - '204': *148 + '204': *149 '422': *14 x-github: githubCloudOnly: false @@ -98928,7 +98908,7 @@ paths: - *441 - *442 responses: - '204': *148 + '204': *149 '422': *14 x-github: githubCloudOnly: false @@ -98957,7 +98937,7 @@ paths: application/json: schema: type: array - items: *149 + items: *150 examples: default: *669 '403': *27 @@ -98994,7 +98974,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *149 + items: *150 required: - properties examples: @@ -99438,7 +99418,7 @@ paths: - review_comments - review_comment - self - author_association: *213 + author_association: *214 auto_merge: *672 draft: description: Indicates whether or not the pull request is a draft. @@ -100088,7 +100068,7 @@ paths: enum: - asc - desc - - *218 + - *219 - *17 - *19 responses: @@ -100179,7 +100159,7 @@ paths: parameters: - *441 - *442 - - *227 + - *228 responses: '200': description: Response @@ -100264,7 +100244,7 @@ paths: parameters: - *441 - *442 - - *227 + - *228 requestBody: required: true content: @@ -100306,7 +100286,7 @@ paths: parameters: - *441 - *442 - - *227 + - *228 responses: '204': description: Response @@ -100329,7 +100309,7 @@ paths: parameters: - *441 - *442 - - *227 + - *228 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a pull request review comment. @@ -100380,7 +100360,7 @@ paths: parameters: - *441 - *442 - - *227 + - *228 requestBody: required: true content: @@ -100445,7 +100425,7 @@ paths: parameters: - *441 - *442 - - *227 + - *228 - *633 responses: '204': @@ -100515,7 +100495,7 @@ paths: application/json: schema: *3 '500': *38 - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100686,7 +100666,7 @@ paths: '401': *23 '403': *27 '404': *6 - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100715,7 +100695,7 @@ paths: - *441 - *442 - *677 - - *235 + - *236 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -100725,7 +100705,7 @@ paths: enum: - asc - desc - - *218 + - *219 - *17 - *19 responses: @@ -100969,7 +100949,7 @@ paths: - *441 - *442 - *677 - - *227 + - *228 requestBody: required: true content: @@ -101152,7 +101132,7 @@ paths: Link: *45 '422': *15 '500': *38 - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101328,7 +101308,7 @@ paths: items: *4 teams: type: array - items: *301 + items: *302 required: - users - teams @@ -102589,7 +102569,7 @@ paths: type: string body_text: type: string - author_association: *213 + author_association: *214 required: - id - node_id @@ -103127,7 +103107,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *213 + author_association: *214 _links: type: object properties: @@ -103142,7 +103122,7 @@ paths: type: string body_html: type: string - reactions: *214 + reactions: *215 side: description: The side of the first line of the range for a multi-line comment. @@ -104680,7 +104660,7 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *163 + - *164 - &692 title: repository ruleset data for rule description: User-defined metadata to store domain-specific @@ -104700,9 +104680,6 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *164 - - *692 - allOf: - *165 - *692 @@ -104710,10 +104687,10 @@ paths: - *166 - *692 - allOf: - - *693 + - *167 - *692 - allOf: - - *167 + - *693 - *692 - allOf: - *168 @@ -104763,6 +104740,9 @@ paths: - allOf: - *183 - *692 + - allOf: + - *184 + - *692 examples: default: value: @@ -104821,7 +104801,7 @@ paths: application/json: schema: type: array - items: *184 + items: *185 examples: default: value: @@ -104889,12 +104869,12 @@ paths: - tag - push default: branch - enforcement: *161 + enforcement: *162 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *162 - conditions: *155 + items: *163 + conditions: *156 rules: type: array description: An array of rules within the ruleset. @@ -104929,7 +104909,7 @@ paths: description: Response content: application/json: - schema: *184 + schema: *185 examples: default: &704 value: @@ -105073,7 +105053,7 @@ paths: description: Response content: application/json: - schema: *184 + schema: *185 examples: default: *704 '404': *6 @@ -105119,12 +105099,12 @@ paths: - branch - tag - push - enforcement: *161 + enforcement: *162 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *162 - conditions: *155 + items: *163 + conditions: *156 rules: description: An array of rules within the ruleset. type: array @@ -105156,7 +105136,7 @@ paths: description: Response content: application/json: - schema: *184 + schema: *185 examples: default: *704 '404': *6 @@ -105217,7 +105197,7 @@ paths: application/json: schema: type: array - items: *188 + items: *189 examples: default: *408 '404': *6 @@ -105338,14 +105318,14 @@ paths: items: &710 type: object properties: - number: *123 - created_at: *130 + number: *124 + created_at: *131 updated_at: anyOf: - type: 'null' - - *131 - url: *128 - html_url: *129 + - *132 + url: *129 + html_url: *130 locations_url: type: string format: uri @@ -105569,7 +105549,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105631,7 +105611,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105774,7 +105754,7 @@ paths: '422': description: State does not match the resolution or resolution comment, or assignee does not have write access to the repository - '503': *189 + '503': *190 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -105912,7 +105892,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105991,7 +105971,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *189 + '503': *190 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -106020,7 +106000,7 @@ paths: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *189 + '503': *190 '200': description: Response content: @@ -107090,7 +107070,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *247 + schema: *248 examples: invalid_state_transition: value: @@ -107306,7 +107286,7 @@ paths: - 1124 - -435 '202': *37 - '204': *148 + '204': *149 '422': description: Repository contains more than 10,000 commits x-github: @@ -107378,7 +107358,7 @@ paths: total: 89 week: 1336280400 '202': *37 - '204': *148 + '204': *149 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107478,7 +107458,7 @@ paths: d: 77 c: 10 '202': *37 - '204': *148 + '204': *149 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107679,7 +107659,7 @@ paths: - - 0 - 2 - 21 - '204': *148 + '204': *149 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107823,7 +107803,7 @@ paths: type: array items: *4 examples: - default: *206 + default: *207 headers: Link: *45 x-github: @@ -108288,7 +108268,7 @@ paths: application/json: schema: type: array - items: *301 + items: *302 examples: default: *372 headers: @@ -108829,7 +108809,7 @@ paths: description: Response content: application/json: - schema: *272 + schema: *273 examples: default: value: @@ -109277,7 +109257,7 @@ paths: application/json: schema: type: array - items: *272 + items: *273 examples: default: value: @@ -111536,7 +111516,7 @@ paths: html_url: type: string format: uri - repository: *272 + repository: *273 score: type: number file_size: @@ -111670,7 +111650,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *35 - '503': *189 + '503': *190 '422': *15 '403': *27 x-github: @@ -111834,7 +111814,7 @@ paths: type: string sha: type: string - repository: *272 + repository: *273 score: type: number node_id: @@ -112199,7 +112179,7 @@ paths: type: string score: type: number - author_association: *213 + author_association: *214 draft: type: boolean repository: *76 @@ -112215,7 +112195,7 @@ paths: anyOf: - type: 'null' - *5 - reactions: *214 + reactions: *215 required: - assignee - closed_at @@ -112331,7 +112311,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *189 + '503': *190 '422': *15 '304': *35 '403': *27 @@ -112734,7 +112714,7 @@ paths: license: anyOf: - type: 'null' - - *215 + - *216 permissions: type: object properties: @@ -112955,7 +112935,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *189 + '503': *190 '422': *15 '304': *35 x-github: @@ -113428,7 +113408,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *35 - '503': *189 + '503': *190 '422': *15 x-github: githubCloudOnly: false @@ -113900,7 +113880,7 @@ paths: type: array items: *4 examples: - default: *206 + default: *207 headers: Link: *45 '404': *6 @@ -113929,7 +113909,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - *770 - - *136 + - *137 responses: '204': description: if user is a member @@ -113966,7 +113946,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - *770 - - *136 + - *137 responses: '204': description: Response @@ -114006,7 +113986,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - *770 - - *136 + - *137 responses: '204': description: Response @@ -114043,7 +114023,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user-legacy parameters: - *770 - - *136 + - *137 responses: '200': description: Response @@ -114085,7 +114065,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - *770 - - *136 + - *137 requestBody: required: false content: @@ -114147,7 +114127,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - *770 - - *136 + - *137 responses: '204': description: Response @@ -114184,7 +114164,7 @@ paths: application/json: schema: type: array - items: *272 + items: *273 examples: default: *379 headers: @@ -114595,7 +114575,7 @@ paths: application/json: schema: type: array - items: *301 + items: *302 examples: response-if-child-teams-exist: *776 headers: @@ -115119,7 +115099,7 @@ paths: type: array items: *4 examples: - default: *206 + default: *207 '304': *35 '404': *6 '403': *27 @@ -115142,7 +115122,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user parameters: - - *136 + - *137 responses: '204': description: If the user is blocked @@ -115170,7 +115150,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#block-a-user parameters: - - *136 + - *137 responses: '204': description: Response @@ -115194,7 +115174,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#unblock-a-user parameters: - - *136 + - *137 responses: '204': description: Response @@ -115398,7 +115378,7 @@ paths: '401': *23 '403': *27 '404': *6 - '503': *189 + '503': *190 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -115552,7 +115532,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *282 + - *283 responses: '200': description: Response @@ -115588,7 +115568,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *282 + - *283 requestBody: required: true content: @@ -115633,7 +115613,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *283 + schema: *284 examples: default: value: @@ -115661,7 +115641,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *282 + - *283 responses: '204': description: Response @@ -115686,7 +115666,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *282 + - *283 responses: '200': description: Response @@ -115702,7 +115682,7 @@ paths: type: integer repositories: type: array - items: *272 + items: *273 examples: default: *780 '401': *23 @@ -115729,7 +115709,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *282 + - *283 requestBody: required: true content: @@ -115783,7 +115763,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *282 + - *283 - name: repository_id in: path required: true @@ -115816,7 +115796,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *282 + - *283 - name: repository_id in: path required: true @@ -117016,7 +116996,7 @@ paths: schema: *3 '403': *27 '404': *6 - '409': *116 + '409': *117 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -117438,7 +117418,7 @@ paths: type: array items: *4 examples: - default: *206 + default: *207 headers: Link: *45 '304': *35 @@ -117471,7 +117451,7 @@ paths: type: array items: *4 examples: - default: *206 + default: *207 headers: Link: *45 '304': *35 @@ -117493,7 +117473,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user parameters: - - *136 + - *137 responses: '204': description: if the person is followed by the authenticated user @@ -117523,7 +117503,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#follow-a-user parameters: - - *136 + - *137 responses: '204': description: Response @@ -117548,7 +117528,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#unfollow-a-user parameters: - - *136 + - *137 responses: '204': description: Response @@ -118101,7 +118081,7 @@ paths: type: array items: *76 examples: - default: *267 + default: *268 headers: Link: *45 '404': *6 @@ -118126,7 +118106,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *266 + - *267 responses: '204': description: Response @@ -118152,7 +118132,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *266 + - *267 responses: '204': description: Response @@ -118320,7 +118300,7 @@ paths: - comments default: created - *108 - - *218 + - *219 - *17 - *19 responses: @@ -118330,7 +118310,7 @@ paths: application/json: schema: type: array - items: *212 + items: *213 examples: default: *362 headers: @@ -118635,7 +118615,7 @@ paths: - id - type - login - plan: *229 + plan: *230 required: - billing_cycle - next_billing_date @@ -119762,7 +119742,7 @@ paths: application/json: schema: type: array - items: *272 + items: *273 examples: default: *379 headers: @@ -119801,7 +119781,7 @@ paths: type: array items: *71 examples: - default: *242 + default: *243 headers: Link: *45 '304': *35 @@ -120750,7 +120730,7 @@ paths: '204': description: Response '403': *27 - '409': *116 + '409': *117 '404': *6 '304': *35 x-github: @@ -120772,7 +120752,7 @@ paths: responses: '204': description: Response - '409': *116 + '409': *117 '304': *35 '404': *6 '403': *27 @@ -121427,7 +121407,7 @@ paths: application/json: schema: type: array - items: *272 + items: *273 examples: default: *379 headers: @@ -121544,7 +121524,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user-using-their-id parameters: - - *231 + - *232 responses: '200': description: Response @@ -121723,7 +121703,7 @@ paths: type: array items: *4 examples: - default: *206 + default: *207 headers: Link: example: ; rel="next" @@ -121753,7 +121733,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user parameters: - - *136 + - *137 responses: '200': description: Response @@ -121791,7 +121771,7 @@ paths: - *17 - *106 - *107 - - *136 + - *137 requestBody: required: true content: @@ -121888,7 +121868,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-in-bulk parameters: - - *136 + - *137 requestBody: required: true content: @@ -121953,7 +121933,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *136 + - *137 - name: subject_digest description: Subject Digest in: path @@ -121984,7 +121964,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-id parameters: - - *136 + - *137 - name: attestation_id description: Attestation ID in: path @@ -122022,7 +122002,7 @@ paths: - *17 - *106 - *107 - - *136 + - *137 - name: subject_digest description: Subject Digest in: path @@ -122080,7 +122060,7 @@ paths: description: Response content: application/json: - schema: *283 + schema: *284 examples: default: value: @@ -122106,7 +122086,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user parameters: - - *136 + - *137 responses: '200': description: Response @@ -122139,7 +122119,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-for-the-authenticated-user parameters: - - *136 + - *137 - *17 - *19 responses: @@ -122149,7 +122129,7 @@ paths: application/json: schema: type: array - items: *237 + items: *238 examples: default: value: @@ -122211,7 +122191,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *136 + - *137 - *85 - *17 - *19 @@ -122222,7 +122202,7 @@ paths: application/json: schema: type: array - items: *237 + items: *238 examples: default: value: @@ -122299,7 +122279,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-user parameters: - - *136 + - *137 - *17 - *19 responses: @@ -122309,7 +122289,7 @@ paths: application/json: schema: type: array - items: *237 + items: *238 examples: default: value: @@ -122367,7 +122347,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-followers-of-a-user parameters: - - *136 + - *137 - *17 - *19 responses: @@ -122379,7 +122359,7 @@ paths: type: array items: *4 examples: - default: *206 + default: *207 headers: Link: *45 x-github: @@ -122398,7 +122378,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-the-people-a-user-follows parameters: - - *136 + - *137 - *17 - *19 responses: @@ -122410,7 +122390,7 @@ paths: type: array items: *4 examples: - default: *206 + default: *207 headers: Link: *45 x-github: @@ -122429,7 +122409,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#check-if-a-user-follows-another-user parameters: - - *136 + - *137 - name: target_user in: path required: true @@ -122456,8 +122436,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - - *136 - - *218 + - *137 + - *219 - *17 - *19 responses: @@ -122467,9 +122447,9 @@ paths: application/json: schema: type: array - items: *219 + items: *220 examples: - default: *220 + default: *221 headers: Link: *45 '422': *15 @@ -122490,7 +122470,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *136 + - *137 - *17 - *19 responses: @@ -122526,7 +122506,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-contextual-information-for-a-user parameters: - - *136 + - *137 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -122598,7 +122578,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *136 + - *137 responses: '200': description: Response @@ -122624,7 +122604,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#list-public-keys-for-a-user parameters: - - *136 + - *137 - *17 - *19 responses: @@ -122680,7 +122660,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations-for-a-user parameters: - - *136 + - *137 - *17 - *19 responses: @@ -122692,7 +122672,7 @@ paths: type: array items: *71 examples: - default: *242 + default: *243 headers: Link: *45 x-github: @@ -122732,7 +122712,7 @@ paths: - nuget - container - *793 - - *136 + - *137 - *19 - *17 responses: @@ -122769,7 +122749,7 @@ paths: parameters: - *375 - *376 - - *136 + - *137 responses: '200': description: Response @@ -122800,7 +122780,7 @@ paths: parameters: - *375 - *376 - - *136 + - *137 responses: '204': description: Response @@ -122834,7 +122814,7 @@ paths: parameters: - *375 - *376 - - *136 + - *137 - name: token description: package token schema: @@ -122868,7 +122848,7 @@ paths: parameters: - *375 - *376 - - *136 + - *137 responses: '200': description: Response @@ -122937,7 +122917,7 @@ paths: - *375 - *376 - *378 - - *136 + - *137 responses: '200': description: Response @@ -122980,7 +122960,7 @@ paths: parameters: - *375 - *376 - - *136 + - *137 - *378 responses: '204': @@ -123015,7 +122995,7 @@ paths: parameters: - *375 - *376 - - *136 + - *137 - *378 responses: '204': @@ -123040,7 +123020,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-projects-for-user parameters: - - *136 + - *137 - name: q description: Limit results to projects of the specified type. in: query @@ -123082,7 +123062,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - *391 - - *136 + - *137 responses: '200': description: Response @@ -123113,7 +123093,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - *391 - - *136 + - *137 - *17 - *106 - *107 @@ -123147,7 +123127,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#add-field-to-user-owned-project parameters: - - *136 + - *137 - *391 requestBody: required: true @@ -123260,7 +123240,7 @@ paths: parameters: - *391 - *822 - - *136 + - *137 responses: '200': description: Response @@ -123292,7 +123272,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-a-user-owned-project parameters: - *391 - - *136 + - *137 - *106 - *107 - *17 @@ -123347,75 +123327,67 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - - *136 + - *137 - *391 requestBody: required: true description: Details of the item to add to the project. You can specify either - the database ID or the repository owner, name, and issue/PR number. + the unique ID or the repository owner, name, and issue/PR number. content: application/json: schema: + type: object + additionalProperties: false + properties: + type: + type: string + enum: + - Issue + - PullRequest + description: The type of item to add to the project. Must be either + Issue or PullRequest. + id: + type: integer + description: The unique identifier of the issue or pull request + to add to the project. + owner: + type: string + description: The repository owner login. + repo: + type: string + description: The repository name. + number: + type: integer + description: The issue or pull request number. + required: + - type oneOf: - - type: object - properties: - type: - type: string - enum: - - Issue - - PullRequest - description: The type of item to add to the project. Must be either - Issue or PullRequest. - id: - type: integer - description: The unique ID of the issue or pull request to add - to the project. - required: - - type + - required: - id - - type: object - properties: - type: - type: string - enum: - - Issue - - PullRequest - description: The type of item to add to the project. Must be either - Issue or PullRequest. - owner: - type: string - description: The repository owner login. - repo: - type: string - description: The repository name. - number: - type: integer - description: The issue or pull request number. - required: - - type + - required: - owner - repo - number examples: - issue-with-id: - summary: Add issue by database ID + issue_with_id: + summary: Add an issue using its unique ID value: type: Issue id: 3 - pull_request-with-id: - summary: Add pull request by database ID + pull_request_with_id: + summary: Add a pull request using its unique ID value: type: PullRequest id: 3 - issue-with-nwo: - summary: Add issue by repository and number + issue_with_nwo: + summary: Add an issue using repository owner, name, and issue number value: type: Issue owner: octocat repo: hello-world number: 42 - pull_request-with-nwo: - summary: Add pull request by repository and number + pull_request_with_nwo: + summary: Add a pull request using repository owner, name, and PR number value: type: PullRequest owner: octocat @@ -123428,8 +123400,20 @@ paths: application/json: schema: *396 examples: - issue: *397 - pull_request: *397 + issue_with_id: + summary: Response for adding an issue using its unique ID + value: *397 + pull_request_with_id: + summary: Response for adding a pull request using its unique ID + value: *397 + issue_with_nwo: + summary: Response for adding an issue using repository owner, name, + and issue number + value: *397 + pull_request_with_nwo: + summary: Response for adding a pull request using repository owner, + name, and PR number + value: *397 '304': *35 '403': *27 '401': *23 @@ -123450,7 +123434,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#get-an-item-for-a-user-owned-project parameters: - *391 - - *136 + - *137 - *400 - name: fields description: |- @@ -123495,7 +123479,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - *391 - - *136 + - *137 - *400 requestBody: required: true @@ -123596,7 +123580,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - *391 - - *136 + - *137 - *400 responses: '204': @@ -123620,7 +123604,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-a-user-project-view parameters: - *391 - - *136 + - *137 - *824 - name: fields description: |- @@ -123677,7 +123661,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *136 + - *137 - *17 - *19 responses: @@ -123687,7 +123671,7 @@ paths: application/json: schema: type: array - items: *237 + items: *238 examples: default: value: @@ -123752,7 +123736,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-received-by-a-user parameters: - - *136 + - *137 - *17 - *19 responses: @@ -123762,7 +123746,7 @@ paths: application/json: schema: type: array - items: *237 + items: *238 examples: default: value: @@ -123825,7 +123809,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repositories-for-a-user parameters: - - *136 + - *137 - name: type description: Limit results to repositories of the specified type. in: query @@ -123868,7 +123852,7 @@ paths: application/json: schema: type: array - items: *272 + items: *273 examples: default: *379 headers: @@ -123890,7 +123874,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *136 + - *137 - *17 - *19 responses: @@ -123922,7 +123906,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *136 + - *137 - *17 - *19 responses: @@ -123958,7 +123942,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *136 + - *137 - *826 - *108 - *17 @@ -123994,7 +123978,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *136 + - *137 - *17 - *19 responses: @@ -124004,7 +123988,7 @@ paths: application/json: schema: type: array - items: *272 + items: *273 examples: default: *379 headers: @@ -124327,7 +124311,7 @@ webhooks: license: anyOf: - type: 'null' - - *215 + - *216 organization: anyOf: - type: 'null' @@ -126601,8 +126585,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *216 - repository: *272 + items: *217 + repository: *273 status: type: string enum: @@ -126706,7 +126690,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *216 + items: *217 started_at: type: string format: date-time @@ -133074,7 +133058,7 @@ webhooks: type: string enum: - created - definition: *150 + definition: *151 enterprise: *828 installation: *829 organization: *830 @@ -133241,7 +133225,7 @@ webhooks: type: string enum: - promote_to_enterprise - definition: *150 + definition: *151 enterprise: *828 installation: *829 organization: *830 @@ -133321,7 +133305,7 @@ webhooks: type: string enum: - updated - definition: *150 + definition: *151 enterprise: *828 installation: *829 organization: *830 @@ -133409,11 +133393,11 @@ webhooks: new_property_values: type: array description: The new custom property values for the repository. - items: *149 + items: *150 old_property_values: type: array description: The old custom property values for the repository. - items: *149 + items: *150 required: - action - repository @@ -148844,11 +148828,11 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *212 + blocked_issue: *213 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *212 + blocking_issue: *213 blocking_issue_repo: *76 installation: *829 organization: *830 @@ -148935,11 +148919,11 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *212 + blocked_issue: *213 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *212 + blocking_issue: *213 blocking_issue_repo: *76 installation: *829 organization: *830 @@ -149025,12 +149009,12 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *212 + blocked_issue: *213 blocked_issue_repo: *76 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *212 + blocking_issue: *213 installation: *829 organization: *830 repository: *831 @@ -149116,12 +149100,12 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *212 + blocked_issue: *213 blocked_issue_repo: *76 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *212 + blocking_issue: *213 installation: *829 organization: *830 repository: *831 @@ -168131,7 +168115,7 @@ webhooks: type: string enum: - created - definition: *144 + definition: *145 enterprise: *828 sender: *4 required: @@ -168285,7 +168269,7 @@ webhooks: type: string enum: - updated - definition: *144 + definition: *145 enterprise: *828 installation: *829 sender: *4 @@ -168366,11 +168350,11 @@ webhooks: new_property_values: type: array description: The new custom property values. - items: *149 + items: *150 old_property_values: type: array description: The old custom property values. - items: *149 + items: *150 required: - action - organization @@ -238636,7 +238620,7 @@ webhooks: installation: *829 organization: *830 repository: *831 - repository_ruleset: *184 + repository_ruleset: *185 sender: *4 required: - action @@ -238718,7 +238702,7 @@ webhooks: installation: *829 organization: *830 repository: *831 - repository_ruleset: *184 + repository_ruleset: *185 sender: *4 required: - action @@ -238800,7 +238784,7 @@ webhooks: installation: *829 organization: *830 repository: *831 - repository_ruleset: *184 + repository_ruleset: *185 changes: type: object properties: @@ -238819,16 +238803,16 @@ webhooks: properties: added: type: array - items: *155 + items: *156 deleted: type: array - items: *155 + items: *156 updated: type: array items: type: object properties: - condition: *155 + condition: *156 changes: type: object properties: @@ -239977,14 +239961,14 @@ webhooks: alert: &890 type: object properties: - number: *123 - created_at: *130 + number: *124 + created_at: *131 updated_at: anyOf: - type: 'null' - - *131 - url: *128 - html_url: *129 + - *132 + url: *129 + html_url: *130 locations_url: type: string format: uri @@ -241062,7 +241046,7 @@ webhooks: required: - vector_string - score - cvss_severities: *125 + cvss_severities: *126 cwes: type: array items: @@ -241329,7 +241313,7 @@ webhooks: required: - vector_string - score - cvss_severities: *125 + cvss_severities: *126 cwes: type: array items: @@ -242997,12 +242981,12 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *212 + parent_issue: *213 parent_issue_repo: *76 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *212 + sub_issue: *213 installation: *829 organization: *830 repository: *831 @@ -243089,12 +243073,12 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *212 + parent_issue: *213 parent_issue_repo: *76 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *212 + sub_issue: *213 installation: *829 organization: *830 repository: *831 @@ -243181,12 +243165,12 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *212 + sub_issue: *213 sub_issue_repo: *76 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *212 + parent_issue: *213 installation: *829 organization: *830 repository: *831 @@ -243273,12 +243257,12 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *212 + sub_issue: *213 sub_issue_repo: *76 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *212 + parent_issue: *213 installation: *829 organization: *830 repository: *831 diff --git a/descriptions-next/ghec/ghec.2022-11-28.json b/descriptions-next/ghec/ghec.2022-11-28.json index 95c4fca37..7df5dec6a 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.json +++ b/descriptions-next/ghec/ghec.2022-11-28.json @@ -7948,6 +7948,9 @@ "code_scanning_default_setup_options": { "$ref": "#/components/schemas/code-scanning-default-setup-options" }, + "code_scanning_options": { + "$ref": "#/components/schemas/code-scanning-options" + }, "code_scanning_delegated_alert_dismissal": { "type": "string", "description": "The enablement status of code scanning delegated alert dismissal", @@ -26451,6 +26454,9 @@ "code_scanning_default_setup_options": { "$ref": "#/components/schemas/code-scanning-default-setup-options" }, + "code_scanning_options": { + "$ref": "#/components/schemas/code-scanning-options" + }, "code_scanning_delegated_alert_dismissal": { "type": "string", "description": "The enablement status of code scanning delegated alert dismissal", @@ -36833,58 +36839,49 @@ ], "requestBody": { "required": true, - "description": "Details of the item to add to the project. You can specify either the database ID or the repository owner, name, and issue/PR number.", + "description": "Details of the item to add to the project. You can specify either the unique ID or the repository owner, name, and issue/PR number.", "content": { "application/json": { "schema": { + "type": "object", + "additionalProperties": false, + "properties": { + "type": { + "type": "string", + "enum": [ + "Issue", + "PullRequest" + ], + "description": "The type of item to add to the project. Must be either Issue or PullRequest." + }, + "id": { + "type": "integer", + "description": "The unique identifier of the issue or pull request to add to the project." + }, + "owner": { + "type": "string", + "description": "The repository owner login." + }, + "repo": { + "type": "string", + "description": "The repository name." + }, + "number": { + "type": "integer", + "description": "The issue or pull request number." + } + }, + "required": [ + "type" + ], "oneOf": [ { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "Issue", - "PullRequest" - ], - "description": "The type of item to add to the project. Must be either Issue or PullRequest." - }, - "id": { - "type": "integer", - "description": "The unique ID of the issue or pull request to add to the project." - } - }, "required": [ - "type", "id" ] }, { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "Issue", - "PullRequest" - ], - "description": "The type of item to add to the project. Must be either Issue or PullRequest." - }, - "owner": { - "type": "string", - "description": "The repository owner login." - }, - "repo": { - "type": "string", - "description": "The repository name." - }, - "number": { - "type": "integer", - "description": "The issue or pull request number." - } - }, "required": [ - "type", "owner", "repo", "number" @@ -36893,22 +36890,22 @@ ] }, "examples": { - "issue-with-id": { - "summary": "Add issue by database ID", + "issue_with_id": { + "summary": "Add an issue using its unique ID", "value": { "type": "Issue", "id": 3 } }, - "pull_request-with-id": { - "summary": "Add pull request by database ID", + "pull_request_with_id": { + "summary": "Add a pull request using its unique ID", "value": { "type": "PullRequest", "id": 3 } }, - "issue-with-nwo": { - "summary": "Add issue by repository and number", + "issue_with_nwo": { + "summary": "Add an issue using repository owner, name, and issue number", "value": { "type": "Issue", "owner": "octocat", @@ -36916,8 +36913,8 @@ "number": 42 } }, - "pull_request-with-nwo": { - "summary": "Add pull request by repository and number", + "pull_request_with_nwo": { + "summary": "Add a pull request using repository owner, name, and PR number", "value": { "type": "PullRequest", "owner": "octocat", @@ -36938,11 +36935,29 @@ "$ref": "#/components/schemas/projects-v2-item-simple" }, "examples": { - "issue": { - "$ref": "#/components/examples/projects-v2-item-simple" + "issue_with_id": { + "summary": "Response for adding an issue using its unique ID", + "value": { + "$ref": "#/components/examples/projects-v2-item-simple" + } }, - "pull_request": { - "$ref": "#/components/examples/projects-v2-item-simple" + "pull_request_with_id": { + "summary": "Response for adding a pull request using its unique ID", + "value": { + "$ref": "#/components/examples/projects-v2-item-simple" + } + }, + "issue_with_nwo": { + "summary": "Response for adding an issue using repository owner, name, and issue number", + "value": { + "$ref": "#/components/examples/projects-v2-item-simple" + } + }, + "pull_request_with_nwo": { + "summary": "Response for adding a pull request using repository owner, name, and PR number", + "value": { + "$ref": "#/components/examples/projects-v2-item-simple" + } } } } @@ -46958,20 +46973,8 @@ } ], "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/workflow-dispatch-response" - }, - "examples": { - "default": { - "$ref": "#/components/examples/workflow-dispatch-response" - } - } - } - } + "204": { + "description": "Response" } }, "requestBody": { @@ -90148,58 +90151,49 @@ ], "requestBody": { "required": true, - "description": "Details of the item to add to the project. You can specify either the database ID or the repository owner, name, and issue/PR number.", + "description": "Details of the item to add to the project. You can specify either the unique ID or the repository owner, name, and issue/PR number.", "content": { "application/json": { "schema": { + "type": "object", + "additionalProperties": false, + "properties": { + "type": { + "type": "string", + "enum": [ + "Issue", + "PullRequest" + ], + "description": "The type of item to add to the project. Must be either Issue or PullRequest." + }, + "id": { + "type": "integer", + "description": "The unique identifier of the issue or pull request to add to the project." + }, + "owner": { + "type": "string", + "description": "The repository owner login." + }, + "repo": { + "type": "string", + "description": "The repository name." + }, + "number": { + "type": "integer", + "description": "The issue or pull request number." + } + }, + "required": [ + "type" + ], "oneOf": [ { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "Issue", - "PullRequest" - ], - "description": "The type of item to add to the project. Must be either Issue or PullRequest." - }, - "id": { - "type": "integer", - "description": "The unique ID of the issue or pull request to add to the project." - } - }, "required": [ - "type", "id" ] }, { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "Issue", - "PullRequest" - ], - "description": "The type of item to add to the project. Must be either Issue or PullRequest." - }, - "owner": { - "type": "string", - "description": "The repository owner login." - }, - "repo": { - "type": "string", - "description": "The repository name." - }, - "number": { - "type": "integer", - "description": "The issue or pull request number." - } - }, "required": [ - "type", "owner", "repo", "number" @@ -90208,22 +90202,22 @@ ] }, "examples": { - "issue-with-id": { - "summary": "Add issue by database ID", + "issue_with_id": { + "summary": "Add an issue using its unique ID", "value": { "type": "Issue", "id": 3 } }, - "pull_request-with-id": { - "summary": "Add pull request by database ID", + "pull_request_with_id": { + "summary": "Add a pull request using its unique ID", "value": { "type": "PullRequest", "id": 3 } }, - "issue-with-nwo": { - "summary": "Add issue by repository and number", + "issue_with_nwo": { + "summary": "Add an issue using repository owner, name, and issue number", "value": { "type": "Issue", "owner": "octocat", @@ -90231,8 +90225,8 @@ "number": 42 } }, - "pull_request-with-nwo": { - "summary": "Add pull request by repository and number", + "pull_request_with_nwo": { + "summary": "Add a pull request using repository owner, name, and PR number", "value": { "type": "PullRequest", "owner": "octocat", @@ -90253,11 +90247,29 @@ "$ref": "#/components/schemas/projects-v2-item-simple" }, "examples": { - "issue": { - "$ref": "#/components/examples/projects-v2-item-simple" + "issue_with_id": { + "summary": "Response for adding an issue using its unique ID", + "value": { + "$ref": "#/components/examples/projects-v2-item-simple" + } }, - "pull_request": { - "$ref": "#/components/examples/projects-v2-item-simple" + "pull_request_with_id": { + "summary": "Response for adding a pull request using its unique ID", + "value": { + "$ref": "#/components/examples/projects-v2-item-simple" + } + }, + "issue_with_nwo": { + "summary": "Response for adding an issue using repository owner, name, and issue number", + "value": { + "$ref": "#/components/examples/projects-v2-item-simple" + } + }, + "pull_request_with_nwo": { + "summary": "Response for adding a pull request using repository owner, name, and PR number", + "value": { + "$ref": "#/components/examples/projects-v2-item-simple" + } } } } @@ -155105,7 +155117,14 @@ ] }, "user": { - "$ref": "#/components/schemas/simple-user" + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] }, "body": { "description": "The text of the comment.", diff --git a/descriptions-next/ghec/ghec.2022-11-28.yaml b/descriptions-next/ghec/ghec.2022-11-28.yaml index 0a41c56b7..2f40b31b8 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.yaml +++ b/descriptions-next/ghec/ghec.2022-11-28.yaml @@ -5583,6 +5583,8 @@ paths: - not_set code_scanning_default_setup_options: "$ref": "#/components/schemas/code-scanning-default-setup-options" + code_scanning_options: + "$ref": "#/components/schemas/code-scanning-options" code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -19036,6 +19038,8 @@ paths: - not_set code_scanning_default_setup_options: "$ref": "#/components/schemas/code-scanning-default-setup-options" + code_scanning_options: + "$ref": "#/components/schemas/code-scanning-options" code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -26570,70 +26574,62 @@ paths: requestBody: required: true description: Details of the item to add to the project. You can specify either - the database ID or the repository owner, name, and issue/PR number. + the unique ID or the repository owner, name, and issue/PR number. content: application/json: schema: + type: object + additionalProperties: false + properties: + type: + type: string + enum: + - Issue + - PullRequest + description: The type of item to add to the project. Must be either + Issue or PullRequest. + id: + type: integer + description: The unique identifier of the issue or pull request + to add to the project. + owner: + type: string + description: The repository owner login. + repo: + type: string + description: The repository name. + number: + type: integer + description: The issue or pull request number. + required: + - type oneOf: - - type: object - properties: - type: - type: string - enum: - - Issue - - PullRequest - description: The type of item to add to the project. Must be either - Issue or PullRequest. - id: - type: integer - description: The unique ID of the issue or pull request to add - to the project. - required: - - type + - required: - id - - type: object - properties: - type: - type: string - enum: - - Issue - - PullRequest - description: The type of item to add to the project. Must be either - Issue or PullRequest. - owner: - type: string - description: The repository owner login. - repo: - type: string - description: The repository name. - number: - type: integer - description: The issue or pull request number. - required: - - type + - required: - owner - repo - number examples: - issue-with-id: - summary: Add issue by database ID + issue_with_id: + summary: Add an issue using its unique ID value: type: Issue id: 3 - pull_request-with-id: - summary: Add pull request by database ID + pull_request_with_id: + summary: Add a pull request using its unique ID value: type: PullRequest id: 3 - issue-with-nwo: - summary: Add issue by repository and number + issue_with_nwo: + summary: Add an issue using repository owner, name, and issue number value: type: Issue owner: octocat repo: hello-world number: 42 - pull_request-with-nwo: - summary: Add pull request by repository and number + pull_request_with_nwo: + summary: Add a pull request using repository owner, name, and PR number value: type: PullRequest owner: octocat @@ -26647,10 +26643,24 @@ paths: schema: "$ref": "#/components/schemas/projects-v2-item-simple" examples: - issue: - "$ref": "#/components/examples/projects-v2-item-simple" - pull_request: - "$ref": "#/components/examples/projects-v2-item-simple" + issue_with_id: + summary: Response for adding an issue using its unique ID + value: + "$ref": "#/components/examples/projects-v2-item-simple" + pull_request_with_id: + summary: Response for adding a pull request using its unique ID + value: + "$ref": "#/components/examples/projects-v2-item-simple" + issue_with_nwo: + summary: Response for adding an issue using repository owner, name, + and issue number + value: + "$ref": "#/components/examples/projects-v2-item-simple" + pull_request_with_nwo: + summary: Response for adding a pull request using repository owner, + name, and PR number + value: + "$ref": "#/components/examples/projects-v2-item-simple" '304': "$ref": "#/components/responses/not_modified" '403': @@ -33892,15 +33902,8 @@ paths: - "$ref": "#/components/parameters/repo" - "$ref": "#/components/parameters/workflow-id" responses: - '200': + '204': description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/workflow-dispatch-response" - examples: - default: - "$ref": "#/components/examples/workflow-dispatch-response" requestBody: required: true content: @@ -65076,70 +65079,62 @@ paths: requestBody: required: true description: Details of the item to add to the project. You can specify either - the database ID or the repository owner, name, and issue/PR number. + the unique ID or the repository owner, name, and issue/PR number. content: application/json: schema: + type: object + additionalProperties: false + properties: + type: + type: string + enum: + - Issue + - PullRequest + description: The type of item to add to the project. Must be either + Issue or PullRequest. + id: + type: integer + description: The unique identifier of the issue or pull request + to add to the project. + owner: + type: string + description: The repository owner login. + repo: + type: string + description: The repository name. + number: + type: integer + description: The issue or pull request number. + required: + - type oneOf: - - type: object - properties: - type: - type: string - enum: - - Issue - - PullRequest - description: The type of item to add to the project. Must be either - Issue or PullRequest. - id: - type: integer - description: The unique ID of the issue or pull request to add - to the project. - required: - - type + - required: - id - - type: object - properties: - type: - type: string - enum: - - Issue - - PullRequest - description: The type of item to add to the project. Must be either - Issue or PullRequest. - owner: - type: string - description: The repository owner login. - repo: - type: string - description: The repository name. - number: - type: integer - description: The issue or pull request number. - required: - - type + - required: - owner - repo - number examples: - issue-with-id: - summary: Add issue by database ID + issue_with_id: + summary: Add an issue using its unique ID value: type: Issue id: 3 - pull_request-with-id: - summary: Add pull request by database ID + pull_request_with_id: + summary: Add a pull request using its unique ID value: type: PullRequest id: 3 - issue-with-nwo: - summary: Add issue by repository and number + issue_with_nwo: + summary: Add an issue using repository owner, name, and issue number value: type: Issue owner: octocat repo: hello-world number: 42 - pull_request-with-nwo: - summary: Add pull request by repository and number + pull_request_with_nwo: + summary: Add a pull request using repository owner, name, and PR number value: type: PullRequest owner: octocat @@ -65153,10 +65148,24 @@ paths: schema: "$ref": "#/components/schemas/projects-v2-item-simple" examples: - issue: - "$ref": "#/components/examples/projects-v2-item-simple" - pull_request: - "$ref": "#/components/examples/projects-v2-item-simple" + issue_with_id: + summary: Response for adding an issue using its unique ID + value: + "$ref": "#/components/examples/projects-v2-item-simple" + pull_request_with_id: + summary: Response for adding a pull request using its unique ID + value: + "$ref": "#/components/examples/projects-v2-item-simple" + issue_with_nwo: + summary: Response for adding an issue using repository owner, name, + and issue number + value: + "$ref": "#/components/examples/projects-v2-item-simple" + pull_request_with_nwo: + summary: Response for adding a pull request using repository owner, + name, and PR number + value: + "$ref": "#/components/examples/projects-v2-item-simple" '304': "$ref": "#/components/responses/not_modified" '403': @@ -112303,7 +112312,9 @@ components: examples: - 8 user: - "$ref": "#/components/schemas/simple-user" + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" body: description: The text of the comment. type: string diff --git a/descriptions-next/ghec/ghec.json b/descriptions-next/ghec/ghec.json index 95c4fca37..7df5dec6a 100644 --- a/descriptions-next/ghec/ghec.json +++ b/descriptions-next/ghec/ghec.json @@ -7948,6 +7948,9 @@ "code_scanning_default_setup_options": { "$ref": "#/components/schemas/code-scanning-default-setup-options" }, + "code_scanning_options": { + "$ref": "#/components/schemas/code-scanning-options" + }, "code_scanning_delegated_alert_dismissal": { "type": "string", "description": "The enablement status of code scanning delegated alert dismissal", @@ -26451,6 +26454,9 @@ "code_scanning_default_setup_options": { "$ref": "#/components/schemas/code-scanning-default-setup-options" }, + "code_scanning_options": { + "$ref": "#/components/schemas/code-scanning-options" + }, "code_scanning_delegated_alert_dismissal": { "type": "string", "description": "The enablement status of code scanning delegated alert dismissal", @@ -36833,58 +36839,49 @@ ], "requestBody": { "required": true, - "description": "Details of the item to add to the project. You can specify either the database ID or the repository owner, name, and issue/PR number.", + "description": "Details of the item to add to the project. You can specify either the unique ID or the repository owner, name, and issue/PR number.", "content": { "application/json": { "schema": { + "type": "object", + "additionalProperties": false, + "properties": { + "type": { + "type": "string", + "enum": [ + "Issue", + "PullRequest" + ], + "description": "The type of item to add to the project. Must be either Issue or PullRequest." + }, + "id": { + "type": "integer", + "description": "The unique identifier of the issue or pull request to add to the project." + }, + "owner": { + "type": "string", + "description": "The repository owner login." + }, + "repo": { + "type": "string", + "description": "The repository name." + }, + "number": { + "type": "integer", + "description": "The issue or pull request number." + } + }, + "required": [ + "type" + ], "oneOf": [ { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "Issue", - "PullRequest" - ], - "description": "The type of item to add to the project. Must be either Issue or PullRequest." - }, - "id": { - "type": "integer", - "description": "The unique ID of the issue or pull request to add to the project." - } - }, "required": [ - "type", "id" ] }, { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "Issue", - "PullRequest" - ], - "description": "The type of item to add to the project. Must be either Issue or PullRequest." - }, - "owner": { - "type": "string", - "description": "The repository owner login." - }, - "repo": { - "type": "string", - "description": "The repository name." - }, - "number": { - "type": "integer", - "description": "The issue or pull request number." - } - }, "required": [ - "type", "owner", "repo", "number" @@ -36893,22 +36890,22 @@ ] }, "examples": { - "issue-with-id": { - "summary": "Add issue by database ID", + "issue_with_id": { + "summary": "Add an issue using its unique ID", "value": { "type": "Issue", "id": 3 } }, - "pull_request-with-id": { - "summary": "Add pull request by database ID", + "pull_request_with_id": { + "summary": "Add a pull request using its unique ID", "value": { "type": "PullRequest", "id": 3 } }, - "issue-with-nwo": { - "summary": "Add issue by repository and number", + "issue_with_nwo": { + "summary": "Add an issue using repository owner, name, and issue number", "value": { "type": "Issue", "owner": "octocat", @@ -36916,8 +36913,8 @@ "number": 42 } }, - "pull_request-with-nwo": { - "summary": "Add pull request by repository and number", + "pull_request_with_nwo": { + "summary": "Add a pull request using repository owner, name, and PR number", "value": { "type": "PullRequest", "owner": "octocat", @@ -36938,11 +36935,29 @@ "$ref": "#/components/schemas/projects-v2-item-simple" }, "examples": { - "issue": { - "$ref": "#/components/examples/projects-v2-item-simple" + "issue_with_id": { + "summary": "Response for adding an issue using its unique ID", + "value": { + "$ref": "#/components/examples/projects-v2-item-simple" + } }, - "pull_request": { - "$ref": "#/components/examples/projects-v2-item-simple" + "pull_request_with_id": { + "summary": "Response for adding a pull request using its unique ID", + "value": { + "$ref": "#/components/examples/projects-v2-item-simple" + } + }, + "issue_with_nwo": { + "summary": "Response for adding an issue using repository owner, name, and issue number", + "value": { + "$ref": "#/components/examples/projects-v2-item-simple" + } + }, + "pull_request_with_nwo": { + "summary": "Response for adding a pull request using repository owner, name, and PR number", + "value": { + "$ref": "#/components/examples/projects-v2-item-simple" + } } } } @@ -46958,20 +46973,8 @@ } ], "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/workflow-dispatch-response" - }, - "examples": { - "default": { - "$ref": "#/components/examples/workflow-dispatch-response" - } - } - } - } + "204": { + "description": "Response" } }, "requestBody": { @@ -90148,58 +90151,49 @@ ], "requestBody": { "required": true, - "description": "Details of the item to add to the project. You can specify either the database ID or the repository owner, name, and issue/PR number.", + "description": "Details of the item to add to the project. You can specify either the unique ID or the repository owner, name, and issue/PR number.", "content": { "application/json": { "schema": { + "type": "object", + "additionalProperties": false, + "properties": { + "type": { + "type": "string", + "enum": [ + "Issue", + "PullRequest" + ], + "description": "The type of item to add to the project. Must be either Issue or PullRequest." + }, + "id": { + "type": "integer", + "description": "The unique identifier of the issue or pull request to add to the project." + }, + "owner": { + "type": "string", + "description": "The repository owner login." + }, + "repo": { + "type": "string", + "description": "The repository name." + }, + "number": { + "type": "integer", + "description": "The issue or pull request number." + } + }, + "required": [ + "type" + ], "oneOf": [ { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "Issue", - "PullRequest" - ], - "description": "The type of item to add to the project. Must be either Issue or PullRequest." - }, - "id": { - "type": "integer", - "description": "The unique ID of the issue or pull request to add to the project." - } - }, "required": [ - "type", "id" ] }, { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "Issue", - "PullRequest" - ], - "description": "The type of item to add to the project. Must be either Issue or PullRequest." - }, - "owner": { - "type": "string", - "description": "The repository owner login." - }, - "repo": { - "type": "string", - "description": "The repository name." - }, - "number": { - "type": "integer", - "description": "The issue or pull request number." - } - }, "required": [ - "type", "owner", "repo", "number" @@ -90208,22 +90202,22 @@ ] }, "examples": { - "issue-with-id": { - "summary": "Add issue by database ID", + "issue_with_id": { + "summary": "Add an issue using its unique ID", "value": { "type": "Issue", "id": 3 } }, - "pull_request-with-id": { - "summary": "Add pull request by database ID", + "pull_request_with_id": { + "summary": "Add a pull request using its unique ID", "value": { "type": "PullRequest", "id": 3 } }, - "issue-with-nwo": { - "summary": "Add issue by repository and number", + "issue_with_nwo": { + "summary": "Add an issue using repository owner, name, and issue number", "value": { "type": "Issue", "owner": "octocat", @@ -90231,8 +90225,8 @@ "number": 42 } }, - "pull_request-with-nwo": { - "summary": "Add pull request by repository and number", + "pull_request_with_nwo": { + "summary": "Add a pull request using repository owner, name, and PR number", "value": { "type": "PullRequest", "owner": "octocat", @@ -90253,11 +90247,29 @@ "$ref": "#/components/schemas/projects-v2-item-simple" }, "examples": { - "issue": { - "$ref": "#/components/examples/projects-v2-item-simple" + "issue_with_id": { + "summary": "Response for adding an issue using its unique ID", + "value": { + "$ref": "#/components/examples/projects-v2-item-simple" + } }, - "pull_request": { - "$ref": "#/components/examples/projects-v2-item-simple" + "pull_request_with_id": { + "summary": "Response for adding a pull request using its unique ID", + "value": { + "$ref": "#/components/examples/projects-v2-item-simple" + } + }, + "issue_with_nwo": { + "summary": "Response for adding an issue using repository owner, name, and issue number", + "value": { + "$ref": "#/components/examples/projects-v2-item-simple" + } + }, + "pull_request_with_nwo": { + "summary": "Response for adding a pull request using repository owner, name, and PR number", + "value": { + "$ref": "#/components/examples/projects-v2-item-simple" + } } } } @@ -155105,7 +155117,14 @@ ] }, "user": { - "$ref": "#/components/schemas/simple-user" + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] }, "body": { "description": "The text of the comment.", diff --git a/descriptions-next/ghec/ghec.yaml b/descriptions-next/ghec/ghec.yaml index 0a41c56b7..2f40b31b8 100644 --- a/descriptions-next/ghec/ghec.yaml +++ b/descriptions-next/ghec/ghec.yaml @@ -5583,6 +5583,8 @@ paths: - not_set code_scanning_default_setup_options: "$ref": "#/components/schemas/code-scanning-default-setup-options" + code_scanning_options: + "$ref": "#/components/schemas/code-scanning-options" code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -19036,6 +19038,8 @@ paths: - not_set code_scanning_default_setup_options: "$ref": "#/components/schemas/code-scanning-default-setup-options" + code_scanning_options: + "$ref": "#/components/schemas/code-scanning-options" code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -26570,70 +26574,62 @@ paths: requestBody: required: true description: Details of the item to add to the project. You can specify either - the database ID or the repository owner, name, and issue/PR number. + the unique ID or the repository owner, name, and issue/PR number. content: application/json: schema: + type: object + additionalProperties: false + properties: + type: + type: string + enum: + - Issue + - PullRequest + description: The type of item to add to the project. Must be either + Issue or PullRequest. + id: + type: integer + description: The unique identifier of the issue or pull request + to add to the project. + owner: + type: string + description: The repository owner login. + repo: + type: string + description: The repository name. + number: + type: integer + description: The issue or pull request number. + required: + - type oneOf: - - type: object - properties: - type: - type: string - enum: - - Issue - - PullRequest - description: The type of item to add to the project. Must be either - Issue or PullRequest. - id: - type: integer - description: The unique ID of the issue or pull request to add - to the project. - required: - - type + - required: - id - - type: object - properties: - type: - type: string - enum: - - Issue - - PullRequest - description: The type of item to add to the project. Must be either - Issue or PullRequest. - owner: - type: string - description: The repository owner login. - repo: - type: string - description: The repository name. - number: - type: integer - description: The issue or pull request number. - required: - - type + - required: - owner - repo - number examples: - issue-with-id: - summary: Add issue by database ID + issue_with_id: + summary: Add an issue using its unique ID value: type: Issue id: 3 - pull_request-with-id: - summary: Add pull request by database ID + pull_request_with_id: + summary: Add a pull request using its unique ID value: type: PullRequest id: 3 - issue-with-nwo: - summary: Add issue by repository and number + issue_with_nwo: + summary: Add an issue using repository owner, name, and issue number value: type: Issue owner: octocat repo: hello-world number: 42 - pull_request-with-nwo: - summary: Add pull request by repository and number + pull_request_with_nwo: + summary: Add a pull request using repository owner, name, and PR number value: type: PullRequest owner: octocat @@ -26647,10 +26643,24 @@ paths: schema: "$ref": "#/components/schemas/projects-v2-item-simple" examples: - issue: - "$ref": "#/components/examples/projects-v2-item-simple" - pull_request: - "$ref": "#/components/examples/projects-v2-item-simple" + issue_with_id: + summary: Response for adding an issue using its unique ID + value: + "$ref": "#/components/examples/projects-v2-item-simple" + pull_request_with_id: + summary: Response for adding a pull request using its unique ID + value: + "$ref": "#/components/examples/projects-v2-item-simple" + issue_with_nwo: + summary: Response for adding an issue using repository owner, name, + and issue number + value: + "$ref": "#/components/examples/projects-v2-item-simple" + pull_request_with_nwo: + summary: Response for adding a pull request using repository owner, + name, and PR number + value: + "$ref": "#/components/examples/projects-v2-item-simple" '304': "$ref": "#/components/responses/not_modified" '403': @@ -33892,15 +33902,8 @@ paths: - "$ref": "#/components/parameters/repo" - "$ref": "#/components/parameters/workflow-id" responses: - '200': + '204': description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/workflow-dispatch-response" - examples: - default: - "$ref": "#/components/examples/workflow-dispatch-response" requestBody: required: true content: @@ -65076,70 +65079,62 @@ paths: requestBody: required: true description: Details of the item to add to the project. You can specify either - the database ID or the repository owner, name, and issue/PR number. + the unique ID or the repository owner, name, and issue/PR number. content: application/json: schema: + type: object + additionalProperties: false + properties: + type: + type: string + enum: + - Issue + - PullRequest + description: The type of item to add to the project. Must be either + Issue or PullRequest. + id: + type: integer + description: The unique identifier of the issue or pull request + to add to the project. + owner: + type: string + description: The repository owner login. + repo: + type: string + description: The repository name. + number: + type: integer + description: The issue or pull request number. + required: + - type oneOf: - - type: object - properties: - type: - type: string - enum: - - Issue - - PullRequest - description: The type of item to add to the project. Must be either - Issue or PullRequest. - id: - type: integer - description: The unique ID of the issue or pull request to add - to the project. - required: - - type + - required: - id - - type: object - properties: - type: - type: string - enum: - - Issue - - PullRequest - description: The type of item to add to the project. Must be either - Issue or PullRequest. - owner: - type: string - description: The repository owner login. - repo: - type: string - description: The repository name. - number: - type: integer - description: The issue or pull request number. - required: - - type + - required: - owner - repo - number examples: - issue-with-id: - summary: Add issue by database ID + issue_with_id: + summary: Add an issue using its unique ID value: type: Issue id: 3 - pull_request-with-id: - summary: Add pull request by database ID + pull_request_with_id: + summary: Add a pull request using its unique ID value: type: PullRequest id: 3 - issue-with-nwo: - summary: Add issue by repository and number + issue_with_nwo: + summary: Add an issue using repository owner, name, and issue number value: type: Issue owner: octocat repo: hello-world number: 42 - pull_request-with-nwo: - summary: Add pull request by repository and number + pull_request_with_nwo: + summary: Add a pull request using repository owner, name, and PR number value: type: PullRequest owner: octocat @@ -65153,10 +65148,24 @@ paths: schema: "$ref": "#/components/schemas/projects-v2-item-simple" examples: - issue: - "$ref": "#/components/examples/projects-v2-item-simple" - pull_request: - "$ref": "#/components/examples/projects-v2-item-simple" + issue_with_id: + summary: Response for adding an issue using its unique ID + {"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}