diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.json b/descriptions/api.github.com/api.github.com.2022-11-28.json index d6637ff38..77fd7e66c 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions/api.github.com/api.github.com.2022-11-28.json @@ -2901,6 +2901,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", @@ -16378,6 +16381,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", @@ -25232,58 +25238,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" @@ -25292,22 +25289,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", @@ -25315,8 +25312,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", @@ -25337,11 +25334,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" + } } } } @@ -34869,20 +34884,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": { @@ -74530,58 +74533,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" @@ -74590,22 +74584,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", @@ -74613,8 +74607,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", @@ -74635,11 +74629,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" + } } } } @@ -130769,7 +130781,7 @@ "type": "integer" }, "user": { - "$ref": "#/components/schemas/simple-user" + "$ref": "#/components/schemas/nullable-simple-user" }, "body": { "description": "The text of the comment.", diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.yaml b/descriptions/api.github.com/api.github.com.2022-11-28.yaml index 0a43113bf..41f0115d6 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions/api.github.com/api.github.com.2022-11-28.yaml @@ -2077,6 +2077,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 @@ -11891,6 +11893,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 @@ -18290,70 +18294,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 @@ -18367,10 +18363,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': @@ -25255,15 +25265,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: @@ -54016,70 +54019,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 @@ -54093,10 +54088,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': @@ -96367,7 +96376,7 @@ components: example: 8 type: integer user: - "$ref": "#/components/schemas/simple-user" + "$ref": "#/components/schemas/nullable-simple-user" body: description: The text of the comment. example: We should probably include a check for null values here. diff --git a/descriptions/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index d6637ff38..77fd7e66c 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/api.github.com/api.github.com.json @@ -2901,6 +2901,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", @@ -16378,6 +16381,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", @@ -25232,58 +25238,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" @@ -25292,22 +25289,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", @@ -25315,8 +25312,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", @@ -25337,11 +25334,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" + } } } } @@ -34869,20 +34884,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": { @@ -74530,58 +74533,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" @@ -74590,22 +74584,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", @@ -74613,8 +74607,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", @@ -74635,11 +74629,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" + } } } } @@ -130769,7 +130781,7 @@ "type": "integer" }, "user": { - "$ref": "#/components/schemas/simple-user" + "$ref": "#/components/schemas/nullable-simple-user" }, "body": { "description": "The text of the comment.", diff --git a/descriptions/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index 0a43113bf..41f0115d6 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/api.github.com/api.github.com.yaml @@ -2077,6 +2077,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 @@ -11891,6 +11893,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 @@ -18290,70 +18294,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 @@ -18367,10 +18363,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': @@ -25255,15 +25265,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: @@ -54016,70 +54019,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 @@ -54093,10 +54088,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': @@ -96367,7 +96376,7 @@ components: example: 8 type: integer user: - "$ref": "#/components/schemas/simple-user" + "$ref": "#/components/schemas/nullable-simple-user" body: description: The text of the comment. example: We should probably include a check for null values here. diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index b59a9a31e..e29cfee62 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -19370,6 +19370,18 @@ } } }, + "code_scanning_options": { + "type": "object", + "description": "Security Configuration feature options for code scanning", + "nullable": true, + "properties": { + "allow_advanced": { + "nullable": true, + "type": "boolean", + "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", @@ -95341,6 +95353,18 @@ } } }, + "code_scanning_options": { + "type": "object", + "description": "Security Configuration feature options for code scanning", + "nullable": true, + "properties": { + "allow_advanced": { + "nullable": true, + "type": "boolean", + "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", @@ -159730,58 +159754,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" @@ -159790,22 +159805,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", @@ -159813,8 +159828,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", @@ -165612,18 +165627,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=", @@ -165642,48 +165744,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=", @@ -165702,34 +165870,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" + } } } } @@ -232527,48 +232674,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": { @@ -423069,7 +423176,8 @@ "subscriptions_url", "type", "url" - ] + ], + "nullable": true }, "body": { "description": "The text of the comment.", @@ -442815,7 +442923,8 @@ "subscriptions_url", "type", "url" - ] + ], + "nullable": true }, "body": { "description": "The text of the comment.", @@ -443350,7 +443459,8 @@ "subscriptions_url", "type", "url" - ] + ], + "nullable": true }, "body": { "description": "The text of the comment.", @@ -443924,7 +444034,8 @@ "subscriptions_url", "type", "url" - ] + ], + "nullable": true }, "body": { "description": "The text of the comment.", @@ -456492,7 +456603,8 @@ "subscriptions_url", "type", "url" - ] + ], + "nullable": true }, "body": { "description": "The text of the comment.", @@ -457113,7 +457225,8 @@ "subscriptions_url", "type", "url" - ] + ], + "nullable": true }, "body": { "description": "The text of the comment.", @@ -457776,7 +457889,8 @@ "subscriptions_url", "type", "url" - ] + ], + "nullable": true }, "body": { "description": "The text of the comment.", @@ -632008,58 +632122,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" @@ -632068,22 +632173,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", @@ -632091,8 +632196,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", @@ -637890,18 +637995,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=", @@ -637920,48 +638112,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=", @@ -637980,34 +638238,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/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index 2a74a3f1c..925216c29 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -456,7 +456,7 @@ paths: required: false schema: type: string - - &52 + - &53 name: direction description: The direction to sort the results by. in: query @@ -677,7 +677,7 @@ paths: required: - vector_string - score - cvss_severities: &54 + cvss_severities: &55 type: object nullable: true properties: @@ -717,7 +717,7 @@ paths: required: - vector_string - score - epss: &55 + epss: &56 type: object nullable: true readOnly: true @@ -988,7 +988,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &121 + schema: &122 title: Validation Error Simple description: Validation Error Simple type: object @@ -1139,7 +1139,7 @@ paths: GitHub. type: object nullable: true - properties: &71 + properties: &72 id: description: Unique identifier of the GitHub app example: 37 @@ -1272,7 +1272,7 @@ paths: about itself. example: 5 type: integer - required: &72 + required: &73 - id - node_id - owner @@ -1732,7 +1732,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &120 + schema: &121 title: Validation Error description: Validation Error type: object @@ -2116,7 +2116,7 @@ paths: parameters: - *17 - *19 - - &81 + - &82 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) @@ -2698,7 +2698,7 @@ paths: suspended_at: suspended_by: headers: - Link: &58 + Link: &59 example: ; rel="next", ; rel="last" schema: @@ -2887,7 +2887,7 @@ paths: - selected repositories: type: array - items: &70 + items: &71 title: Repository description: A repository on GitHub. type: object @@ -2911,7 +2911,7 @@ paths: title: License Simple description: License Simple type: object - properties: &77 + properties: &78 key: type: string example: mit @@ -2933,7 +2933,7 @@ paths: html_url: type: string format: uri - required: &78 + required: &79 - key - name - url @@ -5116,7 +5116,7 @@ paths: responses: '202': *39 '422': *7 - '500': &111 + '500': &112 description: Internal Error content: application/json: @@ -7601,7 +7601,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &179 + code_scanning_options: &51 type: object description: Security Configuration feature options for code scanning nullable: true @@ -8019,6 +8019,7 @@ paths: - disabled - not_set code_scanning_default_setup_options: *50 + code_scanning_options: *51 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -8112,7 +8113,7 @@ paths: '304': *37 '403': *29 '404': *6 - '409': &51 + '409': &52 description: Conflict content: application/json: @@ -8147,7 +8148,7 @@ paths: '400': *14 '403': *29 '404': *6 - '409': *51 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -8199,7 +8200,7 @@ paths: '202': *39 '403': *29 '404': *6 - '409': *51 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -8372,11 +8373,11 @@ paths: - failed - updating - removed_by_enterprise - repository: &57 + repository: &58 title: Simple Repository description: A GitHub repository. type: object - properties: &108 + properties: &109 id: type: integer format: int64 @@ -8603,7 +8604,7 @@ paths: format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks description: The API URL to list the hooks on the repository. - required: &109 + required: &110 - archive_url - assignees_url - blobs_url @@ -8834,7 +8835,7 @@ paths: - updated - epss_percentage default: created - - *52 + - *53 - *45 - *46 - *17 @@ -8849,7 +8850,7 @@ paths: type: object description: A Dependabot alert. properties: - number: &169 + number: &170 type: integer description: The security alert number. readOnly: true @@ -8867,7 +8868,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &53 + package: &54 type: object description: Details for the vulnerable package. readOnly: true @@ -8941,13 +8942,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &56 + items: &57 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *53 + package: *54 severity: type: string description: The severity of the vulnerability. @@ -9013,8 +9014,8 @@ paths: - score - vector_string additionalProperties: false - cvss_severities: *54 - epss: *55 + cvss_severities: *55 + epss: *56 cwes: type: array description: Details for the advisory pertaining to Common @@ -9113,30 +9114,30 @@ paths: - updated_at - withdrawn_at additionalProperties: false - security_vulnerability: *56 - url: &172 + security_vulnerability: *57 + url: &173 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &173 + html_url: &174 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - created_at: &170 + created_at: &171 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: &171 + updated_at: &172 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: &175 + dismissed_at: &176 type: string description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -9166,7 +9167,7 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: &174 + fixed_at: &175 type: string description: 'The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -9218,7 +9219,7 @@ paths: format: uri description: The API URL to get more information about this dismissal request. - repository: *57 + repository: *58 required: - number - state @@ -9586,7 +9587,7 @@ paths: application/json: schema: type: array - items: &59 + items: &60 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -9644,7 +9645,7 @@ paths: - updated_at - group_id examples: - default: &60 + default: &61 value: - id: 1 name: Justice League @@ -9657,7 +9658,7 @@ paths: created_at: '2019-01-26T19:01:12Z' updated_at: '2019-01-26T19:14:43Z' headers: - Link: *58 + Link: *59 '403': *29 x-github: githubCloudOnly: false @@ -9730,9 +9731,9 @@ paths: description: Response content: application/json: - schema: *59 + schema: *60 examples: - default: *60 + default: *61 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -9750,7 +9751,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *40 - - &61 + - &62 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -9769,7 +9770,7 @@ paths: type: array items: *4 examples: - default: &62 + default: &63 value: - login: octocat id: 1 @@ -9790,7 +9791,7 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -9808,7 +9809,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *40 - - *61 + - *62 requestBody: required: true content: @@ -9839,7 +9840,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *63 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -9857,7 +9858,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *40 - - *61 + - *62 requestBody: required: true content: @@ -9888,7 +9889,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *63 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -9906,8 +9907,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *40 - - *61 - - &63 + - *62 + - &64 name: username description: The handle for the GitHub user account. in: path @@ -9921,7 +9922,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &64 + exampleKey1: &65 value: login: octocat id: 1 @@ -9957,8 +9958,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *40 - - *61 - - *63 + - *62 + - *64 responses: '201': description: Successfully added team member @@ -9966,7 +9967,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *64 + exampleKey1: *65 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -9984,8 +9985,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *40 - - *61 - - *63 + - *62 + - *64 responses: '204': description: Response @@ -10007,7 +10008,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments parameters: - *40 - - *61 + - *62 - *17 - *19 responses: @@ -10017,7 +10018,7 @@ paths: application/json: schema: type: array - items: &65 + items: &66 title: Organization Simple description: A GitHub organization. type: object @@ -10076,7 +10077,7 @@ paths: - avatar_url - description examples: - default: &66 + default: &67 value: login: github id: 1 @@ -10107,7 +10108,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments parameters: - *40 - - *61 + - *62 requestBody: required: true content: @@ -10135,9 +10136,9 @@ paths: application/json: schema: type: array - items: *65 + items: *66 examples: - default: &105 + default: &106 value: - login: github id: 1 @@ -10168,7 +10169,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments parameters: - *40 - - *61 + - *62 requestBody: required: true content: @@ -10209,8 +10210,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment parameters: - *40 - - *61 - - &67 + - *62 + - &68 name: org description: The organization name. The name is not case sensitive. in: path @@ -10222,9 +10223,9 @@ paths: description: The team is assigned to the organization content: application/json: - schema: *65 + schema: *66 examples: - default: *66 + default: *67 '404': description: The team is not assigned to the organization x-github: @@ -10243,16 +10244,16 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment parameters: - *40 - - *61 - - *67 + - *62 + - *68 responses: '201': description: Successfully assigned the enterprise team to the organization. content: application/json: - schema: *65 + schema: *66 examples: - default: *66 + default: *67 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10269,8 +10270,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment parameters: - *40 - - *61 - - *67 + - *62 + - *68 responses: '204': description: Successfully unassigned the enterprise team from the organization. @@ -10294,7 +10295,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *40 - - &68 + - &69 name: team_slug description: The slug of the team name. in: path @@ -10306,11 +10307,11 @@ paths: description: Response content: application/json: - schema: *59 + schema: *60 examples: - default: *60 + default: *61 headers: - Link: *58 + Link: *59 '403': *29 x-github: githubCloudOnly: false @@ -10328,7 +10329,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *40 - - *68 + - *69 requestBody: required: true content: @@ -10383,11 +10384,11 @@ paths: description: Response content: application/json: - schema: *59 + schema: *60 examples: - default: *60 + default: *61 headers: - Link: *58 + Link: *59 '403': *29 x-github: githubCloudOnly: false @@ -10408,7 +10409,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *40 - - *68 + - *69 responses: '204': description: Response @@ -10446,7 +10447,7 @@ paths: application/json: schema: type: array - items: &100 + items: &101 title: Event description: Event type: object @@ -10456,7 +10457,7 @@ paths: type: type: string nullable: true - actor: &69 + actor: &70 title: Actor description: Actor type: object @@ -10496,7 +10497,7 @@ paths: - id - name - url - org: *69 + org: *70 payload: oneOf: - title: CreateEvent @@ -10829,7 +10830,7 @@ paths: - id labels: type: array - items: &73 + items: &74 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -10904,7 +10905,7 @@ paths: properties: action: type: string - issue: &74 + issue: &75 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -11222,7 +11223,7 @@ paths: - node_id - name - description - repository: *70 + repository: *71 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -11233,9 +11234,9 @@ paths: actors within GitHub. type: object nullable: true - properties: *71 - required: *72 - author_association: &75 + properties: *72 + required: *73 + author_association: &76 title: author_association type: string example: OWNER @@ -11250,7 +11251,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &76 + reactions: &77 title: Reaction Rollup type: object properties: @@ -11411,10 +11412,10 @@ paths: assignees: type: array items: *4 - label: *73 + label: *74 labels: type: array - items: *73 + items: *74 required: - action - issue @@ -11423,7 +11424,7 @@ paths: properties: action: type: string - issue: *74 + issue: *75 comment: &528 title: Issue Comment description: Comments provide a way for people to collaborate @@ -11472,7 +11473,7 @@ paths: issue_url: type: string format: uri - author_association: *75 + author_association: *76 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -11483,9 +11484,9 @@ paths: actors within GitHub. type: object nullable: true - properties: *71 - required: *72 - reactions: *76 + properties: *72 + required: *73 + reactions: *77 required: - id - node_id @@ -11658,8 +11659,8 @@ paths: title: License Simple description: License Simple type: object - properties: *77 - required: *78 + properties: *78 + required: *79 nullable: true allow_forking: type: boolean @@ -11748,7 +11749,7 @@ paths: type: string number: type: integer - pull_request: &79 + pull_request: &80 title: Pull Request Minimal type: object properties: @@ -11819,10 +11820,10 @@ paths: assignees: type: array items: *4 - label: *73 + label: *74 labels: type: array - items: *73 + items: *74 required: - action - number @@ -11832,7 +11833,7 @@ paths: properties: action: type: string - pull_request: *79 + pull_request: *80 comment: type: object properties: @@ -12083,7 +12084,7 @@ paths: - pull_request updated_at: type: string - pull_request: *79 + pull_request: *80 required: - action - review @@ -12132,7 +12133,7 @@ paths: updated_at: type: string format: date-time - reactions: *76 + reactions: *77 required: - action - comment @@ -12289,7 +12290,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *76 + reactions: *77 required: - assets_url - upload_url @@ -12381,7 +12382,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *37 '403': *29 - '503': &112 + '503': &113 description: Service unavailable content: application/json: @@ -12474,7 +12475,7 @@ paths: _links: type: object properties: - timeline: &80 + timeline: &81 title: Link With Type description: Hypermedia Link with Type type: object @@ -12486,17 +12487,17 @@ paths: required: - href - type - user: *80 - security_advisories: *80 - current_user: *80 - current_user_public: *80 - current_user_actor: *80 - current_user_organization: *80 + user: *81 + security_advisories: *81 + current_user: *81 + current_user_public: *81 + current_user_actor: *81 + current_user_organization: *81 current_user_organizations: type: array - items: *80 - repository_discussions: *80 - repository_discussions_category: *80 + items: *81 + repository_discussions: *81 + repository_discussions_category: *81 required: - timeline - user @@ -12558,7 +12559,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *81 + - *82 - *17 - *19 responses: @@ -12568,7 +12569,7 @@ paths: application/json: schema: type: array - items: &82 + items: &83 title: Base Gist description: Base Gist type: object @@ -12667,7 +12668,7 @@ paths: - created_at - updated_at examples: - default: &83 + default: &84 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -12712,7 +12713,7 @@ paths: site_admin: false truncated: false headers: - Link: *58 + Link: *59 '304': *37 '403': *29 x-github: @@ -12788,7 +12789,7 @@ paths: description: Response content: application/json: - schema: &84 + schema: &85 title: Gist Simple description: Gist Simple type: object @@ -13167,7 +13168,7 @@ paths: truncated: type: boolean examples: - default: &85 + default: &86 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -13271,7 +13272,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-public-gists parameters: - - *81 + - *82 - *17 - *19 responses: @@ -13281,11 +13282,11 @@ paths: application/json: schema: type: array - items: *82 + items: *83 examples: - default: *83 + default: *84 headers: - Link: *58 + Link: *59 '422': *15 '304': *37 '403': *29 @@ -13305,7 +13306,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-starred-gists parameters: - - *81 + - *82 - *17 - *19 responses: @@ -13315,11 +13316,11 @@ paths: application/json: schema: type: array - items: *82 + items: *83 examples: - default: *83 + default: *84 headers: - Link: *58 + Link: *59 '401': *25 '304': *37 '403': *29 @@ -13345,7 +13346,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist parameters: - - &86 + - &87 name: gist_id description: The unique identifier of the gist. in: path @@ -13357,10 +13358,10 @@ paths: description: Response content: application/json: - schema: *84 + schema: *85 examples: - default: *85 - '403': &89 + default: *86 + '403': &90 description: Forbidden Gist content: application/json: @@ -13408,7 +13409,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#update-a-gist parameters: - - *86 + - *87 requestBody: required: true content: @@ -13468,9 +13469,9 @@ paths: description: Response content: application/json: - schema: *84 + schema: *85 examples: - updateGist: *85 + updateGist: *86 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -13628,7 +13629,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#delete-a-gist parameters: - - *86 + - *87 responses: '204': description: Response @@ -13657,7 +13658,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#list-gist-comments parameters: - - *86 + - *87 - *17 - *19 responses: @@ -13667,7 +13668,7 @@ paths: application/json: schema: type: array - items: &87 + items: &88 title: Gist Comment description: A comment made to a gist. type: object @@ -13702,7 +13703,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *75 + author_association: *76 required: - url - id @@ -13742,7 +13743,7 @@ paths: updated_at: '2011-04-18T23:23:56Z' author_association: COLLABORATOR headers: - Link: *58 + Link: *59 '304': *37 '404': *6 '403': *29 @@ -13767,7 +13768,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#create-a-gist-comment parameters: - - *86 + - *87 requestBody: required: true content: @@ -13792,9 +13793,9 @@ paths: description: Response content: application/json: - schema: *87 + schema: *88 examples: - default: &88 + default: &89 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -13852,8 +13853,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#get-a-gist-comment parameters: - - *86 - - &90 + - *87 + - &91 name: comment_id description: The unique identifier of the comment. in: path @@ -13866,12 +13867,12 @@ paths: description: Response content: application/json: - schema: *87 + schema: *88 examples: - default: *88 + default: *89 '304': *37 '404': *6 - '403': *89 + '403': *90 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -13893,8 +13894,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#update-a-gist-comment parameters: - - *86 - - *90 + - *87 + - *91 requestBody: required: true content: @@ -13919,9 +13920,9 @@ paths: description: Response content: application/json: - schema: *87 + schema: *88 examples: - default: *88 + default: *89 '404': *6 x-github: githubCloudOnly: false @@ -13938,8 +13939,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#delete-a-gist-comment parameters: - - *86 - - *90 + - *87 + - *91 responses: '204': description: Response @@ -13962,7 +13963,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-commits parameters: - - *86 + - *87 - *17 - *19 responses: @@ -14063,7 +14064,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-forks parameters: - - *86 + - *87 - *17 - *19 responses: @@ -14073,7 +14074,7 @@ paths: application/json: schema: type: array - items: *84 + items: *85 examples: default: value: @@ -14119,7 +14120,7 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *59 '404': *6 '304': *37 '403': *29 @@ -14138,13 +14139,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#fork-a-gist parameters: - - *86 + - *87 responses: '201': description: Response content: application/json: - schema: *82 + schema: *83 examples: default: value: @@ -14215,7 +14216,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *86 + - *87 responses: '204': description: Response if gist is starred @@ -14245,7 +14246,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#star-a-gist parameters: - - *86 + - *87 responses: '204': description: Response @@ -14267,7 +14268,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#unstar-a-gist parameters: - - *86 + - *87 responses: '204': description: Response @@ -14296,7 +14297,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist-revision parameters: - - *86 + - *87 - name: sha in: path required: true @@ -14307,9 +14308,9 @@ paths: description: Response content: application/json: - schema: *84 + schema: *85 examples: - default: *85 + default: *86 '422': *15 '404': *6 '403': *29 @@ -14468,7 +14469,7 @@ paths: type: integer repositories: type: array - items: *70 + items: *71 repository_selection: type: string example: selected @@ -14591,7 +14592,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *58 + Link: *59 '403': *29 '304': *37 '401': *25 @@ -14693,8 +14694,8 @@ paths: - updated - comments default: created - - *52 - - *81 + - *53 + - *82 - name: collab in: query required: false @@ -14724,7 +14725,7 @@ paths: application/json: schema: type: array - items: *74 + items: *75 examples: default: &231 value: @@ -14970,7 +14971,7 @@ paths: watchers: 1 author_association: COLLABORATOR headers: - Link: *58 + Link: *59 '422': *15 '304': *37 '404': *6 @@ -15009,8 +15010,8 @@ paths: title: License Simple description: License Simple type: object - properties: *77 - required: *78 + properties: *78 + required: *79 examples: default: value: @@ -15295,7 +15296,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &91 + X-CommonMarker-Version: &92 example: 0.17.4 schema: type: string @@ -15350,7 +15351,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *91 + X-CommonMarker-Version: *92 content: text/html: schema: @@ -15379,7 +15380,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &94 + - &95 name: account_id description: account_id parameter in: path @@ -15391,7 +15392,7 @@ paths: description: Response content: application/json: - schema: &93 + schema: &94 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -15421,7 +15422,7 @@ paths: nullable: true id: type: integer - plan: &92 + plan: &93 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -15510,7 +15511,7 @@ paths: nullable: true updated_at: type: string - plan: *92 + plan: *93 required: - url - id @@ -15518,7 +15519,7 @@ paths: - login - marketplace_purchase examples: - default: &95 + default: &96 value: url: https://api.github.com/orgs/github type: Organization @@ -15603,9 +15604,9 @@ paths: application/json: schema: type: array - items: *92 + items: *93 examples: - default: &96 + default: &97 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -15623,7 +15624,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *58 + Link: *59 '404': *6 '401': *25 x-github: @@ -15645,14 +15646,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &97 + - &98 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &98 + - &99 name: sort description: The property to sort the results by. in: query @@ -15682,9 +15683,9 @@ paths: application/json: schema: type: array - items: *93 + items: *94 examples: - default: &99 + default: &100 value: - url: https://api.github.com/orgs/github type: Organization @@ -15735,7 +15736,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *58 + Link: *59 '404': *6 '422': *15 '401': *25 @@ -15758,15 +15759,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *94 + - *95 responses: '200': description: Response content: application/json: - schema: *93 + schema: *94 examples: - default: *95 + default: *96 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -15798,11 +15799,11 @@ paths: application/json: schema: type: array - items: *92 + items: *93 examples: - default: *96 + default: *97 headers: - Link: *58 + Link: *59 '401': *25 x-github: githubCloudOnly: false @@ -15823,8 +15824,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *97 - *98 + - *99 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -15844,11 +15845,11 @@ paths: application/json: schema: type: array - items: *93 + items: *94 examples: - default: *99 + default: *100 headers: - Link: *58 + Link: *59 '401': *25 x-github: githubCloudOnly: false @@ -16134,7 +16135,7 @@ paths: application/json: schema: type: array - items: *100 + items: *101 examples: default: value: @@ -16218,7 +16219,7 @@ paths: schema: type: boolean default: false - - *81 + - *82 - &563 name: before description: 'Only show notifications updated before the given time. This @@ -16244,14 +16245,14 @@ paths: application/json: schema: type: array - items: &101 + items: &102 title: Thread description: Thread type: object properties: id: type: string - repository: &151 + repository: &152 title: Minimal Repository description: Minimal Repository type: object @@ -16775,7 +16776,7 @@ paths: url: https://api.github.com/notifications/threads/1 subscription_url: https://api.github.com/notifications/threads/1/subscription headers: - Link: *58 + Link: *59 '304': *37 '403': *29 '401': *25 @@ -16859,7 +16860,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread parameters: - - &102 + - &103 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 @@ -16873,7 +16874,7 @@ paths: description: Response content: application/json: - schema: *101 + schema: *102 examples: default: value: @@ -16975,7 +16976,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-read parameters: - - *102 + - *103 responses: '205': description: Reset Content @@ -16997,7 +16998,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-done parameters: - - *102 + - *103 responses: '204': description: No content @@ -17020,13 +17021,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *102 + - *103 responses: '200': description: Response content: application/json: - schema: &103 + schema: &104 title: Thread Subscription description: Thread Subscription type: object @@ -17063,7 +17064,7 @@ paths: - url - subscribed examples: - default: &104 + default: &105 value: subscribed: true ignored: false @@ -17094,7 +17095,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#set-a-thread-subscription parameters: - - *102 + - *103 requestBody: required: false content: @@ -17115,9 +17116,9 @@ paths: description: Response content: application/json: - schema: *103 + schema: *104 examples: - default: *104 + default: *105 '304': *37 '403': *29 '401': *25 @@ -17140,7 +17141,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#delete-a-thread-subscription parameters: - - *102 + - *103 responses: '204': description: Response @@ -17235,9 +17236,9 @@ paths: application/json: schema: type: array - items: *65 + items: *66 examples: - default: *105 + default: *106 headers: Link: example: ; rel="next" @@ -17264,13 +17265,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-an-organization parameters: - - *67 + - *68 responses: '200': description: Response content: application/json: - schema: &106 + schema: &107 title: Actions cache retention limit for an organization description: GitHub Actions cache retention policy for an organization. type: object @@ -17303,12 +17304,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-an-organization parameters: - - *67 + - *68 requestBody: required: true content: application/json: - schema: *106 + schema: *107 examples: selected_actions: *42 responses: @@ -17337,13 +17338,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-an-organization parameters: - - *67 + - *68 responses: '200': description: Response content: application/json: - schema: &107 + schema: &108 title: Actions cache storage limit for an organization description: GitHub Actions cache storage policy for an organization. type: object @@ -17376,12 +17377,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-an-organization parameters: - - *67 + - *68 requestBody: required: true content: application/json: - schema: *107 + schema: *108 examples: selected_actions: *44 responses: @@ -17410,7 +17411,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: - - *67 + - *68 - name: page in: query description: The page number of results to fetch. @@ -17454,8 +17455,8 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: *108 - required: *109 + properties: *109 + required: *110 nullable: true additionalProperties: false examples: @@ -17561,7 +17562,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization parameters: - - *67 + - *68 requestBody: required: true content: @@ -17627,7 +17628,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot parameters: - - *67 + - *68 requestBody: required: true content: @@ -17679,7 +17680,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: - - *67 + - *68 responses: '200': description: Response @@ -17687,7 +17688,7 @@ paths: application/json: schema: type: array - items: &110 + items: &111 title: Custom Property Value description: Custom property name and associated value type: object @@ -17741,7 +17742,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: - - *67 + - *68 requestBody: required: true content: @@ -17753,7 +17754,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the organization. - items: *110 + items: *111 required: - properties examples: @@ -17793,7 +17794,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#get-all-budgets-for-an-organization parameters: - - *67 + - *68 responses: '200': description: Response when getting all budgets @@ -17914,7 +17915,7 @@ paths: alert_recipients: [] '404': *6 '403': *29 - '500': *111 + '500': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -17935,8 +17936,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#get-a-budget-by-id-for-an-organization parameters: - - *67 - - &113 + - *68 + - &114 name: budget_id description: The ID corresponding to the budget. in: path @@ -18029,8 +18030,8 @@ paths: '400': *14 '404': *6 '403': *29 - '500': *111 - '503': *112 + '500': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18050,8 +18051,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#update-a-budget-for-an-organization parameters: - - *67 - - *113 + - *68 + - *114 requestBody: required: true content: @@ -18236,8 +18237,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#delete-a-budget-for-an-organization parameters: - - *67 - - *113 + - *68 + - *114 responses: '200': description: Response when deleting a budget @@ -18263,8 +18264,8 @@ paths: '400': *14 '404': *6 '403': *29 - '500': *111 - '503': *112 + '500': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18284,8 +18285,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-an-organization parameters: - - *67 - - &114 + - *68 + - &115 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, @@ -18294,7 +18295,7 @@ paths: required: false schema: type: integer - - &116 + - &117 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 @@ -18303,7 +18304,7 @@ paths: required: false schema: type: integer - - &115 + - &116 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 @@ -18325,7 +18326,7 @@ paths: required: false schema: type: string - - &117 + - &118 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -18441,8 +18442,8 @@ paths: '400': *14 '403': *29 '404': *6 - '500': *111 - '503': *112 + '500': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18462,8 +18463,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-an-organization parameters: - - *67 - - *114 + - *68 + - *115 - &714 name: month description: If specified, only return results for a single month. The value @@ -18473,7 +18474,7 @@ paths: required: false schema: type: integer - - *115 + - *116 responses: '200': description: Billing usage report response for an organization @@ -18548,8 +18549,8 @@ paths: repositoryName: github/example '400': *14 '403': *29 - '500': *111 - '503': *112 + '500': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18572,10 +18573,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-an-organization parameters: - - *67 - - *114 - - *116 + - *68 - *115 + - *117 + - *116 - &715 name: repository description: The repository name to query for usage in the format owner/repository. @@ -18583,7 +18584,7 @@ paths: required: false schema: type: string - - *117 + - *118 - &716 name: sku description: The SKU to query for usage. @@ -18694,8 +18695,8 @@ paths: netAmount: 8.0 '400': *14 '403': *29 - '500': *111 - '503': *112 + '500': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18721,13 +18722,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-an-organization parameters: - - *67 + - *68 responses: '200': description: Response content: application/json: - schema: &118 + schema: &119 title: Organization Full description: Organization Full type: object @@ -19046,7 +19047,7 @@ paths: - updated_at - archived_at examples: - default-response: &119 + default-response: &120 value: login: github id: 1 @@ -19146,7 +19147,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#update-an-organization parameters: - - *67 + - *68 requestBody: required: false content: @@ -19362,18 +19363,18 @@ paths: description: Response content: application/json: - schema: *118 + schema: *119 examples: - default: *119 + default: *120 '422': description: Validation failed content: application/json: schema: oneOf: - - *120 - *121 - '409': *51 + - *122 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19396,7 +19397,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#delete-an-organization parameters: - - *67 + - *68 responses: '202': *39 '404': *6 @@ -19421,7 +19422,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *67 + - *68 responses: '200': description: Response @@ -19447,7 +19448,7 @@ paths: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19468,7 +19469,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: - - *67 + - *68 - *17 - *19 responses: @@ -19521,7 +19522,7 @@ paths: active_caches_size_in_bytes: 1022142 active_caches_count: 2 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19541,7 +19542,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *67 + - *68 - *17 - *19 responses: @@ -19559,7 +19560,7 @@ paths: type: integer runners: type: array - items: &122 + items: &123 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -19613,7 +19614,7 @@ paths: - display_name - source nullable: true - machine_size_details: &130 + machine_size_details: &131 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -19709,7 +19710,7 @@ paths: - public_ip_enabled - platform examples: - default: &150 + default: &151 value: total_count: 2 runners: @@ -19751,7 +19752,7 @@ paths: public_ips: [] last_active_on: '2023-04-26T15:23:37Z' headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19769,7 +19770,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *67 + - *68 requestBody: required: true content: @@ -19846,9 +19847,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *123 examples: - default: &131 + default: &132 value: id: 5 name: My hosted ubuntu runner @@ -19889,7 +19890,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-custom-images-for-an-organization parameters: - - *67 + - *68 responses: '200': description: Response @@ -19905,7 +19906,7 @@ paths: type: integer images: type: array - items: &123 + items: &124 title: GitHub-hosted runner custom image details description: Provides details of a custom runner image type: object @@ -19956,7 +19957,7 @@ paths: - latest_version - state examples: - default: &125 + default: &126 value: total_count: 2 image_versions: @@ -19987,8 +19988,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: - - *67 - - &124 + - *68 + - &125 name: image_definition_id description: Image definition ID of custom image in: path @@ -20000,7 +20001,7 @@ paths: description: Response content: application/json: - schema: *123 + schema: *124 examples: default: value: @@ -20030,8 +20031,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-custom-image-from-the-organization parameters: - - *67 - - *124 + - *68 + - *125 responses: '204': description: Response @@ -20054,8 +20055,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: - - *124 - - *67 + - *125 + - *68 responses: '200': description: Response @@ -20071,7 +20072,7 @@ paths: type: integer image_versions: type: array - items: &126 + items: &127 title: GitHub-hosted runner custom image version details. description: Provides details of a hosted runner custom image version @@ -20104,7 +20105,7 @@ paths: - created_on - state_details examples: - default: *125 + default: *126 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20124,9 +20125,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: - - *67 - - *124 - - &127 + - *68 + - *125 + - &128 name: version description: Version of a custom image in: path @@ -20139,7 +20140,7 @@ paths: description: Response content: application/json: - schema: *126 + schema: *127 examples: default: value: @@ -20165,9 +20166,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: - - *67 - - *124 - - *127 + - *68 + - *125 + - *128 responses: '204': description: Response @@ -20188,7 +20189,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: - - *67 + - *68 responses: '200': description: Response @@ -20204,7 +20205,7 @@ paths: type: integer images: type: array - items: &128 + items: &129 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -20240,7 +20241,7 @@ paths: - display_name - source examples: - default: &129 + default: &130 value: id: ubuntu-20.04 platform: linux-x64 @@ -20264,7 +20265,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: - - *67 + - *68 responses: '200': description: Response @@ -20280,9 +20281,9 @@ paths: type: integer images: type: array - items: *128 + items: *129 examples: - default: *129 + default: *130 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20299,7 +20300,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: - - *67 + - *68 responses: '200': description: Response @@ -20352,7 +20353,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: - - *67 + - *68 responses: '200': description: Response @@ -20368,7 +20369,7 @@ paths: type: integer machine_specs: type: array - items: *130 + items: *131 examples: default: value: @@ -20393,7 +20394,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: - - *67 + - *68 responses: '200': description: Response @@ -20437,8 +20438,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *67 - - &132 + - *68 + - &133 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -20450,11 +20451,11 @@ paths: description: Response content: application/json: - schema: *122 + schema: *123 examples: - default: *131 + default: *132 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20472,8 +20473,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *67 - - *132 + - *68 + - *133 requestBody: required: true content: @@ -20516,9 +20517,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *123 examples: - default: *131 + default: *132 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -20534,16 +20535,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *67 - - *132 + - *68 + - *133 responses: '202': description: Response content: application/json: - schema: *122 + schema: *123 examples: - default: *131 + default: *132 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -20563,13 +20564,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: - - *67 + - *68 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &133 + schema: &134 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -20583,7 +20584,7 @@ paths: required: - include_claim_keys examples: - default: &134 + default: &135 value: include_claim_keys: - repo @@ -20605,20 +20606,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: - - *67 + - *68 requestBody: required: true content: application/json: - schema: *133 + schema: *134 examples: - default: *134 + default: *135 responses: '201': description: Empty response content: application/json: - schema: &160 + schema: &161 title: Empty Object description: An object without any properties. type: object @@ -20648,7 +20649,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *67 + - *68 responses: '200': description: Response @@ -20657,7 +20658,7 @@ paths: schema: type: object properties: - enabled_repositories: &135 + enabled_repositories: &136 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -20670,7 +20671,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: &136 + allowed_actions: &137 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -20683,7 +20684,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: &137 + sha_pinning_required: &138 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -20714,7 +20715,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *67 + - *68 responses: '204': description: Response @@ -20725,9 +20726,9 @@ paths: schema: type: object properties: - enabled_repositories: *135 - allowed_actions: *136 - sha_pinning_required: *137 + enabled_repositories: *136 + allowed_actions: *137 + sha_pinning_required: *138 required: - enabled_repositories examples: @@ -20755,7 +20756,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-an-organization parameters: - - *67 + - *68 responses: '200': description: Response @@ -20798,7 +20799,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-an-organization parameters: - - *67 + - *68 requestBody: required: true content: @@ -20820,7 +20821,7 @@ paths: description: No content '403': *29 '404': *6 - '409': *51 + '409': *52 '422': *15 x-github: enabledForGitHubApps: true @@ -20840,13 +20841,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *67 + - *68 responses: '200': description: Response content: application/json: - schema: &138 + schema: &139 type: object properties: approval_policy: @@ -20881,7 +20882,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *67 + - *68 responses: '204': description: Response @@ -20891,7 +20892,7 @@ paths: required: true content: application/json: - schema: *138 + schema: *139 examples: default: summary: Set approval policy to first time contributors @@ -20913,7 +20914,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: - - *67 + - *68 responses: '200': description: Response @@ -20945,7 +20946,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &139 + default: &140 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -20968,7 +20969,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: - - *67 + - *68 requestBody: required: true content: @@ -20996,7 +20997,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *139 + default: *140 responses: '204': description: Empty response for successful settings update @@ -21026,7 +21027,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: - - *67 + - *68 - *17 - *19 responses: @@ -21044,9 +21045,9 @@ paths: type: number repositories: type: array - items: *70 + items: *71 examples: - default: &143 + default: &144 value: total_count: 1 repositories: @@ -21186,7 +21187,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: - - *67 + - *68 responses: '204': description: Response @@ -21230,8 +21231,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: - - *67 - - &140 + - *68 + - &141 name: repository_id description: The unique identifier of the repository. in: path @@ -21259,8 +21260,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: - - *67 - - *140 + - *68 + - *141 responses: '204': description: Response @@ -21283,13 +21284,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *67 + - *68 responses: '200': description: Response content: application/json: - schema: &141 + schema: &142 type: object properties: github_owned_allowed: @@ -21311,7 +21312,7 @@ paths: items: type: string examples: - default: &142 + default: &143 value: github_owned_allowed: true verified_allowed: false @@ -21336,7 +21337,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *67 + - *68 responses: '204': description: Response @@ -21344,9 +21345,9 @@ paths: required: false content: application/json: - schema: *141 + schema: *142 examples: - selected_actions: *142 + selected_actions: *143 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21366,7 +21367,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-self-hosted-runners-settings-for-an-organization parameters: - - *67 + - *68 responses: '200': description: Response @@ -21414,7 +21415,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-self-hosted-runners-settings-for-an-organization parameters: - - *67 + - *68 requestBody: required: true content: @@ -21441,7 +21442,7 @@ paths: description: No content '403': *29 '404': *6 - '409': *51 + '409': *52 '422': *15 x-github: enabledForGitHubApps: true @@ -21461,7 +21462,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: - - *67 + - *68 - *17 - *19 responses: @@ -21476,9 +21477,9 @@ paths: type: integer repositories: type: array - items: *70 + items: *71 examples: - default: *143 + default: *144 '403': *29 '404': *6 x-github: @@ -21498,7 +21499,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: - - *67 + - *68 requestBody: required: true content: @@ -21546,14 +21547,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: - - *67 - - *140 + - *68 + - *141 responses: '204': description: No content '403': *29 '404': *6 - '409': *51 + '409': *52 '422': *15 x-github: enabledForGitHubApps: true @@ -21573,14 +21574,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: - - *67 - - *140 + - *68 + - *141 responses: '204': description: No content '403': *29 '404': *6 - '409': *51 + '409': *52 '422': *15 x-github: enabledForGitHubApps: true @@ -21602,7 +21603,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *67 + - *68 responses: '200': description: Response @@ -21611,14 +21612,14 @@ paths: schema: &353 type: object properties: - default_workflow_permissions: &144 + default_workflow_permissions: &145 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &145 + can_approve_pull_request_reviews: &146 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -21626,7 +21627,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &146 + default: &147 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -21651,7 +21652,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *67 + - *68 responses: '204': description: Success response @@ -21662,10 +21663,10 @@ paths: schema: &354 type: object properties: - default_workflow_permissions: *144 - can_approve_pull_request_reviews: *145 + default_workflow_permissions: *145 + can_approve_pull_request_reviews: *146 examples: - default: *146 + default: *147 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21685,7 +21686,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: - - *67 + - *68 - *17 - *19 - name: visible_to_repository @@ -21710,7 +21711,7 @@ paths: type: number runner_groups: type: array - items: &147 + items: &148 type: object properties: id: @@ -21826,7 +21827,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: - - *67 + - *68 requestBody: required: true content: @@ -21898,9 +21899,9 @@ paths: description: Response content: application/json: - schema: *147 + schema: *148 examples: - default: &149 + default: &150 value: id: 2 name: octo-runner-group @@ -21935,8 +21936,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: - - *67 - - &148 + - *68 + - &149 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -21948,7 +21949,7 @@ paths: description: Response content: application/json: - schema: *147 + schema: *148 examples: default: value: @@ -21984,8 +21985,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: - - *67 - - *148 + - *68 + - *149 requestBody: required: true content: @@ -22039,9 +22040,9 @@ paths: description: Response content: application/json: - schema: *147 + schema: *148 examples: - default: *149 + default: *150 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -22060,8 +22061,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: - - *67 - - *148 + - *68 + - *149 responses: '204': description: Response @@ -22084,8 +22085,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: - - *67 - - *148 + - *68 + - *149 - *17 - *19 responses: @@ -22103,11 +22104,11 @@ paths: type: number runners: type: array - items: *122 + items: *123 examples: - default: *150 + default: *151 headers: - Link: *58 + Link: *59 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -22127,8 +22128,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: - - *67 - - *148 + - *68 + - *149 - *19 - *17 responses: @@ -22146,7 +22147,7 @@ paths: type: number repositories: type: array - items: *151 + items: *152 examples: default: &667 value: @@ -22400,8 +22401,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: - - *67 - - *148 + - *68 + - *149 requestBody: required: true content: @@ -22445,9 +22446,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: - - *67 - - *148 - - *140 + - *68 + - *149 + - *141 responses: '204': description: Response @@ -22469,9 +22470,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: - - *67 - - *148 - - *140 + - *68 + - *149 + - *141 responses: '204': description: Response @@ -22494,8 +22495,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: - - *67 - - *148 + - *68 + - *149 - *17 - *19 responses: @@ -22513,7 +22514,7 @@ paths: type: number runners: type: array - items: &153 + items: &154 title: Self hosted runners description: A self hosted runner type: object @@ -22542,7 +22543,7 @@ paths: type: boolean labels: type: array - items: &156 + items: &157 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -22572,7 +22573,7 @@ paths: - busy - labels examples: - default: &154 + default: &155 value: total_count: 2 runners: @@ -22612,7 +22613,7 @@ paths: name: no-gpu type: custom headers: - Link: *58 + Link: *59 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -22631,8 +22632,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: - - *67 - - *148 + - *68 + - *149 requestBody: required: true content: @@ -22676,9 +22677,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: - - *67 - - *148 - - &152 + - *68 + - *149 + - &153 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -22706,9 +22707,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: - - *67 - - *148 - - *152 + - *68 + - *149 + - *153 responses: '204': description: Response @@ -22738,7 +22739,7 @@ paths: in: query schema: type: string - - *67 + - *68 - *17 - *19 responses: @@ -22756,11 +22757,11 @@ paths: type: integer runners: type: array - items: *153 + items: *154 examples: - default: *154 + default: *155 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22782,7 +22783,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *67 + - *68 responses: '200': description: Response @@ -22858,7 +22859,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: - - *67 + - *68 requestBody: required: true content: @@ -22911,7 +22912,7 @@ paths: - runner - encoded_jit_config properties: - runner: *153 + runner: *154 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -22940,7 +22941,7 @@ paths: encoded_jit_config: abc123 '404': *6 '422': *7 - '409': *51 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22968,13 +22969,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *67 + - *68 responses: '201': description: Response content: application/json: - schema: &155 + schema: &156 title: Authentication Token description: Authentication Token type: object @@ -22996,7 +22997,7 @@ paths: repositories: description: The repositories this token has access to type: array - items: *70 + items: *71 single_file: type: string example: config.yaml @@ -23043,13 +23044,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *67 + - *68 responses: '201': description: Response content: application/json: - schema: *155 + schema: *156 examples: default: &359 value: @@ -23076,14 +23077,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: - - *67 - - *152 + - *68 + - *153 responses: '200': description: Response content: application/json: - schema: *153 + schema: *154 examples: default: &360 value: @@ -23126,8 +23127,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: - - *67 - - *152 + - *68 + - *153 responses: '204': description: Response @@ -23153,10 +23154,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: - - *67 - - *152 + - *68 + - *153 responses: - '200': &157 + '200': &158 description: Response content: application/json: @@ -23170,7 +23171,7 @@ paths: type: integer labels: type: array - items: *156 + items: *157 examples: default: value: @@ -23209,8 +23210,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: - - *67 - - *152 + - *68 + - *153 requestBody: required: true content: @@ -23234,7 +23235,7 @@ paths: - gpu - accelerated responses: - '200': *157 + '200': *158 '404': *6 '422': *7 x-github: @@ -23258,8 +23259,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: - - *67 - - *152 + - *68 + - *153 requestBody: required: true content: @@ -23284,7 +23285,7 @@ paths: - gpu - accelerated responses: - '200': *157 + '200': *158 '404': *6 '422': *7 x-github: @@ -23308,8 +23309,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: - - *67 - - *152 + - *68 + - *153 responses: '200': &361 description: Response @@ -23325,7 +23326,7 @@ paths: type: integer labels: type: array - items: *156 + items: *157 examples: default: value: @@ -23366,8 +23367,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: - - *67 - - *152 + - *68 + - *153 - &362 name: name description: The name of a self-hosted runner's custom label. @@ -23376,7 +23377,7 @@ paths: schema: type: string responses: - '200': *157 + '200': *158 '404': *6 '422': *7 x-github: @@ -23401,7 +23402,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-organization-secrets parameters: - - *67 + - *68 - *17 - *19 responses: @@ -23419,7 +23420,7 @@ paths: type: integer secrets: type: array - items: &158 + items: &159 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -23469,7 +23470,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23492,7 +23493,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-public-key parameters: - - *67 + - *68 responses: '200': description: Response @@ -23552,8 +23553,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-secret parameters: - - *67 - - &159 + - *68 + - &160 name: secret_name description: The name of the secret. in: path @@ -23565,7 +23566,7 @@ paths: description: Response content: application/json: - schema: *158 + schema: *159 examples: default: value: @@ -23595,8 +23596,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *67 - - *159 + - *68 + - *160 requestBody: required: true content: @@ -23653,7 +23654,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *160 + schema: *161 examples: default: value: @@ -23679,8 +23680,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-organization-secret parameters: - - *67 - - *159 + - *68 + - *160 responses: '204': description: Response @@ -23706,8 +23707,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *67 - - *159 + - *68 + - *160 - *19 - *17 responses: @@ -23725,9 +23726,9 @@ paths: type: integer repositories: type: array - items: *151 + items: *152 examples: - default: &163 + default: &164 value: total_count: 1 repositories: @@ -23819,8 +23820,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *67 - - *159 + - *68 + - *160 requestBody: required: true content: @@ -23872,8 +23873,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *67 - - *159 + - *68 + - *160 - name: repository_id in: path required: true @@ -23906,8 +23907,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *67 - - *159 + - *68 + - *160 - name: repository_id in: path required: true @@ -23939,7 +23940,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - - *67 + - *68 - &343 name: per_page description: The number of results per page (max 30). For more information, @@ -23964,7 +23965,7 @@ paths: type: integer variables: type: array - items: &161 + items: &162 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -24028,7 +24029,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24049,7 +24050,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-organization-variable parameters: - - *67 + - *68 requestBody: required: true content: @@ -24097,7 +24098,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *160 + schema: *161 examples: default: value: @@ -24122,8 +24123,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-organization-variable parameters: - - *67 - - &162 + - *68 + - &163 name: name description: The name of the variable. in: path @@ -24135,7 +24136,7 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -24165,8 +24166,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-organization-variable parameters: - - *67 - - *162 + - *68 + - *163 requestBody: required: true content: @@ -24228,8 +24229,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable parameters: - - *67 - - *162 + - *68 + - *163 responses: '204': description: Response @@ -24255,8 +24256,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *67 - - *162 + - *68 + - *163 - *19 - *17 responses: @@ -24274,9 +24275,9 @@ paths: type: integer repositories: type: array - items: *151 + items: *152 examples: - default: *163 + default: *164 '409': description: Response when the visibility of the variable is not set to `selected` @@ -24302,8 +24303,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *67 - - *162 + - *68 + - *163 requestBody: required: true content: @@ -24352,8 +24353,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *67 - - *162 + - *68 + - *163 - name: repository_id in: path required: true @@ -24387,8 +24388,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *67 - - *162 + - *68 + - *163 - name: repository_id in: path required: true @@ -24418,7 +24419,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-an-artifact-deployment-record parameters: - - *67 + - *68 requestBody: required: true content: @@ -24530,7 +24531,7 @@ paths: type: integer deployment_records: type: array - items: &164 + items: &165 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -24574,7 +24575,7 @@ paths: with the deployment record. nullable: true examples: - default: &165 + default: &166 value: total_count: 1 deployment_records: @@ -24609,7 +24610,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#set-cluster-deployment-records parameters: - - *67 + - *68 - name: cluster in: path description: The cluster name. @@ -24747,9 +24748,9 @@ paths: type: integer deployment_records: type: array - items: *164 + items: *165 examples: - default: *165 + default: *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24769,7 +24770,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-artifact-metadata-storage-record parameters: - - *67 + - *68 requestBody: required: true content: @@ -24921,7 +24922,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-deployment-records parameters: - - *67 + - *68 - name: subject_digest description: The SHA256 digest of the artifact, in the form `sha256:HEX_DIGEST`. in: path @@ -24946,9 +24947,9 @@ paths: type: integer deployment_records: type: array - items: *164 + items: *165 examples: - default: *165 + default: *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24968,7 +24969,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-storage-records parameters: - - *67 + - *68 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -25053,7 +25054,7 @@ paths: - *17 - *45 - *46 - - *67 + - *68 requestBody: required: true content: @@ -25249,7 +25250,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-in-bulk parameters: - - *67 + - *68 requestBody: required: true content: @@ -25314,7 +25315,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-subject-digest parameters: - - *67 + - *68 - name: subject_digest description: Subject Digest in: path @@ -25349,7 +25350,7 @@ paths: - *17 - *45 - *46 - - *67 + - *68 - name: predicate_type description: |- Optional filter for fetching attestations with a given predicate type. @@ -25397,7 +25398,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-id parameters: - - *67 + - *68 - name: attestation_id description: Attestation ID in: path @@ -25435,7 +25436,7 @@ paths: - *17 - *45 - *46 - - *67 + - *68 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -25596,7 +25597,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *67 + - *68 - *17 - *19 responses: @@ -25608,7 +25609,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *63 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25627,8 +25628,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *67 - - *63 + - *68 + - *64 responses: '204': description: If the user is blocked @@ -25653,8 +25654,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *67 - - *63 + - *68 + - *64 responses: '204': description: Response @@ -25674,8 +25675,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *67 - - *63 + - *68 + - *64 responses: '204': description: Response @@ -25700,15 +25701,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *67 + - *68 - *19 - *17 - - *52 + - *53 - name: state description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &166 + schema: &167 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -25734,7 +25735,7 @@ paths: application/json: schema: type: array - items: &167 + items: &168 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -25955,7 +25956,7 @@ paths: type: string format: date-time nullable: true - state: *166 + state: *167 contact_link: description: The contact link of the campaign. type: string @@ -26050,9 +26051,9 @@ paths: closed_at: state: open headers: - Link: *58 + Link: *59 '404': *6 - '503': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26076,7 +26077,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *67 + - *68 requestBody: required: true content: @@ -26175,9 +26176,9 @@ paths: description: Response content: application/json: - schema: *167 + schema: *168 examples: - default: &168 + default: &169 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -26226,7 +26227,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26248,7 +26249,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *67 + - *68 - name: campaign_number description: The campaign number. in: path @@ -26260,16 +26261,16 @@ paths: description: Response content: application/json: - schema: *167 + schema: *168 examples: - default: *168 + default: *169 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26290,7 +26291,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#update-a-campaign parameters: - - *67 + - *68 - name: campaign_number description: The campaign number. in: path @@ -26339,7 +26340,7 @@ paths: type: string format: uri nullable: true - state: *166 + state: *167 examples: default: value: @@ -26349,9 +26350,9 @@ paths: description: Response content: application/json: - schema: *167 + schema: *168 examples: - default: *168 + default: *169 '400': description: Bad Request content: @@ -26363,7 +26364,7 @@ paths: content: application/json: schema: *3 - '503': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26384,7 +26385,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *67 + - *68 - name: campaign_number description: The campaign number. in: path @@ -26395,7 +26396,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26417,7 +26418,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *67 + - *68 - &413 name: tool_name description: The name of a code scanning tool. Only results by this tool will @@ -26425,7 +26426,7 @@ paths: but not both. in: query required: false - schema: &176 + schema: &177 type: string description: The name of the tool used to generate the code scanning analysis. - &414 @@ -26436,7 +26437,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &177 + schema: &178 nullable: true type: string description: The GUID of the tool used to generate the code scanning analysis, @@ -26445,7 +26446,7 @@ paths: - *46 - *19 - *17 - - *52 + - *53 - name: state description: If specified, only code scanning alerts with this state will be returned. @@ -26503,18 +26504,18 @@ paths: items: type: object properties: - number: *169 - created_at: *170 - updated_at: *171 - url: *172 - html_url: *173 + number: *170 + created_at: *171 + updated_at: *172 + url: *173 + html_url: *174 instances_url: &418 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &178 + state: &179 type: string description: State of a code scanning alert. nullable: true @@ -26522,7 +26523,7 @@ paths: - open - dismissed - fixed - fixed_at: *174 + fixed_at: *175 dismissed_by: title: Simple User description: A GitHub user. @@ -26530,7 +26531,7 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *175 + dismissed_at: *176 dismissed_reason: &419 type: string description: "**Required when the state is dismissed.** The @@ -26602,13 +26603,13 @@ paths: tool: &422 type: object properties: - name: *176 + name: *177 version: nullable: true type: string description: The version of the tool used to generate the code scanning analysis. - guid: *177 + guid: *178 most_recent_instance: &423 type: object properties: @@ -26634,7 +26635,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: *178 + state: *179 commit_sha: type: string message: @@ -26673,7 +26674,7 @@ paths: - generated - test - library - repository: *57 + repository: *58 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -26928,9 +26929,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: *58 + Link: *59 '404': *6 - '503': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26952,7 +26953,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *67 + - *68 - name: target_type in: query description: The target type of the code security configuration @@ -27063,7 +27064,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration parameters: - - *67 + - *68 requestBody: required: true content: @@ -27141,7 +27142,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *179 + code_scanning_options: *51 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -27306,7 +27307,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations parameters: - - *67 + - *68 responses: '200': description: Response @@ -27340,7 +27341,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *67 + - *68 requestBody: required: true content: @@ -27370,7 +27371,7 @@ paths: '400': *14 '403': *29 '404': *6 - '409': *51 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27392,7 +27393,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-a-code-security-configuration parameters: - - *67 + - *68 - *49 responses: '200': @@ -27425,7 +27426,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#update-a-code-security-configuration parameters: - - *67 + - *68 - *49 requestBody: required: true @@ -27506,6 +27507,7 @@ paths: - disabled - not_set code_scanning_default_setup_options: *50 + code_scanning_options: *51 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -27682,14 +27684,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *67 + - *68 - *49 responses: '204': *183 '400': *14 '403': *29 '404': *6 - '409': *51 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27713,7 +27715,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *67 + - *68 - *49 requestBody: required: true @@ -27777,7 +27779,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: - - *67 + - *68 - *49 requestBody: required: true @@ -27847,7 +27849,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *67 + - *68 - *49 - name: per_page description: The number of results per page (max 100). For more information, @@ -27906,7 +27908,7 @@ paths: parameters: - *17 - *19 - - *67 + - *68 responses: '200': description: Response @@ -27947,7 +27949,7 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *151 + repository: *152 machine: type: object title: Codespace machine @@ -28609,7 +28611,7 @@ paths: stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/stop recent_folders: [] '304': *37 - '500': *111 + '500': *112 '401': *25 '403': *29 '404': *6 @@ -28631,7 +28633,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *67 + - *68 deprecated: true requestBody: required: true @@ -28675,7 +28677,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *111 + '500': *112 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28698,7 +28700,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *67 + - *68 deprecated: true requestBody: required: true @@ -28730,7 +28732,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *111 + '500': *112 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28753,7 +28755,7 @@ paths: url: https://docs.github.com/rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *67 + - *68 requestBody: required: true content: @@ -28784,7 +28786,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *111 + '500': *112 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28805,7 +28807,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *67 + - *68 - *17 - *19 responses: @@ -28875,7 +28877,7 @@ paths: updated_at: '2020-01-11T11:59:22Z' visibility: all headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28894,7 +28896,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *67 + - *68 responses: '200': description: Response @@ -28952,8 +28954,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *67 - - *159 + - *68 + - *160 responses: '200': description: Response @@ -28968,7 +28970,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: all headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28988,8 +28990,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *67 - - *159 + - *68 + - *160 requestBody: required: true content: @@ -29044,7 +29046,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *160 + schema: *161 examples: default: value: @@ -29070,8 +29072,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *67 - - *159 + - *68 + - *160 responses: '204': description: Response @@ -29096,8 +29098,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *67 - - *159 + - *68 + - *160 - *19 - *17 responses: @@ -29115,9 +29117,9 @@ paths: type: integer repositories: type: array - items: *151 + items: *152 examples: - default: *163 + default: *164 '404': *6 x-github: githubCloudOnly: false @@ -29139,8 +29141,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *67 - - *159 + - *68 + - *160 requestBody: required: true content: @@ -29190,8 +29192,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *67 - - *159 + - *68 + - *160 - name: repository_id in: path required: true @@ -29224,8 +29226,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *67 - - *159 + - *68 + - *160 - name: repository_id in: path required: true @@ -29264,7 +29266,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: - - *67 + - *68 responses: '200': description: OK @@ -29373,7 +29375,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *111 + '500': *112 '401': *25 '403': *29 '404': *6 @@ -29405,7 +29407,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: - - *67 + - *68 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -29453,7 +29455,7 @@ paths: access to GitHub Copilot, if applicable. oneOf: - *189 - - *59 + - *60 nullable: true pending_cancellation_date: type: string @@ -29577,8 +29579,8 @@ paths: type: User site_admin: false headers: - Link: *58 - '500': *111 + Link: *59 + '500': *112 '401': *25 '403': *29 '404': *6 @@ -29611,7 +29613,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: - - *67 + - *68 requestBody: content: application/json: @@ -29653,7 +29655,7 @@ paths: default: value: seats_created: 5 - '500': *111 + '500': *112 '401': *25 '403': *29 '404': *6 @@ -29689,7 +29691,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: - - *67 + - *68 requestBody: content: application/json: @@ -29731,7 +29733,7 @@ paths: default: value: seats_cancelled: 5 - '500': *111 + '500': *112 '401': *25 '403': *29 '404': *6 @@ -29769,7 +29771,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: - - *67 + - *68 requestBody: content: application/json: @@ -29810,7 +29812,7 @@ paths: default: value: seats_created: 5 - '500': *111 + '500': *112 '401': *25 '403': *29 '404': *6 @@ -29846,7 +29848,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: - - *67 + - *68 requestBody: content: application/json: @@ -29888,7 +29890,7 @@ paths: default: value: seats_cancelled: 5 - '500': *111 + '500': *112 '401': *25 '403': *29 '404': *6 @@ -29927,7 +29929,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *67 + - *68 - 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`). @@ -30365,7 +30367,7 @@ paths: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - '500': *111 + '500': *112 '403': *29 '404': *6 '422': &320 @@ -30395,7 +30397,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *67 + - *68 - *190 - *191 - *192 @@ -30440,7 +30442,7 @@ paths: type: string - *195 - *196 - - *52 + - *53 - *45 - *46 - *17 @@ -30479,7 +30481,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-organization-secrets parameters: - - *67 + - *68 - *17 - *19 responses: @@ -30547,7 +30549,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/dependabot/secrets/SUPER_SECRET/repositories headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30568,7 +30570,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-public-key parameters: - - *67 + - *68 responses: '200': description: Response @@ -30614,8 +30616,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret parameters: - - *67 - - *159 + - *68 + - *160 responses: '200': description: Response @@ -30649,8 +30651,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *67 - - *159 + - *68 + - *160 requestBody: required: true content: @@ -30709,7 +30711,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *160 + schema: *161 examples: default: value: @@ -30733,8 +30735,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret parameters: - - *67 - - *159 + - *68 + - *160 responses: '204': description: Response @@ -30758,8 +30760,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *67 - - *159 + - *68 + - *160 - *19 - *17 responses: @@ -30777,9 +30779,9 @@ paths: type: integer repositories: type: array - items: *151 + items: *152 examples: - default: *163 + default: *164 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30800,8 +30802,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *67 - - *159 + - *68 + - *160 requestBody: required: true content: @@ -30851,8 +30853,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *67 - - *159 + - *68 + - *160 - name: repository_id in: path required: true @@ -30883,8 +30885,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *67 - - *159 + - *68 + - *160 - name: repository_id in: path required: true @@ -30914,7 +30916,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: - - *67 + - *68 responses: '200': description: Response @@ -31070,7 +31072,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-organization-events parameters: - - *67 + - *68 - *17 - *19 responses: @@ -31080,7 +31082,7 @@ paths: application/json: schema: type: array - items: *100 + items: *101 examples: 200-response: value: @@ -31152,7 +31154,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-failed-organization-invitations parameters: - - *67 + - *68 - *17 - *19 responses: @@ -31242,7 +31244,7 @@ paths: invitation_teams_url: https://api.github.com/organizations/2/invitations/1/teams invitation_source: member headers: - Link: *58 + Link: *59 '404': *6 x-github: githubCloudOnly: false @@ -31266,7 +31268,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-organization-webhooks parameters: - - *67 + - *68 - *17 - *19 responses: @@ -31364,7 +31366,7 @@ paths: created_at: '2011-09-06T17:26:27Z' type: Organization headers: - Link: *58 + Link: *59 '404': *6 x-github: githubCloudOnly: false @@ -31387,7 +31389,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#create-an-organization-webhook parameters: - - *67 + - *68 requestBody: required: true content: @@ -31496,7 +31498,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - - *67 + - *68 - &204 name: hook_id description: The unique identifier of the hook. You can find this value in @@ -31539,7 +31541,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - - *67 + - *68 - *204 requestBody: required: false @@ -31626,7 +31628,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *67 + - *68 - *204 responses: '204': @@ -31654,7 +31656,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *67 + - *68 - *204 responses: '200': @@ -31685,7 +31687,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *67 + - *68 - *204 requestBody: required: false @@ -31736,7 +31738,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *67 + - *68 - *204 - *17 - *205 @@ -31774,7 +31776,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *67 + - *68 - *204 - *16 responses: @@ -31809,7 +31811,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *67 + - *68 - *204 - *16 responses: @@ -31839,7 +31841,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *67 + - *68 - *204 responses: '204': @@ -31862,7 +31864,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *67 + - *68 - &214 name: actor_type in: path @@ -31902,7 +31904,7 @@ paths: type: string - *19 - *17 - - *52 + - *53 - name: sort description: The property to sort the results by. in: query @@ -31984,12 +31986,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - - *67 + - *68 - *210 - *211 - *19 - *17 - - *52 + - *53 - &220 name: sort description: The property to sort the results by. @@ -32068,7 +32070,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - - *67 + - *68 - *210 - *211 responses: @@ -32112,7 +32114,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *67 + - *68 - &216 name: user_id in: path @@ -32147,7 +32149,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *67 + - *68 - *210 - *211 - *214 @@ -32176,7 +32178,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - - *67 + - *68 - *210 - *211 - &217 @@ -32244,7 +32246,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - - *67 + - *68 - *216 - *210 - *211 @@ -32273,7 +32275,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *67 + - *68 - *214 - *215 - *210 @@ -32303,13 +32305,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - - *67 + - *68 - *216 - *210 - *211 - *19 - *17 - - *52 + - *53 - *220 - name: actor_name_substring in: query @@ -32383,7 +32385,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *67 + - *68 responses: '200': description: Response @@ -32460,7 +32462,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *67 + - *68 - *17 - *19 responses: @@ -32530,7 +32532,7 @@ paths: suspended_at: suspended_by: headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32549,7 +32551,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *67 + - *68 responses: '200': description: Response @@ -32611,7 +32613,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *67 + - *68 requestBody: required: true content: @@ -32666,7 +32668,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *67 + - *68 responses: '204': description: Response @@ -32690,7 +32692,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-pending-organization-invitations parameters: - - *67 + - *68 - *17 - *19 - name: role @@ -32728,7 +32730,7 @@ paths: examples: default: *225 headers: - Link: *58 + Link: *59 '404': *6 x-github: githubCloudOnly: false @@ -32749,7 +32751,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#create-an-organization-invitation parameters: - - *67 + - *68 requestBody: required: false content: @@ -32857,7 +32859,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - - *67 + - *68 - &226 name: invitation_id description: The unique identifier of the invitation. @@ -32888,7 +32890,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - - *67 + - *68 - *226 - *17 - *19 @@ -32917,7 +32919,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *58 + Link: *59 '404': *6 x-github: githubCloudOnly: false @@ -32936,7 +32938,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *67 + - *68 responses: '200': description: Response @@ -32982,7 +32984,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *67 + - *68 requestBody: required: true content: @@ -33063,7 +33065,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *67 + - *68 - &229 name: issue_type_id description: The unique identifier of the issue type. @@ -33143,7 +33145,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *67 + - *68 - *229 responses: '204': @@ -33177,7 +33179,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *67 + - *68 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -33225,8 +33227,8 @@ paths: - updated - comments default: created - - *52 - - *81 + - *53 + - *82 - *17 - *19 responses: @@ -33236,11 +33238,11 @@ paths: application/json: schema: type: array - items: *74 + items: *75 examples: default: *231 headers: - Link: *58 + Link: *59 '404': *6 x-github: githubCloudOnly: false @@ -33260,7 +33262,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-members parameters: - - *67 + - *68 - 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) @@ -33298,9 +33300,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *63 headers: - Link: *58 + Link: *59 '422': *15 x-github: githubCloudOnly: false @@ -33318,8 +33320,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-organization-membership-for-a-user parameters: - - *67 - - *63 + - *68 + - *64 responses: '204': description: Response if requester is an organization member and user is @@ -33353,8 +33355,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-an-organization-member parameters: - - *67 - - *63 + - *68 + - *64 responses: '204': description: Response @@ -33380,8 +33382,8 @@ paths: parameters: - *17 - *19 - - *67 - - *63 + - *68 + - *64 responses: '200': description: Response @@ -33401,7 +33403,7 @@ paths: examples: default: *233 '304': *37 - '500': *111 + '500': *112 '401': *25 '403': *29 '404': *6 @@ -33424,8 +33426,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *67 - - *63 + - *68 + - *64 - &234 name: codespace_name in: path @@ -33436,7 +33438,7 @@ paths: responses: '202': *39 '304': *37 - '500': *111 + '500': *112 '401': *25 '403': *29 '404': *6 @@ -33459,8 +33461,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *67 - - *63 + - *68 + - *64 - *234 responses: '200': @@ -33611,7 +33613,7 @@ paths: recent_folders: [] template: '304': *37 - '500': *111 + '500': *112 '401': *25 '403': *29 '404': *6 @@ -33642,8 +33644,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: - - *67 - - *63 + - *68 + - *64 responses: '200': description: The user's GitHub Copilot seat details, including usage. @@ -33693,7 +33695,7 @@ paths: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - '500': *111 + '500': *112 '401': *25 '403': *29 '404': *6 @@ -33718,8 +33720,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-organization-membership-for-a-user parameters: - - *67 - - *63 + - *68 + - *64 responses: '200': description: Response @@ -33769,7 +33771,7 @@ paths: type: string format: uri example: https://api.github.com/orgs/octocat - organization: *65 + organization: *66 user: title: Simple User description: A GitHub user. @@ -33864,8 +33866,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-organization-membership-for-a-user parameters: - - *67 - - *63 + - *68 + - *64 requestBody: required: false content: @@ -33919,8 +33921,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *67 - - *63 + - *68 + - *64 responses: '204': description: Response @@ -33945,7 +33947,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-organization-migrations parameters: - - *67 + - *68 - *17 - *19 - name: exclude @@ -34007,7 +34009,7 @@ paths: type: array description: The repositories included in the migration. Only returned for export migrations. - items: *70 + items: *71 url: type: string format: uri @@ -34203,7 +34205,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -34219,7 +34221,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#start-an-organization-migration parameters: - - *67 + - *68 requestBody: required: true content: @@ -34473,7 +34475,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - - *67 + - *68 - &239 name: migration_id description: The unique identifier of the migration. @@ -34670,7 +34672,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *67 + - *68 - *239 responses: '302': @@ -34692,7 +34694,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *67 + - *68 - *239 responses: '204': @@ -34716,7 +34718,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - - *67 + - *68 - *239 - &680 name: repo_name @@ -34745,7 +34747,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *67 + - *68 - *239 - *17 - *19 @@ -34756,7 +34758,7 @@ paths: application/json: schema: type: array - items: *151 + items: *152 examples: default: &251 value: @@ -34869,7 +34871,7 @@ paths: secret_scanning_non_provider_patterns: status: disabled headers: - Link: *58 + Link: *59 '404': *6 x-github: githubCloudOnly: false @@ -34895,7 +34897,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *67 + - *68 responses: '200': description: Response - list of organization roles @@ -35058,8 +35060,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *67 - *68 + - *69 responses: '204': description: Response @@ -35084,8 +35086,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *67 - *68 + - *69 - &240 name: role_id description: The unique identifier of the role. @@ -35121,8 +35123,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *67 - *68 + - *69 - *240 responses: '204': @@ -35148,8 +35150,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *67 - - *63 + - *68 + - *64 responses: '204': description: Response @@ -35174,8 +35176,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *67 - - *63 + - *68 + - *64 - *240 responses: '204': @@ -35206,8 +35208,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *67 - - *63 + - *68 + - *64 - *240 responses: '204': @@ -35236,7 +35238,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - - *67 + - *68 - *240 responses: '200': @@ -35293,7 +35295,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: - - *67 + - *68 - *240 - *17 - *19 @@ -35407,7 +35409,7 @@ paths: examples: default: *244 headers: - Link: *58 + Link: *59 '404': description: Response if the organization or role does not exist. '422': @@ -35434,7 +35436,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: - - *67 + - *68 - *240 - *17 - *19 @@ -35564,9 +35566,9 @@ paths: - type - url examples: - default: *62 + default: *63 headers: - Link: *58 + Link: *59 '404': description: Response if the organization or role does not exist. '422': @@ -35588,7 +35590,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *67 + - *68 - 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) @@ -35615,9 +35617,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *63 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35640,8 +35642,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *67 - - *63 + - *68 + - *64 requestBody: required: false content: @@ -35698,8 +35700,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *67 - - *63 + - *68 + - *64 responses: '204': description: Response @@ -35756,7 +35758,7 @@ paths: - docker - nuget - container - - *67 + - *68 - &681 name: visibility description: |- @@ -35845,7 +35847,7 @@ paths: required: true schema: type: string - - *67 + - *68 responses: '200': description: Response @@ -35905,7 +35907,7 @@ paths: parameters: - *247 - *248 - - *67 + - *68 responses: '204': description: Response @@ -35939,7 +35941,7 @@ paths: parameters: - *247 - *248 - - *67 + - *68 - name: token description: package token schema: @@ -35973,7 +35975,7 @@ paths: parameters: - *247 - *248 - - *67 + - *68 - *19 - *17 - name: state @@ -36120,7 +36122,7 @@ paths: parameters: - *247 - *248 - - *67 + - *68 - &250 name: package_version_id description: Unique identifier of the package version. @@ -36171,7 +36173,7 @@ paths: parameters: - *247 - *248 - - *67 + - *68 - *250 responses: '204': @@ -36206,7 +36208,7 @@ paths: parameters: - *247 - *248 - - *67 + - *68 - *250 responses: '204': @@ -36234,7 +36236,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: - - *67 + - *68 - *17 - *19 - &252 @@ -36247,7 +36249,7 @@ paths: enum: - created_at default: created_at - - *52 + - *53 - &253 name: owner description: A list of owner usernames to use to filter the results. @@ -36307,7 +36309,7 @@ paths: type: string example: token_id[]=1,token_id[]=2 responses: - '500': *111 + '500': *112 '422': *15 '404': *6 '403': *29 @@ -36439,7 +36441,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36459,7 +36461,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: - - *67 + - *68 requestBody: required: true content: @@ -36500,7 +36502,7 @@ paths: action: deny reason: Access is too broad. responses: - '500': *111 + '500': *112 '422': *15 '404': *6 '403': *29 @@ -36525,7 +36527,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: - - *67 + - *68 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -36561,7 +36563,7 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *111 + '500': *112 '422': *15 '404': *6 '403': *29 @@ -36586,7 +36588,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: - - *67 + - *68 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -36597,7 +36599,7 @@ paths: - *17 - *19 responses: - '500': *111 + '500': *112 '404': *6 '403': *29 '200': @@ -36606,11 +36608,11 @@ paths: application/json: schema: type: array - items: *151 + items: *152 examples: default: *251 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36631,11 +36633,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: - - *67 + - *68 - *17 - *19 - *252 - - *52 + - *53 - *253 - *254 - *255 @@ -36643,7 +36645,7 @@ paths: - *257 - *258 responses: - '500': *111 + '500': *112 '422': *15 '404': *6 '403': *29 @@ -36770,7 +36772,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36790,7 +36792,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: - - *67 + - *68 requestBody: required: true content: @@ -36825,7 +36827,7 @@ paths: - 1296269 - 1296280 responses: - '500': *111 + '500': *112 '404': *6 '202': *39 '403': *29 @@ -36850,7 +36852,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: - - *67 + - *68 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -36878,7 +36880,7 @@ paths: value: action: revoke responses: - '500': *111 + '500': *112 '404': *6 '204': *183 '403': *29 @@ -36902,7 +36904,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: - - *67 + - *68 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -36912,7 +36914,7 @@ paths: - *17 - *19 responses: - '500': *111 + '500': *112 '404': *6 '403': *29 '200': @@ -36921,11 +36923,11 @@ paths: application/json: schema: type: array - items: *151 + items: *152 examples: default: *251 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36947,7 +36949,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *67 + - *68 - *17 - *19 responses: @@ -37045,7 +37047,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: selected headers: - Link: *58 + Link: *59 '400': *14 '404': *6 x-github: @@ -37067,7 +37069,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *67 + - *68 requestBody: required: true content: @@ -37296,7 +37298,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: - - *67 + - *68 responses: '200': description: Response @@ -37322,7 +37324,7 @@ paths: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 headers: - Link: *58 + Link: *59 '404': *6 x-github: githubCloudOnly: false @@ -37344,8 +37346,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *67 - - *159 + - *68 + - *160 responses: '200': description: The specified private registry configuration for the organization @@ -37374,8 +37376,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *67 - - *159 + - *68 + - *160 requestBody: required: true content: @@ -37479,8 +37481,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *67 - - *159 + - *68 + - *160 responses: '204': description: Response @@ -37503,7 +37505,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-organization parameters: - - *67 + - *68 - name: q description: Limit results to projects of the specified type. in: query @@ -37746,7 +37748,7 @@ paths: updated_at: '2025-07-11T16:19:28Z' is_template: true headers: - Link: *58 + Link: *59 '304': *37 '403': *29 '401': *25 @@ -37773,7 +37775,7 @@ paths: required: true schema: type: integer - - *67 + - *68 responses: '200': description: Response @@ -37783,7 +37785,7 @@ paths: examples: default: *262 headers: - Link: *58 + Link: *59 '304': *37 '403': *29 '401': *25 @@ -37803,7 +37805,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - - *67 + - *68 - *263 requestBody: required: true @@ -37851,7 +37853,7 @@ paths: description: The node ID of the project item. content: oneOf: - - *74 + - *75 - &465 title: Pull Request Simple description: Pull Request Simple @@ -38013,7 +38015,7 @@ paths: type: string ref: type: string - repo: *70 + repo: *71 sha: type: string user: @@ -38036,7 +38038,7 @@ paths: type: string ref: type: string - repo: *70 + repo: *71 sha: type: string user: @@ -38080,7 +38082,7 @@ paths: - review_comments - review_comment - self - author_association: *75 + author_association: *76 auto_merge: &573 title: Auto merge description: The status of auto merging a pull request. @@ -38298,7 +38300,7 @@ paths: url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - *263 - - *67 + - *68 - *17 - *45 - *46 @@ -38567,7 +38569,7 @@ paths: created_at: '2022-06-20T16:45:00Z' updated_at: '2022-06-20T16:45:00Z' headers: - Link: *58 + Link: *59 '304': *37 '403': *29 '401': *25 @@ -38587,7 +38589,7 @@ paths: url: https://docs.github.com/rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - *263 - - *67 + - *68 requestBody: required: true content: @@ -38885,7 +38887,7 @@ paths: required: true schema: type: integer - - *67 + - *68 responses: '200': description: Response @@ -38928,7 +38930,7 @@ paths: created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' headers: - Link: *58 + Link: *59 '304': *37 '403': *29 '401': *25 @@ -38950,7 +38952,7 @@ paths: url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - *263 - - *67 + - *68 - 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. @@ -39717,7 +39719,7 @@ paths: type: sub_issues_progress value: headers: - Link: *58 + Link: *59 '304': *37 '403': *29 '401': *25 @@ -39737,75 +39739,67 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - - *67 + - *68 - *263 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 @@ -39818,8 +39812,20 @@ paths: application/json: schema: *269 examples: - issue: *270 - pull_request: *270 + issue_with_id: + summary: Response for adding an issue using its unique ID + value: *270 + pull_request_with_id: + summary: Response for adding a pull request using its unique ID + value: *270 + issue_with_nwo: + summary: Response for adding an issue using repository owner, name, + and issue number + value: *270 + pull_request_with_nwo: + summary: Response for adding a pull request using repository owner, + name, and PR number + value: *270 '304': *37 '403': *29 '401': *25 @@ -39840,7 +39846,7 @@ paths: url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - *263 - - *67 + - *68 - &273 name: item_id description: The unique identifier of the project item. @@ -39871,7 +39877,7 @@ paths: examples: default: *272 headers: - Link: *58 + Link: *59 '304': *37 '403': *29 '401': *25 @@ -39891,7 +39897,7 @@ paths: url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - *263 - - *67 + - *68 - *273 requestBody: required: true @@ -39989,7 +39995,7 @@ paths: url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - *263 - - *67 + - *68 - *273 responses: '204': @@ -40014,7 +40020,7 @@ paths: url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-project-view parameters: - *263 - - *67 + - *68 - &712 name: view_number description: The number that identifies the project view. @@ -40051,7 +40057,7 @@ paths: examples: default: *272 headers: - Link: *58 + Link: *59 '304': *37 '403': *29 '401': *25 @@ -40074,7 +40080,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *67 + - *68 responses: '200': description: Response @@ -40195,7 +40201,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *67 + - *68 requestBody: required: true content: @@ -40259,7 +40265,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *67 + - *68 - &276 name: custom_property_name description: The custom property name @@ -40308,7 +40314,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: - - *67 + - *68 - *276 requestBody: required: true @@ -40402,7 +40408,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *67 + - *68 - *276 responses: '204': *183 @@ -40426,7 +40432,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *67 + - *68 - *17 - *19 - name: repository_query @@ -40464,7 +40470,7 @@ paths: example: octocat/Hello-World properties: type: array - items: *110 + items: *111 description: List of custom property names and associated values required: - repository_id @@ -40485,7 +40491,7 @@ paths: - property_name: team value: octocat headers: - Link: *58 + Link: *59 '403': *29 '404': *6 x-github: @@ -40513,7 +40519,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: - - *67 + - *68 requestBody: required: true content: @@ -40533,7 +40539,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *110 + items: *111 required: - repository_names - properties @@ -40574,7 +40580,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-public-organization-members parameters: - - *67 + - *68 - *17 - *19 responses: @@ -40586,9 +40592,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *63 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40605,8 +40611,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *67 - - *63 + - *68 + - *64 responses: '204': description: Response if user is a public member @@ -40630,8 +40636,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *67 - - *63 + - *68 + - *64 responses: '204': description: Response @@ -40652,8 +40658,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *67 - - *63 + - *68 + - *64 responses: '204': description: Response @@ -40677,7 +40683,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-organization-repositories parameters: - - *67 + - *68 - name: type description: Specifies the types of repositories you want returned. in: query @@ -40723,11 +40729,11 @@ paths: application/json: schema: type: array - items: *151 + items: *152 examples: default: *251 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40746,7 +40752,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-organization-repository parameters: - - *67 + - *68 requestBody: required: true content: @@ -41292,8 +41298,8 @@ paths: title: License Simple description: License Simple type: object - properties: *77 - required: *78 + properties: *78 + required: *79 nullable: true organization: title: Simple User @@ -41302,8 +41308,8 @@ paths: properties: *20 required: *21 nullable: true - parent: *70 - source: *70 + parent: *71 + source: *71 forks: type: integer master_branch: @@ -41943,7 +41949,7 @@ paths: category: orgs subcategory: rules parameters: - - *67 + - *68 - *17 - *19 - &595 @@ -43019,7 +43025,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *111 + '500': *112 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -43035,7 +43041,7 @@ paths: category: orgs subcategory: rules parameters: - - *67 + - *68 requestBody: description: Request body required: true @@ -43170,7 +43176,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *111 + '500': *112 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -43184,7 +43190,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *67 + - *68 - &597 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally @@ -43322,7 +43328,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *111 + '500': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43341,7 +43347,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *67 + - *68 - &603 name: rule_suite_id description: |- @@ -43492,7 +43498,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *111 + '500': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43518,7 +43524,7 @@ paths: category: orgs subcategory: rules parameters: - - *67 + - *68 - name: ruleset_id description: The ID of the ruleset. in: path @@ -43534,7 +43540,7 @@ paths: examples: default: *308 '404': *6 - '500': *111 + '500': *112 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -43550,7 +43556,7 @@ paths: category: orgs subcategory: rules parameters: - - *67 + - *68 - name: ruleset_id description: The ID of the ruleset. in: path @@ -43624,7 +43630,7 @@ paths: examples: default: *308 '404': *6 - '500': *111 + '500': *112 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -43640,7 +43646,7 @@ paths: category: orgs subcategory: rules parameters: - - *67 + - *68 - name: ruleset_id description: The ID of the ruleset. in: path @@ -43651,7 +43657,7 @@ paths: '204': description: Response '404': *6 - '500': *111 + '500': *112 "/orgs/{org}/rulesets/{ruleset_id}/history": get: summary: Get organization ruleset history @@ -43663,7 +43669,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-history parameters: - - *67 + - *68 - *17 - *19 - name: ruleset_id @@ -43721,7 +43727,7 @@ paths: type: User updated_at: '2024-08-23T16:29:47Z' '404': *6 - '500': *111 + '500': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43738,7 +43744,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-version parameters: - - *67 + - *68 - name: ruleset_id description: The ID of the ruleset. in: path @@ -43805,7 +43811,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *111 + '500': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43827,7 +43833,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *67 + - *68 - &609 name: state in: query @@ -43889,7 +43895,7 @@ paths: - created - updated default: created - - *52 + - *53 - *19 - *17 - &614 @@ -43958,8 +43964,8 @@ paths: items: type: object properties: - number: *169 - created_at: *170 + number: *170 + created_at: *171 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -43967,8 +43973,8 @@ paths: format: date-time readOnly: true nullable: true - url: *172 - html_url: *173 + url: *173 + html_url: *174 locations_url: type: string format: uri @@ -44015,7 +44021,7 @@ paths: secret: type: string description: The secret that was detected. - repository: *57 + repository: *58 push_protection_bypassed: type: boolean description: Whether push protection was bypassed for the detected @@ -44539,9 +44545,9 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *59 '404': *6 - '503': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44566,7 +44572,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *67 + - *68 responses: '200': description: Response @@ -44702,7 +44708,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *67 + - *68 requestBody: required: true content: @@ -44772,7 +44778,7 @@ paths: '400': *14 '403': *29 '404': *6 - '409': *51 + '409': *52 '422': *15 "/orgs/{org}/security-advisories": get: @@ -44790,8 +44796,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *67 - - *52 + - *68 + - *53 - name: sort description: The property to sort the results by. in: query @@ -45021,7 +45027,7 @@ paths: required: - vector_string - score - cvss_severities: *54 + cvss_severities: *55 cwes: type: array nullable: true @@ -45095,7 +45101,7 @@ paths: description: A temporary private fork of the advisory's repository for collaborating on a fix. allOf: - - *57 + - *58 required: - ghsa_id - cve_id @@ -45504,7 +45510,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams parameters: - - *67 + - *68 responses: '200': description: Response @@ -45537,8 +45543,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - - *67 - *68 + - *69 responses: '204': description: Response @@ -45563,8 +45569,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *67 - *68 + - *69 responses: '204': description: Response @@ -45591,7 +45597,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-immutable-releases-settings-for-an-organization parameters: - - *67 + - *68 responses: '200': description: Immutable releases settings response @@ -45640,7 +45646,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-immutable-releases-settings-for-an-organization parameters: - - *67 + - *68 responses: '204': description: Response @@ -45697,7 +45703,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement parameters: - - *67 + - *68 - *19 - *17 responses: @@ -45715,9 +45721,9 @@ paths: type: integer repositories: type: array - items: *151 + items: *152 examples: - default: *163 + default: *164 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45736,7 +45742,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement parameters: - - *67 + - *68 requestBody: required: true content: @@ -45785,8 +45791,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: - - *67 - - *140 + - *68 + - *141 responses: '204': description: Response @@ -45808,8 +45814,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: - - *67 - - *140 + - *68 + - *141 responses: '204': description: Response @@ -45832,7 +45838,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *67 + - *68 - *17 - *19 responses: @@ -45909,7 +45915,7 @@ paths: - 6789ABDCEF12345 created_on: '2023-04-26T15:23:37Z' headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45928,7 +45934,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: - - *67 + - *68 requestBody: required: true content: @@ -46000,7 +46006,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: - - *67 + - *68 - &317 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. @@ -46017,7 +46023,7 @@ paths: examples: default: *316 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46036,7 +46042,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: - - *67 + - *68 - *317 requestBody: required: true @@ -46097,7 +46103,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: - - *67 + - *68 - *317 responses: '204': @@ -46121,7 +46127,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: - - *67 + - *68 - name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -46175,7 +46181,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: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46205,8 +46211,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *67 - *68 + - *69 - 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`). @@ -46241,7 +46247,7 @@ paths: items: *318 examples: default: *319 - '500': *111 + '500': *112 '403': *29 '404': *6 '422': *320 @@ -46262,7 +46268,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-teams parameters: - - *67 + - *68 - *17 - *19 responses: @@ -46276,7 +46282,7 @@ paths: examples: default: *244 headers: - Link: *58 + Link: *59 '403': *29 x-github: githubCloudOnly: false @@ -46296,7 +46302,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#create-a-team parameters: - - *67 + - *68 requestBody: required: true content: @@ -46765,8 +46771,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - - *67 - *68 + - *69 responses: '200': description: Response @@ -46795,8 +46801,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - - *67 - *68 + - *69 requestBody: required: false content: @@ -46892,8 +46898,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - - *67 - *68 + - *69 responses: '204': description: Response @@ -46919,9 +46925,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions parameters: - - *67 - *68 - - *52 + - *69 + - *53 - *17 - *19 - name: pinned @@ -47009,7 +47015,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *76 + reactions: *77 required: - author - body @@ -47075,7 +47081,7 @@ paths: eyes: 1 rocket: 1 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47099,8 +47105,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion parameters: - - *67 - *68 + - *69 requestBody: required: true content: @@ -47206,8 +47212,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion parameters: - - *67 - *68 + - *69 - &325 name: discussion_number description: The number that identifies the discussion. @@ -47244,8 +47250,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion parameters: - - *67 - *68 + - *69 - *325 requestBody: required: false @@ -47339,8 +47345,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion parameters: - - *67 - *68 + - *69 - *325 responses: '204': @@ -47365,8 +47371,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - - *67 - *68 + - *69 - *17 - *19 responses: @@ -47380,7 +47386,7 @@ paths: examples: default: *225 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47400,8 +47406,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members parameters: - - *67 - *68 + - *69 - name: role description: Filters members returned by their role in the team. in: query @@ -47424,9 +47430,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *63 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47454,9 +47460,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - - *67 - *68 - - *63 + - *69 + - *64 responses: '200': description: Response @@ -47525,9 +47531,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *67 - *68 - - *63 + - *69 + - *64 requestBody: required: false content: @@ -47589,9 +47595,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - - *67 - *68 - - *63 + - *69 + - *64 responses: '204': description: Response @@ -47617,8 +47623,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - - *67 - *68 + - *69 - *17 - *19 responses: @@ -47628,11 +47634,11 @@ paths: application/json: schema: type: array - items: *151 + items: *152 examples: default: *251 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47659,8 +47665,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *67 - *68 + - *69 - *327 - *328 responses: @@ -47691,8 +47697,8 @@ paths: title: License Simple description: License Simple type: object - properties: *77 - required: *78 + properties: *78 + required: *79 nullable: true forks: type: integer @@ -48237,8 +48243,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *67 - *68 + - *69 - *327 - *328 requestBody: @@ -48285,8 +48291,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team parameters: - - *67 - *68 + - *69 - *327 - *328 responses: @@ -48312,8 +48318,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - - *67 - *68 + - *69 - *17 - *19 responses: @@ -48353,7 +48359,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos html_url: https://github.com/orgs/rails/teams/core headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48378,7 +48384,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *67 + - *68 - name: security_product in: path description: The security feature to enable or disable. @@ -49446,7 +49452,7 @@ paths: documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository '307': *333 '404': *6 - '409': *51 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49612,7 +49618,7 @@ paths: head_branch: main head_sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49970,7 +49976,7 @@ paths: - last_accessed_at - size_in_bytes default: last_accessed_at - - *52 + - *53 responses: '200': description: Response @@ -50030,7 +50036,7 @@ paths: created_at: '2019-01-24T22:45:36.000Z' size_in_bytes: 1024 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50492,7 +50498,7 @@ paths: description: Response content: application/json: - schema: *160 + schema: *161 examples: default: value: @@ -50602,7 +50608,7 @@ paths: description: Empty response content: application/json: - schema: *160 + schema: *161 examples: default: value: @@ -50681,7 +50687,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50765,7 +50771,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50798,9 +50804,9 @@ paths: enabled: &345 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *136 + allowed_actions: *137 selected_actions_url: *344 - sha_pinning_required: *137 + sha_pinning_required: *138 required: - enabled examples: @@ -50841,8 +50847,8 @@ paths: type: object properties: enabled: *345 - allowed_actions: *136 - sha_pinning_required: *137 + allowed_actions: *137 + sha_pinning_required: *138 required: - enabled examples: @@ -51025,7 +51031,7 @@ paths: description: Response content: application/json: - schema: *138 + schema: *139 examples: default: *350 '404': *6 @@ -51057,7 +51063,7 @@ paths: required: true content: application/json: - schema: *138 + schema: *139 examples: default: summary: Set approval policy to first time contributors @@ -51090,7 +51096,7 @@ paths: application/json: schema: *351 examples: - default: *139 + default: *140 '403': *29 '404': *6 x-github: @@ -51118,7 +51124,7 @@ paths: application/json: schema: *352 examples: - default: *139 + default: *140 responses: '204': description: Empty response for successful settings update @@ -51149,9 +51155,9 @@ paths: description: Response content: application/json: - schema: *141 + schema: *142 examples: - default: *142 + default: *143 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -51179,9 +51185,9 @@ paths: required: false content: application/json: - schema: *141 + schema: *142 examples: - selected_actions: *142 + selected_actions: *143 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -51212,7 +51218,7 @@ paths: application/json: schema: *353 examples: - default: *146 + default: *147 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51247,7 +51253,7 @@ paths: application/json: schema: *354 examples: - default: *146 + default: *147 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51293,11 +51299,11 @@ paths: type: integer runners: type: array - items: *153 + items: *154 examples: - default: *154 + default: *155 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51399,7 +51405,7 @@ paths: '201': *357 '404': *6 '422': *7 - '409': *51 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51434,7 +51440,7 @@ paths: description: Response content: application/json: - schema: *155 + schema: *156 examples: default: *358 x-github: @@ -51471,7 +51477,7 @@ paths: description: Response content: application/json: - schema: *155 + schema: *156 examples: default: *359 x-github: @@ -51497,13 +51503,13 @@ paths: parameters: - *327 - *328 - - *152 + - *153 responses: '200': description: Response content: application/json: - schema: *153 + schema: *154 examples: default: *360 x-github: @@ -51528,7 +51534,7 @@ paths: parameters: - *327 - *328 - - *152 + - *153 responses: '204': description: Response @@ -51556,9 +51562,9 @@ paths: parameters: - *327 - *328 - - *152 + - *153 responses: - '200': *157 + '200': *158 '404': *6 x-github: githubCloudOnly: false @@ -51582,7 +51588,7 @@ paths: parameters: - *327 - *328 - - *152 + - *153 requestBody: required: true content: @@ -51606,7 +51612,7 @@ paths: - gpu - accelerated responses: - '200': *157 + '200': *158 '404': *6 '422': *7 x-github: @@ -51632,7 +51638,7 @@ paths: parameters: - *327 - *328 - - *152 + - *153 requestBody: required: true content: @@ -51657,7 +51663,7 @@ paths: - gpu - accelerated responses: - '200': *157 + '200': *158 '404': *6 '422': *7 x-github: @@ -51683,7 +51689,7 @@ paths: parameters: - *327 - *328 - - *152 + - *153 responses: '200': *361 '404': *6 @@ -51714,10 +51720,10 @@ paths: parameters: - *327 - *328 - - *152 + - *153 - *362 responses: - '200': *157 + '200': *158 '404': *6 '422': *7 x-github: @@ -51939,7 +51945,7 @@ paths: that triggered the run. type: array nullable: true - items: *79 + items: *80 created_at: type: string format: date-time @@ -52051,8 +52057,8 @@ paths: - author - committer nullable: true - repository: *151 - head_repository: *151 + repository: *152 + head_repository: *152 head_repository_id: type: integer example: 5 @@ -52304,7 +52310,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: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52738,7 +52744,7 @@ paths: description: Response content: application/json: - schema: *160 + schema: *161 examples: default: value: @@ -52790,7 +52796,7 @@ paths: examples: default: *367 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52965,7 +52971,7 @@ paths: workflow_name: CI head_branch: main headers: - Link: *58 + Link: *59 '404': *6 x-github: githubCloudOnly: false @@ -53028,11 +53034,11 @@ paths: description: Response content: application/json: - schema: *160 + schema: *161 examples: default: value: - '409': *51 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53132,11 +53138,11 @@ paths: description: Response content: application/json: - schema: *160 + schema: *161 examples: default: value: - '409': *51 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53195,7 +53201,7 @@ paths: examples: default: *371 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53254,7 +53260,7 @@ paths: '204': description: Response '403': *29 - '500': *111 + '500': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53560,8 +53566,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *71 - required: *72 + properties: *72 + required: *73 required: - id - node_id @@ -53657,7 +53663,7 @@ paths: description: Response content: application/json: - schema: *160 + schema: *161 examples: default: value: @@ -53703,7 +53709,7 @@ paths: description: Response content: application/json: - schema: *160 + schema: *161 examples: default: value: @@ -53897,7 +53903,7 @@ paths: examples: default: *373 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53953,7 +53959,7 @@ paths: parameters: - *327 - *328 - - *159 + - *160 responses: '200': description: Response @@ -53989,7 +53995,7 @@ paths: parameters: - *327 - *328 - - *159 + - *160 requestBody: required: true content: @@ -54020,7 +54026,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *160 + schema: *161 examples: default: value: @@ -54048,7 +54054,7 @@ paths: parameters: - *327 - *328 - - *159 + - *160 responses: '204': description: Response @@ -54096,7 +54102,7 @@ paths: examples: default: *377 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54145,7 +54151,7 @@ paths: description: Response content: application/json: - schema: *160 + schema: *161 examples: default: value: @@ -54172,7 +54178,7 @@ paths: parameters: - *327 - *328 - - *162 + - *163 responses: '200': description: Response @@ -54208,7 +54214,7 @@ paths: parameters: - *327 - *328 - - *162 + - *163 requestBody: required: true content: @@ -54252,7 +54258,7 @@ paths: parameters: - *327 - *328 - - *162 + - *163 responses: '204': description: Response @@ -54380,7 +54386,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: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54484,37 +54490,8 @@ paths: - *328 - *379 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: @@ -54623,7 +54600,7 @@ paths: examples: default: *387 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54718,7 +54695,7 @@ paths: parameters: - *327 - *328 - - *52 + - *53 - *17 - *45 - *46 @@ -54862,7 +54839,7 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *59 '422': *7 x-github: githubCloudOnly: false @@ -54894,9 +54871,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *63 headers: - Link: *58 + Link: *59 '404': *6 x-github: githubCloudOnly: false @@ -55868,7 +55845,7 @@ paths: - linter protection_url: https://api.github.com/repos/octocat/hello-world/branches/master/protection headers: - Link: *58 + Link: *59 '404': *6 x-github: githubCloudOnly: false @@ -56014,12 +55991,12 @@ paths: nullable: true oneOf: - *4 - - *160 + - *161 committer: nullable: true oneOf: - *4 - - *160 + - *161 parents: type: array items: @@ -58420,7 +58397,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *63 '404': *6 x-github: githubCloudOnly: false @@ -58479,7 +58456,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *63 '422': *15 x-github: githubCloudOnly: false @@ -58539,7 +58516,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *63 '422': *15 x-github: githubCloudOnly: false @@ -58599,7 +58576,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *63 '422': *15 x-github: githubCloudOnly: false @@ -59157,15 +59134,15 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *71 - required: *72 + properties: *72 + required: *73 pull_requests: description: Pull requests that are open with a `head_sha` or `head_branch` that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check. type: array - items: *79 + items: *80 deployment: &725 title: Deployment description: A deployment created as the result of an Actions @@ -59233,8 +59210,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *71 - required: *72 + properties: *72 + required: *73 required: - id - node_id @@ -59903,7 +59880,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: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59931,7 +59908,7 @@ paths: description: Response content: application/json: - schema: *160 + schema: *161 examples: default: value: @@ -60056,7 +60033,7 @@ paths: nullable: true pull_requests: type: array - items: *79 + items: *80 nullable: true app: title: GitHub app @@ -60067,9 +60044,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *71 - required: *72 - repository: *151 + properties: *72 + required: *73 + repository: *152 created_at: type: string format: date-time @@ -60485,7 +60462,7 @@ paths: required: - app_id - setting - repository: *151 + repository: *152 examples: default: value: @@ -60905,7 +60882,7 @@ paths: url: https://api.github.com/repos/github/hello-world name: hello-world headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60933,7 +60910,7 @@ paths: description: Response content: application/json: - schema: *160 + schema: *161 examples: default: value: @@ -60981,7 +60958,7 @@ paths: required: false schema: type: integer - - *52 + - *53 - *45 - *46 - name: sort @@ -61024,14 +61001,14 @@ paths: items: type: object properties: - number: *169 - created_at: *170 - updated_at: *171 - url: *172 - html_url: *173 + number: *170 + created_at: *171 + updated_at: *172 + url: *173 + html_url: *174 instances_url: *418 - state: *178 - fixed_at: *174 + state: *179 + fixed_at: *175 dismissed_by: title: Simple User description: A GitHub user. @@ -61039,7 +61016,7 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *175 + dismissed_at: *176 dismissed_reason: *419 dismissed_comment: *420 rule: *421 @@ -61177,7 +61154,7 @@ paths: application/json: schema: *3 '404': *6 - '503': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61207,7 +61184,7 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *169 + schema: *170 responses: '200': description: Response @@ -61216,14 +61193,14 @@ paths: schema: &426 type: object properties: - number: *169 - created_at: *170 - updated_at: *171 - url: *172 - html_url: *173 + number: *170 + created_at: *171 + updated_at: *172 + url: *173 + html_url: *174 instances_url: *418 - state: *178 - fixed_at: *174 + state: *179 + fixed_at: *175 dismissed_by: title: Simple User description: A GitHub user. @@ -61231,7 +61208,7 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *175 + dismissed_at: *176 dismissed_reason: *419 dismissed_comment: *420 rule: @@ -61389,7 +61366,7 @@ paths: '304': *37 '403': *424 '404': *6 - '503': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61536,7 +61513,7 @@ paths: application/json: schema: *3 '404': *6 - '503': *112 + '503': *113 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -61609,7 +61586,7 @@ paths: status: '400' '403': *424 '404': *6 - '503': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61664,7 +61641,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61738,7 +61715,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61842,7 +61819,7 @@ paths: - source '403': *424 '404': *6 - '503': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61896,7 +61873,7 @@ paths: type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 - - *52 + - *53 - name: sort description: The property by which to sort the results. in: query @@ -62017,7 +61994,7 @@ paths: warning: '' '403': *424 '404': *6 - '503': *112 + '503': *113 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -62126,7 +62103,7 @@ paths: content: application/json: schema: *3 - '503': *112 + '503': *113 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -62262,7 +62239,7 @@ paths: '400': *14 '403': *430 '404': *6 - '503': *112 + '503': *113 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -62404,7 +62381,7 @@ paths: commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c '403': *424 '404': *6 - '503': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62480,7 +62457,7 @@ paths: description: Found '403': *424 '404': *6 - '503': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62513,7 +62490,7 @@ paths: description: Response '403': *430 '404': *6 - '503': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62637,7 +62614,7 @@ paths: id: type: integer description: The ID of the variant analysis. - controller_repo: *57 + controller_repo: *58 actor: *4 query_language: *441 query_pack_url: @@ -62963,7 +62940,7 @@ paths: content: application/json: schema: *3 - '503': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63001,7 +62978,7 @@ paths: examples: default: *444 '404': *6 - '503': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63056,7 +63033,7 @@ paths: schema: type: object properties: - repository: *57 + repository: *58 analysis_status: *446 artifact_size_in_bytes: type: integer @@ -63161,7 +63138,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63270,7 +63247,7 @@ paths: schedule: weekly '403': *424 '404': *6 - '503': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63357,7 +63334,7 @@ paths: description: Response content: application/json: - schema: *160 + schema: *161 examples: default: value: @@ -63396,7 +63373,7 @@ paths: content: application/json: schema: *3 - '503': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63538,7 +63515,7 @@ paths: '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *112 + '503': *113 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63607,7 +63584,7 @@ paths: '403': *424 '404': description: Not Found if the sarif id does not match any upload - '503': *112 + '503': *113 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -64125,7 +64102,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': *111 + '500': *112 '401': *25 '403': *29 '404': *6 @@ -64226,7 +64203,7 @@ paths: '401': *25 '403': *29 '404': *6 - '503': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -64291,7 +64268,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *111 + '500': *112 '400': *14 '401': *25 '403': *29 @@ -64375,7 +64352,7 @@ paths: memory_in_bytes: 34359738368 cpus: 8 '304': *37 - '500': *111 + '500': *112 '401': *25 '403': *29 '404': *6 @@ -64529,7 +64506,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64591,7 +64568,7 @@ paths: examples: default: *451 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64643,7 +64620,7 @@ paths: parameters: - *327 - *328 - - *159 + - *160 responses: '200': description: Response @@ -64673,7 +64650,7 @@ paths: parameters: - *327 - *328 - - *159 + - *160 requestBody: required: true content: @@ -64701,7 +64678,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *160 + schema: *161 examples: default: value: @@ -64727,7 +64704,7 @@ paths: parameters: - *327 - *328 - - *159 + - *160 responses: '204': description: Response @@ -64940,7 +64917,7 @@ paths: admin: false role_name: write headers: - Link: *58 + Link: *59 '404': *6 x-github: githubCloudOnly: false @@ -64967,7 +64944,7 @@ paths: parameters: - *327 - *328 - - *63 + - *64 responses: '204': description: Response if user is a collaborator @@ -65015,7 +64992,7 @@ paths: parameters: - *327 - *328 - - *63 + - *64 requestBody: required: false content: @@ -65052,7 +65029,7 @@ paths: example: 42 type: integer format: int64 - repository: *151 + repository: *152 invitee: title: Simple User description: A GitHub user. @@ -65230,7 +65207,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *120 + schema: *121 '403': *29 x-github: triggersNotification: true @@ -65272,7 +65249,7 @@ paths: parameters: - *327 - *328 - - *63 + - *64 responses: '204': description: No Content when collaborator was removed from the repository. @@ -65305,7 +65282,7 @@ paths: parameters: - *327 - *328 - - *63 + - *64 responses: '200': description: if user has admin permissions @@ -65433,8 +65410,8 @@ paths: updated_at: type: string format: date-time - author_association: *75 - reactions: *76 + author_association: *76 + reactions: *77 required: - url - html_url @@ -65484,7 +65461,7 @@ paths: updated_at: '2011-04-14T16:00:49Z' author_association: COLLABORATOR headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65511,7 +65488,7 @@ paths: parameters: - *327 - *328 - - *90 + - *91 responses: '200': description: Response @@ -65578,7 +65555,7 @@ paths: parameters: - *327 - *328 - - *90 + - *91 requestBody: required: true content: @@ -65653,7 +65630,7 @@ paths: parameters: - *327 - *328 - - *90 + - *91 responses: '204': description: Response @@ -65676,7 +65653,7 @@ paths: parameters: - *327 - *328 - - *90 + - *91 - 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. @@ -65771,7 +65748,7 @@ paths: content: heart created_at: '2016-05-20T20:09:31Z' headers: - Link: *58 + Link: *59 '404': *6 x-github: githubCloudOnly: false @@ -65792,7 +65769,7 @@ paths: parameters: - *327 - *328 - - *90 + - *91 requestBody: required: true content: @@ -65881,7 +65858,7 @@ paths: parameters: - *327 - *328 - - *90 + - *91 - &531 name: reaction_id description: The unique identifier of the reaction. @@ -66066,11 +66043,11 @@ paths: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: - Link: *58 - '500': *111 + Link: *59 + '500': *112 '400': *14 '404': *6 - '409': *51 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66139,7 +66116,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc protected: false '422': *15 - '409': *51 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66180,7 +66157,7 @@ paths: examples: default: *463 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66766,8 +66743,8 @@ paths: auto_merge: draft: false headers: - Link: *58 - '409': *51 + Link: *59 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66931,9 +66908,9 @@ paths: ..... '422': *15 '404': *6 - '500': *111 - '503': *112 - '409': *51 + '500': *112 + '503': *113 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67000,7 +66977,7 @@ paths: examples: default: *469 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67226,7 +67203,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: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67320,7 +67297,7 @@ paths: type: string total_count: type: integer - repository: *151 + repository: *152 commit_url: type: string format: uri @@ -67543,7 +67520,7 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *59 '301': *331 x-github: githubCloudOnly: false @@ -67623,8 +67600,8 @@ paths: title: License Simple description: License Simple type: object - properties: *77 - required: *78 + properties: *78 + required: *79 nullable: true contributing: title: Community Health File @@ -68086,8 +68063,8 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" '404': *6 - '500': *111 - '503': *112 + '500': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69147,8 +69124,8 @@ paths: verified_at: '422': *15 '404': *6 - '409': *51 - '503': *112 + '409': *52 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69269,7 +69246,7 @@ paths: site_admin: false contributions: 32 headers: - Link: *58 + Link: *59 '204': description: Response if repository is empty '403': *29 @@ -69308,7 +69285,7 @@ paths: - *478 - *195 - *196 - - *52 + - *53 - 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)." @@ -69330,7 +69307,7 @@ paths: type: object description: A Dependabot alert. properties: - number: *169 + number: *170 state: type: string description: The state of the Dependabot alert. @@ -69345,7 +69322,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *53 + package: *54 manifest_path: type: string description: The full path to the dependency manifest file, @@ -69373,12 +69350,12 @@ paths: - direct - transitive security_advisory: *479 - security_vulnerability: *56 - url: *172 - html_url: *173 - created_at: *170 - updated_at: *171 - dismissed_at: *175 + security_vulnerability: *57 + url: *173 + html_url: *174 + created_at: *171 + updated_at: *172 + dismissed_at: *176 dismissed_by: title: Simple User description: A GitHub user. @@ -69402,7 +69379,7 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *174 + fixed_at: *175 auto_dismissed_at: *480 dismissal_request: *481 required: @@ -69645,7 +69622,7 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *169 + schema: *170 responses: '200': description: Response @@ -69917,7 +69894,7 @@ paths: '400': *14 '403': *29 '404': *6 - '409': *51 + '409': *52 '422': *7 x-github: githubCloudOnly: false @@ -69990,7 +69967,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70043,7 +70020,7 @@ paths: parameters: - *327 - *328 - - *159 + - *160 responses: '200': description: Response @@ -70077,7 +70054,7 @@ paths: parameters: - *327 - *328 - - *159 + - *160 requestBody: required: true content: @@ -70105,7 +70082,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *160 + schema: *161 examples: default: value: @@ -70131,7 +70108,7 @@ paths: parameters: - *327 - *328 - - *159 + - *160 responses: '204': description: Response @@ -70290,7 +70267,7 @@ paths: advisory_summary: Ruby OpenID advisory_url: https://github.com/advisories/GHSA-fqfj-cmh6-hj49 headers: - Link: *58 + Link: *59 '404': *6 '403': description: Response for a private repository when GitHub Advanced Security @@ -70531,7 +70508,7 @@ paths: spdxElementId: SPDXRef-DOCUMENT relatedSpdxElement: SPDXRef-Repository headers: - Link: *58 + Link: *59 '404': *6 '403': *29 x-github: @@ -70850,7 +70827,7 @@ paths: examples: default: *489 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71275,8 +71252,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *71 - required: *72 + properties: *72 + required: *73 required: - id - node_id @@ -71325,7 +71302,7 @@ paths: environment_url: https://test-branch.lab.acme.com log_url: https://example.com/deployment/42/output headers: - Link: *58 + Link: *59 '404': *6 x-github: githubCloudOnly: false @@ -72661,7 +72638,7 @@ paths: examples: default: *373 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72719,7 +72696,7 @@ paths: - *327 - *328 - *495 - - *159 + - *160 responses: '200': description: Response @@ -72752,7 +72729,7 @@ paths: - *327 - *328 - *495 - - *159 + - *160 requestBody: required: true content: @@ -72783,7 +72760,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *160 + schema: *161 examples: default: value: @@ -72812,7 +72789,7 @@ paths: - *327 - *328 - *495 - - *159 + - *160 responses: '204': description: Default response @@ -72861,7 +72838,7 @@ paths: examples: default: *377 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72911,7 +72888,7 @@ paths: description: Response content: application/json: - schema: *160 + schema: *161 examples: default: value: @@ -72939,7 +72916,7 @@ paths: - *327 - *328 - *495 - - *162 + - *163 responses: '200': description: Response @@ -72970,7 +72947,7 @@ paths: parameters: - *327 - *328 - - *162 + - *163 - *495 requestBody: required: true @@ -73015,7 +72992,7 @@ paths: parameters: - *327 - *328 - - *162 + - *163 - *495 responses: '204': @@ -73049,7 +73026,7 @@ paths: application/json: schema: type: array - items: *100 + items: *101 examples: 200-response: value: @@ -73130,7 +73107,7 @@ paths: application/json: schema: type: array - items: *151 + items: *152 examples: default: value: @@ -73243,7 +73220,7 @@ paths: url: https://api.github.com/licenses/mit node_id: MDc6TGljZW5zZW1pdA== headers: - Link: *58 + Link: *59 '400': *14 x-github: githubCloudOnly: false @@ -73375,7 +73352,7 @@ paths: schema: type: string '404': *6 - '409': *51 + '409': *52 '403': *29 '422': description: Validation failed @@ -73383,7 +73360,7 @@ paths: application/json: schema: oneOf: - - *120 + - *121 - *508 x-github: githubCloudOnly: false @@ -73461,7 +73438,7 @@ paths: '404': *6 '422': *15 '403': *29 - '409': *51 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73783,7 +73760,7 @@ paths: type: string '422': *15 '404': *6 - '409': *51 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73872,7 +73849,7 @@ paths: payload: verified_at: '404': *6 - '409': *51 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73969,8 +73946,8 @@ paths: sha: 612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: - Link: *58 - '409': *51 + Link: *59 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74011,7 +73988,7 @@ paths: sha: aa218f56b14c9653891f9e74264a383fa43fefbd url: https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd '404': *6 - '409': *51 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74069,7 +74046,7 @@ paths: schema: type: string '422': *15 - '409': *51 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74123,7 +74100,7 @@ paths: examples: default: *512 '422': *15 - '409': *51 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74148,7 +74125,7 @@ paths: '422': description: Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed. - '409': *51 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74352,7 +74329,7 @@ paths: schema: type: string '422': *15 - '409': *51 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74414,7 +74391,7 @@ paths: examples: default: *515 '404': *6 - '409': *51 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74583,7 +74560,7 @@ paths: '422': *15 '404': *6 '403': *29 - '409': *51 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74671,7 +74648,7 @@ paths: truncated: false '422': *15 '404': *6 - '409': *51 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74809,7 +74786,7 @@ paths: status: unused message: headers: - Link: *58 + Link: *59 '404': *6 x-github: githubCloudOnly: false @@ -75323,7 +75300,7 @@ paths: - *328 responses: '204': *183 - '409': *51 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75344,7 +75321,7 @@ paths: - *328 responses: '204': *183 - '409': *51 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76353,7 +76330,7 @@ paths: html_url: https://github.com/octocat/Hello-World/invitations node_id: MDQ6VXNlcjE= headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76626,8 +76603,8 @@ paths: - updated - comments default: created - - *52 - - *81 + - *53 + - *82 - *17 - *19 responses: @@ -76637,7 +76614,7 @@ paths: application/json: schema: type: array - items: *74 + items: *75 examples: default: &538 value: @@ -76786,7 +76763,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *58 + Link: *59 '301': *331 '422': *15 '404': *6 @@ -76899,7 +76876,7 @@ paths: description: Response content: application/json: - schema: *74 + schema: *75 examples: default: &535 value: @@ -77055,7 +77032,7 @@ paths: '400': *14 '403': *29 '422': *15 - '503': *112 + '503': *113 '404': *6 '410': *527 x-github: @@ -77087,7 +77064,7 @@ paths: parameters: - *327 - *328 - - *98 + - *99 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -77097,7 +77074,7 @@ paths: enum: - asc - desc - - *81 + - *82 - *17 - *19 responses: @@ -77140,7 +77117,7 @@ paths: issue_url: https://api.github.com/repos/octocat/Hello-World/issues/1347 author_association: COLLABORATOR headers: - Link: *58 + Link: *59 '422': *15 '404': *6 x-github: @@ -77169,7 +77146,7 @@ paths: parameters: - *327 - *328 - - *90 + - *91 responses: '200': description: Response @@ -77233,7 +77210,7 @@ paths: parameters: - *327 - *328 - - *90 + - *91 requestBody: required: true content: @@ -77277,7 +77254,7 @@ paths: parameters: - *327 - *328 - - *90 + - *91 responses: '204': description: Response @@ -77299,7 +77276,7 @@ paths: parameters: - *327 - *328 - - *90 + - *91 - 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. @@ -77329,7 +77306,7 @@ paths: examples: default: *530 headers: - Link: *58 + Link: *59 '404': *6 x-github: githubCloudOnly: false @@ -77350,7 +77327,7 @@ paths: parameters: - *327 - *328 - - *90 + - *91 requestBody: required: true content: @@ -77415,7 +77392,7 @@ paths: parameters: - *327 - *328 - - *90 + - *91 - *531 responses: '204': @@ -77600,7 +77577,7 @@ paths: required: - from - to - author_association: *75 + author_association: *76 lock_reason: type: string nullable: true @@ -77613,8 +77590,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *71 - required: *72 + properties: *72 + required: *73 required: - id - node_id @@ -77780,7 +77757,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *58 + Link: *59 '422': *15 x-github: githubCloudOnly: false @@ -78050,7 +78027,7 @@ paths: description: Response content: application/json: - schema: *74 + schema: *75 examples: default: *535 '301': *331 @@ -78186,11 +78163,11 @@ paths: description: Response content: application/json: - schema: *74 + schema: *75 examples: default: *535 '422': *15 - '503': *112 + '503': *113 '403': *29 '301': *331 '404': *6 @@ -78240,7 +78217,7 @@ paths: description: Response content: application/json: - schema: *74 + schema: *75 examples: default: *535 x-github: @@ -78285,7 +78262,7 @@ paths: description: Response content: application/json: - schema: *74 + schema: *75 examples: default: *535 x-github: @@ -78354,7 +78331,7 @@ paths: - *327 - *328 - *536 - - *81 + - *82 - *17 - *19 responses: @@ -78368,7 +78345,7 @@ paths: examples: default: *537 headers: - Link: *58 + Link: *59 '404': *6 '410': *527 x-github: @@ -78472,11 +78449,11 @@ paths: application/json: schema: type: array - items: *74 + items: *75 examples: default: *538 headers: - Link: *58 + Link: *59 '301': *331 '404': *6 '410': *527 @@ -78531,7 +78508,7 @@ paths: description: Response content: application/json: - schema: *74 + schema: *75 examples: default: *535 headers: @@ -78586,7 +78563,7 @@ paths: description: Response content: application/json: - schema: *74 + schema: *75 examples: default: *535 '301': *331 @@ -78632,11 +78609,11 @@ paths: application/json: schema: type: array - items: *74 + items: *75 examples: default: *538 headers: - Link: *58 + Link: *59 '301': *331 '404': *6 '410': *527 @@ -78703,8 +78680,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *71 - required: *72 + properties: *72 + required: *73 label: type: object properties: @@ -78757,8 +78734,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *71 - required: *72 + properties: *72 + required: *73 label: type: object properties: @@ -78846,8 +78823,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *71 - required: *72 + properties: *72 + required: *73 assignee: *4 assigner: *4 required: @@ -78893,8 +78870,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *71 - required: *72 + properties: *72 + required: *73 milestone: type: object properties: @@ -78944,8 +78921,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *71 - required: *72 + properties: *72 + required: *73 milestone: type: object properties: @@ -78995,8 +78972,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *71 - required: *72 + properties: *72 + required: *73 rename: type: object properties: @@ -79049,8 +79026,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *71 - required: *72 + properties: *72 + required: *73 review_requester: *4 requested_team: *189 requested_reviewer: *4 @@ -79096,8 +79073,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *71 - required: *72 + properties: *72 + required: *73 review_requester: *4 requested_team: *189 requested_reviewer: *4 @@ -79143,8 +79120,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *71 - required: *72 + properties: *72 + required: *73 dismissed_review: type: object properties: @@ -79203,8 +79180,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *71 - required: *72 + properties: *72 + required: *73 lock_reason: type: string example: '"off-topic"' @@ -79251,8 +79228,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *71 - required: *72 + properties: *72 + required: *73 project_card: type: object properties: @@ -79317,8 +79294,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *71 - required: *72 + properties: *72 + required: *73 project_card: type: object properties: @@ -79383,8 +79360,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *71 - required: *72 + properties: *72 + required: *73 project_card: type: object properties: @@ -79508,7 +79485,7 @@ paths: name: label color: red headers: - Link: *58 + Link: *59 '410': *527 x-github: githubCloudOnly: false @@ -79538,7 +79515,7 @@ paths: application/json: schema: type: array - items: *73 + items: *74 examples: default: &539 value: @@ -79557,7 +79534,7 @@ paths: color: a2eeef default: false headers: - Link: *58 + Link: *59 '301': *331 '404': *6 '410': *527 @@ -79638,7 +79615,7 @@ paths: application/json: schema: type: array - items: *73 + items: *74 examples: default: *539 '301': *331 @@ -79722,7 +79699,7 @@ paths: application/json: schema: type: array - items: *73 + items: *74 examples: default: *539 '301': *331 @@ -79786,7 +79763,7 @@ paths: application/json: schema: type: array - items: *73 + items: *74 examples: default: value: @@ -79907,7 +79884,7 @@ paths: description: Response content: application/json: - schema: *74 + schema: *75 examples: default: *535 '301': *331 @@ -79961,7 +79938,7 @@ paths: examples: default: *530 headers: - Link: *58 + Link: *59 '404': *6 '410': *527 x-github: @@ -80102,7 +80079,7 @@ paths: description: Response content: application/json: - schema: *74 + schema: *75 examples: default: *535 headers: @@ -80149,11 +80126,11 @@ paths: application/json: schema: type: array - items: *74 + items: *75 examples: default: *538 headers: - Link: *58 + Link: *59 '404': *6 '410': *527 x-github: @@ -80212,7 +80189,7 @@ paths: description: Response content: application/json: - schema: *74 + schema: *75 examples: default: *535 headers: @@ -80274,13 +80251,13 @@ paths: description: Response content: application/json: - schema: *74 + schema: *75 examples: default: *535 '403': *29 '404': *6 '422': *7 - '503': *112 + '503': *113 x-github: triggersNotification: true githubCloudOnly: false @@ -80370,7 +80347,7 @@ paths: issue_url: type: string format: uri - author_association: *75 + author_association: *76 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -80380,9 +80357,9 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *71 - required: *72 - reactions: *76 + properties: *72 + required: *73 + reactions: *77 required: - event - actor @@ -80413,7 +80390,7 @@ paths: properties: type: type: string - issue: *74 + issue: *75 required: - event - created_at @@ -80613,7 +80590,7 @@ paths: type: string body_text: type: string - author_association: *75 + author_association: *76 required: - event - id @@ -80700,7 +80677,13 @@ paths: description: The comment ID to reply to. example: 8 type: integer - user: *4 + user: + title: Simple User + description: A GitHub user. + type: object + properties: *20 + required: *21 + nullable: true body: description: The text of the comment. example: We should probably include a check for null @@ -80725,7 +80708,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *75 + author_association: *76 _links: type: object properties: @@ -80809,7 +80792,7 @@ paths: enum: - line - file - reactions: *76 + reactions: *77 body_html: type: string example: '"

comment body

"' @@ -80876,8 +80859,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *71 - required: *72 + properties: *72 + required: *73 assignee: *4 required: - id @@ -80920,8 +80903,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *71 - required: *72 + properties: *72 + required: *73 assignee: *4 required: - id @@ -80964,8 +80947,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *71 - required: *72 + properties: *72 + required: *73 state_reason: type: string nullable: true @@ -81132,7 +81115,7 @@ paths: type: User site_admin: true headers: - Link: *58 + Link: *59 '404': *6 '410': *527 x-github: @@ -81212,7 +81195,7 @@ paths: last_used: '2022-01-10T15:53:42Z' enabled: true headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81368,11 +81351,11 @@ paths: application/json: schema: type: array - items: *73 + items: *74 examples: default: *539 headers: - Link: *58 + Link: *59 '404': *6 x-github: githubCloudOnly: false @@ -81428,7 +81411,7 @@ paths: description: Response content: application/json: - schema: *73 + schema: *74 examples: default: &556 value: @@ -81474,7 +81457,7 @@ paths: description: Response content: application/json: - schema: *73 + schema: *74 examples: default: *556 '404': *6 @@ -81533,7 +81516,7 @@ paths: description: Response content: application/json: - schema: *73 + schema: *74 examples: default: value: @@ -81690,8 +81673,8 @@ paths: title: License Simple description: License Simple type: object - properties: *77 - required: *78 + properties: *78 + required: *79 nullable: true required: - _links @@ -81987,7 +81970,7 @@ paths: closed_at: '2013-02-12T13:22:01Z' due_on: '2012-10-09T23:39:01Z' headers: - Link: *58 + Link: *59 '404': *6 x-github: githubCloudOnly: false @@ -82232,11 +82215,11 @@ paths: application/json: schema: type: array - items: *73 + items: *74 examples: default: *539 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82257,7 +82240,7 @@ paths: - *328 - *561 - *562 - - *81 + - *82 - *563 - *17 - *19 @@ -82268,11 +82251,11 @@ paths: application/json: schema: type: array - items: *101 + items: *102 examples: default: *564 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -82585,7 +82568,7 @@ paths: examples: default: *566 '422': *15 - '409': *51 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82685,7 +82668,7 @@ paths: description: Response '422': *15 '400': *14 - '409': *51 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82713,7 +82696,7 @@ paths: description: Response '422': *15 '404': *6 - '409': *51 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82819,7 +82802,7 @@ paths: created_at: '2014-02-10T19:00:49Z' updated_at: '2014-02-10T19:00:51Z' headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83402,7 +83385,7 @@ paths: description: Empty response content: application/json: - schema: *160 + schema: *161 examples: default: value: @@ -83521,7 +83504,7 @@ paths: application/json: schema: type: array - items: *110 + items: *111 examples: default: *570 '403': *29 @@ -83558,7 +83541,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *110 + items: *111 required: - properties examples: @@ -83665,7 +83648,7 @@ paths: examples: default: *572 headers: - Link: *58 + Link: *59 '304': *37 '422': *15 x-github: @@ -83927,7 +83910,7 @@ paths: type: string ref: type: string - repo: *70 + repo: *71 sha: type: string user: *4 @@ -83944,7 +83927,7 @@ paths: type: string ref: type: string - repo: *70 + repo: *71 sha: type: string user: *4 @@ -83974,7 +83957,7 @@ paths: - review_comments - review_comment - self - author_association: *75 + author_association: *76 auto_merge: *573 draft: description: Indicates whether or not the pull request is a draft. @@ -84614,7 +84597,7 @@ paths: enum: - asc - desc - - *81 + - *82 - *17 - *19 responses: @@ -84678,7 +84661,7 @@ paths: original_line: 2 side: RIGHT headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84705,7 +84688,7 @@ paths: parameters: - *327 - *328 - - *90 + - *91 responses: '200': description: Response @@ -84790,7 +84773,7 @@ paths: parameters: - *327 - *328 - - *90 + - *91 requestBody: required: true content: @@ -84832,7 +84815,7 @@ paths: parameters: - *327 - *328 - - *90 + - *91 responses: '204': description: Response @@ -84855,7 +84838,7 @@ paths: parameters: - *327 - *328 - - *90 + - *91 - 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. @@ -84885,7 +84868,7 @@ paths: examples: default: *530 headers: - Link: *58 + Link: *59 '404': *6 x-github: githubCloudOnly: false @@ -84906,7 +84889,7 @@ paths: parameters: - *327 - *328 - - *90 + - *91 requestBody: required: true content: @@ -84971,7 +84954,7 @@ paths: parameters: - *327 - *328 - - *90 + - *91 - *531 responses: '204': @@ -85040,8 +85023,8 @@ paths: content: application/json: schema: *3 - '500': *111 - '503': *112 + '500': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85211,7 +85194,7 @@ paths: '401': *25 '403': *29 '404': *6 - '503': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -85240,7 +85223,7 @@ paths: - *327 - *328 - *578 - - *98 + - *99 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -85250,7 +85233,7 @@ paths: enum: - asc - desc - - *81 + - *82 - *17 - *19 responses: @@ -85264,7 +85247,7 @@ paths: examples: default: *579 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85493,7 +85476,7 @@ paths: - *327 - *328 - *578 - - *90 + - *91 requestBody: required: true content: @@ -85617,7 +85600,7 @@ paths: examples: default: *580 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85673,10 +85656,10 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" headers: - Link: *58 + Link: *59 '422': *15 - '500': *111 - '503': *112 + '500': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85892,7 +85875,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87107,7 +87090,7 @@ paths: type: string body_text: type: string - author_association: *75 + author_association: *76 required: - id - node_id @@ -87156,7 +87139,7 @@ paths: commit_id: ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091 author_association: COLLABORATOR headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87626,7 +87609,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *75 + author_association: *76 _links: type: object properties: @@ -87641,7 +87624,7 @@ paths: type: string body_html: type: string - reactions: *76 + reactions: *77 side: description: The side of the first line of the range for a multi-line comment. @@ -87753,7 +87736,7 @@ paths: pull_request: href: https://api.github.com/repos/octocat/Hello-World/pulls/1 headers: - Link: *58 + Link: *59 '404': *6 x-github: githubCloudOnly: false @@ -88191,7 +88174,7 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *59 '404': *6 x-github: githubCloudOnly: false @@ -88882,7 +88865,7 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89039,7 +89022,7 @@ paths: examples: default: *530 headers: - Link: *58 + Link: *59 '404': *6 x-github: githubCloudOnly: false @@ -89338,7 +89321,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *111 + '500': *112 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -89450,7 +89433,7 @@ paths: created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' '404': *6 - '500': *111 + '500': *112 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -89481,7 +89464,7 @@ paths: examples: default: *602 '404': *6 - '500': *111 + '500': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89512,7 +89495,7 @@ paths: examples: default: *605 '404': *6 - '500': *111 + '500': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89563,7 +89546,7 @@ paths: examples: default: *606 '404': *6 - '500': *111 + '500': *112 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -89646,7 +89629,7 @@ paths: examples: default: *606 '404': *6 - '500': *111 + '500': *112 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -89674,7 +89657,7 @@ paths: '204': description: Response '404': *6 - '500': *111 + '500': *112 "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": get: summary: Get repository ruleset history @@ -89707,7 +89690,7 @@ paths: examples: default: *607 '404': *6 - '500': *111 + '500': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89776,7 +89759,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *111 + '500': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89805,7 +89788,7 @@ paths: - *611 - *612 - *613 - - *52 + - *53 - *19 - *17 - *614 @@ -89824,8 +89807,8 @@ paths: items: &623 type: object properties: - number: *169 - created_at: *170 + number: *170 + created_at: *171 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -89833,8 +89816,8 @@ paths: format: date-time readOnly: true nullable: true - url: *172 - html_url: *173 + url: *173 + html_url: *174 locations_url: type: string format: uri @@ -90064,7 +90047,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90126,7 +90109,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90267,7 +90250,7 @@ paths: '422': description: State does not match the resolution or resolution comment, or assignee does not have write access to the repository - '503': *112 + '503': *113 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -90400,11 +90383,11 @@ paths: details: pull_request_review_comment_url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 headers: - Link: *58 + Link: *59 '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90482,7 +90465,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *112 + '503': *113 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -90511,7 +90494,7 @@ paths: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *112 + '503': *113 '200': description: Response content: @@ -90627,7 +90610,7 @@ paths: parameters: - *327 - *328 - - *52 + - *53 - name: sort description: The property to sort the results by. in: query @@ -91548,7 +91531,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *120 + schema: *121 examples: invalid_state_transition: value: @@ -91722,7 +91705,7 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *59 '422': *15 x-github: githubCloudOnly: false @@ -92282,9 +92265,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *63 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92509,7 +92492,7 @@ paths: tarball_url: https://github.com/octocat/Hello-World/tarball/v0.1 node_id: MDQ6VXNlcjE= headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92738,7 +92721,7 @@ paths: examples: default: *244 headers: - Link: *58 + Link: *59 '404': *6 x-github: githubCloudOnly: false @@ -93264,7 +93247,7 @@ paths: description: Response content: application/json: - schema: *151 + schema: *152 examples: default: value: @@ -93712,7 +93695,7 @@ paths: application/json: schema: type: array - items: *151 + items: *152 examples: default: value: @@ -93901,7 +93884,7 @@ paths: html_url: type: string format: uri - repository: *151 + repository: *152 score: type: number file_size: @@ -94033,7 +94016,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *37 - '503': *112 + '503': *113 '422': *15 '403': *29 x-github: @@ -94204,7 +94187,7 @@ paths: type: string sha: type: string - repository: *151 + repository: *152 score: type: number node_id: @@ -94567,10 +94550,10 @@ paths: type: string score: type: number - author_association: *75 + author_association: *76 draft: type: boolean - repository: *70 + repository: *71 body_html: type: string body_text: @@ -94588,9 +94571,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *71 - required: *72 - reactions: *76 + properties: *72 + required: *73 + reactions: *77 required: - assignee - closed_at @@ -94706,7 +94689,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *112 + '503': *113 '422': *15 '304': *37 '403': *29 @@ -95107,8 +95090,8 @@ paths: title: License Simple description: License Simple type: object - properties: *77 - required: *78 + properties: *78 + required: *79 nullable: true permissions: type: object @@ -95329,7 +95312,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *112 + '503': *113 '422': *15 '304': *37 x-github: @@ -95781,7 +95764,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *37 - '503': *112 + '503': *113 '422': *15 x-github: githubCloudOnly: false @@ -95974,7 +95957,7 @@ paths: url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - *657 - - *52 + - *53 - *17 - *19 responses: @@ -95988,7 +95971,7 @@ paths: examples: default: *658 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96205,7 +96188,7 @@ paths: examples: default: *225 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96252,9 +96235,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *63 headers: - Link: *58 + Link: *59 '404': *6 x-github: githubCloudOnly: false @@ -96281,7 +96264,7 @@ paths: url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - *657 - - *63 + - *64 responses: '204': description: if user is a member @@ -96318,7 +96301,7 @@ paths: url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - *657 - - *63 + - *64 responses: '204': description: Response @@ -96358,7 +96341,7 @@ paths: url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - *657 - - *63 + - *64 responses: '204': description: Response @@ -96395,7 +96378,7 @@ paths: url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - *657 - - *63 + - *64 responses: '200': description: Response @@ -96437,7 +96420,7 @@ paths: url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - *657 - - *63 + - *64 requestBody: required: false content: @@ -96499,7 +96482,7 @@ paths: url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - *657 - - *63 + - *64 responses: '204': description: Response @@ -96536,11 +96519,11 @@ paths: application/json: schema: type: array - items: *151 + items: *152 examples: default: *251 headers: - Link: *58 + Link: *59 '404': *6 x-github: githubCloudOnly: false @@ -96820,7 +96803,7 @@ paths: examples: response-if-child-teams-exist: *663 headers: - Link: *58 + Link: *59 '404': *6 '403': *29 '422': *15 @@ -97286,7 +97269,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *63 '304': *37 '404': *6 '403': *29 @@ -97309,7 +97292,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: - - *63 + - *64 responses: '204': description: If the user is blocked @@ -97337,7 +97320,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#block-a-user parameters: - - *63 + - *64 responses: '204': description: Response @@ -97361,7 +97344,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#unblock-a-user parameters: - - *63 + - *64 responses: '204': description: Response @@ -97414,7 +97397,7 @@ paths: examples: default: *233 '304': *37 - '500': *111 + '500': *112 '401': *25 '403': *29 '404': *6 @@ -97565,7 +97548,7 @@ paths: '401': *25 '403': *29 '404': *6 - '503': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97647,7 +97630,7 @@ paths: examples: default: *451 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97715,7 +97698,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *159 + - *160 responses: '200': description: Response @@ -97751,7 +97734,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *159 + - *160 requestBody: required: true content: @@ -97796,7 +97779,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *160 + schema: *161 examples: default: value: @@ -97824,7 +97807,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *159 + - *160 responses: '204': description: Response @@ -97849,7 +97832,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *159 + - *160 responses: '200': description: Response @@ -97865,13 +97848,13 @@ paths: type: integer repositories: type: array - items: *151 + items: *152 examples: default: *667 '401': *25 '403': *29 '404': *6 - '500': *111 + '500': *112 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97892,7 +97875,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *159 + - *160 requestBody: required: true content: @@ -97924,7 +97907,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *111 + '500': *112 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97946,7 +97929,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *159 + - *160 - name: repository_id in: path required: true @@ -97958,7 +97941,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *111 + '500': *112 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97979,7 +97962,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *159 + - *160 - name: repository_id in: path required: true @@ -97991,7 +97974,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *111 + '500': *112 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98021,7 +98004,7 @@ paths: examples: default: *448 '304': *37 - '500': *111 + '500': *112 '401': *25 '403': *29 '404': *6 @@ -98103,7 +98086,7 @@ paths: responses: '202': *39 '304': *37 - '500': *111 + '500': *112 '401': *25 '403': *29 '404': *6 @@ -98183,7 +98166,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *111 + '500': *112 '401': *25 '403': *29 '404': *6 @@ -98263,7 +98246,7 @@ paths: examples: default: *671 '304': *37 - '500': *111 + '500': *112 '401': *25 '403': *29 '404': *6 @@ -99130,7 +99113,7 @@ paths: examples: default: *448 '304': *37 - '500': *111 + '500': *112 '400': *14 '401': *25 '402': @@ -99140,7 +99123,7 @@ paths: schema: *3 '403': *29 '404': *6 - '409': *51 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99169,7 +99152,7 @@ paths: schema: *232 examples: default: *448 - '500': *111 + '500': *112 '401': *25 '403': *29 '404': *6 @@ -99375,7 +99358,7 @@ paths: primary: true visibility: public headers: - Link: *58 + Link: *59 '304': *37 '404': *6 '403': *29 @@ -99553,9 +99536,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *63 headers: - Link: *58 + Link: *59 '304': *37 '403': *29 '401': *25 @@ -99586,9 +99569,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *63 headers: - Link: *58 + Link: *59 '304': *37 '403': *29 '401': *25 @@ -99608,7 +99591,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: - - *63 + - *64 responses: '204': description: if the person is followed by the authenticated user @@ -99638,7 +99621,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#follow-a-user parameters: - - *63 + - *64 responses: '204': description: Response @@ -99663,7 +99646,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#unfollow-a-user parameters: - - *63 + - *64 responses: '204': description: Response @@ -99862,7 +99845,7 @@ paths: revoked: false raw_key: string headers: - Link: *58 + Link: *59 '304': *37 '404': *6 '403': *29 @@ -100154,7 +100137,7 @@ paths: suspended_at: suspended_by: headers: - Link: *58 + Link: *59 '304': *37 '403': *29 '401': *25 @@ -100200,11 +100183,11 @@ paths: type: string repositories: type: array - items: *70 + items: *71 examples: - default: *143 + default: *144 headers: - Link: *58 + Link: *59 '404': *6 '403': *29 '304': *37 @@ -100227,7 +100210,7 @@ paths: url: https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *140 + - *141 responses: '204': description: Response @@ -100253,7 +100236,7 @@ paths: url: https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *140 + - *141 responses: '204': description: Response @@ -100420,8 +100403,8 @@ paths: - updated - comments default: created - - *52 - - *81 + - *53 + - *82 - *17 - *19 responses: @@ -100431,11 +100414,11 @@ paths: application/json: schema: type: array - items: *74 + items: *75 examples: default: *231 headers: - Link: *58 + Link: *59 '404': *6 '304': *37 x-github: @@ -100517,7 +100500,7 @@ paths: verified: false read_only: false headers: - Link: *58 + Link: *59 '304': *37 '404': *6 '403': *29 @@ -100723,7 +100706,7 @@ paths: - id - type - login - plan: *92 + plan: *93 required: - billing_cycle - next_billing_date @@ -100767,7 +100750,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *58 + Link: *59 '304': *37 '401': *25 '404': *6 @@ -100800,7 +100783,7 @@ paths: examples: default: *679 headers: - Link: *58 + Link: *59 '304': *37 '401': *25 x-github: @@ -100921,7 +100904,7 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *59 '304': *37 '403': *29 '401': *25 @@ -100946,7 +100929,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *67 + - *68 responses: '200': description: Response @@ -101014,7 +100997,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *67 + - *68 requestBody: required: true content: @@ -101264,7 +101247,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *58 + Link: *59 '304': *37 '403': *29 '401': *25 @@ -101841,11 +101824,11 @@ paths: application/json: schema: type: array - items: *151 + items: *152 examples: default: *251 headers: - Link: *58 + Link: *59 '404': *6 x-github: githubCloudOnly: false @@ -101878,11 +101861,11 @@ paths: application/json: schema: type: array - items: *65 + items: *66 examples: - default: *105 + default: *106 headers: - Link: *58 + Link: *59 '304': *37 '403': *29 '401': *25 @@ -102330,7 +102313,7 @@ paths: examples: default: *684 headers: - Link: *58 + Link: *59 '304': *37 '404': *6 '403': *29 @@ -102439,7 +102422,7 @@ paths: application/json: schema: type: array - items: *70 + items: *71 examples: default: &691 summary: Default response @@ -102562,7 +102545,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *58 + Link: *59 '422': *15 '304': *37 '403': *29 @@ -102789,7 +102772,7 @@ paths: examples: default: *685 headers: - Link: *58 + Link: *59 '304': *37 '404': *6 '403': *29 @@ -102815,7 +102798,7 @@ paths: '204': description: Response '403': *29 - '409': *51 + '409': *52 '404': *6 '304': *37 x-github: @@ -102837,7 +102820,7 @@ paths: responses: '204': description: Response - '409': *51 + '409': *52 '304': *37 '404': *6 '403': *29 @@ -102886,7 +102869,7 @@ paths: - provider: twitter url: https://twitter.com/github headers: - Link: *58 + Link: *59 '304': *37 '404': *6 '403': *29 @@ -103063,7 +103046,7 @@ paths: title: ssh-rsa AAAAB3NzaC1yc2EAAB created_at: '2020-07-11T21:31:57Z' headers: - Link: *58 + Link: *59 '304': *37 '404': *6 '403': *29 @@ -103227,7 +103210,7 @@ paths: - created - updated default: created - - *52 + - *53 - *17 - *19 responses: @@ -103237,7 +103220,7 @@ paths: application/json: schema: type: array - items: *70 + items: *71 examples: default-response: *691 application/vnd.github.v3.star+json: @@ -103251,7 +103234,7 @@ paths: starred_at: type: string format: date-time - repo: *70 + repo: *71 required: - starred_at - repo @@ -103379,7 +103362,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *58 + Link: *59 '304': *37 '403': *29 '401': *25 @@ -103487,11 +103470,11 @@ paths: application/json: schema: type: array - items: *151 + items: *152 examples: default: *251 headers: - Link: *58 + Link: *59 '304': *37 '403': *29 '401': *25 @@ -103577,7 +103560,7 @@ paths: updated_at: '2017-08-17T12:37:15Z' type: Organization headers: - Link: *58 + Link: *59 '304': *37 '404': *6 '403': *29 @@ -103604,7 +103587,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user-using-their-id parameters: - - *94 + - *95 responses: '200': description: Response @@ -103783,7 +103766,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *63 headers: Link: example: ; rel="next" @@ -103813,7 +103796,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user parameters: - - *63 + - *64 responses: '200': description: Response @@ -103851,7 +103834,7 @@ paths: - *17 - *45 - *46 - - *63 + - *64 requestBody: required: true content: @@ -103947,7 +103930,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-in-bulk parameters: - - *63 + - *64 requestBody: required: true content: @@ -104012,7 +103995,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *63 + - *64 - name: subject_digest description: Subject Digest in: path @@ -104043,7 +104026,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-id parameters: - - *63 + - *64 - name: attestation_id description: Attestation ID in: path @@ -104081,7 +104064,7 @@ paths: - *17 - *45 - *46 - - *63 + - *64 - name: subject_digest description: Subject Digest in: path @@ -104139,7 +104122,7 @@ paths: description: Response content: application/json: - schema: *160 + schema: *161 examples: default: value: @@ -104165,7 +104148,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: - - *63 + - *64 responses: '200': description: Response @@ -104198,7 +104181,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-for-the-authenticated-user parameters: - - *63 + - *64 - *17 - *19 responses: @@ -104208,7 +104191,7 @@ paths: application/json: schema: type: array - items: *100 + items: *101 examples: default: value: @@ -104270,8 +104253,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *63 - - *67 + - *64 + - *68 - *17 - *19 responses: @@ -104281,7 +104264,7 @@ paths: application/json: schema: type: array - items: *100 + items: *101 examples: default: value: @@ -104358,7 +104341,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-user parameters: - - *63 + - *64 - *17 - *19 responses: @@ -104368,7 +104351,7 @@ paths: application/json: schema: type: array - items: *100 + items: *101 examples: default: value: @@ -104426,7 +104409,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-followers-of-a-user parameters: - - *63 + - *64 - *17 - *19 responses: @@ -104438,9 +104421,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *63 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104457,7 +104440,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-the-people-a-user-follows parameters: - - *63 + - *64 - *17 - *19 responses: @@ -104469,9 +104452,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *63 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104488,7 +104471,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-user-follows-another-user parameters: - - *63 + - *64 - name: target_user in: path required: true @@ -104515,8 +104498,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-a-user parameters: - - *63 - - *81 + - *64 + - *82 - *17 - *19 responses: @@ -104526,11 +104509,11 @@ paths: application/json: schema: type: array - items: *82 + items: *83 examples: - default: *83 + default: *84 headers: - Link: *58 + Link: *59 '422': *15 x-github: githubCloudOnly: false @@ -104549,7 +104532,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *63 + - *64 - *17 - *19 responses: @@ -104563,7 +104546,7 @@ paths: examples: default: *698 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104585,7 +104568,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-contextual-information-for-a-user parameters: - - *63 + - *64 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -104657,7 +104640,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *63 + - *64 responses: '200': description: Response @@ -104683,7 +104666,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#list-public-keys-for-a-user parameters: - - *63 + - *64 - *17 - *19 responses: @@ -104718,7 +104701,7 @@ paths: - id: 1 key: ssh-rsa AAA... headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104738,7 +104721,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-organizations-for-a-user parameters: - - *63 + - *64 - *17 - *19 responses: @@ -104748,11 +104731,11 @@ paths: application/json: schema: type: array - items: *65 + items: *66 examples: - default: *105 + default: *106 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104790,7 +104773,7 @@ paths: - nuget - container - *681 - - *63 + - *64 - *19 - *17 responses: @@ -104827,7 +104810,7 @@ paths: parameters: - *247 - *248 - - *63 + - *64 responses: '200': description: Response @@ -104858,7 +104841,7 @@ paths: parameters: - *247 - *248 - - *63 + - *64 responses: '204': description: Response @@ -104892,7 +104875,7 @@ paths: parameters: - *247 - *248 - - *63 + - *64 - name: token description: package token schema: @@ -104926,7 +104909,7 @@ paths: parameters: - *247 - *248 - - *63 + - *64 responses: '200': description: Response @@ -104995,7 +104978,7 @@ paths: - *247 - *248 - *250 - - *63 + - *64 responses: '200': description: Response @@ -105038,7 +105021,7 @@ paths: parameters: - *247 - *248 - - *63 + - *64 - *250 responses: '204': @@ -105073,7 +105056,7 @@ paths: parameters: - *247 - *248 - - *63 + - *64 - *250 responses: '204': @@ -105098,7 +105081,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-user parameters: - - *63 + - *64 - name: q description: Limit results to projects of the specified type. in: query @@ -105119,7 +105102,7 @@ paths: examples: default: *262 headers: - Link: *58 + Link: *59 '304': *37 '403': *29 '401': *25 @@ -105140,7 +105123,7 @@ paths: url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - *263 - - *63 + - *64 responses: '200': description: Response @@ -105150,7 +105133,7 @@ paths: examples: default: *262 headers: - Link: *58 + Link: *59 '304': *37 '403': *29 '401': *25 @@ -105171,7 +105154,7 @@ paths: url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - *263 - - *63 + - *64 - *17 - *45 - *46 @@ -105186,7 +105169,7 @@ paths: examples: default: *700 headers: - Link: *58 + Link: *59 '304': *37 '403': *29 '401': *25 @@ -105205,7 +105188,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#add-field-to-user-owned-project parameters: - - *63 + - *64 - *263 requestBody: required: true @@ -105318,7 +105301,7 @@ paths: parameters: - *263 - *710 - - *63 + - *64 responses: '200': description: Response @@ -105328,7 +105311,7 @@ paths: examples: default: *711 headers: - Link: *58 + Link: *59 '304': *37 '403': *29 '401': *25 @@ -105350,7 +105333,7 @@ paths: url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - *263 - - *63 + - *64 - *45 - *46 - *17 @@ -105386,7 +105369,7 @@ paths: examples: default: *272 headers: - Link: *58 + Link: *59 '304': *37 '403': *29 '401': *25 @@ -105405,75 +105388,67 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - - *63 + - *64 - *263 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 @@ -105486,8 +105461,20 @@ paths: application/json: schema: *269 examples: - issue: *270 - pull_request: *270 + issue_with_id: + summary: Response for adding an issue using its unique ID + value: *270 + pull_request_with_id: + summary: Response for adding a pull request using its unique ID + value: *270 + issue_with_nwo: + summary: Response for adding an issue using repository owner, name, + and issue number + value: *270 + pull_request_with_nwo: + summary: Response for adding a pull request using repository owner, + name, and PR number + value: *270 '304': *37 '403': *29 '401': *25 @@ -105508,7 +105495,7 @@ paths: url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - *263 - - *63 + - *64 - *273 - name: fields description: |- @@ -105533,7 +105520,7 @@ paths: examples: default: *272 headers: - Link: *58 + Link: *59 '304': *37 '403': *29 '401': *25 @@ -105553,7 +105540,7 @@ paths: url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - *263 - - *63 + - *64 - *273 requestBody: required: true @@ -105651,7 +105638,7 @@ paths: url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - *263 - - *63 + - *64 - *273 responses: '204': @@ -105675,7 +105662,7 @@ paths: url: https://docs.github.com/rest/projects/items#list-items-for-a-user-project-view parameters: - *263 - - *63 + - *64 - *712 - name: fields description: |- @@ -105706,7 +105693,7 @@ paths: examples: default: *272 headers: - Link: *58 + Link: *59 '304': *37 '403': *29 '401': *25 @@ -105732,7 +105719,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *63 + - *64 - *17 - *19 responses: @@ -105742,7 +105729,7 @@ paths: application/json: schema: type: array - items: *100 + items: *101 examples: default: value: @@ -105807,7 +105794,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-received-by-a-user parameters: - - *63 + - *64 - *17 - *19 responses: @@ -105817,7 +105804,7 @@ paths: application/json: schema: type: array - items: *100 + items: *101 examples: default: value: @@ -105880,7 +105867,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repositories-for-a-user parameters: - - *63 + - *64 - name: type description: Limit results to repositories of the specified type. in: query @@ -105923,11 +105910,11 @@ paths: application/json: schema: type: array - items: *151 + items: *152 examples: default: *251 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105947,12 +105934,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-a-user parameters: - - *63 - - *114 - - *116 + - *64 - *115 - - *713 - *117 + - *116 + - *713 + - *118 responses: '200': description: Response when getting a billing premium request usage report @@ -106059,8 +106046,8 @@ paths: '400': *14 '403': *29 '404': *6 - '500': *111 - '503': *112 + '500': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106080,10 +106067,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-a-user parameters: - - *63 - - *114 - - *714 + - *64 - *115 + - *714 + - *116 responses: '200': description: Response when getting a billing usage report @@ -106153,8 +106140,8 @@ paths: repositoryName: user/example '400': *14 '403': *29 - '500': *111 - '503': *112 + '500': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106177,12 +106164,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-a-user parameters: - - *63 - - *114 - - *116 + - *64 - *115 - - *715 - *117 + - *116 + - *715 + - *118 - *716 responses: '200': @@ -106288,8 +106275,8 @@ paths: '400': *14 '403': *29 '404': *6 - '500': *111 - '503': *112 + '500': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106307,7 +106294,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *63 + - *64 - *17 - *19 responses: @@ -106321,7 +106308,7 @@ paths: examples: default: *687 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106339,7 +106326,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *63 + - *64 - *17 - *19 responses: @@ -106353,7 +106340,7 @@ paths: examples: default: *717 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106375,9 +106362,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *63 + - *64 - *718 - - *52 + - *53 - *17 - *19 responses: @@ -106390,11 +106377,11 @@ paths: - type: array items: *719 - type: array - items: *70 + items: *71 examples: default-response: *691 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106411,7 +106398,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *63 + - *64 - *17 - *19 responses: @@ -106421,11 +106408,11 @@ paths: application/json: schema: type: array - items: *151 + items: *152 examples: default: *251 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106714,8 +106701,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *77 - required: *78 + properties: *78 + required: *79 nullable: true organization: title: Simple User @@ -108162,8 +108149,8 @@ x-webhooks: type: string pull_requests: type: array - items: *79 - repository: *151 + items: *80 + repository: *152 status: example: completed type: string @@ -108250,7 +108237,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *79 + items: *80 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -114809,11 +114796,11 @@ x-webhooks: new_property_values: type: array description: The new custom property values for the repository. - items: *110 + items: *111 old_property_values: type: array description: The old custom property values for the repository. - items: *110 + items: *111 required: - action - repository @@ -125042,8 +125029,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *71 - required: *72 + properties: *72 + required: *73 reactions: title: Reactions type: object @@ -129027,12 +129014,12 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *74 + blocked_issue: *75 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *74 - blocking_issue_repo: *70 + blocking_issue: *75 + blocking_issue_repo: *71 installation: *721 organization: *722 repository: *723 @@ -129118,12 +129105,12 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *74 + blocked_issue: *75 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *74 - blocking_issue_repo: *70 + blocking_issue: *75 + blocking_issue_repo: *71 installation: *721 organization: *722 repository: *723 @@ -129208,12 +129195,12 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *74 - blocked_issue_repo: *70 + blocked_issue: *75 + blocked_issue_repo: *71 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *74 + blocking_issue: *75 installation: *721 organization: *722 repository: *723 @@ -129299,12 +129286,12 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *74 - blocked_issue_repo: *70 + blocked_issue: *75 + blocked_issue_repo: *71 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *74 + blocking_issue: *75 installation: *721 organization: *722 repository: *723 @@ -217626,8 +217613,8 @@ x-webhooks: alert: &780 type: object properties: - number: *169 - created_at: *170 + number: *170 + created_at: *171 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -217635,8 +217622,8 @@ x-webhooks: format: date-time readOnly: true nullable: true - url: *172 - html_url: *173 + url: *173 + html_url: *174 locations_url: type: string format: uri @@ -218710,7 +218697,7 @@ x-webhooks: required: - vector_string - score - cvss_severities: *54 + cvss_severities: *55 cwes: type: array items: @@ -218974,7 +218961,7 @@ x-webhooks: required: - vector_string - score - cvss_severities: *54 + cvss_severities: *55 cwes: type: array items: @@ -220621,12 +220608,12 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *74 - parent_issue_repo: *70 + parent_issue: *75 + parent_issue_repo: *71 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *74 + sub_issue: *75 installation: *721 organization: *722 repository: *723 @@ -220713,12 +220700,12 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *74 - parent_issue_repo: *70 + parent_issue: *75 + parent_issue_repo: *71 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *74 + sub_issue: *75 installation: *721 organization: *722 repository: *723 @@ -220805,12 +220792,12 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *74 - sub_issue_repo: *70 + sub_issue: *75 + sub_issue_repo: *71 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *74 + parent_issue: *75 installation: *721 organization: *722 repository: *723 @@ -220897,12 +220884,12 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *74 - sub_issue_repo: *70 + sub_issue: *75 + sub_issue_repo: *71 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *74 + parent_issue: *75 installation: *721 organization: *722 repository: *723 diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.deref.json index b59a9a31e..e29cfee62 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json @@ -19370,6 +19370,18 @@ } } }, + "code_scanning_options": { + "type": "object", + "description": "Security Configuration feature options for code scanning", + "nullable": true, + "properties": { + "allow_advanced": { + "nullable": true, + "type": "boolean", + "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", @@ -95341,6 +95353,18 @@ } } }, + "code_scanning_options": { + "type": "object", + "description": "Security Configuration feature options for code scanning", + "nullable": true, + "properties": { + "allow_advanced": { + "nullable": true, + "type": "boolean", + "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", @@ -159730,58 +159754,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" @@ -159790,22 +159805,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", @@ -159813,8 +159828,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", @@ -165612,18 +165627,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=", @@ -165642,48 +165744,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=", @@ -165702,34 +165870,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" + } } } } @@ -232527,48 +232674,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": { @@ -423069,7 +423176,8 @@ "subscriptions_url", "type", "url" - ] + ], + "nullable": true }, "body": { "description": "The text of the comment.", @@ -442815,7 +442923,8 @@ "subscriptions_url", "type", "url" - ] + ], + "nullable": true }, "body": { "description": "The text of the comment.", @@ -443350,7 +443459,8 @@ "subscriptions_url", "type", "url" - ] + ], + "nullable": true }, "body": { "description": "The text of the comment.", @@ -443924,7 +444034,8 @@ "subscriptions_url", "type", "url" - ] + ], + "nullable": true }, "body": { "description": "The text of the comment.", @@ -456492,7 +456603,8 @@ "subscriptions_url", "type", "url" - ] + ], + "nullable": true }, "body": { "description": "The text of the comment.", @@ -457113,7 +457225,8 @@ "subscriptions_url", "type", "url" - ] + ], + "nullable": true }, "body": { "description": "The text of the comment.", @@ -457776,7 +457889,8 @@ "subscriptions_url", "type", "url" - ] + ], + "nullable": true }, "body": { "description": "The text of the comment.", @@ -632008,58 +632122,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" @@ -632068,22 +632173,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", @@ -632091,8 +632196,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", @@ -637890,18 +637995,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=", @@ -637920,48 +638112,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=", @@ -637980,34 +638238,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/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml index 2a74a3f1c..925216c29 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml @@ -456,7 +456,7 @@ paths: required: false schema: type: string - - &52 + - &53 name: direction description: The direction to sort the results by. in: query @@ -677,7 +677,7 @@ paths: required: - vector_string - score - cvss_severities: &54 + cvss_severities: &55 type: object nullable: true properties: @@ -717,7 +717,7 @@ paths: required: - vector_string - score - epss: &55 + epss: &56 type: object nullable: true readOnly: true @@ -988,7 +988,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &121 + schema: &122 title: Validation Error Simple description: Validation Error Simple type: object @@ -1139,7 +1139,7 @@ paths: GitHub. type: object nullable: true - properties: &71 + properties: &72 id: description: Unique identifier of the GitHub app example: 37 @@ -1272,7 +1272,7 @@ paths: about itself. example: 5 type: integer - required: &72 + required: &73 - id - node_id - owner @@ -1732,7 +1732,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &120 + schema: &121 title: Validation Error description: Validation Error type: object @@ -2116,7 +2116,7 @@ paths: parameters: - *17 - *19 - - &81 + - &82 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) @@ -2698,7 +2698,7 @@ paths: suspended_at: suspended_by: headers: - Link: &58 + Link: &59 example: ; rel="next", ; rel="last" schema: @@ -2887,7 +2887,7 @@ paths: - selected repositories: type: array - items: &70 + items: &71 title: Repository description: A repository on GitHub. type: object @@ -2911,7 +2911,7 @@ paths: title: License Simple description: License Simple type: object - properties: &77 + properties: &78 key: type: string example: mit @@ -2933,7 +2933,7 @@ paths: html_url: type: string format: uri - required: &78 + required: &79 - key - name - url @@ -5116,7 +5116,7 @@ paths: responses: '202': *39 '422': *7 - '500': &111 + '500': &112 description: Internal Error content: application/json: @@ -7601,7 +7601,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &179 + code_scanning_options: &51 type: object description: Security Configuration feature options for code scanning nullable: true @@ -8019,6 +8019,7 @@ paths: - disabled - not_set code_scanning_default_setup_options: *50 + code_scanning_options: *51 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -8112,7 +8113,7 @@ paths: '304': *37 '403': *29 '404': *6 - '409': &51 + '409': &52 description: Conflict content: application/json: @@ -8147,7 +8148,7 @@ paths: '400': *14 '403': *29 '404': *6 - '409': *51 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -8199,7 +8200,7 @@ paths: '202': *39 '403': *29 '404': *6 - '409': *51 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -8372,11 +8373,11 @@ paths: - failed - updating - removed_by_enterprise - repository: &57 + repository: &58 title: Simple Repository description: A GitHub repository. type: object - properties: &108 + properties: &109 id: type: integer format: int64 @@ -8603,7 +8604,7 @@ paths: format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks description: The API URL to list the hooks on the repository. - required: &109 + required: &110 - archive_url - assignees_url - blobs_url @@ -8834,7 +8835,7 @@ paths: - updated - epss_percentage default: created - - *52 + - *53 - *45 - *46 - *17 @@ -8849,7 +8850,7 @@ paths: type: object description: A Dependabot alert. properties: - number: &169 + number: &170 type: integer description: The security alert number. readOnly: true @@ -8867,7 +8868,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &53 + package: &54 type: object description: Details for the vulnerable package. readOnly: true @@ -8941,13 +8942,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &56 + items: &57 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *53 + package: *54 severity: type: string description: The severity of the vulnerability. @@ -9013,8 +9014,8 @@ paths: - score - vector_string additionalProperties: false - cvss_severities: *54 - epss: *55 + cvss_severities: *55 + epss: *56 cwes: type: array description: Details for the advisory pertaining to Common @@ -9113,30 +9114,30 @@ paths: - updated_at - withdrawn_at additionalProperties: false - security_vulnerability: *56 - url: &172 + security_vulnerability: *57 + url: &173 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &173 + html_url: &174 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - created_at: &170 + created_at: &171 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: &171 + updated_at: &172 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: &175 + dismissed_at: &176 type: string description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -9166,7 +9167,7 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: &174 + fixed_at: &175 type: string description: 'The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -9218,7 +9219,7 @@ paths: format: uri description: The API URL to get more information about this dismissal request. - repository: *57 + repository: *58 required: - number - state @@ -9586,7 +9587,7 @@ paths: application/json: schema: type: array - items: &59 + items: &60 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -9644,7 +9645,7 @@ paths: - updated_at - group_id examples: - default: &60 + default: &61 value: - id: 1 name: Justice League @@ -9657,7 +9658,7 @@ paths: created_at: '2019-01-26T19:01:12Z' updated_at: '2019-01-26T19:14:43Z' headers: - Link: *58 + Link: *59 '403': *29 x-github: githubCloudOnly: false @@ -9730,9 +9731,9 @@ paths: description: Response content: application/json: - schema: *59 + schema: *60 examples: - default: *60 + default: *61 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -9750,7 +9751,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *40 - - &61 + - &62 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -9769,7 +9770,7 @@ paths: type: array items: *4 examples: - default: &62 + default: &63 value: - login: octocat id: 1 @@ -9790,7 +9791,7 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -9808,7 +9809,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *40 - - *61 + - *62 requestBody: required: true content: @@ -9839,7 +9840,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *63 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -9857,7 +9858,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *40 - - *61 + - *62 requestBody: required: true content: @@ -9888,7 +9889,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *63 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -9906,8 +9907,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *40 - - *61 - - &63 + - *62 + - &64 name: username description: The handle for the GitHub user account. in: path @@ -9921,7 +9922,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &64 + exampleKey1: &65 value: login: octocat id: 1 @@ -9957,8 +9958,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *40 - - *61 - - *63 + - *62 + - *64 responses: '201': description: Successfully added team member @@ -9966,7 +9967,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *64 + exampleKey1: *65 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -9984,8 +9985,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *40 - - *61 - - *63 + - *62 + - *64 responses: '204': description: Response @@ -10007,7 +10008,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments parameters: - *40 - - *61 + - *62 - *17 - *19 responses: @@ -10017,7 +10018,7 @@ paths: application/json: schema: type: array - items: &65 + items: &66 title: Organization Simple description: A GitHub organization. type: object @@ -10076,7 +10077,7 @@ paths: - avatar_url - description examples: - default: &66 + default: &67 value: login: github id: 1 @@ -10107,7 +10108,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments parameters: - *40 - - *61 + - *62 requestBody: required: true content: @@ -10135,9 +10136,9 @@ paths: application/json: schema: type: array - items: *65 + items: *66 examples: - default: &105 + default: &106 value: - login: github id: 1 @@ -10168,7 +10169,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments parameters: - *40 - - *61 + - *62 requestBody: required: true content: @@ -10209,8 +10210,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment parameters: - *40 - - *61 - - &67 + - *62 + - &68 name: org description: The organization name. The name is not case sensitive. in: path @@ -10222,9 +10223,9 @@ paths: description: The team is assigned to the organization content: application/json: - schema: *65 + schema: *66 examples: - default: *66 + default: *67 '404': description: The team is not assigned to the organization x-github: @@ -10243,16 +10244,16 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment parameters: - *40 - - *61 - - *67 + - *62 + - *68 responses: '201': description: Successfully assigned the enterprise team to the organization. content: application/json: - schema: *65 + schema: *66 examples: - default: *66 + default: *67 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10269,8 +10270,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment parameters: - *40 - - *61 - - *67 + - *62 + - *68 responses: '204': description: Successfully unassigned the enterprise team from the organization. @@ -10294,7 +10295,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *40 - - &68 + - &69 name: team_slug description: The slug of the team name. in: path @@ -10306,11 +10307,11 @@ paths: description: Response content: application/json: - schema: *59 + schema: *60 examples: - default: *60 + default: *61 headers: - Link: *58 + Link: *59 '403': *29 x-github: githubCloudOnly: false @@ -10328,7 +10329,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *40 - - *68 + - *69 requestBody: required: true content: @@ -10383,11 +10384,11 @@ paths: description: Response content: application/json: - schema: *59 + schema: *60 examples: - default: *60 + default: *61 headers: - Link: *58 + Link: *59 '403': *29 x-github: githubCloudOnly: false @@ -10408,7 +10409,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *40 - - *68 + - *69 responses: '204': description: Response @@ -10446,7 +10447,7 @@ paths: application/json: schema: type: array - items: &100 + items: &101 title: Event description: Event type: object @@ -10456,7 +10457,7 @@ paths: type: type: string nullable: true - actor: &69 + actor: &70 title: Actor description: Actor type: object @@ -10496,7 +10497,7 @@ paths: - id - name - url - org: *69 + org: *70 payload: oneOf: - title: CreateEvent @@ -10829,7 +10830,7 @@ paths: - id labels: type: array - items: &73 + items: &74 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -10904,7 +10905,7 @@ paths: properties: action: type: string - issue: &74 + issue: &75 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -11222,7 +11223,7 @@ paths: - node_id - name - description - repository: *70 + repository: *71 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -11233,9 +11234,9 @@ paths: actors within GitHub. type: object nullable: true - properties: *71 - required: *72 - author_association: &75 + properties: *72 + required: *73 + author_association: &76 title: author_association type: string example: OWNER @@ -11250,7 +11251,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &76 + reactions: &77 title: Reaction Rollup type: object properties: @@ -11411,10 +11412,10 @@ paths: assignees: type: array items: *4 - label: *73 + label: *74 labels: type: array - items: *73 + items: *74 required: - action - issue @@ -11423,7 +11424,7 @@ paths: properties: action: type: string - issue: *74 + issue: *75 comment: &528 title: Issue Comment description: Comments provide a way for people to collaborate @@ -11472,7 +11473,7 @@ paths: issue_url: type: string format: uri - author_association: *75 + author_association: *76 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -11483,9 +11484,9 @@ paths: actors within GitHub. type: object nullable: true - properties: *71 - required: *72 - reactions: *76 + properties: *72 + required: *73 + reactions: *77 required: - id - node_id @@ -11658,8 +11659,8 @@ paths: title: License Simple description: License Simple type: object - properties: *77 - required: *78 + properties: *78 + required: *79 nullable: true allow_forking: type: boolean @@ -11748,7 +11749,7 @@ paths: type: string number: type: integer - pull_request: &79 + pull_request: &80 title: Pull Request Minimal type: object properties: @@ -11819,10 +11820,10 @@ paths: assignees: type: array items: *4 - label: *73 + label: *74 labels: type: array - items: *73 + items: *74 required: - action - number @@ -11832,7 +11833,7 @@ paths: properties: action: type: string - pull_request: *79 + pull_request: *80 comment: type: object properties: @@ -12083,7 +12084,7 @@ paths: - pull_request updated_at: type: string - pull_request: *79 + pull_request: *80 required: - action - review @@ -12132,7 +12133,7 @@ paths: updated_at: type: string format: date-time - reactions: *76 + reactions: *77 required: - action - comment @@ -12289,7 +12290,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *76 + reactions: *77 required: - assets_url - upload_url @@ -12381,7 +12382,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *37 '403': *29 - '503': &112 + '503': &113 description: Service unavailable content: application/json: @@ -12474,7 +12475,7 @@ paths: _links: type: object properties: - timeline: &80 + timeline: &81 title: Link With Type description: Hypermedia Link with Type type: object @@ -12486,17 +12487,17 @@ paths: required: - href - type - user: *80 - security_advisories: *80 - current_user: *80 - current_user_public: *80 - current_user_actor: *80 - current_user_organization: *80 + user: *81 + security_advisories: *81 + current_user: *81 + current_user_public: *81 + current_user_actor: *81 + current_user_organization: *81 current_user_organizations: type: array - items: *80 - repository_discussions: *80 - repository_discussions_category: *80 + items: *81 + repository_discussions: *81 + repository_discussions_category: *81 required: - timeline - user @@ -12558,7 +12559,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *81 + - *82 - *17 - *19 responses: @@ -12568,7 +12569,7 @@ paths: application/json: schema: type: array - items: &82 + items: &83 title: Base Gist description: Base Gist type: object @@ -12667,7 +12668,7 @@ paths: - created_at - updated_at examples: - default: &83 + default: &84 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -12712,7 +12713,7 @@ paths: site_admin: false truncated: false headers: - Link: *58 + Link: *59 '304': *37 '403': *29 x-github: @@ -12788,7 +12789,7 @@ paths: description: Response content: application/json: - schema: &84 + schema: &85 title: Gist Simple description: Gist Simple type: object @@ -13167,7 +13168,7 @@ paths: truncated: type: boolean examples: - default: &85 + default: &86 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -13271,7 +13272,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-public-gists parameters: - - *81 + - *82 - *17 - *19 responses: @@ -13281,11 +13282,11 @@ paths: application/json: schema: type: array - items: *82 + items: *83 examples: - default: *83 + default: *84 headers: - Link: *58 + Link: *59 '422': *15 '304': *37 '403': *29 @@ -13305,7 +13306,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-starred-gists parameters: - - *81 + - *82 - *17 - *19 responses: @@ -13315,11 +13316,11 @@ paths: application/json: schema: type: array - items: *82 + items: *83 examples: - default: *83 + default: *84 headers: - Link: *58 + Link: *59 '401': *25 '304': *37 '403': *29 @@ -13345,7 +13346,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist parameters: - - &86 + - &87 name: gist_id description: The unique identifier of the gist. in: path @@ -13357,10 +13358,10 @@ paths: description: Response content: application/json: - schema: *84 + schema: *85 examples: - default: *85 - '403': &89 + default: *86 + '403': &90 description: Forbidden Gist content: application/json: @@ -13408,7 +13409,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#update-a-gist parameters: - - *86 + - *87 requestBody: required: true content: @@ -13468,9 +13469,9 @@ paths: description: Response content: application/json: - schema: *84 + schema: *85 examples: - updateGist: *85 + updateGist: *86 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -13628,7 +13629,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#delete-a-gist parameters: - - *86 + - *87 responses: '204': description: Response @@ -13657,7 +13658,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#list-gist-comments parameters: - - *86 + - *87 - *17 - *19 responses: @@ -13667,7 +13668,7 @@ paths: application/json: schema: type: array - items: &87 + items: &88 title: Gist Comment description: A comment made to a gist. type: object @@ -13702,7 +13703,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *75 + author_association: *76 required: - url - id @@ -13742,7 +13743,7 @@ paths: updated_at: '2011-04-18T23:23:56Z' author_association: COLLABORATOR headers: - Link: *58 + Link: *59 '304': *37 '404': *6 '403': *29 @@ -13767,7 +13768,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#create-a-gist-comment parameters: - - *86 + - *87 requestBody: required: true content: @@ -13792,9 +13793,9 @@ paths: description: Response content: application/json: - schema: *87 + schema: *88 examples: - default: &88 + default: &89 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -13852,8 +13853,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#get-a-gist-comment parameters: - - *86 - - &90 + - *87 + - &91 name: comment_id description: The unique identifier of the comment. in: path @@ -13866,12 +13867,12 @@ paths: description: Response content: application/json: - schema: *87 + schema: *88 examples: - default: *88 + default: *89 '304': *37 '404': *6 - '403': *89 + '403': *90 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -13893,8 +13894,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#update-a-gist-comment parameters: - - *86 - - *90 + - *87 + - *91 requestBody: required: true content: @@ -13919,9 +13920,9 @@ paths: description: Response content: application/json: - schema: *87 + schema: *88 examples: - default: *88 + default: *89 '404': *6 x-github: githubCloudOnly: false @@ -13938,8 +13939,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#delete-a-gist-comment parameters: - - *86 - - *90 + - *87 + - *91 responses: '204': description: Response @@ -13962,7 +13963,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-commits parameters: - - *86 + - *87 - *17 - *19 responses: @@ -14063,7 +14064,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-forks parameters: - - *86 + - *87 - *17 - *19 responses: @@ -14073,7 +14074,7 @@ paths: application/json: schema: type: array - items: *84 + items: *85 examples: default: value: @@ -14119,7 +14120,7 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *59 '404': *6 '304': *37 '403': *29 @@ -14138,13 +14139,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#fork-a-gist parameters: - - *86 + - *87 responses: '201': description: Response content: application/json: - schema: *82 + schema: *83 examples: default: value: @@ -14215,7 +14216,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *86 + - *87 responses: '204': description: Response if gist is starred @@ -14245,7 +14246,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#star-a-gist parameters: - - *86 + - *87 responses: '204': description: Response @@ -14267,7 +14268,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#unstar-a-gist parameters: - - *86 + - *87 responses: '204': description: Response @@ -14296,7 +14297,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist-revision parameters: - - *86 + - *87 - name: sha in: path required: true @@ -14307,9 +14308,9 @@ paths: description: Response content: application/json: - schema: *84 + schema: *85 examples: - default: *85 + default: *86 '422': *15 '404': *6 '403': *29 @@ -14468,7 +14469,7 @@ paths: type: integer repositories: type: array - items: *70 + items: *71 repository_selection: type: string example: selected @@ -14591,7 +14592,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *58 + Link: *59 '403': *29 '304': *37 '401': *25 @@ -14693,8 +14694,8 @@ paths: - updated - comments default: created - - *52 - - *81 + - *53 + - *82 - name: collab in: query required: false @@ -14724,7 +14725,7 @@ paths: application/json: schema: type: array - items: *74 + items: *75 examples: default: &231 value: @@ -14970,7 +14971,7 @@ paths: watchers: 1 author_association: COLLABORATOR headers: - Link: *58 + Link: *59 '422': *15 '304': *37 '404': *6 @@ -15009,8 +15010,8 @@ paths: title: License Simple description: License Simple type: object - properties: *77 - required: *78 + properties: *78 + required: *79 examples: default: value: @@ -15295,7 +15296,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &91 + X-CommonMarker-Version: &92 example: 0.17.4 schema: type: string @@ -15350,7 +15351,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *91 + X-CommonMarker-Version: *92 content: text/html: schema: @@ -15379,7 +15380,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &94 + - &95 name: account_id description: account_id parameter in: path @@ -15391,7 +15392,7 @@ paths: description: Response content: application/json: - schema: &93 + schema: &94 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -15421,7 +15422,7 @@ paths: nullable: true id: type: integer - plan: &92 + plan: &93 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -15510,7 +15511,7 @@ paths: nullable: true updated_at: type: string - plan: *92 + plan: *93 required: - url - id @@ -15518,7 +15519,7 @@ paths: - login - marketplace_purchase examples: - default: &95 + default: &96 value: url: https://api.github.com/orgs/github type: Organization @@ -15603,9 +15604,9 @@ paths: application/json: schema: type: array - items: *92 + items: *93 examples: - default: &96 + default: &97 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -15623,7 +15624,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *58 + Link: *59 '404': *6 '401': *25 x-github: @@ -15645,14 +15646,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &97 + - &98 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &98 + - &99 name: sort description: The property to sort the results by. in: query @@ -15682,9 +15683,9 @@ paths: application/json: schema: type: array - items: *93 + items: *94 examples: - default: &99 + default: &100 value: - url: https://api.github.com/orgs/github type: Organization @@ -15735,7 +15736,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *58 + Link: *59 '404': *6 '422': *15 '401': *25 @@ -15758,15 +15759,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *94 + - *95 responses: '200': description: Response content: application/json: - schema: *93 + schema: *94 examples: - default: *95 + default: *96 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -15798,11 +15799,11 @@ paths: application/json: schema: type: array - items: *92 + items: *93 examples: - default: *96 + default: *97 headers: - Link: *58 + Link: *59 '401': *25 x-github: githubCloudOnly: false @@ -15823,8 +15824,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *97 - *98 + - *99 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -15844,11 +15845,11 @@ paths: application/json: schema: type: array - items: *93 + items: *94 examples: - default: *99 + default: *100 headers: - Link: *58 + Link: *59 '401': *25 x-github: githubCloudOnly: false @@ -16134,7 +16135,7 @@ paths: application/json: schema: type: array - items: *100 + items: *101 examples: default: value: @@ -16218,7 +16219,7 @@ paths: schema: type: boolean default: false - - *81 + - *82 - &563 name: before description: 'Only show notifications updated before the given time. This @@ -16244,14 +16245,14 @@ paths: application/json: schema: type: array - items: &101 + items: &102 title: Thread description: Thread type: object properties: id: type: string - repository: &151 + repository: &152 title: Minimal Repository description: Minimal Repository type: object @@ -16775,7 +16776,7 @@ paths: url: https://api.github.com/notifications/threads/1 subscription_url: https://api.github.com/notifications/threads/1/subscription headers: - Link: *58 + Link: *59 '304': *37 '403': *29 '401': *25 @@ -16859,7 +16860,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread parameters: - - &102 + - &103 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 @@ -16873,7 +16874,7 @@ paths: description: Response content: application/json: - schema: *101 + schema: *102 examples: default: value: @@ -16975,7 +16976,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-read parameters: - - *102 + - *103 responses: '205': description: Reset Content @@ -16997,7 +16998,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-done parameters: - - *102 + - *103 responses: '204': description: No content @@ -17020,13 +17021,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *102 + - *103 responses: '200': description: Response content: application/json: - schema: &103 + schema: &104 title: Thread Subscription description: Thread Subscription type: object @@ -17063,7 +17064,7 @@ paths: - url - subscribed examples: - default: &104 + default: &105 value: subscribed: true ignored: false @@ -17094,7 +17095,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#set-a-thread-subscription parameters: - - *102 + - *103 requestBody: required: false content: @@ -17115,9 +17116,9 @@ paths: description: Response content: application/json: - schema: *103 + schema: *104 examples: - default: *104 + default: *105 '304': *37 '403': *29 '401': *25 @@ -17140,7 +17141,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#delete-a-thread-subscription parameters: - - *102 + - *103 responses: '204': description: Response @@ -17235,9 +17236,9 @@ paths: application/json: schema: type: array - items: *65 + items: *66 examples: - default: *105 + default: *106 headers: Link: example: ; rel="next" @@ -17264,13 +17265,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-an-organization parameters: - - *67 + - *68 responses: '200': description: Response content: application/json: - schema: &106 + schema: &107 title: Actions cache retention limit for an organization description: GitHub Actions cache retention policy for an organization. type: object @@ -17303,12 +17304,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-an-organization parameters: - - *67 + - *68 requestBody: required: true content: application/json: - schema: *106 + schema: *107 examples: selected_actions: *42 responses: @@ -17337,13 +17338,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-an-organization parameters: - - *67 + - *68 responses: '200': description: Response content: application/json: - schema: &107 + schema: &108 title: Actions cache storage limit for an organization description: GitHub Actions cache storage policy for an organization. type: object @@ -17376,12 +17377,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-an-organization parameters: - - *67 + - *68 requestBody: required: true content: application/json: - schema: *107 + schema: *108 examples: selected_actions: *44 responses: @@ -17410,7 +17411,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: - - *67 + - *68 - name: page in: query description: The page number of results to fetch. @@ -17454,8 +17455,8 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: *108 - required: *109 + properties: *109 + required: *110 nullable: true additionalProperties: false examples: @@ -17561,7 +17562,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization parameters: - - *67 + - *68 requestBody: required: true content: @@ -17627,7 +17628,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot parameters: - - *67 + - *68 requestBody: required: true content: @@ -17679,7 +17680,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: - - *67 + - *68 responses: '200': description: Response @@ -17687,7 +17688,7 @@ paths: application/json: schema: type: array - items: &110 + items: &111 title: Custom Property Value description: Custom property name and associated value type: object @@ -17741,7 +17742,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: - - *67 + - *68 requestBody: required: true content: @@ -17753,7 +17754,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the organization. - items: *110 + items: *111 required: - properties examples: @@ -17793,7 +17794,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#get-all-budgets-for-an-organization parameters: - - *67 + - *68 responses: '200': description: Response when getting all budgets @@ -17914,7 +17915,7 @@ paths: alert_recipients: [] '404': *6 '403': *29 - '500': *111 + '500': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -17935,8 +17936,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#get-a-budget-by-id-for-an-organization parameters: - - *67 - - &113 + - *68 + - &114 name: budget_id description: The ID corresponding to the budget. in: path @@ -18029,8 +18030,8 @@ paths: '400': *14 '404': *6 '403': *29 - '500': *111 - '503': *112 + '500': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18050,8 +18051,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#update-a-budget-for-an-organization parameters: - - *67 - - *113 + - *68 + - *114 requestBody: required: true content: @@ -18236,8 +18237,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#delete-a-budget-for-an-organization parameters: - - *67 - - *113 + - *68 + - *114 responses: '200': description: Response when deleting a budget @@ -18263,8 +18264,8 @@ paths: '400': *14 '404': *6 '403': *29 - '500': *111 - '503': *112 + '500': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18284,8 +18285,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-an-organization parameters: - - *67 - - &114 + - *68 + - &115 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, @@ -18294,7 +18295,7 @@ paths: required: false schema: type: integer - - &116 + - &117 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 @@ -18303,7 +18304,7 @@ paths: required: false schema: type: integer - - &115 + - &116 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 @@ -18325,7 +18326,7 @@ paths: required: false schema: type: string - - &117 + - &118 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -18441,8 +18442,8 @@ paths: '400': *14 '403': *29 '404': *6 - '500': *111 - '503': *112 + '500': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18462,8 +18463,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-an-organization parameters: - - *67 - - *114 + - *68 + - *115 - &714 name: month description: If specified, only return results for a single month. The value @@ -18473,7 +18474,7 @@ paths: required: false schema: type: integer - - *115 + - *116 responses: '200': description: Billing usage report response for an organization @@ -18548,8 +18549,8 @@ paths: repositoryName: github/example '400': *14 '403': *29 - '500': *111 - '503': *112 + '500': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18572,10 +18573,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-an-organization parameters: - - *67 - - *114 - - *116 + - *68 - *115 + - *117 + - *116 - &715 name: repository description: The repository name to query for usage in the format owner/repository. @@ -18583,7 +18584,7 @@ paths: required: false schema: type: string - - *117 + - *118 - &716 name: sku description: The SKU to query for usage. @@ -18694,8 +18695,8 @@ paths: netAmount: 8.0 '400': *14 '403': *29 - '500': *111 - '503': *112 + '500': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18721,13 +18722,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-an-organization parameters: - - *67 + - *68 responses: '200': description: Response content: application/json: - schema: &118 + schema: &119 title: Organization Full description: Organization Full type: object @@ -19046,7 +19047,7 @@ paths: - updated_at - archived_at examples: - default-response: &119 + default-response: &120 value: login: github id: 1 @@ -19146,7 +19147,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#update-an-organization parameters: - - *67 + - *68 requestBody: required: false content: @@ -19362,18 +19363,18 @@ paths: description: Response content: application/json: - schema: *118 + schema: *119 examples: - default: *119 + default: *120 '422': description: Validation failed content: application/json: schema: oneOf: - - *120 - *121 - '409': *51 + - *122 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19396,7 +19397,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#delete-an-organization parameters: - - *67 + - *68 responses: '202': *39 '404': *6 @@ -19421,7 +19422,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *67 + - *68 responses: '200': description: Response @@ -19447,7 +19448,7 @@ paths: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19468,7 +19469,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: - - *67 + - *68 - *17 - *19 responses: @@ -19521,7 +19522,7 @@ paths: active_caches_size_in_bytes: 1022142 active_caches_count: 2 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19541,7 +19542,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *67 + - *68 - *17 - *19 responses: @@ -19559,7 +19560,7 @@ paths: type: integer runners: type: array - items: &122 + items: &123 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -19613,7 +19614,7 @@ paths: - display_name - source nullable: true - machine_size_details: &130 + machine_size_details: &131 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -19709,7 +19710,7 @@ paths: - public_ip_enabled - platform examples: - default: &150 + default: &151 value: total_count: 2 runners: @@ -19751,7 +19752,7 @@ paths: public_ips: [] last_active_on: '2023-04-26T15:23:37Z' headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19769,7 +19770,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *67 + - *68 requestBody: required: true content: @@ -19846,9 +19847,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *123 examples: - default: &131 + default: &132 value: id: 5 name: My hosted ubuntu runner @@ -19889,7 +19890,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-custom-images-for-an-organization parameters: - - *67 + - *68 responses: '200': description: Response @@ -19905,7 +19906,7 @@ paths: type: integer images: type: array - items: &123 + items: &124 title: GitHub-hosted runner custom image details description: Provides details of a custom runner image type: object @@ -19956,7 +19957,7 @@ paths: - latest_version - state examples: - default: &125 + default: &126 value: total_count: 2 image_versions: @@ -19987,8 +19988,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: - - *67 - - &124 + - *68 + - &125 name: image_definition_id description: Image definition ID of custom image in: path @@ -20000,7 +20001,7 @@ paths: description: Response content: application/json: - schema: *123 + schema: *124 examples: default: value: @@ -20030,8 +20031,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-custom-image-from-the-organization parameters: - - *67 - - *124 + - *68 + - *125 responses: '204': description: Response @@ -20054,8 +20055,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: - - *124 - - *67 + - *125 + - *68 responses: '200': description: Response @@ -20071,7 +20072,7 @@ paths: type: integer image_versions: type: array - items: &126 + items: &127 title: GitHub-hosted runner custom image version details. description: Provides details of a hosted runner custom image version @@ -20104,7 +20105,7 @@ paths: - created_on - state_details examples: - default: *125 + default: *126 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20124,9 +20125,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: - - *67 - - *124 - - &127 + - *68 + - *125 + - &128 name: version description: Version of a custom image in: path @@ -20139,7 +20140,7 @@ paths: description: Response content: application/json: - schema: *126 + schema: *127 examples: default: value: @@ -20165,9 +20166,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: - - *67 - - *124 - - *127 + - *68 + - *125 + - *128 responses: '204': description: Response @@ -20188,7 +20189,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: - - *67 + - *68 responses: '200': description: Response @@ -20204,7 +20205,7 @@ paths: type: integer images: type: array - items: &128 + items: &129 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -20240,7 +20241,7 @@ paths: - display_name - source examples: - default: &129 + default: &130 value: id: ubuntu-20.04 platform: linux-x64 @@ -20264,7 +20265,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: - - *67 + - *68 responses: '200': description: Response @@ -20280,9 +20281,9 @@ paths: type: integer images: type: array - items: *128 + items: *129 examples: - default: *129 + default: *130 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20299,7 +20300,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: - - *67 + - *68 responses: '200': description: Response @@ -20352,7 +20353,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: - - *67 + - *68 responses: '200': description: Response @@ -20368,7 +20369,7 @@ paths: type: integer machine_specs: type: array - items: *130 + items: *131 examples: default: value: @@ -20393,7 +20394,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: - - *67 + - *68 responses: '200': description: Response @@ -20437,8 +20438,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *67 - - &132 + - *68 + - &133 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -20450,11 +20451,11 @@ paths: description: Response content: application/json: - schema: *122 + schema: *123 examples: - default: *131 + default: *132 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20472,8 +20473,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *67 - - *132 + - *68 + - *133 requestBody: required: true content: @@ -20516,9 +20517,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *123 examples: - default: *131 + default: *132 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -20534,16 +20535,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *67 - - *132 + - *68 + - *133 responses: '202': description: Response content: application/json: - schema: *122 + schema: *123 examples: - default: *131 + default: *132 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -20563,13 +20564,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: - - *67 + - *68 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &133 + schema: &134 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -20583,7 +20584,7 @@ paths: required: - include_claim_keys examples: - default: &134 + default: &135 value: include_claim_keys: - repo @@ -20605,20 +20606,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: - - *67 + - *68 requestBody: required: true content: application/json: - schema: *133 + schema: *134 examples: - default: *134 + default: *135 responses: '201': description: Empty response content: application/json: - schema: &160 + schema: &161 title: Empty Object description: An object without any properties. type: object @@ -20648,7 +20649,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *67 + - *68 responses: '200': description: Response @@ -20657,7 +20658,7 @@ paths: schema: type: object properties: - enabled_repositories: &135 + enabled_repositories: &136 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -20670,7 +20671,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: &136 + allowed_actions: &137 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -20683,7 +20684,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: &137 + sha_pinning_required: &138 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -20714,7 +20715,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *67 + - *68 responses: '204': description: Response @@ -20725,9 +20726,9 @@ paths: schema: type: object properties: - enabled_repositories: *135 - allowed_actions: *136 - sha_pinning_required: *137 + enabled_repositories: *136 + allowed_actions: *137 + sha_pinning_required: *138 required: - enabled_repositories examples: @@ -20755,7 +20756,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-an-organization parameters: - - *67 + - *68 responses: '200': description: Response @@ -20798,7 +20799,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-an-organization parameters: - - *67 + - *68 requestBody: required: true content: @@ -20820,7 +20821,7 @@ paths: description: No content '403': *29 '404': *6 - '409': *51 + '409': *52 '422': *15 x-github: enabledForGitHubApps: true @@ -20840,13 +20841,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *67 + - *68 responses: '200': description: Response content: application/json: - schema: &138 + schema: &139 type: object properties: approval_policy: @@ -20881,7 +20882,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *67 + - *68 responses: '204': description: Response @@ -20891,7 +20892,7 @@ paths: required: true content: application/json: - schema: *138 + schema: *139 examples: default: summary: Set approval policy to first time contributors @@ -20913,7 +20914,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: - - *67 + - *68 responses: '200': description: Response @@ -20945,7 +20946,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &139 + default: &140 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -20968,7 +20969,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: - - *67 + - *68 requestBody: required: true content: @@ -20996,7 +20997,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *139 + default: *140 responses: '204': description: Empty response for successful settings update @@ -21026,7 +21027,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: - - *67 + - *68 - *17 - *19 responses: @@ -21044,9 +21045,9 @@ paths: type: number repositories: type: array - items: *70 + items: *71 examples: - default: &143 + default: &144 value: total_count: 1 repositories: @@ -21186,7 +21187,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: - - *67 + - *68 responses: '204': description: Response @@ -21230,8 +21231,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: - - *67 - - &140 + - *68 + - &141 name: repository_id description: The unique identifier of the repository. in: path @@ -21259,8 +21260,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: - - *67 - - *140 + - *68 + - *141 responses: '204': description: Response @@ -21283,13 +21284,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *67 + - *68 responses: '200': description: Response content: application/json: - schema: &141 + schema: &142 type: object properties: github_owned_allowed: @@ -21311,7 +21312,7 @@ paths: items: type: string examples: - default: &142 + default: &143 value: github_owned_allowed: true verified_allowed: false @@ -21336,7 +21337,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *67 + - *68 responses: '204': description: Response @@ -21344,9 +21345,9 @@ paths: required: false content: application/json: - schema: *141 + schema: *142 examples: - selected_actions: *142 + selected_actions: *143 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21366,7 +21367,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-self-hosted-runners-settings-for-an-organization parameters: - - *67 + - *68 responses: '200': description: Response @@ -21414,7 +21415,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-self-hosted-runners-settings-for-an-organization parameters: - - *67 + - *68 requestBody: required: true content: @@ -21441,7 +21442,7 @@ paths: description: No content '403': *29 '404': *6 - '409': *51 + '409': *52 '422': *15 x-github: enabledForGitHubApps: true @@ -21461,7 +21462,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: - - *67 + - *68 - *17 - *19 responses: @@ -21476,9 +21477,9 @@ paths: type: integer repositories: type: array - items: *70 + items: *71 examples: - default: *143 + default: *144 '403': *29 '404': *6 x-github: @@ -21498,7 +21499,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: - - *67 + - *68 requestBody: required: true content: @@ -21546,14 +21547,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: - - *67 - - *140 + - *68 + - *141 responses: '204': description: No content '403': *29 '404': *6 - '409': *51 + '409': *52 '422': *15 x-github: enabledForGitHubApps: true @@ -21573,14 +21574,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: - - *67 - - *140 + - *68 + - *141 responses: '204': description: No content '403': *29 '404': *6 - '409': *51 + '409': *52 '422': *15 x-github: enabledForGitHubApps: true @@ -21602,7 +21603,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *67 + - *68 responses: '200': description: Response @@ -21611,14 +21612,14 @@ paths: schema: &353 type: object properties: - default_workflow_permissions: &144 + default_workflow_permissions: &145 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &145 + can_approve_pull_request_reviews: &146 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -21626,7 +21627,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &146 + default: &147 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -21651,7 +21652,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *67 + - *68 responses: '204': description: Success response @@ -21662,10 +21663,10 @@ paths: schema: &354 type: object properties: - default_workflow_permissions: *144 - can_approve_pull_request_reviews: *145 + default_workflow_permissions: *145 + can_approve_pull_request_reviews: *146 examples: - default: *146 + default: *147 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21685,7 +21686,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: - - *67 + - *68 - *17 - *19 - name: visible_to_repository @@ -21710,7 +21711,7 @@ paths: type: number runner_groups: type: array - items: &147 + items: &148 type: object properties: id: @@ -21826,7 +21827,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: - - *67 + - *68 requestBody: required: true content: @@ -21898,9 +21899,9 @@ paths: description: Response content: application/json: - schema: *147 + schema: *148 examples: - default: &149 + default: &150 value: id: 2 name: octo-runner-group @@ -21935,8 +21936,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: - - *67 - - &148 + - *68 + - &149 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -21948,7 +21949,7 @@ paths: description: Response content: application/json: - schema: *147 + schema: *148 examples: default: value: @@ -21984,8 +21985,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: - - *67 - - *148 + - *68 + - *149 requestBody: required: true content: @@ -22039,9 +22040,9 @@ paths: description: Response content: application/json: - schema: *147 + schema: *148 examples: - default: *149 + default: *150 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -22060,8 +22061,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: - - *67 - - *148 + - *68 + - *149 responses: '204': description: Response @@ -22084,8 +22085,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: - - *67 - - *148 + - *68 + - *149 - *17 - *19 responses: @@ -22103,11 +22104,11 @@ paths: type: number runners: type: array - items: *122 + items: *123 examples: - default: *150 + default: *151 headers: - Link: *58 + Link: *59 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -22127,8 +22128,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: - - *67 - - *148 + - *68 + - *149 - *19 - *17 responses: @@ -22146,7 +22147,7 @@ paths: type: number repositories: type: array - items: *151 + items: *152 examples: default: &667 value: @@ -22400,8 +22401,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: - - *67 - - *148 + - *68 + - *149 requestBody: required: true content: @@ -22445,9 +22446,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: - - *67 - - *148 - - *140 + - *68 + - *149 + - *141 responses: '204': description: Response @@ -22469,9 +22470,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: - - *67 - - *148 - - *140 + - *68 + - *149 + - *141 responses: '204': description: Response @@ -22494,8 +22495,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: - - *67 - - *148 + - *68 + - *149 - *17 - *19 responses: @@ -22513,7 +22514,7 @@ paths: type: number runners: type: array - items: &153 + items: &154 title: Self hosted runners description: A self hosted runner type: object @@ -22542,7 +22543,7 @@ paths: type: boolean labels: type: array - items: &156 + items: &157 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -22572,7 +22573,7 @@ paths: - busy - labels examples: - default: &154 + default: &155 value: total_count: 2 runners: @@ -22612,7 +22613,7 @@ paths: name: no-gpu type: custom headers: - Link: *58 + Link: *59 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -22631,8 +22632,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: - - *67 - - *148 + - *68 + - *149 requestBody: required: true content: @@ -22676,9 +22677,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: - - *67 - - *148 - - &152 + - *68 + - *149 + - &153 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -22706,9 +22707,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: - - *67 - - *148 - - *152 + - *68 + - *149 + - *153 responses: '204': description: Response @@ -22738,7 +22739,7 @@ paths: in: query schema: type: string - - *67 + - *68 - *17 - *19 responses: @@ -22756,11 +22757,11 @@ paths: type: integer runners: type: array - items: *153 + items: *154 examples: - default: *154 + default: *155 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22782,7 +22783,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *67 + - *68 responses: '200': description: Response @@ -22858,7 +22859,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: - - *67 + - *68 requestBody: required: true content: @@ -22911,7 +22912,7 @@ paths: - runner - encoded_jit_config properties: - runner: *153 + runner: *154 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -22940,7 +22941,7 @@ paths: encoded_jit_config: abc123 '404': *6 '422': *7 - '409': *51 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22968,13 +22969,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *67 + - *68 responses: '201': description: Response content: application/json: - schema: &155 + schema: &156 title: Authentication Token description: Authentication Token type: object @@ -22996,7 +22997,7 @@ paths: repositories: description: The repositories this token has access to type: array - items: *70 + items: *71 single_file: type: string example: config.yaml @@ -23043,13 +23044,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *67 + - *68 responses: '201': description: Response content: application/json: - schema: *155 + schema: *156 examples: default: &359 value: @@ -23076,14 +23077,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: - - *67 - - *152 + - *68 + - *153 responses: '200': description: Response content: application/json: - schema: *153 + schema: *154 examples: default: &360 value: @@ -23126,8 +23127,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: - - *67 - - *152 + - *68 + - *153 responses: '204': description: Response @@ -23153,10 +23154,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: - - *67 - - *152 + - *68 + - *153 responses: - '200': &157 + '200': &158 description: Response content: application/json: @@ -23170,7 +23171,7 @@ paths: type: integer labels: type: array - items: *156 + items: *157 examples: default: value: @@ -23209,8 +23210,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: - - *67 - - *152 + - *68 + - *153 requestBody: required: true content: @@ -23234,7 +23235,7 @@ paths: - gpu - accelerated responses: - '200': *157 + '200': *158 '404': *6 '422': *7 x-github: @@ -23258,8 +23259,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: - - *67 - - *152 + - *68 + - *153 requestBody: required: true content: @@ -23284,7 +23285,7 @@ paths: - gpu - accelerated responses: - '200': *157 + '200': *158 '404': *6 '422': *7 x-github: @@ -23308,8 +23309,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: - - *67 - - *152 + - *68 + - *153 responses: '200': &361 description: Response @@ -23325,7 +23326,7 @@ paths: type: integer labels: type: array - items: *156 + items: *157 examples: default: value: @@ -23366,8 +23367,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: - - *67 - - *152 + - *68 + - *153 - &362 name: name description: The name of a self-hosted runner's custom label. @@ -23376,7 +23377,7 @@ paths: schema: type: string responses: - '200': *157 + '200': *158 '404': *6 '422': *7 x-github: @@ -23401,7 +23402,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-organization-secrets parameters: - - *67 + - *68 - *17 - *19 responses: @@ -23419,7 +23420,7 @@ paths: type: integer secrets: type: array - items: &158 + items: &159 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -23469,7 +23470,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23492,7 +23493,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-public-key parameters: - - *67 + - *68 responses: '200': description: Response @@ -23552,8 +23553,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-secret parameters: - - *67 - - &159 + - *68 + - &160 name: secret_name description: The name of the secret. in: path @@ -23565,7 +23566,7 @@ paths: description: Response content: application/json: - schema: *158 + schema: *159 examples: default: value: @@ -23595,8 +23596,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *67 - - *159 + - *68 + - *160 requestBody: required: true content: @@ -23653,7 +23654,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *160 + schema: *161 examples: default: value: @@ -23679,8 +23680,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-organization-secret parameters: - - *67 - - *159 + - *68 + - *160 responses: '204': description: Response @@ -23706,8 +23707,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *67 - - *159 + - *68 + - *160 - *19 - *17 responses: @@ -23725,9 +23726,9 @@ paths: type: integer repositories: type: array - items: *151 + items: *152 examples: - default: &163 + default: &164 value: total_count: 1 repositories: @@ -23819,8 +23820,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *67 - - *159 + - *68 + - *160 requestBody: required: true content: @@ -23872,8 +23873,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *67 - - *159 + - *68 + - *160 - name: repository_id in: path required: true @@ -23906,8 +23907,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *67 - - *159 + - *68 + - *160 - name: repository_id in: path required: true @@ -23939,7 +23940,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - - *67 + - *68 - &343 name: per_page description: The number of results per page (max 30). For more information, @@ -23964,7 +23965,7 @@ paths: type: integer variables: type: array - items: &161 + items: &162 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -24028,7 +24029,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24049,7 +24050,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-organization-variable parameters: - - *67 + - *68 requestBody: required: true content: @@ -24097,7 +24098,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *160 + schema: *161 examples: default: value: @@ -24122,8 +24123,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-organization-variable parameters: - - *67 - - &162 + - *68 + - &163 name: name description: The name of the variable. in: path @@ -24135,7 +24136,7 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -24165,8 +24166,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-organization-variable parameters: - - *67 - - *162 + - *68 + - *163 requestBody: required: true content: @@ -24228,8 +24229,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable parameters: - - *67 - - *162 + - *68 + - *163 responses: '204': description: Response @@ -24255,8 +24256,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *67 - - *162 + - *68 + - *163 - *19 - *17 responses: @@ -24274,9 +24275,9 @@ paths: type: integer repositories: type: array - items: *151 + items: *152 examples: - default: *163 + default: *164 '409': description: Response when the visibility of the variable is not set to `selected` @@ -24302,8 +24303,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *67 - - *162 + - *68 + - *163 requestBody: required: true content: @@ -24352,8 +24353,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *67 - - *162 + - *68 + - *163 - name: repository_id in: path required: true @@ -24387,8 +24388,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *67 - - *162 + - *68 + - *163 - name: repository_id in: path required: true @@ -24418,7 +24419,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-an-artifact-deployment-record parameters: - - *67 + - *68 requestBody: required: true content: @@ -24530,7 +24531,7 @@ paths: type: integer deployment_records: type: array - items: &164 + items: &165 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -24574,7 +24575,7 @@ paths: with the deployment record. nullable: true examples: - default: &165 + default: &166 value: total_count: 1 deployment_records: @@ -24609,7 +24610,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#set-cluster-deployment-records parameters: - - *67 + - *68 - name: cluster in: path description: The cluster name. @@ -24747,9 +24748,9 @@ paths: type: integer deployment_records: type: array - items: *164 + items: *165 examples: - default: *165 + default: *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24769,7 +24770,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-artifact-metadata-storage-record parameters: - - *67 + - *68 requestBody: required: true content: @@ -24921,7 +24922,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-deployment-records parameters: - - *67 + - *68 - name: subject_digest description: The SHA256 digest of the artifact, in the form `sha256:HEX_DIGEST`. in: path @@ -24946,9 +24947,9 @@ paths: type: integer deployment_records: type: array - items: *164 + items: *165 examples: - default: *165 + default: *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24968,7 +24969,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-storage-records parameters: - - *67 + - *68 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -25053,7 +25054,7 @@ paths: - *17 - *45 - *46 - - *67 + - *68 requestBody: required: true content: @@ -25249,7 +25250,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-in-bulk parameters: - - *67 + - *68 requestBody: required: true content: @@ -25314,7 +25315,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-subject-digest parameters: - - *67 + - *68 - name: subject_digest description: Subject Digest in: path @@ -25349,7 +25350,7 @@ paths: - *17 - *45 - *46 - - *67 + - *68 - name: predicate_type description: |- Optional filter for fetching attestations with a given predicate type. @@ -25397,7 +25398,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-id parameters: - - *67 + - *68 - name: attestation_id description: Attestation ID in: path @@ -25435,7 +25436,7 @@ paths: - *17 - *45 - *46 - - *67 + - *68 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -25596,7 +25597,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *67 + - *68 - *17 - *19 responses: @@ -25608,7 +25609,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *63 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25627,8 +25628,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *67 - - *63 + - *68 + - *64 responses: '204': description: If the user is blocked @@ -25653,8 +25654,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *67 - - *63 + - *68 + - *64 responses: '204': description: Response @@ -25674,8 +25675,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *67 - - *63 + - *68 + - *64 responses: '204': description: Response @@ -25700,15 +25701,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *67 + - *68 - *19 - *17 - - *52 + - *53 - name: state description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &166 + schema: &167 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -25734,7 +25735,7 @@ paths: application/json: schema: type: array - items: &167 + items: &168 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -25955,7 +25956,7 @@ paths: type: string format: date-time nullable: true - state: *166 + state: *167 contact_link: description: The contact link of the campaign. type: string @@ -26050,9 +26051,9 @@ paths: closed_at: state: open headers: - Link: *58 + Link: *59 '404': *6 - '503': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26076,7 +26077,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *67 + - *68 requestBody: required: true content: @@ -26175,9 +26176,9 @@ paths: description: Response content: application/json: - schema: *167 + schema: *168 examples: - default: &168 + default: &169 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -26226,7 +26227,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26248,7 +26249,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *67 + - *68 - name: campaign_number description: The campaign number. in: path @@ -26260,16 +26261,16 @@ paths: description: Response content: application/json: - schema: *167 + schema: *168 examples: - default: *168 + default: *169 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26290,7 +26291,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#update-a-campaign parameters: - - *67 + - *68 - name: campaign_number description: The campaign number. in: path @@ -26339,7 +26340,7 @@ paths: type: string format: uri nullable: true - state: *166 + state: *167 examples: default: value: @@ -26349,9 +26350,9 @@ paths: description: Response content: application/json: - schema: *167 + schema: *168 examples: - default: *168 + default: *169 '400': description: Bad Request content: @@ -26363,7 +26364,7 @@ paths: content: application/json: schema: *3 - '503': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26384,7 +26385,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *67 + - *68 - name: campaign_number description: The campaign number. in: path @@ -26395,7 +26396,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26417,7 +26418,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *67 + - *68 - &413 name: tool_name description: The name of a code scanning tool. Only results by this tool will @@ -26425,7 +26426,7 @@ paths: but not both. in: query required: false - schema: &176 + schema: &177 type: string description: The name of the tool used to generate the code scanning analysis. - &414 @@ -26436,7 +26437,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &177 + schema: &178 nullable: true type: string description: The GUID of the tool used to generate the code scanning analysis, @@ -26445,7 +26446,7 @@ paths: - *46 - *19 - *17 - - *52 + - *53 - name: state description: If specified, only code scanning alerts with this state will be returned. @@ -26503,18 +26504,18 @@ paths: items: type: object properties: - number: *169 - created_at: *170 - updated_at: *171 - url: *172 - html_url: *173 + number: *170 + created_at: *171 + updated_at: *172 + url: *173 + html_url: *174 instances_url: &418 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &178 + state: &179 type: string description: State of a code scanning alert. nullable: true @@ -26522,7 +26523,7 @@ paths: - open - dismissed - fixed - fixed_at: *174 + fixed_at: *175 dismissed_by: title: Simple User description: A GitHub user. @@ -26530,7 +26531,7 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *175 + dismissed_at: *176 dismissed_reason: &419 type: string description: "**Required when the state is dismissed.** The @@ -26602,13 +26603,13 @@ paths: tool: &422 type: object properties: - name: *176 + name: *177 version: nullable: true type: string description: The version of the tool used to generate the code scanning analysis. - guid: *177 + guid: *178 most_recent_instance: &423 type: object properties: @@ -26634,7 +26635,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: *178 + state: *179 commit_sha: type: string message: @@ -26673,7 +26674,7 @@ paths: - generated - test - library - repository: *57 + repository: *58 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -26928,9 +26929,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: *58 + Link: *59 '404': *6 - '503': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26952,7 +26953,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *67 + - *68 - name: target_type in: query description: The target type of the code security configuration @@ -27063,7 +27064,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration parameters: - - *67 + - *68 requestBody: required: true content: @@ -27141,7 +27142,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *179 + code_scanning_options: *51 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -27306,7 +27307,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations parameters: - - *67 + - *68 responses: '200': description: Response @@ -27340,7 +27341,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *67 + - *68 requestBody: required: true content: @@ -27370,7 +27371,7 @@ paths: '400': *14 '403': *29 '404': *6 - '409': *51 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27392,7 +27393,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-a-code-security-configuration parameters: - - *67 + - *68 - *49 responses: '200': @@ -27425,7 +27426,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#update-a-code-security-configuration parameters: - - *67 + - *68 - *49 requestBody: required: true @@ -27506,6 +27507,7 @@ paths: - disabled - not_set code_scanning_default_setup_options: *50 + code_scanning_options: *51 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -27682,14 +27684,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *67 + - *68 - *49 responses: '204': *183 '400': *14 '403': *29 '404': *6 - '409': *51 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27713,7 +27715,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *67 + - *68 - *49 requestBody: required: true @@ -27777,7 +27779,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: - - *67 + - *68 - *49 requestBody: required: true @@ -27847,7 +27849,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *67 + - *68 - *49 - name: per_page description: The number of results per page (max 100). For more information, @@ -27906,7 +27908,7 @@ paths: parameters: - *17 - *19 - - *67 + - *68 responses: '200': description: Response @@ -27947,7 +27949,7 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *151 + repository: *152 machine: type: object title: Codespace machine @@ -28609,7 +28611,7 @@ paths: stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/stop recent_folders: [] '304': *37 - '500': *111 + '500': *112 '401': *25 '403': *29 '404': *6 @@ -28631,7 +28633,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *67 + - *68 deprecated: true requestBody: required: true @@ -28675,7 +28677,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *111 + '500': *112 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28698,7 +28700,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *67 + - *68 deprecated: true requestBody: required: true @@ -28730,7 +28732,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *111 + '500': *112 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28753,7 +28755,7 @@ paths: url: https://docs.github.com/rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *67 + - *68 requestBody: required: true content: @@ -28784,7 +28786,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *111 + '500': *112 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28805,7 +28807,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *67 + - *68 - *17 - *19 responses: @@ -28875,7 +28877,7 @@ paths: updated_at: '2020-01-11T11:59:22Z' visibility: all headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28894,7 +28896,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *67 + - *68 responses: '200': description: Response @@ -28952,8 +28954,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *67 - - *159 + - *68 + - *160 responses: '200': description: Response @@ -28968,7 +28970,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: all headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28988,8 +28990,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *67 - - *159 + - *68 + - *160 requestBody: required: true content: @@ -29044,7 +29046,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *160 + schema: *161 examples: default: value: @@ -29070,8 +29072,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *67 - - *159 + - *68 + - *160 responses: '204': description: Response @@ -29096,8 +29098,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *67 - - *159 + - *68 + - *160 - *19 - *17 responses: @@ -29115,9 +29117,9 @@ paths: type: integer repositories: type: array - items: *151 + items: *152 examples: - default: *163 + default: *164 '404': *6 x-github: githubCloudOnly: false @@ -29139,8 +29141,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *67 - - *159 + - *68 + - *160 requestBody: required: true content: @@ -29190,8 +29192,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *67 - - *159 + - *68 + - *160 - name: repository_id in: path required: true @@ -29224,8 +29226,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *67 - - *159 + - *68 + - *160 - name: repository_id in: path required: true @@ -29264,7 +29266,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: - - *67 + - *68 responses: '200': description: OK @@ -29373,7 +29375,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *111 + '500': *112 '401': *25 '403': *29 '404': *6 @@ -29405,7 +29407,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: - - *67 + - *68 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -29453,7 +29455,7 @@ paths: access to GitHub Copilot, if applicable. oneOf: - *189 - - *59 + - *60 nullable: true pending_cancellation_date: type: string @@ -29577,8 +29579,8 @@ paths: type: User site_admin: false headers: - Link: *58 - '500': *111 + Link: *59 + '500': *112 '401': *25 '403': *29 '404': *6 @@ -29611,7 +29613,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: - - *67 + - *68 requestBody: content: application/json: @@ -29653,7 +29655,7 @@ paths: default: value: seats_created: 5 - '500': *111 + '500': *112 '401': *25 '403': *29 '404': *6 @@ -29689,7 +29691,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: - - *67 + - *68 requestBody: content: application/json: @@ -29731,7 +29733,7 @@ paths: default: value: seats_cancelled: 5 - '500': *111 + '500': *112 '401': *25 '403': *29 '404': *6 @@ -29769,7 +29771,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: - - *67 + - *68 requestBody: content: application/json: @@ -29810,7 +29812,7 @@ paths: default: value: seats_created: 5 - '500': *111 + '500': *112 '401': *25 '403': *29 '404': *6 @@ -29846,7 +29848,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: - - *67 + - *68 requestBody: content: application/json: @@ -29888,7 +29890,7 @@ paths: default: value: seats_cancelled: 5 - '500': *111 + '500': *112 '401': *25 '403': *29 '404': *6 @@ -29927,7 +29929,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *67 + - *68 - 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`). @@ -30365,7 +30367,7 @@ paths: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - '500': *111 + '500': *112 '403': *29 '404': *6 '422': &320 @@ -30395,7 +30397,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *67 + - *68 - *190 - *191 - *192 @@ -30440,7 +30442,7 @@ paths: type: string - *195 - *196 - - *52 + - *53 - *45 - *46 - *17 @@ -30479,7 +30481,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-organization-secrets parameters: - - *67 + - *68 - *17 - *19 responses: @@ -30547,7 +30549,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/dependabot/secrets/SUPER_SECRET/repositories headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30568,7 +30570,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-public-key parameters: - - *67 + - *68 responses: '200': description: Response @@ -30614,8 +30616,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret parameters: - - *67 - - *159 + - *68 + - *160 responses: '200': description: Response @@ -30649,8 +30651,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *67 - - *159 + - *68 + - *160 requestBody: required: true content: @@ -30709,7 +30711,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *160 + schema: *161 examples: default: value: @@ -30733,8 +30735,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret parameters: - - *67 - - *159 + - *68 + - *160 responses: '204': description: Response @@ -30758,8 +30760,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *67 - - *159 + - *68 + - *160 - *19 - *17 responses: @@ -30777,9 +30779,9 @@ paths: type: integer repositories: type: array - items: *151 + items: *152 examples: - default: *163 + default: *164 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30800,8 +30802,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *67 - - *159 + - *68 + - *160 requestBody: required: true content: @@ -30851,8 +30853,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *67 - - *159 + - *68 + - *160 - name: repository_id in: path required: true @@ -30883,8 +30885,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *67 - - *159 + - *68 + - *160 - name: repository_id in: path required: true @@ -30914,7 +30916,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: - - *67 + - *68 responses: '200': description: Response @@ -31070,7 +31072,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-organization-events parameters: - - *67 + - *68 - *17 - *19 responses: @@ -31080,7 +31082,7 @@ paths: application/json: schema: type: array - items: *100 + items: *101 examples: 200-response: value: @@ -31152,7 +31154,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-failed-organization-invitations parameters: - - *67 + - *68 - *17 - *19 responses: @@ -31242,7 +31244,7 @@ paths: invitation_teams_url: https://api.github.com/organizations/2/invitations/1/teams invitation_source: member headers: - Link: *58 + Link: *59 '404': *6 x-github: githubCloudOnly: false @@ -31266,7 +31268,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-organization-webhooks parameters: - - *67 + - *68 - *17 - *19 responses: @@ -31364,7 +31366,7 @@ paths: created_at: '2011-09-06T17:26:27Z' type: Organization headers: - Link: *58 + Link: *59 '404': *6 x-github: githubCloudOnly: false @@ -31387,7 +31389,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#create-an-organization-webhook parameters: - - *67 + - *68 requestBody: required: true content: @@ -31496,7 +31498,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - - *67 + - *68 - &204 name: hook_id description: The unique identifier of the hook. You can find this value in @@ -31539,7 +31541,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - - *67 + - *68 - *204 requestBody: required: false @@ -31626,7 +31628,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *67 + - *68 - *204 responses: '204': @@ -31654,7 +31656,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *67 + - *68 - *204 responses: '200': @@ -31685,7 +31687,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *67 + - *68 - *204 requestBody: required: false @@ -31736,7 +31738,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *67 + - *68 - *204 - *17 - *205 @@ -31774,7 +31776,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *67 + - *68 - *204 - *16 responses: @@ -31809,7 +31811,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *67 + - *68 - *204 - *16 responses: @@ -31839,7 +31841,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *67 + - *68 - *204 responses: '204': @@ -31862,7 +31864,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *67 + - *68 - &214 name: actor_type in: path @@ -31902,7 +31904,7 @@ paths: type: string - *19 - *17 - - *52 + - *53 - name: sort description: The property to sort the results by. in: query @@ -31984,12 +31986,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - - *67 + - *68 - *210 - *211 - *19 - *17 - - *52 + - *53 - &220 name: sort description: The property to sort the results by. @@ -32068,7 +32070,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - - *67 + - *68 - *210 - *211 responses: @@ -32112,7 +32114,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *67 + - *68 - &216 name: user_id in: path @@ -32147,7 +32149,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *67 + - *68 - *210 - *211 - *214 @@ -32176,7 +32178,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - - *67 + - *68 - *210 - *211 - &217 @@ -32244,7 +32246,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - - *67 + - *68 - *216 - *210 - *211 @@ -32273,7 +32275,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *67 + - *68 - *214 - *215 - *210 @@ -32303,13 +32305,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - - *67 + - *68 - *216 - *210 - *211 - *19 - *17 - - *52 + - *53 - *220 - name: actor_name_substring in: query @@ -32383,7 +32385,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *67 + - *68 responses: '200': description: Response @@ -32460,7 +32462,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *67 + - *68 - *17 - *19 responses: @@ -32530,7 +32532,7 @@ paths: suspended_at: suspended_by: headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32549,7 +32551,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *67 + - *68 responses: '200': description: Response @@ -32611,7 +32613,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *67 + - *68 requestBody: required: true content: @@ -32666,7 +32668,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *67 + - *68 responses: '204': description: Response @@ -32690,7 +32692,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-pending-organization-invitations parameters: - - *67 + - *68 - *17 - *19 - name: role @@ -32728,7 +32730,7 @@ paths: examples: default: *225 headers: - Link: *58 + Link: *59 '404': *6 x-github: githubCloudOnly: false @@ -32749,7 +32751,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#create-an-organization-invitation parameters: - - *67 + - *68 requestBody: required: false content: @@ -32857,7 +32859,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - - *67 + - *68 - &226 name: invitation_id description: The unique identifier of the invitation. @@ -32888,7 +32890,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - - *67 + - *68 - *226 - *17 - *19 @@ -32917,7 +32919,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *58 + Link: *59 '404': *6 x-github: githubCloudOnly: false @@ -32936,7 +32938,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *67 + - *68 responses: '200': description: Response @@ -32982,7 +32984,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *67 + - *68 requestBody: required: true content: @@ -33063,7 +33065,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *67 + - *68 - &229 name: issue_type_id description: The unique identifier of the issue type. @@ -33143,7 +33145,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *67 + - *68 - *229 responses: '204': @@ -33177,7 +33179,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *67 + - *68 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -33225,8 +33227,8 @@ paths: - updated - comments default: created - - *52 - - *81 + - *53 + - *82 - *17 - *19 responses: @@ -33236,11 +33238,11 @@ paths: application/json: schema: type: array - items: *74 + items: *75 examples: default: *231 headers: - Link: *58 + Link: *59 '404': *6 x-github: githubCloudOnly: false @@ -33260,7 +33262,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-members parameters: - - *67 + - *68 - 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) @@ -33298,9 +33300,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *63 headers: - Link: *58 + Link: *59 '422': *15 x-github: githubCloudOnly: false @@ -33318,8 +33320,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-organization-membership-for-a-user parameters: - - *67 - - *63 + - *68 + - *64 responses: '204': description: Response if requester is an organization member and user is @@ -33353,8 +33355,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-an-organization-member parameters: - - *67 - - *63 + - *68 + - *64 responses: '204': description: Response @@ -33380,8 +33382,8 @@ paths: parameters: - *17 - *19 - - *67 - - *63 + - *68 + - *64 responses: '200': description: Response @@ -33401,7 +33403,7 @@ paths: examples: default: *233 '304': *37 - '500': *111 + '500': *112 '401': *25 '403': *29 '404': *6 @@ -33424,8 +33426,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *67 - - *63 + - *68 + - *64 - &234 name: codespace_name in: path @@ -33436,7 +33438,7 @@ paths: responses: '202': *39 '304': *37 - '500': *111 + '500': *112 '401': *25 '403': *29 '404': *6 @@ -33459,8 +33461,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *67 - - *63 + - *68 + - *64 - *234 responses: '200': @@ -33611,7 +33613,7 @@ paths: recent_folders: [] template: '304': *37 - '500': *111 + '500': *112 '401': *25 '403': *29 '404': *6 @@ -33642,8 +33644,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: - - *67 - - *63 + - *68 + - *64 responses: '200': description: The user's GitHub Copilot seat details, including usage. @@ -33693,7 +33695,7 @@ paths: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - '500': *111 + '500': *112 '401': *25 '403': *29 '404': *6 @@ -33718,8 +33720,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-organization-membership-for-a-user parameters: - - *67 - - *63 + - *68 + - *64 responses: '200': description: Response @@ -33769,7 +33771,7 @@ paths: type: string format: uri example: https://api.github.com/orgs/octocat - organization: *65 + organization: *66 user: title: Simple User description: A GitHub user. @@ -33864,8 +33866,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-organization-membership-for-a-user parameters: - - *67 - - *63 + - *68 + - *64 requestBody: required: false content: @@ -33919,8 +33921,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *67 - - *63 + - *68 + - *64 responses: '204': description: Response @@ -33945,7 +33947,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-organization-migrations parameters: - - *67 + - *68 - *17 - *19 - name: exclude @@ -34007,7 +34009,7 @@ paths: type: array description: The repositories included in the migration. Only returned for export migrations. - items: *70 + items: *71 url: type: string format: uri @@ -34203,7 +34205,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -34219,7 +34221,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#start-an-organization-migration parameters: - - *67 + - *68 requestBody: required: true content: @@ -34473,7 +34475,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - - *67 + - *68 - &239 name: migration_id description: The unique identifier of the migration. @@ -34670,7 +34672,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *67 + - *68 - *239 responses: '302': @@ -34692,7 +34694,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *67 + - *68 - *239 responses: '204': @@ -34716,7 +34718,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - - *67 + - *68 - *239 - &680 name: repo_name @@ -34745,7 +34747,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *67 + - *68 - *239 - *17 - *19 @@ -34756,7 +34758,7 @@ paths: application/json: schema: type: array - items: *151 + items: *152 examples: default: &251 value: @@ -34869,7 +34871,7 @@ paths: secret_scanning_non_provider_patterns: status: disabled headers: - Link: *58 + Link: *59 '404': *6 x-github: githubCloudOnly: false @@ -34895,7 +34897,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *67 + - *68 responses: '200': description: Response - list of organization roles @@ -35058,8 +35060,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *67 - *68 + - *69 responses: '204': description: Response @@ -35084,8 +35086,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *67 - *68 + - *69 - &240 name: role_id description: The unique identifier of the role. @@ -35121,8 +35123,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *67 - *68 + - *69 - *240 responses: '204': @@ -35148,8 +35150,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *67 - - *63 + - *68 + - *64 responses: '204': description: Response @@ -35174,8 +35176,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *67 - - *63 + - *68 + - *64 - *240 responses: '204': @@ -35206,8 +35208,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *67 - - *63 + - *68 + - *64 - *240 responses: '204': @@ -35236,7 +35238,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - - *67 + - *68 - *240 responses: '200': @@ -35293,7 +35295,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: - - *67 + - *68 - *240 - *17 - *19 @@ -35407,7 +35409,7 @@ paths: examples: default: *244 headers: - Link: *58 + Link: *59 '404': description: Response if the organization or role does not exist. '422': @@ -35434,7 +35436,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: - - *67 + - *68 - *240 - *17 - *19 @@ -35564,9 +35566,9 @@ paths: - type - url examples: - default: *62 + default: *63 headers: - Link: *58 + Link: *59 '404': description: Response if the organization or role does not exist. '422': @@ -35588,7 +35590,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *67 + - *68 - 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) @@ -35615,9 +35617,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *63 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35640,8 +35642,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *67 - - *63 + - *68 + - *64 requestBody: required: false content: @@ -35698,8 +35700,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *67 - - *63 + - *68 + - *64 responses: '204': description: Response @@ -35756,7 +35758,7 @@ paths: - docker - nuget - container - - *67 + - *68 - &681 name: visibility description: |- @@ -35845,7 +35847,7 @@ paths: required: true schema: type: string - - *67 + - *68 responses: '200': description: Response @@ -35905,7 +35907,7 @@ paths: parameters: - *247 - *248 - - *67 + - *68 responses: '204': description: Response @@ -35939,7 +35941,7 @@ paths: parameters: - *247 - *248 - - *67 + - *68 - name: token description: package token schema: @@ -35973,7 +35975,7 @@ paths: parameters: - *247 - *248 - - *67 + - *68 - *19 - *17 - name: state @@ -36120,7 +36122,7 @@ paths: parameters: - *247 - *248 - - *67 + - *68 - &250 name: package_version_id description: Unique identifier of the package version. @@ -36171,7 +36173,7 @@ paths: parameters: - *247 - *248 - - *67 + - *68 - *250 responses: '204': @@ -36206,7 +36208,7 @@ paths: parameters: - *247 - *248 - - *67 + - *68 - *250 responses: '204': @@ -36234,7 +36236,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: - - *67 + - *68 - *17 - *19 - &252 @@ -36247,7 +36249,7 @@ paths: enum: - created_at default: created_at - - *52 + - *53 - &253 name: owner description: A list of owner usernames to use to filter the results. @@ -36307,7 +36309,7 @@ paths: type: string example: token_id[]=1,token_id[]=2 responses: - '500': *111 + '500': *112 '422': *15 '404': *6 '403': *29 @@ -36439,7 +36441,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36459,7 +36461,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: - - *67 + - *68 requestBody: required: true content: @@ -36500,7 +36502,7 @@ paths: action: deny reason: Access is too broad. responses: - '500': *111 + '500': *112 '422': *15 '404': *6 '403': *29 @@ -36525,7 +36527,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: - - *67 + - *68 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -36561,7 +36563,7 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *111 + '500': *112 '422': *15 '404': *6 '403': *29 @@ -36586,7 +36588,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: - - *67 + - *68 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -36597,7 +36599,7 @@ paths: - *17 - *19 responses: - '500': *111 + '500': *112 '404': *6 '403': *29 '200': @@ -36606,11 +36608,11 @@ paths: application/json: schema: type: array - items: *151 + items: *152 examples: default: *251 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36631,11 +36633,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: - - *67 + - *68 - *17 - *19 - *252 - - *52 + - *53 - *253 - *254 - *255 @@ -36643,7 +36645,7 @@ paths: - *257 - *258 responses: - '500': *111 + '500': *112 '422': *15 '404': *6 '403': *29 @@ -36770,7 +36772,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36790,7 +36792,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: - - *67 + - *68 requestBody: required: true content: @@ -36825,7 +36827,7 @@ paths: - 1296269 - 1296280 responses: - '500': *111 + '500': *112 '404': *6 '202': *39 '403': *29 @@ -36850,7 +36852,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: - - *67 + - *68 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -36878,7 +36880,7 @@ paths: value: action: revoke responses: - '500': *111 + '500': *112 '404': *6 '204': *183 '403': *29 @@ -36902,7 +36904,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: - - *67 + - *68 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -36912,7 +36914,7 @@ paths: - *17 - *19 responses: - '500': *111 + '500': *112 '404': *6 '403': *29 '200': @@ -36921,11 +36923,11 @@ paths: application/json: schema: type: array - items: *151 + items: *152 examples: default: *251 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36947,7 +36949,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *67 + - *68 - *17 - *19 responses: @@ -37045,7 +37047,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: selected headers: - Link: *58 + Link: *59 '400': *14 '404': *6 x-github: @@ -37067,7 +37069,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *67 + - *68 requestBody: required: true content: @@ -37296,7 +37298,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: - - *67 + - *68 responses: '200': description: Response @@ -37322,7 +37324,7 @@ paths: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 headers: - Link: *58 + Link: *59 '404': *6 x-github: githubCloudOnly: false @@ -37344,8 +37346,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *67 - - *159 + - *68 + - *160 responses: '200': description: The specified private registry configuration for the organization @@ -37374,8 +37376,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *67 - - *159 + - *68 + - *160 requestBody: required: true content: @@ -37479,8 +37481,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *67 - - *159 + - *68 + - *160 responses: '204': description: Response @@ -37503,7 +37505,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-organization parameters: - - *67 + - *68 - name: q description: Limit results to projects of the specified type. in: query @@ -37746,7 +37748,7 @@ paths: updated_at: '2025-07-11T16:19:28Z' is_template: true headers: - Link: *58 + Link: *59 '304': *37 '403': *29 '401': *25 @@ -37773,7 +37775,7 @@ paths: required: true schema: type: integer - - *67 + - *68 responses: '200': description: Response @@ -37783,7 +37785,7 @@ paths: examples: default: *262 headers: - Link: *58 + Link: *59 '304': *37 '403': *29 '401': *25 @@ -37803,7 +37805,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - - *67 + - *68 - *263 requestBody: required: true @@ -37851,7 +37853,7 @@ paths: description: The node ID of the project item. content: oneOf: - - *74 + - *75 - &465 title: Pull Request Simple description: Pull Request Simple @@ -38013,7 +38015,7 @@ paths: type: string ref: type: string - repo: *70 + repo: *71 sha: type: string user: @@ -38036,7 +38038,7 @@ paths: type: string ref: type: string - repo: *70 + repo: *71 sha: type: string user: @@ -38080,7 +38082,7 @@ paths: - review_comments - review_comment - self - author_association: *75 + author_association: *76 auto_merge: &573 title: Auto merge description: The status of auto merging a pull request. @@ -38298,7 +38300,7 @@ paths: url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - *263 - - *67 + - *68 - *17 - *45 - *46 @@ -38567,7 +38569,7 @@ paths: created_at: '2022-06-20T16:45:00Z' updated_at: '2022-06-20T16:45:00Z' headers: - Link: *58 + Link: *59 '304': *37 '403': *29 '401': *25 @@ -38587,7 +38589,7 @@ paths: url: https://docs.github.com/rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - *263 - - *67 + - *68 requestBody: required: true content: @@ -38885,7 +38887,7 @@ paths: required: true schema: type: integer - - *67 + - *68 responses: '200': description: Response @@ -38928,7 +38930,7 @@ paths: created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' headers: - Link: *58 + Link: *59 '304': *37 '403': *29 '401': *25 @@ -38950,7 +38952,7 @@ paths: url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - *263 - - *67 + - *68 - 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. @@ -39717,7 +39719,7 @@ paths: type: sub_issues_progress value: headers: - Link: *58 + Link: *59 '304': *37 '403': *29 '401': *25 @@ -39737,75 +39739,67 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - - *67 + - *68 - *263 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 @@ -39818,8 +39812,20 @@ paths: application/json: schema: *269 examples: - issue: *270 - pull_request: *270 + issue_with_id: + summary: Response for adding an issue using its unique ID + value: *270 + pull_request_with_id: + summary: Response for adding a pull request using its unique ID + value: *270 + issue_with_nwo: + summary: Response for adding an issue using repository owner, name, + and issue number + value: *270 + pull_request_with_nwo: + summary: Response for adding a pull request using repository owner, + name, and PR number + value: *270 '304': *37 '403': *29 '401': *25 @@ -39840,7 +39846,7 @@ paths: url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - *263 - - *67 + - *68 - &273 name: item_id description: The unique identifier of the project item. @@ -39871,7 +39877,7 @@ paths: examples: default: *272 headers: - Link: *58 + Link: *59 '304': *37 '403': *29 '401': *25 @@ -39891,7 +39897,7 @@ paths: url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - *263 - - *67 + - *68 - *273 requestBody: required: true @@ -39989,7 +39995,7 @@ paths: url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - *263 - - *67 + - *68 - *273 responses: '204': @@ -40014,7 +40020,7 @@ paths: url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-project-view parameters: - *263 - - *67 + - *68 - &712 name: view_number description: The number that identifies the project view. @@ -40051,7 +40057,7 @@ paths: examples: default: *272 headers: - Link: *58 + Link: *59 '304': *37 '403': *29 '401': *25 @@ -40074,7 +40080,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *67 + - *68 responses: '200': description: Response @@ -40195,7 +40201,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *67 + - *68 requestBody: required: true content: @@ -40259,7 +40265,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *67 + - *68 - &276 name: custom_property_name description: The custom property name @@ -40308,7 +40314,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: - - *67 + - *68 - *276 requestBody: required: true @@ -40402,7 +40408,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *67 + - *68 - *276 responses: '204': *183 @@ -40426,7 +40432,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *67 + - *68 - *17 - *19 - name: repository_query @@ -40464,7 +40470,7 @@ paths: example: octocat/Hello-World properties: type: array - items: *110 + items: *111 description: List of custom property names and associated values required: - repository_id @@ -40485,7 +40491,7 @@ paths: - property_name: team value: octocat headers: - Link: *58 + Link: *59 '403': *29 '404': *6 x-github: @@ -40513,7 +40519,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: - - *67 + - *68 requestBody: required: true content: @@ -40533,7 +40539,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *110 + items: *111 required: - repository_names - properties @@ -40574,7 +40580,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-public-organization-members parameters: - - *67 + - *68 - *17 - *19 responses: @@ -40586,9 +40592,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *63 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40605,8 +40611,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *67 - - *63 + - *68 + - *64 responses: '204': description: Response if user is a public member @@ -40630,8 +40636,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *67 - - *63 + - *68 + - *64 responses: '204': description: Response @@ -40652,8 +40658,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *67 - - *63 + - *68 + - *64 responses: '204': description: Response @@ -40677,7 +40683,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-organization-repositories parameters: - - *67 + - *68 - name: type description: Specifies the types of repositories you want returned. in: query @@ -40723,11 +40729,11 @@ paths: application/json: schema: type: array - items: *151 + items: *152 examples: default: *251 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40746,7 +40752,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-organization-repository parameters: - - *67 + - *68 requestBody: required: true content: @@ -41292,8 +41298,8 @@ paths: title: License Simple description: License Simple type: object - properties: *77 - required: *78 + properties: *78 + required: *79 nullable: true organization: title: Simple User @@ -41302,8 +41308,8 @@ paths: properties: *20 required: *21 nullable: true - parent: *70 - source: *70 + parent: *71 + source: *71 forks: type: integer master_branch: @@ -41943,7 +41949,7 @@ paths: category: orgs subcategory: rules parameters: - - *67 + - *68 - *17 - *19 - &595 @@ -43019,7 +43025,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *111 + '500': *112 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -43035,7 +43041,7 @@ paths: category: orgs subcategory: rules parameters: - - *67 + - *68 requestBody: description: Request body required: true @@ -43170,7 +43176,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *111 + '500': *112 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -43184,7 +43190,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *67 + - *68 - &597 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally @@ -43322,7 +43328,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *111 + '500': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43341,7 +43347,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *67 + - *68 - &603 name: rule_suite_id description: |- @@ -43492,7 +43498,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *111 + '500': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43518,7 +43524,7 @@ paths: category: orgs subcategory: rules parameters: - - *67 + - *68 - name: ruleset_id description: The ID of the ruleset. in: path @@ -43534,7 +43540,7 @@ paths: examples: default: *308 '404': *6 - '500': *111 + '500': *112 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -43550,7 +43556,7 @@ paths: category: orgs subcategory: rules parameters: - - *67 + - *68 - name: ruleset_id description: The ID of the ruleset. in: path @@ -43624,7 +43630,7 @@ paths: examples: default: *308 '404': *6 - '500': *111 + '500': *112 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -43640,7 +43646,7 @@ paths: category: orgs subcategory: rules parameters: - - *67 + - *68 - name: ruleset_id description: The ID of the ruleset. in: path @@ -43651,7 +43657,7 @@ paths: '204': description: Response '404': *6 - '500': *111 + '500': *112 "/orgs/{org}/rulesets/{ruleset_id}/history": get: summary: Get organization ruleset history @@ -43663,7 +43669,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-history parameters: - - *67 + - *68 - *17 - *19 - name: ruleset_id @@ -43721,7 +43727,7 @@ paths: type: User updated_at: '2024-08-23T16:29:47Z' '404': *6 - '500': *111 + '500': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43738,7 +43744,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-version parameters: - - *67 + - *68 - name: ruleset_id description: The ID of the ruleset. in: path @@ -43805,7 +43811,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *111 + '500': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43827,7 +43833,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *67 + - *68 - &609 name: state in: query @@ -43889,7 +43895,7 @@ paths: - created - updated default: created - - *52 + - *53 - *19 - *17 - &614 @@ -43958,8 +43964,8 @@ paths: items: type: object properties: - number: *169 - created_at: *170 + number: *170 + created_at: *171 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -43967,8 +43973,8 @@ paths: format: date-time readOnly: true nullable: true - url: *172 - html_url: *173 + url: *173 + html_url: *174 locations_url: type: string format: uri @@ -44015,7 +44021,7 @@ paths: secret: type: string description: The secret that was detected. - repository: *57 + repository: *58 push_protection_bypassed: type: boolean description: Whether push protection was bypassed for the detected @@ -44539,9 +44545,9 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *59 '404': *6 - '503': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44566,7 +44572,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *67 + - *68 responses: '200': description: Response @@ -44702,7 +44708,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *67 + - *68 requestBody: required: true content: @@ -44772,7 +44778,7 @@ paths: '400': *14 '403': *29 '404': *6 - '409': *51 + '409': *52 '422': *15 "/orgs/{org}/security-advisories": get: @@ -44790,8 +44796,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *67 - - *52 + - *68 + - *53 - name: sort description: The property to sort the results by. in: query @@ -45021,7 +45027,7 @@ paths: required: - vector_string - score - cvss_severities: *54 + cvss_severities: *55 cwes: type: array nullable: true @@ -45095,7 +45101,7 @@ paths: description: A temporary private fork of the advisory's repository for collaborating on a fix. allOf: - - *57 + - *58 required: - ghsa_id - cve_id @@ -45504,7 +45510,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams parameters: - - *67 + - *68 responses: '200': description: Response @@ -45537,8 +45543,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - - *67 - *68 + - *69 responses: '204': description: Response @@ -45563,8 +45569,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *67 - *68 + - *69 responses: '204': description: Response @@ -45591,7 +45597,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-immutable-releases-settings-for-an-organization parameters: - - *67 + - *68 responses: '200': description: Immutable releases settings response @@ -45640,7 +45646,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-immutable-releases-settings-for-an-organization parameters: - - *67 + - *68 responses: '204': description: Response @@ -45697,7 +45703,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement parameters: - - *67 + - *68 - *19 - *17 responses: @@ -45715,9 +45721,9 @@ paths: type: integer repositories: type: array - items: *151 + items: *152 examples: - default: *163 + default: *164 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45736,7 +45742,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement parameters: - - *67 + - *68 requestBody: required: true content: @@ -45785,8 +45791,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: - - *67 - - *140 + - *68 + - *141 responses: '204': description: Response @@ -45808,8 +45814,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: - - *67 - - *140 + - *68 + - *141 responses: '204': description: Response @@ -45832,7 +45838,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *67 + - *68 - *17 - *19 responses: @@ -45909,7 +45915,7 @@ paths: - 6789ABDCEF12345 created_on: '2023-04-26T15:23:37Z' headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45928,7 +45934,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: - - *67 + - *68 requestBody: required: true content: @@ -46000,7 +46006,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: - - *67 + - *68 - &317 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. @@ -46017,7 +46023,7 @@ paths: examples: default: *316 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46036,7 +46042,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: - - *67 + - *68 - *317 requestBody: required: true @@ -46097,7 +46103,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: - - *67 + - *68 - *317 responses: '204': @@ -46121,7 +46127,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: - - *67 + - *68 - name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -46175,7 +46181,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: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46205,8 +46211,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *67 - *68 + - *69 - 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`). @@ -46241,7 +46247,7 @@ paths: items: *318 examples: default: *319 - '500': *111 + '500': *112 '403': *29 '404': *6 '422': *320 @@ -46262,7 +46268,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-teams parameters: - - *67 + - *68 - *17 - *19 responses: @@ -46276,7 +46282,7 @@ paths: examples: default: *244 headers: - Link: *58 + Link: *59 '403': *29 x-github: githubCloudOnly: false @@ -46296,7 +46302,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#create-a-team parameters: - - *67 + - *68 requestBody: required: true content: @@ -46765,8 +46771,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - - *67 - *68 + - *69 responses: '200': description: Response @@ -46795,8 +46801,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - - *67 - *68 + - *69 requestBody: required: false content: @@ -46892,8 +46898,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - - *67 - *68 + - *69 responses: '204': description: Response @@ -46919,9 +46925,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions parameters: - - *67 - *68 - - *52 + - *69 + - *53 - *17 - *19 - name: pinned @@ -47009,7 +47015,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *76 + reactions: *77 required: - author - body @@ -47075,7 +47081,7 @@ paths: eyes: 1 rocket: 1 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47099,8 +47105,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion parameters: - - *67 - *68 + - *69 requestBody: required: true content: @@ -47206,8 +47212,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion parameters: - - *67 - *68 + - *69 - &325 name: discussion_number description: The number that identifies the discussion. @@ -47244,8 +47250,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion parameters: - - *67 - *68 + - *69 - *325 requestBody: required: false @@ -47339,8 +47345,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion parameters: - - *67 - *68 + - *69 - *325 responses: '204': @@ -47365,8 +47371,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - - *67 - *68 + - *69 - *17 - *19 responses: @@ -47380,7 +47386,7 @@ paths: examples: default: *225 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47400,8 +47406,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members parameters: - - *67 - *68 + - *69 - name: role description: Filters members returned by their role in the team. in: query @@ -47424,9 +47430,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *63 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47454,9 +47460,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - - *67 - *68 - - *63 + - *69 + - *64 responses: '200': description: Response @@ -47525,9 +47531,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *67 - *68 - - *63 + - *69 + - *64 requestBody: required: false content: @@ -47589,9 +47595,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - - *67 - *68 - - *63 + - *69 + - *64 responses: '204': description: Response @@ -47617,8 +47623,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - - *67 - *68 + - *69 - *17 - *19 responses: @@ -47628,11 +47634,11 @@ paths: application/json: schema: type: array - items: *151 + items: *152 examples: default: *251 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47659,8 +47665,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *67 - *68 + - *69 - *327 - *328 responses: @@ -47691,8 +47697,8 @@ paths: title: License Simple description: License Simple type: object - properties: *77 - required: *78 + properties: *78 + required: *79 nullable: true forks: type: integer @@ -48237,8 +48243,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *67 - *68 + - *69 - *327 - *328 requestBody: @@ -48285,8 +48291,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team parameters: - - *67 - *68 + - *69 - *327 - *328 responses: @@ -48312,8 +48318,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - - *67 - *68 + - *69 - *17 - *19 responses: @@ -48353,7 +48359,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos html_url: https://github.com/orgs/rails/teams/core headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48378,7 +48384,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *67 + - *68 - name: security_product in: path description: The security feature to enable or disable. @@ -49446,7 +49452,7 @@ paths: documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository '307': *333 '404': *6 - '409': *51 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49612,7 +49618,7 @@ paths: head_branch: main head_sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49970,7 +49976,7 @@ paths: - last_accessed_at - size_in_bytes default: last_accessed_at - - *52 + - *53 responses: '200': description: Response @@ -50030,7 +50036,7 @@ paths: created_at: '2019-01-24T22:45:36.000Z' size_in_bytes: 1024 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50492,7 +50498,7 @@ paths: description: Response content: application/json: - schema: *160 + schema: *161 examples: default: value: @@ -50602,7 +50608,7 @@ paths: description: Empty response content: application/json: - schema: *160 + schema: *161 examples: default: value: @@ -50681,7 +50687,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50765,7 +50771,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50798,9 +50804,9 @@ paths: enabled: &345 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *136 + allowed_actions: *137 selected_actions_url: *344 - sha_pinning_required: *137 + sha_pinning_required: *138 required: - enabled examples: @@ -50841,8 +50847,8 @@ paths: type: object properties: enabled: *345 - allowed_actions: *136 - sha_pinning_required: *137 + allowed_actions: *137 + sha_pinning_required: *138 required: - enabled examples: @@ -51025,7 +51031,7 @@ paths: description: Response content: application/json: - schema: *138 + schema: *139 examples: default: *350 '404': *6 @@ -51057,7 +51063,7 @@ paths: required: true content: application/json: - schema: *138 + schema: *139 examples: default: summary: Set approval policy to first time contributors @@ -51090,7 +51096,7 @@ paths: application/json: schema: *351 examples: - default: *139 + default: *140 '403': *29 '404': *6 x-github: @@ -51118,7 +51124,7 @@ paths: application/json: schema: *352 examples: - default: *139 + default: *140 responses: '204': description: Empty response for successful settings update @@ -51149,9 +51155,9 @@ paths: description: Response content: application/json: - schema: *141 + schema: *142 examples: - default: *142 + default: *143 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -51179,9 +51185,9 @@ paths: required: false content: application/json: - schema: *141 + schema: *142 examples: - selected_actions: *142 + selected_actions: *143 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -51212,7 +51218,7 @@ paths: application/json: schema: *353 examples: - default: *146 + default: *147 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51247,7 +51253,7 @@ paths: application/json: schema: *354 examples: - default: *146 + default: *147 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51293,11 +51299,11 @@ paths: type: integer runners: type: array - items: *153 + items: *154 examples: - default: *154 + default: *155 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51399,7 +51405,7 @@ paths: '201': *357 '404': *6 '422': *7 - '409': *51 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51434,7 +51440,7 @@ paths: description: Response content: application/json: - schema: *155 + schema: *156 examples: default: *358 x-github: @@ -51471,7 +51477,7 @@ paths: description: Response content: application/json: - schema: *155 + schema: *156 examples: default: *359 x-github: @@ -51497,13 +51503,13 @@ paths: parameters: - *327 - *328 - - *152 + - *153 responses: '200': description: Response content: application/json: - schema: *153 + schema: *154 examples: default: *360 x-github: @@ -51528,7 +51534,7 @@ paths: parameters: - *327 - *328 - - *152 + - *153 responses: '204': description: Response @@ -51556,9 +51562,9 @@ paths: parameters: - *327 - *328 - - *152 + - *153 responses: - '200': *157 + '200': *158 '404': *6 x-github: githubCloudOnly: false @@ -51582,7 +51588,7 @@ paths: parameters: - *327 - *328 - - *152 + - *153 requestBody: required: true content: @@ -51606,7 +51612,7 @@ paths: - gpu - accelerated responses: - '200': *157 + '200': *158 '404': *6 '422': *7 x-github: @@ -51632,7 +51638,7 @@ paths: parameters: - *327 - *328 - - *152 + - *153 requestBody: required: true content: @@ -51657,7 +51663,7 @@ paths: - gpu - accelerated responses: - '200': *157 + '200': *158 '404': *6 '422': *7 x-github: @@ -51683,7 +51689,7 @@ paths: parameters: - *327 - *328 - - *152 + - *153 responses: '200': *361 '404': *6 @@ -51714,10 +51720,10 @@ paths: parameters: - *327 - *328 - - *152 + - *153 - *362 responses: - '200': *157 + '200': *158 '404': *6 '422': *7 x-github: @@ -51939,7 +51945,7 @@ paths: that triggered the run. type: array nullable: true - items: *79 + items: *80 created_at: type: string format: date-time @@ -52051,8 +52057,8 @@ paths: - author - committer nullable: true - repository: *151 - head_repository: *151 + repository: *152 + head_repository: *152 head_repository_id: type: integer example: 5 @@ -52304,7 +52310,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: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52738,7 +52744,7 @@ paths: description: Response content: application/json: - schema: *160 + schema: *161 examples: default: value: @@ -52790,7 +52796,7 @@ paths: examples: default: *367 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52965,7 +52971,7 @@ paths: workflow_name: CI head_branch: main headers: - Link: *58 + Link: *59 '404': *6 x-github: githubCloudOnly: false @@ -53028,11 +53034,11 @@ paths: description: Response content: application/json: - schema: *160 + schema: *161 examples: default: value: - '409': *51 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53132,11 +53138,11 @@ paths: description: Response content: application/json: - schema: *160 + schema: *161 examples: default: value: - '409': *51 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53195,7 +53201,7 @@ paths: examples: default: *371 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53254,7 +53260,7 @@ paths: '204': description: Response '403': *29 - '500': *111 + '500': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53560,8 +53566,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *71 - required: *72 + properties: *72 + required: *73 required: - id - node_id @@ -53657,7 +53663,7 @@ paths: description: Response content: application/json: - schema: *160 + schema: *161 examples: default: value: @@ -53703,7 +53709,7 @@ paths: description: Response content: application/json: - schema: *160 + schema: *161 examples: default: value: @@ -53897,7 +53903,7 @@ paths: examples: default: *373 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53953,7 +53959,7 @@ paths: parameters: - *327 - *328 - - *159 + - *160 responses: '200': description: Response @@ -53989,7 +53995,7 @@ paths: parameters: - *327 - *328 - - *159 + - *160 requestBody: required: true content: @@ -54020,7 +54026,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *160 + schema: *161 examples: default: value: @@ -54048,7 +54054,7 @@ paths: parameters: - *327 - *328 - - *159 + - *160 responses: '204': description: Response @@ -54096,7 +54102,7 @@ paths: examples: default: *377 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54145,7 +54151,7 @@ paths: description: Response content: application/json: - schema: *160 + schema: *161 examples: default: value: @@ -54172,7 +54178,7 @@ paths: parameters: - *327 - *328 - - *162 + - *163 responses: '200': description: Response @@ -54208,7 +54214,7 @@ paths: parameters: - *327 - *328 - - *162 + - *163 requestBody: required: true content: @@ -54252,7 +54258,7 @@ paths: parameters: - *327 - *328 - - *162 + - *163 responses: '204': description: Response @@ -54380,7 +54386,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: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54484,37 +54490,8 @@ paths: - *328 - *379 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: @@ -54623,7 +54600,7 @@ paths: examples: default: *387 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54718,7 +54695,7 @@ paths: parameters: - *327 - *328 - - *52 + - *53 - *17 - *45 - *46 @@ -54862,7 +54839,7 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *59 '422': *7 x-github: githubCloudOnly: false @@ -54894,9 +54871,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *63 headers: - Link: *58 + Link: *59 '404': *6 x-github: githubCloudOnly: false @@ -55868,7 +55845,7 @@ paths: - linter protection_url: https://api.github.com/repos/octocat/hello-world/branches/master/protection headers: - Link: *58 + Link: *59 '404': *6 x-github: githubCloudOnly: false @@ -56014,12 +55991,12 @@ paths: nullable: true oneOf: - *4 - - *160 + - *161 committer: nullable: true oneOf: - *4 - - *160 + - *161 parents: type: array items: @@ -58420,7 +58397,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *63 '404': *6 x-github: githubCloudOnly: false @@ -58479,7 +58456,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *63 '422': *15 x-github: githubCloudOnly: false @@ -58539,7 +58516,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *63 '422': *15 x-github: githubCloudOnly: false @@ -58599,7 +58576,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *63 '422': *15 x-github: githubCloudOnly: false @@ -59157,15 +59134,15 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *71 - required: *72 + properties: *72 + required: *73 pull_requests: description: Pull requests that are open with a `head_sha` or `head_branch` that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check. type: array - items: *79 + items: *80 deployment: &725 title: Deployment description: A deployment created as the result of an Actions @@ -59233,8 +59210,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *71 - required: *72 + properties: *72 + required: *73 required: - id - node_id @@ -59903,7 +59880,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: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59931,7 +59908,7 @@ paths: description: Response content: application/json: - schema: *160 + schema: *161 examples: default: value: @@ -60056,7 +60033,7 @@ paths: nullable: true pull_requests: type: array - items: *79 + items: *80 nullable: true app: title: GitHub app @@ -60067,9 +60044,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *71 - required: *72 - repository: *151 + properties: *72 + required: *73 + repository: *152 created_at: type: string format: date-time @@ -60485,7 +60462,7 @@ paths: required: - app_id - setting - repository: *151 + repository: *152 examples: default: value: @@ -60905,7 +60882,7 @@ paths: url: https://api.github.com/repos/github/hello-world name: hello-world headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60933,7 +60910,7 @@ paths: description: Response content: application/json: - schema: *160 + schema: *161 examples: default: value: @@ -60981,7 +60958,7 @@ paths: required: false schema: type: integer - - *52 + - *53 - *45 - *46 - name: sort @@ -61024,14 +61001,14 @@ paths: items: type: object properties: - number: *169 - created_at: *170 - updated_at: *171 - url: *172 - html_url: *173 + number: *170 + created_at: *171 + updated_at: *172 + url: *173 + html_url: *174 instances_url: *418 - state: *178 - fixed_at: *174 + state: *179 + fixed_at: *175 dismissed_by: title: Simple User description: A GitHub user. @@ -61039,7 +61016,7 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *175 + dismissed_at: *176 dismissed_reason: *419 dismissed_comment: *420 rule: *421 @@ -61177,7 +61154,7 @@ paths: application/json: schema: *3 '404': *6 - '503': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61207,7 +61184,7 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *169 + schema: *170 responses: '200': description: Response @@ -61216,14 +61193,14 @@ paths: schema: &426 type: object properties: - number: *169 - created_at: *170 - updated_at: *171 - url: *172 - html_url: *173 + number: *170 + created_at: *171 + updated_at: *172 + url: *173 + html_url: *174 instances_url: *418 - state: *178 - fixed_at: *174 + state: *179 + fixed_at: *175 dismissed_by: title: Simple User description: A GitHub user. @@ -61231,7 +61208,7 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *175 + dismissed_at: *176 dismissed_reason: *419 dismissed_comment: *420 rule: @@ -61389,7 +61366,7 @@ paths: '304': *37 '403': *424 '404': *6 - '503': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61536,7 +61513,7 @@ paths: application/json: schema: *3 '404': *6 - '503': *112 + '503': *113 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -61609,7 +61586,7 @@ paths: status: '400' '403': *424 '404': *6 - '503': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61664,7 +61641,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61738,7 +61715,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61842,7 +61819,7 @@ paths: - source '403': *424 '404': *6 - '503': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61896,7 +61873,7 @@ paths: type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 - - *52 + - *53 - name: sort description: The property by which to sort the results. in: query @@ -62017,7 +61994,7 @@ paths: warning: '' '403': *424 '404': *6 - '503': *112 + '503': *113 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -62126,7 +62103,7 @@ paths: content: application/json: schema: *3 - '503': *112 + '503': *113 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -62262,7 +62239,7 @@ paths: '400': *14 '403': *430 '404': *6 - '503': *112 + '503': *113 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -62404,7 +62381,7 @@ paths: commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c '403': *424 '404': *6 - '503': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62480,7 +62457,7 @@ paths: description: Found '403': *424 '404': *6 - '503': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62513,7 +62490,7 @@ paths: description: Response '403': *430 '404': *6 - '503': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62637,7 +62614,7 @@ paths: id: type: integer description: The ID of the variant analysis. - controller_repo: *57 + controller_repo: *58 actor: *4 query_language: *441 query_pack_url: @@ -62963,7 +62940,7 @@ paths: content: application/json: schema: *3 - '503': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63001,7 +62978,7 @@ paths: examples: default: *444 '404': *6 - '503': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63056,7 +63033,7 @@ paths: schema: type: object properties: - repository: *57 + repository: *58 analysis_status: *446 artifact_size_in_bytes: type: integer @@ -63161,7 +63138,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63270,7 +63247,7 @@ paths: schedule: weekly '403': *424 '404': *6 - '503': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63357,7 +63334,7 @@ paths: description: Response content: application/json: - schema: *160 + schema: *161 examples: default: value: @@ -63396,7 +63373,7 @@ paths: content: application/json: schema: *3 - '503': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63538,7 +63515,7 @@ paths: '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *112 + '503': *113 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63607,7 +63584,7 @@ paths: '403': *424 '404': description: Not Found if the sarif id does not match any upload - '503': *112 + '503': *113 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -64125,7 +64102,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': *111 + '500': *112 '401': *25 '403': *29 '404': *6 @@ -64226,7 +64203,7 @@ paths: '401': *25 '403': *29 '404': *6 - '503': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -64291,7 +64268,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *111 + '500': *112 '400': *14 '401': *25 '403': *29 @@ -64375,7 +64352,7 @@ paths: memory_in_bytes: 34359738368 cpus: 8 '304': *37 - '500': *111 + '500': *112 '401': *25 '403': *29 '404': *6 @@ -64529,7 +64506,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64591,7 +64568,7 @@ paths: examples: default: *451 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64643,7 +64620,7 @@ paths: parameters: - *327 - *328 - - *159 + - *160 responses: '200': description: Response @@ -64673,7 +64650,7 @@ paths: parameters: - *327 - *328 - - *159 + - *160 requestBody: required: true content: @@ -64701,7 +64678,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *160 + schema: *161 examples: default: value: @@ -64727,7 +64704,7 @@ paths: parameters: - *327 - *328 - - *159 + - *160 responses: '204': description: Response @@ -64940,7 +64917,7 @@ paths: admin: false role_name: write headers: - Link: *58 + Link: *59 '404': *6 x-github: githubCloudOnly: false @@ -64967,7 +64944,7 @@ paths: parameters: - *327 - *328 - - *63 + - *64 responses: '204': description: Response if user is a collaborator @@ -65015,7 +64992,7 @@ paths: parameters: - *327 - *328 - - *63 + - *64 requestBody: required: false content: @@ -65052,7 +65029,7 @@ paths: example: 42 type: integer format: int64 - repository: *151 + repository: *152 invitee: title: Simple User description: A GitHub user. @@ -65230,7 +65207,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *120 + schema: *121 '403': *29 x-github: triggersNotification: true @@ -65272,7 +65249,7 @@ paths: parameters: - *327 - *328 - - *63 + - *64 responses: '204': description: No Content when collaborator was removed from the repository. @@ -65305,7 +65282,7 @@ paths: parameters: - *327 - *328 - - *63 + - *64 responses: '200': description: if user has admin permissions @@ -65433,8 +65410,8 @@ paths: updated_at: type: string format: date-time - author_association: *75 - reactions: *76 + author_association: *76 + reactions: *77 required: - url - html_url @@ -65484,7 +65461,7 @@ paths: updated_at: '2011-04-14T16:00:49Z' author_association: COLLABORATOR headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65511,7 +65488,7 @@ paths: parameters: - *327 - *328 - - *90 + - *91 responses: '200': description: Response @@ -65578,7 +65555,7 @@ paths: parameters: - *327 - *328 - - *90 + - *91 requestBody: required: true content: @@ -65653,7 +65630,7 @@ paths: parameters: - *327 - *328 - - *90 + - *91 responses: '204': description: Response @@ -65676,7 +65653,7 @@ paths: parameters: - *327 - *328 - - *90 + - *91 - 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. @@ -65771,7 +65748,7 @@ paths: content: heart created_at: '2016-05-20T20:09:31Z' headers: - Link: *58 + Link: *59 '404': *6 x-github: githubCloudOnly: false @@ -65792,7 +65769,7 @@ paths: parameters: - *327 - *328 - - *90 + - *91 requestBody: required: true content: @@ -65881,7 +65858,7 @@ paths: parameters: - *327 - *328 - - *90 + - *91 - &531 name: reaction_id description: The unique identifier of the reaction. @@ -66066,11 +66043,11 @@ paths: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: - Link: *58 - '500': *111 + Link: *59 + '500': *112 '400': *14 '404': *6 - '409': *51 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66139,7 +66116,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc protected: false '422': *15 - '409': *51 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66180,7 +66157,7 @@ paths: examples: default: *463 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66766,8 +66743,8 @@ paths: auto_merge: draft: false headers: - Link: *58 - '409': *51 + Link: *59 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66931,9 +66908,9 @@ paths: ..... '422': *15 '404': *6 - '500': *111 - '503': *112 - '409': *51 + '500': *112 + '503': *113 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67000,7 +66977,7 @@ paths: examples: default: *469 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67226,7 +67203,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: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67320,7 +67297,7 @@ paths: type: string total_count: type: integer - repository: *151 + repository: *152 commit_url: type: string format: uri @@ -67543,7 +67520,7 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *59 '301': *331 x-github: githubCloudOnly: false @@ -67623,8 +67600,8 @@ paths: title: License Simple description: License Simple type: object - properties: *77 - required: *78 + properties: *78 + required: *79 nullable: true contributing: title: Community Health File @@ -68086,8 +68063,8 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" '404': *6 - '500': *111 - '503': *112 + '500': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69147,8 +69124,8 @@ paths: verified_at: '422': *15 '404': *6 - '409': *51 - '503': *112 + '409': *52 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69269,7 +69246,7 @@ paths: site_admin: false contributions: 32 headers: - Link: *58 + Link: *59 '204': description: Response if repository is empty '403': *29 @@ -69308,7 +69285,7 @@ paths: - *478 - *195 - *196 - - *52 + - *53 - 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)." @@ -69330,7 +69307,7 @@ paths: type: object description: A Dependabot alert. properties: - number: *169 + number: *170 state: type: string description: The state of the Dependabot alert. @@ -69345,7 +69322,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *53 + package: *54 manifest_path: type: string description: The full path to the dependency manifest file, @@ -69373,12 +69350,12 @@ paths: - direct - transitive security_advisory: *479 - security_vulnerability: *56 - url: *172 - html_url: *173 - created_at: *170 - updated_at: *171 - dismissed_at: *175 + security_vulnerability: *57 + url: *173 + html_url: *174 + created_at: *171 + updated_at: *172 + dismissed_at: *176 dismissed_by: title: Simple User description: A GitHub user. @@ -69402,7 +69379,7 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *174 + fixed_at: *175 auto_dismissed_at: *480 dismissal_request: *481 required: @@ -69645,7 +69622,7 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *169 + schema: *170 responses: '200': description: Response @@ -69917,7 +69894,7 @@ paths: '400': *14 '403': *29 '404': *6 - '409': *51 + '409': *52 '422': *7 x-github: githubCloudOnly: false @@ -69990,7 +69967,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70043,7 +70020,7 @@ paths: parameters: - *327 - *328 - - *159 + - *160 responses: '200': description: Response @@ -70077,7 +70054,7 @@ paths: parameters: - *327 - *328 - - *159 + - *160 requestBody: required: true content: @@ -70105,7 +70082,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *160 + schema: *161 examples: default: value: @@ -70131,7 +70108,7 @@ paths: parameters: - *327 - *328 - - *159 + - *160 responses: '204': description: Response @@ -70290,7 +70267,7 @@ paths: advisory_summary: Ruby OpenID advisory_url: https://github.com/advisories/GHSA-fqfj-cmh6-hj49 headers: - Link: *58 + Link: *59 '404': *6 '403': description: Response for a private repository when GitHub Advanced Security @@ -70531,7 +70508,7 @@ paths: spdxElementId: SPDXRef-DOCUMENT relatedSpdxElement: SPDXRef-Repository headers: - Link: *58 + Link: *59 '404': *6 '403': *29 x-github: @@ -70850,7 +70827,7 @@ paths: examples: default: *489 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71275,8 +71252,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *71 - required: *72 + properties: *72 + required: *73 required: - id - node_id @@ -71325,7 +71302,7 @@ paths: environment_url: https://test-branch.lab.acme.com log_url: https://example.com/deployment/42/output headers: - Link: *58 + Link: *59 '404': *6 x-github: githubCloudOnly: false @@ -72661,7 +72638,7 @@ paths: examples: default: *373 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72719,7 +72696,7 @@ paths: - *327 - *328 - *495 - - *159 + - *160 responses: '200': description: Response @@ -72752,7 +72729,7 @@ paths: - *327 - *328 - *495 - - *159 + - *160 requestBody: required: true content: @@ -72783,7 +72760,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *160 + schema: *161 examples: default: value: @@ -72812,7 +72789,7 @@ paths: - *327 - *328 - *495 - - *159 + - *160 responses: '204': description: Default response @@ -72861,7 +72838,7 @@ paths: examples: default: *377 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72911,7 +72888,7 @@ paths: description: Response content: application/json: - schema: *160 + schema: *161 examples: default: value: @@ -72939,7 +72916,7 @@ paths: - *327 - *328 - *495 - - *162 + - *163 responses: '200': description: Response @@ -72970,7 +72947,7 @@ paths: parameters: - *327 - *328 - - *162 + - *163 - *495 requestBody: required: true @@ -73015,7 +72992,7 @@ paths: parameters: - *327 - *328 - - *162 + - *163 - *495 responses: '204': @@ -73049,7 +73026,7 @@ paths: application/json: schema: type: array - items: *100 + items: *101 examples: 200-response: value: @@ -73130,7 +73107,7 @@ paths: application/json: schema: type: array - items: *151 + items: *152 examples: default: value: @@ -73243,7 +73220,7 @@ paths: url: https://api.github.com/licenses/mit node_id: MDc6TGljZW5zZW1pdA== headers: - Link: *58 + Link: *59 '400': *14 x-github: githubCloudOnly: false @@ -73375,7 +73352,7 @@ paths: schema: type: string '404': *6 - '409': *51 + '409': *52 '403': *29 '422': description: Validation failed @@ -73383,7 +73360,7 @@ paths: application/json: schema: oneOf: - - *120 + - *121 - *508 x-github: githubCloudOnly: false @@ -73461,7 +73438,7 @@ paths: '404': *6 '422': *15 '403': *29 - '409': *51 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73783,7 +73760,7 @@ paths: type: string '422': *15 '404': *6 - '409': *51 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73872,7 +73849,7 @@ paths: payload: verified_at: '404': *6 - '409': *51 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73969,8 +73946,8 @@ paths: sha: 612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: - Link: *58 - '409': *51 + Link: *59 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74011,7 +73988,7 @@ paths: sha: aa218f56b14c9653891f9e74264a383fa43fefbd url: https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd '404': *6 - '409': *51 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74069,7 +74046,7 @@ paths: schema: type: string '422': *15 - '409': *51 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74123,7 +74100,7 @@ paths: examples: default: *512 '422': *15 - '409': *51 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74148,7 +74125,7 @@ paths: '422': description: Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed. - '409': *51 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74352,7 +74329,7 @@ paths: schema: type: string '422': *15 - '409': *51 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74414,7 +74391,7 @@ paths: examples: default: *515 '404': *6 - '409': *51 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74583,7 +74560,7 @@ paths: '422': *15 '404': *6 '403': *29 - '409': *51 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74671,7 +74648,7 @@ paths: truncated: false '422': *15 '404': *6 - '409': *51 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74809,7 +74786,7 @@ paths: status: unused message: headers: - Link: *58 + Link: *59 '404': *6 x-github: githubCloudOnly: false @@ -75323,7 +75300,7 @@ paths: - *328 responses: '204': *183 - '409': *51 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75344,7 +75321,7 @@ paths: - *328 responses: '204': *183 - '409': *51 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76353,7 +76330,7 @@ paths: html_url: https://github.com/octocat/Hello-World/invitations node_id: MDQ6VXNlcjE= headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76626,8 +76603,8 @@ paths: - updated - comments default: created - - *52 - - *81 + - *53 + - *82 - *17 - *19 responses: @@ -76637,7 +76614,7 @@ paths: application/json: schema: type: array - items: *74 + items: *75 examples: default: &538 value: @@ -76786,7 +76763,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *58 + Link: *59 '301': *331 '422': *15 '404': *6 @@ -76899,7 +76876,7 @@ paths: description: Response content: application/json: - schema: *74 + schema: *75 examples: default: &535 value: @@ -77055,7 +77032,7 @@ paths: '400': *14 '403': *29 '422': *15 - '503': *112 + '503': *113 '404': *6 '410': *527 x-github: @@ -77087,7 +77064,7 @@ paths: parameters: - *327 - *328 - - *98 + - *99 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -77097,7 +77074,7 @@ paths: enum: - asc - desc - - *81 + - *82 - *17 - *19 responses: @@ -77140,7 +77117,7 @@ paths: issue_url: https://api.github.com/repos/octocat/Hello-World/issues/1347 author_association: COLLABORATOR headers: - Link: *58 + Link: *59 '422': *15 '404': *6 x-github: @@ -77169,7 +77146,7 @@ paths: parameters: - *327 - *328 - - *90 + - *91 responses: '200': description: Response @@ -77233,7 +77210,7 @@ paths: parameters: - *327 - *328 - - *90 + - *91 requestBody: required: true content: @@ -77277,7 +77254,7 @@ paths: parameters: - *327 - *328 - - *90 + - *91 responses: '204': description: Response @@ -77299,7 +77276,7 @@ paths: parameters: - *327 - *328 - - *90 + - *91 - 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. @@ -77329,7 +77306,7 @@ paths: examples: default: *530 headers: - Link: *58 + Link: *59 '404': *6 x-github: githubCloudOnly: false @@ -77350,7 +77327,7 @@ paths: parameters: - *327 - *328 - - *90 + - *91 requestBody: required: true content: @@ -77415,7 +77392,7 @@ paths: parameters: - *327 - *328 - - *90 + - *91 - *531 responses: '204': @@ -77600,7 +77577,7 @@ paths: required: - from - to - author_association: *75 + author_association: *76 lock_reason: type: string nullable: true @@ -77613,8 +77590,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *71 - required: *72 + properties: *72 + required: *73 required: - id - node_id @@ -77780,7 +77757,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *58 + Link: *59 '422': *15 x-github: githubCloudOnly: false @@ -78050,7 +78027,7 @@ paths: description: Response content: application/json: - schema: *74 + schema: *75 examples: default: *535 '301': *331 @@ -78186,11 +78163,11 @@ paths: description: Response content: application/json: - schema: *74 + schema: *75 examples: default: *535 '422': *15 - '503': *112 + '503': *113 '403': *29 '301': *331 '404': *6 @@ -78240,7 +78217,7 @@ paths: description: Response content: application/json: - schema: *74 + schema: *75 examples: default: *535 x-github: @@ -78285,7 +78262,7 @@ paths: description: Response content: application/json: - schema: *74 + schema: *75 examples: default: *535 x-github: @@ -78354,7 +78331,7 @@ paths: - *327 - *328 - *536 - - *81 + - *82 - *17 - *19 responses: @@ -78368,7 +78345,7 @@ paths: examples: default: *537 headers: - Link: *58 + Link: *59 '404': *6 '410': *527 x-github: @@ -78472,11 +78449,11 @@ paths: application/json: schema: type: array - items: *74 + items: *75 examples: default: *538 headers: - Link: *58 + Link: *59 '301': *331 '404': *6 '410': *527 @@ -78531,7 +78508,7 @@ paths: description: Response content: application/json: - schema: *74 + schema: *75 examples: default: *535 headers: @@ -78586,7 +78563,7 @@ paths: description: Response content: application/json: - schema: *74 + schema: *75 examples: default: *535 '301': *331 @@ -78632,11 +78609,11 @@ paths: application/json: schema: type: array - items: *74 + items: *75 examples: default: *538 headers: - Link: *58 + Link: *59 '301': *331 '404': *6 '410': *527 @@ -78703,8 +78680,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *71 - required: *72 + properties: *72 + required: *73 label: type: object properties: @@ -78757,8 +78734,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *71 - required: *72 + properties: *72 + required: *73 label: type: object properties: @@ -78846,8 +78823,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *71 - required: *72 + properties: *72 + required: *73 assignee: *4 assigner: *4 required: @@ -78893,8 +78870,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *71 - required: *72 + properties: *72 + required: *73 milestone: type: object properties: @@ -78944,8 +78921,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *71 - required: *72 + properties: *72 + required: *73 milestone: type: object properties: @@ -78995,8 +78972,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *71 - required: *72 + properties: *72 + required: *73 rename: type: object properties: @@ -79049,8 +79026,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *71 - required: *72 + properties: *72 + required: *73 review_requester: *4 requested_team: *189 requested_reviewer: *4 @@ -79096,8 +79073,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *71 - required: *72 + properties: *72 + required: *73 review_requester: *4 requested_team: *189 requested_reviewer: *4 @@ -79143,8 +79120,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *71 - required: *72 + properties: *72 + required: *73 dismissed_review: type: object properties: @@ -79203,8 +79180,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *71 - required: *72 + properties: *72 + required: *73 lock_reason: type: string example: '"off-topic"' @@ -79251,8 +79228,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *71 - required: *72 + properties: *72 + required: *73 project_card: type: object properties: @@ -79317,8 +79294,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *71 - required: *72 + properties: *72 + required: *73 project_card: type: object properties: @@ -79383,8 +79360,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *71 - required: *72 + properties: *72 + required: *73 project_card: type: object properties: @@ -79508,7 +79485,7 @@ paths: name: label color: red headers: - Link: *58 + Link: *59 '410': *527 x-github: githubCloudOnly: false @@ -79538,7 +79515,7 @@ paths: application/json: schema: type: array - items: *73 + items: *74 examples: default: &539 value: @@ -79557,7 +79534,7 @@ paths: color: a2eeef default: false headers: - Link: *58 + Link: *59 '301': *331 '404': *6 '410': *527 @@ -79638,7 +79615,7 @@ paths: application/json: schema: type: array - items: *73 + items: *74 examples: default: *539 '301': *331 @@ -79722,7 +79699,7 @@ paths: application/json: schema: type: array - items: *73 + items: *74 examples: default: *539 '301': *331 @@ -79786,7 +79763,7 @@ paths: application/json: schema: type: array - items: *73 + items: *74 examples: default: value: @@ -79907,7 +79884,7 @@ paths: description: Response content: application/json: - schema: *74 + schema: *75 examples: default: *535 '301': *331 @@ -79961,7 +79938,7 @@ paths: examples: default: *530 headers: - Link: *58 + Link: *59 '404': *6 '410': *527 x-github: @@ -80102,7 +80079,7 @@ paths: description: Response content: application/json: - schema: *74 + schema: *75 examples: default: *535 headers: @@ -80149,11 +80126,11 @@ paths: application/json: schema: type: array - items: *74 + items: *75 examples: default: *538 headers: - Link: *58 + Link: *59 '404': *6 '410': *527 x-github: @@ -80212,7 +80189,7 @@ paths: description: Response content: application/json: - schema: *74 + schema: *75 examples: default: *535 headers: @@ -80274,13 +80251,13 @@ paths: description: Response content: application/json: - schema: *74 + schema: *75 examples: default: *535 '403': *29 '404': *6 '422': *7 - '503': *112 + '503': *113 x-github: triggersNotification: true githubCloudOnly: false @@ -80370,7 +80347,7 @@ paths: issue_url: type: string format: uri - author_association: *75 + author_association: *76 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -80380,9 +80357,9 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *71 - required: *72 - reactions: *76 + properties: *72 + required: *73 + reactions: *77 required: - event - actor @@ -80413,7 +80390,7 @@ paths: properties: type: type: string - issue: *74 + issue: *75 required: - event - created_at @@ -80613,7 +80590,7 @@ paths: type: string body_text: type: string - author_association: *75 + author_association: *76 required: - event - id @@ -80700,7 +80677,13 @@ paths: description: The comment ID to reply to. example: 8 type: integer - user: *4 + user: + title: Simple User + description: A GitHub user. + type: object + properties: *20 + required: *21 + nullable: true body: description: The text of the comment. example: We should probably include a check for null @@ -80725,7 +80708,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *75 + author_association: *76 _links: type: object properties: @@ -80809,7 +80792,7 @@ paths: enum: - line - file - reactions: *76 + reactions: *77 body_html: type: string example: '"

comment body

"' @@ -80876,8 +80859,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *71 - required: *72 + properties: *72 + required: *73 assignee: *4 required: - id @@ -80920,8 +80903,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *71 - required: *72 + properties: *72 + required: *73 assignee: *4 required: - id @@ -80964,8 +80947,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *71 - required: *72 + properties: *72 + required: *73 state_reason: type: string nullable: true @@ -81132,7 +81115,7 @@ paths: type: User site_admin: true headers: - Link: *58 + Link: *59 '404': *6 '410': *527 x-github: @@ -81212,7 +81195,7 @@ paths: last_used: '2022-01-10T15:53:42Z' enabled: true headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81368,11 +81351,11 @@ paths: application/json: schema: type: array - items: *73 + items: *74 examples: default: *539 headers: - Link: *58 + Link: *59 '404': *6 x-github: githubCloudOnly: false @@ -81428,7 +81411,7 @@ paths: description: Response content: application/json: - schema: *73 + schema: *74 examples: default: &556 value: @@ -81474,7 +81457,7 @@ paths: description: Response content: application/json: - schema: *73 + schema: *74 examples: default: *556 '404': *6 @@ -81533,7 +81516,7 @@ paths: description: Response content: application/json: - schema: *73 + schema: *74 examples: default: value: @@ -81690,8 +81673,8 @@ paths: title: License Simple description: License Simple type: object - properties: *77 - required: *78 + properties: *78 + required: *79 nullable: true required: - _links @@ -81987,7 +81970,7 @@ paths: closed_at: '2013-02-12T13:22:01Z' due_on: '2012-10-09T23:39:01Z' headers: - Link: *58 + Link: *59 '404': *6 x-github: githubCloudOnly: false @@ -82232,11 +82215,11 @@ paths: application/json: schema: type: array - items: *73 + items: *74 examples: default: *539 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82257,7 +82240,7 @@ paths: - *328 - *561 - *562 - - *81 + - *82 - *563 - *17 - *19 @@ -82268,11 +82251,11 @@ paths: application/json: schema: type: array - items: *101 + items: *102 examples: default: *564 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -82585,7 +82568,7 @@ paths: examples: default: *566 '422': *15 - '409': *51 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82685,7 +82668,7 @@ paths: description: Response '422': *15 '400': *14 - '409': *51 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82713,7 +82696,7 @@ paths: description: Response '422': *15 '404': *6 - '409': *51 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82819,7 +82802,7 @@ paths: created_at: '2014-02-10T19:00:49Z' updated_at: '2014-02-10T19:00:51Z' headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83402,7 +83385,7 @@ paths: description: Empty response content: application/json: - schema: *160 + schema: *161 examples: default: value: @@ -83521,7 +83504,7 @@ paths: application/json: schema: type: array - items: *110 + items: *111 examples: default: *570 '403': *29 @@ -83558,7 +83541,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *110 + items: *111 required: - properties examples: @@ -83665,7 +83648,7 @@ paths: examples: default: *572 headers: - Link: *58 + Link: *59 '304': *37 '422': *15 x-github: @@ -83927,7 +83910,7 @@ paths: type: string ref: type: string - repo: *70 + repo: *71 sha: type: string user: *4 @@ -83944,7 +83927,7 @@ paths: type: string ref: type: string - repo: *70 + repo: *71 sha: type: string user: *4 @@ -83974,7 +83957,7 @@ paths: - review_comments - review_comment - self - author_association: *75 + author_association: *76 auto_merge: *573 draft: description: Indicates whether or not the pull request is a draft. @@ -84614,7 +84597,7 @@ paths: enum: - asc - desc - - *81 + - *82 - *17 - *19 responses: @@ -84678,7 +84661,7 @@ paths: original_line: 2 side: RIGHT headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84705,7 +84688,7 @@ paths: parameters: - *327 - *328 - - *90 + - *91 responses: '200': description: Response @@ -84790,7 +84773,7 @@ paths: parameters: - *327 - *328 - - *90 + - *91 requestBody: required: true content: @@ -84832,7 +84815,7 @@ paths: parameters: - *327 - *328 - - *90 + - *91 responses: '204': description: Response @@ -84855,7 +84838,7 @@ paths: parameters: - *327 - *328 - - *90 + - *91 - 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. @@ -84885,7 +84868,7 @@ paths: examples: default: *530 headers: - Link: *58 + Link: *59 '404': *6 x-github: githubCloudOnly: false @@ -84906,7 +84889,7 @@ paths: parameters: - *327 - *328 - - *90 + - *91 requestBody: required: true content: @@ -84971,7 +84954,7 @@ paths: parameters: - *327 - *328 - - *90 + - *91 - *531 responses: '204': @@ -85040,8 +85023,8 @@ paths: content: application/json: schema: *3 - '500': *111 - '503': *112 + '500': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85211,7 +85194,7 @@ paths: '401': *25 '403': *29 '404': *6 - '503': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -85240,7 +85223,7 @@ paths: - *327 - *328 - *578 - - *98 + - *99 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -85250,7 +85233,7 @@ paths: enum: - asc - desc - - *81 + - *82 - *17 - *19 responses: @@ -85264,7 +85247,7 @@ paths: examples: default: *579 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85493,7 +85476,7 @@ paths: - *327 - *328 - *578 - - *90 + - *91 requestBody: required: true content: @@ -85617,7 +85600,7 @@ paths: examples: default: *580 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85673,10 +85656,10 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" headers: - Link: *58 + Link: *59 '422': *15 - '500': *111 - '503': *112 + '500': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85892,7 +85875,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87107,7 +87090,7 @@ paths: type: string body_text: type: string - author_association: *75 + author_association: *76 required: - id - node_id @@ -87156,7 +87139,7 @@ paths: commit_id: ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091 author_association: COLLABORATOR headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87626,7 +87609,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *75 + author_association: *76 _links: type: object properties: @@ -87641,7 +87624,7 @@ paths: type: string body_html: type: string - reactions: *76 + reactions: *77 side: description: The side of the first line of the range for a multi-line comment. @@ -87753,7 +87736,7 @@ paths: pull_request: href: https://api.github.com/repos/octocat/Hello-World/pulls/1 headers: - Link: *58 + Link: *59 '404': *6 x-github: githubCloudOnly: false @@ -88191,7 +88174,7 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *59 '404': *6 x-github: githubCloudOnly: false @@ -88882,7 +88865,7 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89039,7 +89022,7 @@ paths: examples: default: *530 headers: - Link: *58 + Link: *59 '404': *6 x-github: githubCloudOnly: false @@ -89338,7 +89321,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *111 + '500': *112 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -89450,7 +89433,7 @@ paths: created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' '404': *6 - '500': *111 + '500': *112 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -89481,7 +89464,7 @@ paths: examples: default: *602 '404': *6 - '500': *111 + '500': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89512,7 +89495,7 @@ paths: examples: default: *605 '404': *6 - '500': *111 + '500': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89563,7 +89546,7 @@ paths: examples: default: *606 '404': *6 - '500': *111 + '500': *112 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -89646,7 +89629,7 @@ paths: examples: default: *606 '404': *6 - '500': *111 + '500': *112 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -89674,7 +89657,7 @@ paths: '204': description: Response '404': *6 - '500': *111 + '500': *112 "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": get: summary: Get repository ruleset history @@ -89707,7 +89690,7 @@ paths: examples: default: *607 '404': *6 - '500': *111 + '500': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89776,7 +89759,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *111 + '500': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89805,7 +89788,7 @@ paths: - *611 - *612 - *613 - - *52 + - *53 - *19 - *17 - *614 @@ -89824,8 +89807,8 @@ paths: items: &623 type: object properties: - number: *169 - created_at: *170 + number: *170 + created_at: *171 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -89833,8 +89816,8 @@ paths: format: date-time readOnly: true nullable: true - url: *172 - html_url: *173 + url: *173 + html_url: *174 locations_url: type: string format: uri @@ -90064,7 +90047,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90126,7 +90109,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90267,7 +90250,7 @@ paths: '422': description: State does not match the resolution or resolution comment, or assignee does not have write access to the repository - '503': *112 + '503': *113 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -90400,11 +90383,11 @@ paths: details: pull_request_review_comment_url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 headers: - Link: *58 + Link: *59 '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90482,7 +90465,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *112 + '503': *113 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -90511,7 +90494,7 @@ paths: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *112 + '503': *113 '200': description: Response content: @@ -90627,7 +90610,7 @@ paths: parameters: - *327 - *328 - - *52 + - *53 - name: sort description: The property to sort the results by. in: query @@ -91548,7 +91531,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *120 + schema: *121 examples: invalid_state_transition: value: @@ -91722,7 +91705,7 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *59 '422': *15 x-github: githubCloudOnly: false @@ -92282,9 +92265,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *63 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92509,7 +92492,7 @@ paths: tarball_url: https://github.com/octocat/Hello-World/tarball/v0.1 node_id: MDQ6VXNlcjE= headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92738,7 +92721,7 @@ paths: examples: default: *244 headers: - Link: *58 + Link: *59 '404': *6 x-github: githubCloudOnly: false @@ -93264,7 +93247,7 @@ paths: description: Response content: application/json: - schema: *151 + schema: *152 examples: default: value: @@ -93712,7 +93695,7 @@ paths: application/json: schema: type: array - items: *151 + items: *152 examples: default: value: @@ -93901,7 +93884,7 @@ paths: html_url: type: string format: uri - repository: *151 + repository: *152 score: type: number file_size: @@ -94033,7 +94016,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *37 - '503': *112 + '503': *113 '422': *15 '403': *29 x-github: @@ -94204,7 +94187,7 @@ paths: type: string sha: type: string - repository: *151 + repository: *152 score: type: number node_id: @@ -94567,10 +94550,10 @@ paths: type: string score: type: number - author_association: *75 + author_association: *76 draft: type: boolean - repository: *70 + repository: *71 body_html: type: string body_text: @@ -94588,9 +94571,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *71 - required: *72 - reactions: *76 + properties: *72 + required: *73 + reactions: *77 required: - assignee - closed_at @@ -94706,7 +94689,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *112 + '503': *113 '422': *15 '304': *37 '403': *29 @@ -95107,8 +95090,8 @@ paths: title: License Simple description: License Simple type: object - properties: *77 - required: *78 + properties: *78 + required: *79 nullable: true permissions: type: object @@ -95329,7 +95312,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *112 + '503': *113 '422': *15 '304': *37 x-github: @@ -95781,7 +95764,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *37 - '503': *112 + '503': *113 '422': *15 x-github: githubCloudOnly: false @@ -95974,7 +95957,7 @@ paths: url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - *657 - - *52 + - *53 - *17 - *19 responses: @@ -95988,7 +95971,7 @@ paths: examples: default: *658 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96205,7 +96188,7 @@ paths: examples: default: *225 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96252,9 +96235,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *63 headers: - Link: *58 + Link: *59 '404': *6 x-github: githubCloudOnly: false @@ -96281,7 +96264,7 @@ paths: url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - *657 - - *63 + - *64 responses: '204': description: if user is a member @@ -96318,7 +96301,7 @@ paths: url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - *657 - - *63 + - *64 responses: '204': description: Response @@ -96358,7 +96341,7 @@ paths: url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - *657 - - *63 + - *64 responses: '204': description: Response @@ -96395,7 +96378,7 @@ paths: url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - *657 - - *63 + - *64 responses: '200': description: Response @@ -96437,7 +96420,7 @@ paths: url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - *657 - - *63 + - *64 requestBody: required: false content: @@ -96499,7 +96482,7 @@ paths: url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - *657 - - *63 + - *64 responses: '204': description: Response @@ -96536,11 +96519,11 @@ paths: application/json: schema: type: array - items: *151 + items: *152 examples: default: *251 headers: - Link: *58 + Link: *59 '404': *6 x-github: githubCloudOnly: false @@ -96820,7 +96803,7 @@ paths: examples: response-if-child-teams-exist: *663 headers: - Link: *58 + Link: *59 '404': *6 '403': *29 '422': *15 @@ -97286,7 +97269,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *63 '304': *37 '404': *6 '403': *29 @@ -97309,7 +97292,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: - - *63 + - *64 responses: '204': description: If the user is blocked @@ -97337,7 +97320,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#block-a-user parameters: - - *63 + - *64 responses: '204': description: Response @@ -97361,7 +97344,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#unblock-a-user parameters: - - *63 + - *64 responses: '204': description: Response @@ -97414,7 +97397,7 @@ paths: examples: default: *233 '304': *37 - '500': *111 + '500': *112 '401': *25 '403': *29 '404': *6 @@ -97565,7 +97548,7 @@ paths: '401': *25 '403': *29 '404': *6 - '503': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97647,7 +97630,7 @@ paths: examples: default: *451 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97715,7 +97698,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *159 + - *160 responses: '200': description: Response @@ -97751,7 +97734,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *159 + - *160 requestBody: required: true content: @@ -97796,7 +97779,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *160 + schema: *161 examples: default: value: @@ -97824,7 +97807,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *159 + - *160 responses: '204': description: Response @@ -97849,7 +97832,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *159 + - *160 responses: '200': description: Response @@ -97865,13 +97848,13 @@ paths: type: integer repositories: type: array - items: *151 + items: *152 examples: default: *667 '401': *25 '403': *29 '404': *6 - '500': *111 + '500': *112 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97892,7 +97875,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *159 + - *160 requestBody: required: true content: @@ -97924,7 +97907,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *111 + '500': *112 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97946,7 +97929,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *159 + - *160 - name: repository_id in: path required: true @@ -97958,7 +97941,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *111 + '500': *112 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97979,7 +97962,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *159 + - *160 - name: repository_id in: path required: true @@ -97991,7 +97974,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *111 + '500': *112 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98021,7 +98004,7 @@ paths: examples: default: *448 '304': *37 - '500': *111 + '500': *112 '401': *25 '403': *29 '404': *6 @@ -98103,7 +98086,7 @@ paths: responses: '202': *39 '304': *37 - '500': *111 + '500': *112 '401': *25 '403': *29 '404': *6 @@ -98183,7 +98166,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *111 + '500': *112 '401': *25 '403': *29 '404': *6 @@ -98263,7 +98246,7 @@ paths: examples: default: *671 '304': *37 - '500': *111 + '500': *112 '401': *25 '403': *29 '404': *6 @@ -99130,7 +99113,7 @@ paths: examples: default: *448 '304': *37 - '500': *111 + '500': *112 '400': *14 '401': *25 '402': @@ -99140,7 +99123,7 @@ paths: schema: *3 '403': *29 '404': *6 - '409': *51 + '409': *52 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99169,7 +99152,7 @@ paths: schema: *232 examples: default: *448 - '500': *111 + '500': *112 '401': *25 '403': *29 '404': *6 @@ -99375,7 +99358,7 @@ paths: primary: true visibility: public headers: - Link: *58 + Link: *59 '304': *37 '404': *6 '403': *29 @@ -99553,9 +99536,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *63 headers: - Link: *58 + Link: *59 '304': *37 '403': *29 '401': *25 @@ -99586,9 +99569,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *63 headers: - Link: *58 + Link: *59 '304': *37 '403': *29 '401': *25 @@ -99608,7 +99591,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: - - *63 + - *64 responses: '204': description: if the person is followed by the authenticated user @@ -99638,7 +99621,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#follow-a-user parameters: - - *63 + - *64 responses: '204': description: Response @@ -99663,7 +99646,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#unfollow-a-user parameters: - - *63 + - *64 responses: '204': description: Response @@ -99862,7 +99845,7 @@ paths: revoked: false raw_key: string headers: - Link: *58 + Link: *59 '304': *37 '404': *6 '403': *29 @@ -100154,7 +100137,7 @@ paths: suspended_at: suspended_by: headers: - Link: *58 + Link: *59 '304': *37 '403': *29 '401': *25 @@ -100200,11 +100183,11 @@ paths: type: string repositories: type: array - items: *70 + items: *71 examples: - default: *143 + default: *144 headers: - Link: *58 + Link: *59 '404': *6 '403': *29 '304': *37 @@ -100227,7 +100210,7 @@ paths: url: https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *140 + - *141 responses: '204': description: Response @@ -100253,7 +100236,7 @@ paths: url: https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *140 + - *141 responses: '204': description: Response @@ -100420,8 +100403,8 @@ paths: - updated - comments default: created - - *52 - - *81 + - *53 + - *82 - *17 - *19 responses: @@ -100431,11 +100414,11 @@ paths: application/json: schema: type: array - items: *74 + items: *75 examples: default: *231 headers: - Link: *58 + Link: *59 '404': *6 '304': *37 x-github: @@ -100517,7 +100500,7 @@ paths: verified: false read_only: false headers: - Link: *58 + Link: *59 '304': *37 '404': *6 '403': *29 @@ -100723,7 +100706,7 @@ paths: - id - type - login - plan: *92 + plan: *93 required: - billing_cycle - next_billing_date @@ -100767,7 +100750,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *58 + Link: *59 '304': *37 '401': *25 '404': *6 @@ -100800,7 +100783,7 @@ paths: examples: default: *679 headers: - Link: *58 + Link: *59 '304': *37 '401': *25 x-github: @@ -100921,7 +100904,7 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *59 '304': *37 '403': *29 '401': *25 @@ -100946,7 +100929,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *67 + - *68 responses: '200': description: Response @@ -101014,7 +100997,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *67 + - *68 requestBody: required: true content: @@ -101264,7 +101247,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *58 + Link: *59 '304': *37 '403': *29 '401': *25 @@ -101841,11 +101824,11 @@ paths: application/json: schema: type: array - items: *151 + items: *152 examples: default: *251 headers: - Link: *58 + Link: *59 '404': *6 x-github: githubCloudOnly: false @@ -101878,11 +101861,11 @@ paths: application/json: schema: type: array - items: *65 + items: *66 examples: - default: *105 + default: *106 headers: - Link: *58 + Link: *59 '304': *37 '403': *29 '401': *25 @@ -102330,7 +102313,7 @@ paths: examples: default: *684 headers: - Link: *58 + Link: *59 '304': *37 '404': *6 '403': *29 @@ -102439,7 +102422,7 @@ paths: application/json: schema: type: array - items: *70 + items: *71 examples: default: &691 summary: Default response @@ -102562,7 +102545,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *58 + Link: *59 '422': *15 '304': *37 '403': *29 @@ -102789,7 +102772,7 @@ paths: examples: default: *685 headers: - Link: *58 + Link: *59 '304': *37 '404': *6 '403': *29 @@ -102815,7 +102798,7 @@ paths: '204': description: Response '403': *29 - '409': *51 + '409': *52 '404': *6 '304': *37 x-github: @@ -102837,7 +102820,7 @@ paths: responses: '204': description: Response - '409': *51 + '409': *52 '304': *37 '404': *6 '403': *29 @@ -102886,7 +102869,7 @@ paths: - provider: twitter url: https://twitter.com/github headers: - Link: *58 + Link: *59 '304': *37 '404': *6 '403': *29 @@ -103063,7 +103046,7 @@ paths: title: ssh-rsa AAAAB3NzaC1yc2EAAB created_at: '2020-07-11T21:31:57Z' headers: - Link: *58 + Link: *59 '304': *37 '404': *6 '403': *29 @@ -103227,7 +103210,7 @@ paths: - created - updated default: created - - *52 + - *53 - *17 - *19 responses: @@ -103237,7 +103220,7 @@ paths: application/json: schema: type: array - items: *70 + items: *71 examples: default-response: *691 application/vnd.github.v3.star+json: @@ -103251,7 +103234,7 @@ paths: starred_at: type: string format: date-time - repo: *70 + repo: *71 required: - starred_at - repo @@ -103379,7 +103362,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *58 + Link: *59 '304': *37 '403': *29 '401': *25 @@ -103487,11 +103470,11 @@ paths: application/json: schema: type: array - items: *151 + items: *152 examples: default: *251 headers: - Link: *58 + Link: *59 '304': *37 '403': *29 '401': *25 @@ -103577,7 +103560,7 @@ paths: updated_at: '2017-08-17T12:37:15Z' type: Organization headers: - Link: *58 + Link: *59 '304': *37 '404': *6 '403': *29 @@ -103604,7 +103587,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user-using-their-id parameters: - - *94 + - *95 responses: '200': description: Response @@ -103783,7 +103766,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *63 headers: Link: example: ; rel="next" @@ -103813,7 +103796,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user parameters: - - *63 + - *64 responses: '200': description: Response @@ -103851,7 +103834,7 @@ paths: - *17 - *45 - *46 - - *63 + - *64 requestBody: required: true content: @@ -103947,7 +103930,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-in-bulk parameters: - - *63 + - *64 requestBody: required: true content: @@ -104012,7 +103995,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *63 + - *64 - name: subject_digest description: Subject Digest in: path @@ -104043,7 +104026,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-id parameters: - - *63 + - *64 - name: attestation_id description: Attestation ID in: path @@ -104081,7 +104064,7 @@ paths: - *17 - *45 - *46 - - *63 + - *64 - name: subject_digest description: Subject Digest in: path @@ -104139,7 +104122,7 @@ paths: description: Response content: application/json: - schema: *160 + schema: *161 examples: default: value: @@ -104165,7 +104148,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: - - *63 + - *64 responses: '200': description: Response @@ -104198,7 +104181,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-for-the-authenticated-user parameters: - - *63 + - *64 - *17 - *19 responses: @@ -104208,7 +104191,7 @@ paths: application/json: schema: type: array - items: *100 + items: *101 examples: default: value: @@ -104270,8 +104253,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *63 - - *67 + - *64 + - *68 - *17 - *19 responses: @@ -104281,7 +104264,7 @@ paths: application/json: schema: type: array - items: *100 + items: *101 examples: default: value: @@ -104358,7 +104341,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-user parameters: - - *63 + - *64 - *17 - *19 responses: @@ -104368,7 +104351,7 @@ paths: application/json: schema: type: array - items: *100 + items: *101 examples: default: value: @@ -104426,7 +104409,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-followers-of-a-user parameters: - - *63 + - *64 - *17 - *19 responses: @@ -104438,9 +104421,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *63 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104457,7 +104440,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-the-people-a-user-follows parameters: - - *63 + - *64 - *17 - *19 responses: @@ -104469,9 +104452,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *63 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104488,7 +104471,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-user-follows-another-user parameters: - - *63 + - *64 - name: target_user in: path required: true @@ -104515,8 +104498,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-a-user parameters: - - *63 - - *81 + - *64 + - *82 - *17 - *19 responses: @@ -104526,11 +104509,11 @@ paths: application/json: schema: type: array - items: *82 + items: *83 examples: - default: *83 + default: *84 headers: - Link: *58 + Link: *59 '422': *15 x-github: githubCloudOnly: false @@ -104549,7 +104532,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *63 + - *64 - *17 - *19 responses: @@ -104563,7 +104546,7 @@ paths: examples: default: *698 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104585,7 +104568,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-contextual-information-for-a-user parameters: - - *63 + - *64 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -104657,7 +104640,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *63 + - *64 responses: '200': description: Response @@ -104683,7 +104666,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#list-public-keys-for-a-user parameters: - - *63 + - *64 - *17 - *19 responses: @@ -104718,7 +104701,7 @@ paths: - id: 1 key: ssh-rsa AAA... headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104738,7 +104721,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-organizations-for-a-user parameters: - - *63 + - *64 - *17 - *19 responses: @@ -104748,11 +104731,11 @@ paths: application/json: schema: type: array - items: *65 + items: *66 examples: - default: *105 + default: *106 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104790,7 +104773,7 @@ paths: - nuget - container - *681 - - *63 + - *64 - *19 - *17 responses: @@ -104827,7 +104810,7 @@ paths: parameters: - *247 - *248 - - *63 + - *64 responses: '200': description: Response @@ -104858,7 +104841,7 @@ paths: parameters: - *247 - *248 - - *63 + - *64 responses: '204': description: Response @@ -104892,7 +104875,7 @@ paths: parameters: - *247 - *248 - - *63 + - *64 - name: token description: package token schema: @@ -104926,7 +104909,7 @@ paths: parameters: - *247 - *248 - - *63 + - *64 responses: '200': description: Response @@ -104995,7 +104978,7 @@ paths: - *247 - *248 - *250 - - *63 + - *64 responses: '200': description: Response @@ -105038,7 +105021,7 @@ paths: parameters: - *247 - *248 - - *63 + - *64 - *250 responses: '204': @@ -105073,7 +105056,7 @@ paths: parameters: - *247 - *248 - - *63 + - *64 - *250 responses: '204': @@ -105098,7 +105081,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-user parameters: - - *63 + - *64 - name: q description: Limit results to projects of the specified type. in: query @@ -105119,7 +105102,7 @@ paths: examples: default: *262 headers: - Link: *58 + Link: *59 '304': *37 '403': *29 '401': *25 @@ -105140,7 +105123,7 @@ paths: url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - *263 - - *63 + - *64 responses: '200': description: Response @@ -105150,7 +105133,7 @@ paths: examples: default: *262 headers: - Link: *58 + Link: *59 '304': *37 '403': *29 '401': *25 @@ -105171,7 +105154,7 @@ paths: url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - *263 - - *63 + - *64 - *17 - *45 - *46 @@ -105186,7 +105169,7 @@ paths: examples: default: *700 headers: - Link: *58 + Link: *59 '304': *37 '403': *29 '401': *25 @@ -105205,7 +105188,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#add-field-to-user-owned-project parameters: - - *63 + - *64 - *263 requestBody: required: true @@ -105318,7 +105301,7 @@ paths: parameters: - *263 - *710 - - *63 + - *64 responses: '200': description: Response @@ -105328,7 +105311,7 @@ paths: examples: default: *711 headers: - Link: *58 + Link: *59 '304': *37 '403': *29 '401': *25 @@ -105350,7 +105333,7 @@ paths: url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - *263 - - *63 + - *64 - *45 - *46 - *17 @@ -105386,7 +105369,7 @@ paths: examples: default: *272 headers: - Link: *58 + Link: *59 '304': *37 '403': *29 '401': *25 @@ -105405,75 +105388,67 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - - *63 + - *64 - *263 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 @@ -105486,8 +105461,20 @@ paths: application/json: schema: *269 examples: - issue: *270 - pull_request: *270 + issue_with_id: + summary: Response for adding an issue using its unique ID + value: *270 + pull_request_with_id: + summary: Response for adding a pull request using its unique ID + value: *270 + issue_with_nwo: + summary: Response for adding an issue using repository owner, name, + and issue number + value: *270 + pull_request_with_nwo: + summary: Response for adding a pull request using repository owner, + name, and PR number + value: *270 '304': *37 '403': *29 '401': *25 @@ -105508,7 +105495,7 @@ paths: url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - *263 - - *63 + - *64 - *273 - name: fields description: |- @@ -105533,7 +105520,7 @@ paths: examples: default: *272 headers: - Link: *58 + Link: *59 '304': *37 '403': *29 '401': *25 @@ -105553,7 +105540,7 @@ paths: url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - *263 - - *63 + - *64 - *273 requestBody: required: true @@ -105651,7 +105638,7 @@ paths: url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - *263 - - *63 + - *64 - *273 responses: '204': @@ -105675,7 +105662,7 @@ paths: url: https://docs.github.com/rest/projects/items#list-items-for-a-user-project-view parameters: - *263 - - *63 + - *64 - *712 - name: fields description: |- @@ -105706,7 +105693,7 @@ paths: examples: default: *272 headers: - Link: *58 + Link: *59 '304': *37 '403': *29 '401': *25 @@ -105732,7 +105719,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *63 + - *64 - *17 - *19 responses: @@ -105742,7 +105729,7 @@ paths: application/json: schema: type: array - items: *100 + items: *101 examples: default: value: @@ -105807,7 +105794,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-received-by-a-user parameters: - - *63 + - *64 - *17 - *19 responses: @@ -105817,7 +105804,7 @@ paths: application/json: schema: type: array - items: *100 + items: *101 examples: default: value: @@ -105880,7 +105867,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repositories-for-a-user parameters: - - *63 + - *64 - name: type description: Limit results to repositories of the specified type. in: query @@ -105923,11 +105910,11 @@ paths: application/json: schema: type: array - items: *151 + items: *152 examples: default: *251 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105947,12 +105934,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-a-user parameters: - - *63 - - *114 - - *116 + - *64 - *115 - - *713 - *117 + - *116 + - *713 + - *118 responses: '200': description: Response when getting a billing premium request usage report @@ -106059,8 +106046,8 @@ paths: '400': *14 '403': *29 '404': *6 - '500': *111 - '503': *112 + '500': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106080,10 +106067,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-a-user parameters: - - *63 - - *114 - - *714 + - *64 - *115 + - *714 + - *116 responses: '200': description: Response when getting a billing usage report @@ -106153,8 +106140,8 @@ paths: repositoryName: user/example '400': *14 '403': *29 - '500': *111 - '503': *112 + '500': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106177,12 +106164,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-a-user parameters: - - *63 - - *114 - - *116 + - *64 - *115 - - *715 - *117 + - *116 + - *715 + - *118 - *716 responses: '200': @@ -106288,8 +106275,8 @@ paths: '400': *14 '403': *29 '404': *6 - '500': *111 - '503': *112 + '500': *112 + '503': *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106307,7 +106294,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *63 + - *64 - *17 - *19 responses: @@ -106321,7 +106308,7 @@ paths: examples: default: *687 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106339,7 +106326,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *63 + - *64 - *17 - *19 responses: @@ -106353,7 +106340,7 @@ paths: examples: default: *717 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106375,9 +106362,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *63 + - *64 - *718 - - *52 + - *53 - *17 - *19 responses: @@ -106390,11 +106377,11 @@ paths: - type: array items: *719 - type: array - items: *70 + items: *71 examples: default-response: *691 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106411,7 +106398,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *63 + - *64 - *17 - *19 responses: @@ -106421,11 +106408,11 @@ paths: application/json: schema: type: array - items: *151 + items: *152 examples: default: *251 headers: - Link: *58 + Link: *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106714,8 +106701,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *77 - required: *78 + properties: *78 + required: *79 nullable: true organization: title: Simple User @@ -108162,8 +108149,8 @@ x-webhooks: type: string pull_requests: type: array - items: *79 - repository: *151 + items: *80 + repository: *152 status: example: completed type: string @@ -108250,7 +108237,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *79 + items: *80 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -114809,11 +114796,11 @@ x-webhooks: new_property_values: type: array description: The new custom property values for the repository. - items: *110 + items: *111 old_property_values: type: array description: The old custom property values for the repository. - items: *110 + items: *111 required: - action - repository @@ -125042,8 +125029,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *71 - required: *72 + properties: *72 + required: *73 reactions: title: Reactions type: object @@ -129027,12 +129014,12 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *74 + blocked_issue: *75 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *74 - blocking_issue_repo: *70 + blocking_issue: *75 + blocking_issue_repo: *71 installation: *721 organization: *722 repository: *723 @@ -129118,12 +129105,12 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *74 + blocked_issue: *75 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *74 - blocking_issue_repo: *70 + blocking_issue: *75 + blocking_issue_repo: *71 installation: *721 organization: *722 repository: *723 @@ -129208,12 +129195,12 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *74 - blocked_issue_repo: *70 + blocked_issue: *75 + blocked_issue_repo: *71 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *74 + blocking_issue: *75 installation: *721 organization: *722 repository: *723 @@ -129299,12 +129286,12 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *74 - blocked_issue_repo: *70 + blocked_issue: *75 + blocked_issue_repo: *71 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *74 + blocking_issue: *75 installation: *721 organization: *722 repository: *723 @@ -217626,8 +217613,8 @@ x-webhooks: alert: &780 type: object properties: - number: *169 - created_at: *170 + number: *170 + created_at: *171 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -217635,8 +217622,8 @@ x-webhooks: format: date-time readOnly: true nullable: true - url: *172 - html_url: *173 + url: *173 + html_url: *174 locations_url: type: string format: uri @@ -218710,7 +218697,7 @@ x-webhooks: required: - vector_string - score - cvss_severities: *54 + cvss_severities: *55 cwes: type: array items: @@ -218974,7 +218961,7 @@ x-webhooks: required: - vector_string - score - cvss_severities: *54 + cvss_severities: *55 cwes: type: array items: @@ -220621,12 +220608,12 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *74 - parent_issue_repo: *70 + parent_issue: *75 + parent_issue_repo: *71 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *74 + sub_issue: *75 installation: *721 organization: *722 repository: *723 @@ -220713,12 +220700,12 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *74 - parent_issue_repo: *70 + parent_issue: *75 + parent_issue_repo: *71 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *74 + sub_issue: *75 installation: *721 organization: *722 repository: *723 @@ -220805,12 +220792,12 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *74 - sub_issue_repo: *70 + sub_issue: *75 + sub_issue_repo: *71 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *74 + parent_issue: *75 installation: *721 organization: *722 repository: *723 @@ -220897,12 +220884,12 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *74 - sub_issue_repo: *70 + sub_issue: *75 + sub_issue_repo: *71 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *74 + parent_issue: *75 installation: *721 organization: *722 repository: *723 diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json index fd6f9e06e..e0116862f 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -38177,6 +38177,18 @@ } } }, + "code_scanning_options": { + "type": "object", + "description": "Security Configuration feature options for code scanning", + "nullable": true, + "properties": { + "allow_advanced": { + "nullable": true, + "type": "boolean", + "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", @@ -139842,6 +139854,18 @@ } } }, + "code_scanning_options": { + "type": "object", + "description": "Security Configuration feature options for code scanning", + "nullable": true, + "properties": { + "allow_advanced": { + "nullable": true, + "type": "boolean", + "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", @@ -210867,58 +210891,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" @@ -210927,22 +210942,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", @@ -210950,8 +210965,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", @@ -216749,18 +216764,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=", @@ -216779,48 +216881,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=", @@ -216839,34 +217007,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" + } } } } @@ -284918,48 +285065,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": { @@ -481611,7 +481718,8 @@ "subscriptions_url", "type", "url" - ] + ], + "nullable": true }, "body": { "description": "The text of the comment.", @@ -501476,7 +501584,8 @@ "subscriptions_url", "type", "url" - ] + ], + "nullable": true }, "body": { "description": "The text of the comment.", @@ -502011,7 +502120,8 @@ "subscriptions_url", "type", "url" - ] + ], + "nullable": true }, "body": { "description": "The text of the comment.", @@ -502585,7 +502695,8 @@ "subscriptions_url", "type", "url" - ] + ], + "nullable": true }, "body": { "description": "The text of the comment.", @@ -515177,7 +515288,8 @@ "subscriptions_url", "type", "url" - ] + ], + "nullable": true }, "body": { "description": "The text of the comment.", @@ -515798,7 +515910,8 @@ "subscriptions_url", "type", "url" - ] + ], + "nullable": true }, "body": { "description": "The text of the comment.", @@ -516461,7 +516574,8 @@ "subscriptions_url", "type", "url" - ] + ], + "nullable": true }, "body": { "description": "The text of the comment.", @@ -701499,58 +701613,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" @@ -701559,22 +701664,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", @@ -701582,8 +701687,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", @@ -707381,18 +707486,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=", @@ -707411,48 +707603,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=", @@ -707471,34 +707729,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/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml index 5fe83bcff..786f22894 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -685,7 +685,7 @@ paths: required: - vector_string - score - cvss_severities: &129 + cvss_severities: &130 type: object nullable: true properties: @@ -725,7 +725,7 @@ paths: required: - vector_string - score - epss: &130 + epss: &131 type: object nullable: true readOnly: true @@ -996,7 +996,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &259 + schema: &260 title: Validation Error Simple description: Validation Error Simple type: object @@ -1147,7 +1147,7 @@ paths: GitHub. type: object nullable: true - properties: &217 + properties: &218 id: description: Unique identifier of the GitHub app example: 37 @@ -1169,7 +1169,7 @@ paths: title: Enterprise description: An enterprise on GitHub. type: object - properties: &138 + properties: &139 description: description: A short description of the enterprise. type: string @@ -1211,7 +1211,7 @@ paths: avatar_url: type: string format: uri - required: &139 + required: &140 - id - node_id - name @@ -1280,7 +1280,7 @@ paths: about itself. example: 5 type: integer - required: &218 + required: &219 - id - node_id - owner @@ -1740,7 +1740,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &258 + schema: &259 title: Validation Error description: Validation Error type: object @@ -2124,7 +2124,7 @@ paths: parameters: - *17 - *19 - - &227 + - &228 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) @@ -2938,7 +2938,7 @@ paths: title: License Simple description: License Simple type: object - properties: &223 + properties: &224 key: type: string example: mit @@ -2960,7 +2960,7 @@ paths: html_url: type: string format: uri - required: &224 + required: &225 - key - name - url @@ -7665,7 +7665,7 @@ paths: description: Response content: application/json: - schema: &260 + schema: &261 type: object properties: total_active_caches_count: @@ -7680,7 +7680,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &261 + default: &262 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -7873,7 +7873,7 @@ paths: - public_ip_enabled - platform examples: - default: &262 + default: &263 value: total_count: 2 runners: @@ -8168,7 +8168,7 @@ paths: application/json: schema: *49 examples: - default: &263 + default: &264 value: id: 1 platform: linux-x64 @@ -8308,7 +8308,7 @@ paths: application/json: schema: *52 examples: - default: &264 + default: &265 value: version: 1.0.0 size_gb: 75 @@ -8472,7 +8472,7 @@ paths: description: Response content: application/json: - schema: &265 + schema: &266 type: object properties: public_ips: @@ -8497,7 +8497,7 @@ paths: required: - public_ips examples: - default: &266 + default: &267 value: public_ips: current_usage: 17 @@ -8537,7 +8537,7 @@ paths: type: array items: *56 examples: - default: &267 + default: &268 value: id: 4-core cpu_cores: 4 @@ -8799,7 +8799,7 @@ paths: - all - local_only - selected - selected_actions_url: &270 + selected_actions_url: &271 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` @@ -8879,7 +8879,7 @@ paths: description: Successfully retrieved the artifact and log retention settings content: application/json: - schema: &272 + schema: &273 type: object properties: days: @@ -8925,7 +8925,7 @@ paths: required: true content: application/json: - schema: &273 + schema: &274 type: object properties: days: @@ -8974,7 +8974,7 @@ paths: required: - approval_policy examples: - default: &274 + default: &275 value: approval_policy: first_time_contributors '404': *6 @@ -9032,7 +9032,7 @@ paths: description: Response content: application/json: - schema: &275 + schema: &276 type: object required: - run_workflows_from_fork_pull_requests @@ -9086,7 +9086,7 @@ paths: required: true content: application/json: - schema: &276 + schema: &277 type: object required: - run_workflows_from_fork_pull_requests @@ -9153,7 +9153,7 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: &120 + properties: &121 login: type: string example: github @@ -9194,7 +9194,7 @@ paths: type: string example: A great organization nullable: true - required: &121 + required: &122 - login - url - id @@ -9509,7 +9509,7 @@ paths: description: Success response content: application/json: - schema: &279 + schema: &280 type: object properties: default_workflow_permissions: &67 @@ -9557,7 +9557,7 @@ paths: required: true content: application/json: - schema: &280 + schema: &281 type: object properties: default_workflow_permissions: *67 @@ -10393,7 +10393,7 @@ paths: application/json: schema: type: array - items: &284 + items: &285 title: Runner Application description: Runner Application type: object @@ -10418,7 +10418,7 @@ paths: - download_url - filename examples: - default: &285 + default: &286 value: - os: osx architecture: x64 @@ -10502,7 +10502,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &286 + '201': &287 description: Response content: application/json: @@ -10541,7 +10541,7 @@ paths: encoded_jit_config: abc123 '404': *6 '422': *7 - '409': &118 + '409': &119 description: Conflict content: application/json: @@ -10617,7 +10617,7 @@ paths: - token - expires_at examples: - default: &287 + default: &288 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -10657,7 +10657,7 @@ paths: application/json: schema: *79 examples: - default: &288 + default: &289 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -10689,7 +10689,7 @@ paths: application/json: schema: *76 examples: - default: &289 + default: &290 value: id: 23 name: MBP @@ -10905,7 +10905,7 @@ paths: - *41 - *75 responses: - '200': &290 + '200': &291 description: Response content: application/json: @@ -10961,7 +10961,7 @@ paths: parameters: - *41 - *75 - - &291 + - &292 name: name description: The name of a self-hosted runner's custom label. in: path @@ -11052,7 +11052,7 @@ paths: required: true content: application/json: - schema: &298 + schema: &299 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -11693,7 +11693,7 @@ paths: required: false schema: type: string - - &301 + - &302 name: include description: |- The event types to include: @@ -11711,7 +11711,7 @@ paths: - web - git - all - - &302 + - &303 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. @@ -11719,7 +11719,7 @@ paths: required: false schema: type: string - - &303 + - &304 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. @@ -11727,7 +11727,7 @@ paths: required: false schema: type: string - - &304 + - &305 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -11749,7 +11749,7 @@ paths: application/json: schema: type: array - items: &305 + items: &306 type: object properties: "@timestamp": @@ -11871,7 +11871,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &306 + default: &307 value: - "@timestamp": 1606929874512 action: team.add_member @@ -12537,7 +12537,7 @@ paths: application/json: schema: type: array - items: &307 + items: &308 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -12698,7 +12698,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &308 + default: &309 value: - id: 21 number: 42 @@ -12803,7 +12803,7 @@ paths: application/json: schema: type: array - items: &310 + items: &311 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -12928,7 +12928,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &311 + default: &312 value: - id: 21 number: 42 @@ -13013,7 +13013,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *41 - - &316 + - &317 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`, @@ -13023,7 +13023,7 @@ paths: schema: &111 type: string description: The name of the tool used to generate the code scanning analysis. - - &317 + - &318 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 @@ -13046,7 +13046,7 @@ paths: be returned. in: query required: false - schema: &318 + schema: &319 type: string description: State of a code scanning alert. enum: @@ -13079,31 +13079,31 @@ paths: application/json: schema: type: array - items: &319 + items: &320 type: object properties: - number: &127 + number: &128 type: integer description: The security alert number. readOnly: true - created_at: &134 + created_at: &135 type: string description: 'The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - updated_at: &135 + updated_at: &136 type: string description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - url: &132 + url: &133 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &133 + html_url: &134 type: string description: The GitHub URL of the alert resource. format: uri @@ -13122,7 +13122,7 @@ paths: - open - dismissed - fixed - fixed_at: &137 + fixed_at: &138 type: string description: 'The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -13136,7 +13136,7 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: &136 + dismissed_at: &137 type: string description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -13285,11 +13285,11 @@ paths: - generated - test - library - repository: &119 + repository: &120 title: Simple Repository description: A GitHub repository. type: object - properties: &254 + properties: &255 id: type: integer format: int64 @@ -13516,7 +13516,7 @@ paths: format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks description: The API URL to list the hooks on the repository. - required: &255 + required: &256 - archive_url - assignees_url - blobs_url @@ -13588,7 +13588,7 @@ paths: - most_recent_instance - repository examples: - default: &320 + default: &321 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -13819,7 +13819,7 @@ paths: headers: Link: *47 '404': *6 - '503': &195 + '503': &196 description: Service unavailable content: application/json: @@ -14250,7 +14250,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &321 + code_scanning_options: &118 type: object description: Security Configuration feature options for code scanning nullable: true @@ -14668,6 +14668,7 @@ paths: - disabled - not_set code_scanning_default_setup_options: *117 + code_scanning_options: *118 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -14761,7 +14762,7 @@ paths: '304': *37 '403': *29 '404': *6 - '409': *118 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14787,12 +14788,12 @@ paths: - *41 - *116 responses: - '204': &154 + '204': &155 description: A header with no content is returned. '400': *14 '403': *29 '404': *6 - '409': *118 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14844,7 +14845,7 @@ paths: '202': *39 '403': *29 '404': *6 - '409': *118 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -15017,7 +15018,7 @@ paths: - failed - updating - removed_by_enterprise - repository: *119 + repository: *120 examples: default: summary: Example of code security configuration repositories @@ -15488,7 +15489,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &145 + items: &146 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -15505,14 +15506,14 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: *120 - required: *121 + properties: *121 + required: *122 nullable: true assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &312 + - &313 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -15685,7 +15686,7 @@ paths: - slug - parent - type - - &144 + - &145 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -15795,7 +15796,7 @@ paths: - created_at additionalProperties: false examples: - default: &146 + default: &147 value: total_seats: 2 seats: @@ -16247,7 +16248,7 @@ paths: application/json: schema: type: array - items: &207 + items: &208 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -16554,7 +16555,7 @@ paths: - date additionalProperties: true examples: - default: &208 + default: &209 value: - date: '2024-06-24' total_active_users: 24 @@ -16656,7 +16657,7 @@ paths: '500': *40 '403': *29 '404': *6 - '422': &209 + '422': &210 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -16686,7 +16687,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: - *41 - - &122 + - &123 name: day description: The day to request data for, in `YYYY-MM-DD` format. in: query @@ -16700,7 +16701,7 @@ paths: description: Response content: application/json: - schema: &123 + schema: &124 type: object title: Copilot Metrics 1 Day Report description: Links to download the Copilot usage metrics report for @@ -16721,7 +16722,7 @@ paths: - download_links - report_day examples: - default: &124 + default: &125 value: download_links: - https://example.com/copilot-usage-report-1.json @@ -16759,7 +16760,7 @@ paths: description: Response content: application/json: - schema: &125 + schema: &126 type: object title: Copilot Metrics 28 Day Report description: Links to download the latest Copilot usage metrics report @@ -16787,7 +16788,7 @@ paths: - report_start_day - report_end_day examples: - default: &126 + default: &127 value: download_links: - https://example.com/copilot-usage-report-1.json @@ -16821,15 +16822,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: - *41 - - *122 + - *123 responses: '200': description: Response content: application/json: - schema: *123 + schema: *124 examples: - default: *124 + default: *125 '500': *40 '403': *29 '404': *6 @@ -16862,9 +16863,9 @@ paths: description: Response content: application/json: - schema: *125 + schema: *126 examples: - default: *126 + default: *127 '500': *40 '403': *29 '404': *6 @@ -16992,7 +16993,7 @@ paths: type: object description: A Dependabot alert. properties: - number: *127 + number: *128 state: type: string description: The state of the Dependabot alert. @@ -17007,7 +17008,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &128 + package: &129 type: object description: Details for the vulnerable package. readOnly: true @@ -17081,13 +17082,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &131 + items: &132 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *128 + package: *129 severity: type: string description: The severity of the vulnerability. @@ -17153,8 +17154,8 @@ paths: - score - vector_string additionalProperties: false - cvss_severities: *129 - epss: *130 + cvss_severities: *130 + epss: *131 cwes: type: array description: Details for the advisory pertaining to Common @@ -17253,12 +17254,12 @@ paths: - updated_at - withdrawn_at additionalProperties: false - security_vulnerability: *131 - url: *132 - html_url: *133 - created_at: *134 - updated_at: *135 - dismissed_at: *136 + security_vulnerability: *132 + url: *133 + html_url: *134 + created_at: *135 + updated_at: *136 + dismissed_at: *137 dismissed_by: title: Simple User description: A GitHub user. @@ -17282,7 +17283,7 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *137 + fixed_at: *138 auto_dismissed_at: &595 type: string description: 'The time that the alert was auto-dismissed in @@ -17328,7 +17329,7 @@ paths: format: uri description: The API URL to get more information about this dismissal request. - repository: *119 + repository: *120 required: - number - state @@ -17710,7 +17711,7 @@ paths: roles: type: array description: The list of enterprise roles available to the enterprise. - items: &143 + items: &144 title: Enterprise Role description: Enterprise custom roles type: object @@ -17744,8 +17745,8 @@ paths: title: Enterprise description: An enterprise on GitHub. type: object - properties: *138 - required: *139 + properties: *139 + required: *140 nullable: true created_at: description: The date and time the role was created. @@ -17835,7 +17836,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#remove-all-enterprise-roles-from-a-team parameters: - *41 - - &140 + - &141 name: team_slug description: The slug of the enterprise team name. in: path @@ -17875,8 +17876,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#assign-an-enterprise-role-to-a-team parameters: - *41 - - *140 - - &141 + - *141 + - &142 name: role_id description: The unique identifier of the role. in: path @@ -17915,8 +17916,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#remove-an-enterprise-role-from-a-team parameters: - *41 - - *140 - *141 + - *142 responses: '204': description: Response @@ -17950,7 +17951,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#remove-all-enterprise-roles-from-a-user parameters: - *41 - - &142 + - &143 name: username description: The handle for the GitHub user account. in: path @@ -17990,8 +17991,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#assign-an-enterprise-role-to-an-enterprise-user parameters: - *41 + - *143 - *142 - - *141 responses: '204': description: Response @@ -18024,8 +18025,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#remove-enterprise-user-role-assignment parameters: - *41 + - *143 - *142 - - *141 responses: '204': description: Response @@ -18059,13 +18060,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#get-an-enterprise-role parameters: - *41 - - *141 + - *142 responses: '200': description: Response content: application/json: - schema: *143 + schema: *144 examples: default: value: @@ -18116,7 +18117,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#list-teams-that-are-assigned-to-an-enterprise-role parameters: - *41 - - *141 + - *142 - *17 - *19 responses: @@ -18126,9 +18127,9 @@ paths: application/json: schema: type: array - items: *144 + items: *145 examples: - default: &210 + default: &211 value: - id: 1 name: Justice League @@ -18167,7 +18168,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#list-users-that-are-assigned-to-an-enterprise-role parameters: - *41 - - *141 + - *142 - *17 - *19 responses: @@ -18199,7 +18200,7 @@ paths: description: Enterprise Team the user has gotten the role through type: array - items: *144 + items: *145 examples: default: value: @@ -18358,7 +18359,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-an-enterprise-user parameters: - *41 - - *142 + - *143 responses: '200': description: The user's GitHub Copilot seat details, including usage. @@ -18374,9 +18375,9 @@ paths: teams or multiple organizations are only counted once. seats: type: array - items: *145 + items: *146 examples: - default: *146 + default: *147 '500': *40 '401': *25 '403': *29 @@ -18419,7 +18420,7 @@ paths: type: integer network_configurations: type: array - items: &147 + items: &148 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -18537,9 +18538,9 @@ paths: description: Response content: application/json: - schema: *147 + schema: *148 examples: - default: &148 + default: &149 value: id: 123456789ABCDEF name: My network configuration @@ -18566,7 +18567,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-configuration-for-an-enterprise parameters: - *41 - - &149 + - &150 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -18578,9 +18579,9 @@ paths: description: Response content: application/json: - schema: *147 + schema: *148 examples: - default: *148 + default: *149 headers: Link: *47 x-github: @@ -18600,7 +18601,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#update-a-hosted-compute-network-configuration-for-an-enterprise parameters: - *41 - - *149 + - *150 requestBody: required: true content: @@ -18639,9 +18640,9 @@ paths: description: Response content: application/json: - schema: *147 + schema: *148 examples: - default: *148 + default: *149 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -18659,7 +18660,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#delete-a-hosted-compute-network-configuration-from-an-enterprise parameters: - *41 - - *149 + - *150 responses: '204': description: Response @@ -18767,7 +18768,7 @@ paths: application/json: schema: type: array - items: &150 + items: &151 title: Custom Property for Organization description: Custom property defined for an organization allOf: @@ -18835,7 +18836,7 @@ paths: - property_name - value_type examples: - default: &151 + default: &152 value: - property_name: environment url: https://api.github.com/enterprises/github/org-properties/schema/environment @@ -18895,7 +18896,7 @@ paths: type: array description: The array of organization custom properties to create or update. - items: *150 + items: *151 minItems: 1 maxItems: 100 required: @@ -18928,9 +18929,9 @@ paths: application/json: schema: type: array - items: *150 + items: *151 examples: - default: *151 + default: *152 '403': *29 '404': *6 '422': *7 @@ -18957,7 +18958,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties-for-orgs#get-an-organization-custom-property-definition-from-an-enterprise parameters: - *41 - - &152 + - &153 name: custom_property_name description: The custom property name in: path @@ -18969,9 +18970,9 @@ paths: description: Response content: application/json: - schema: *150 + schema: *151 examples: - default: &153 + default: &154 value: property_name: environment url: https://api.github.com/enterprises/github/org-properties/schema/environment @@ -19008,7 +19009,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties-for-orgs#create-or-update-an-organization-custom-property-definition-on-an-enterprise parameters: - *41 - - *152 + - *153 requestBody: required: true content: @@ -19077,9 +19078,9 @@ paths: description: Response content: application/json: - schema: *150 + schema: *151 examples: - default: *153 + default: *154 '403': *29 '404': *6 '422': *7 @@ -19105,9 +19106,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: - *41 - - *152 + - *153 responses: - '204': *154 + '204': *155 '403': *29 '404': *6 '422': *7 @@ -19156,7 +19157,7 @@ paths: example: Hello-World properties: type: array - items: &155 + items: &156 title: Custom Property Value description: Custom property name and associated value type: object @@ -19239,7 +19240,7 @@ paths: type: array description: List of custom property names and associated values to apply to the organizations. - items: *155 + items: *156 required: - organization_logins - properties @@ -19289,7 +19290,7 @@ paths: application/json: schema: type: array - items: &156 + items: &157 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -19354,7 +19355,7 @@ paths: - property_name - value_type examples: - default: &157 + default: &158 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -19411,7 +19412,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *156 + items: *157 minItems: 1 maxItems: 100 required: @@ -19441,9 +19442,9 @@ paths: application/json: schema: type: array - items: *156 + items: *157 examples: - default: *157 + default: *158 '403': *29 '404': *6 x-github: @@ -19467,15 +19468,15 @@ paths: parameters: - *41 - *87 - - *152 + - *153 responses: '200': description: Response content: application/json: - schema: *156 + schema: *157 examples: - default: &158 + default: &159 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -19508,15 +19509,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#get-a-custom-property-for-an-enterprise parameters: - *41 - - *152 + - *153 responses: '200': description: Response content: application/json: - schema: *156 + schema: *157 examples: - default: *158 + default: *159 '403': *29 '404': *6 x-github: @@ -19538,7 +19539,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#create-or-update-a-custom-property-for-an-enterprise parameters: - *41 - - *152 + - *153 requestBody: required: true content: @@ -19606,9 +19607,9 @@ paths: description: Response content: application/json: - schema: *156 + schema: *157 examples: - default: *158 + default: *159 '403': *29 '404': *6 x-github: @@ -19630,9 +19631,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#remove-a-custom-property-for-an-enterprise parameters: - *41 - - *152 + - *153 responses: - '204': *154 + '204': *155 '403': *29 '404': *6 x-github: @@ -19672,7 +19673,7 @@ paths: - push - repository default: branch - enforcement: &167 + enforcement: &168 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights @@ -19685,7 +19686,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &168 + items: &169 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -19726,7 +19727,7 @@ paths: - pull_request - exempt default: always - conditions: &192 + conditions: &193 title: Enterprise ruleset conditions type: object description: Conditions for an enterprise ruleset. The conditions @@ -19740,7 +19741,7 @@ paths: description: Conditions to target organizations by name and all repositories allOf: - - &159 + - &160 title: Repository ruleset conditions for organization names type: object description: Parameters for an organization name condition @@ -19766,7 +19767,7 @@ paths: type: string required: - organization_name - - &162 + - &163 title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -19795,7 +19796,7 @@ paths: is prevented. required: - repository_name - - &161 + - &162 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name condition @@ -19823,8 +19824,8 @@ paths: description: Conditions to target organizations by name and repositories by property allOf: - - *159 - - &164 + - *160 + - &165 title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -19837,7 +19838,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &160 + items: &161 title: Repository ruleset property targeting definition type: object description: Parameters for a targeting a repository @@ -19868,16 +19869,16 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *160 + items: *161 required: - repository_property - - *161 + - *162 - type: object title: organization_id_and_repository_name description: Conditions to target organizations by id and all repositories allOf: - - &163 + - &164 title: Repository ruleset conditions for organization IDs type: object description: Parameters for an organization ID condition @@ -19894,22 +19895,22 @@ paths: type: integer required: - organization_id + - *163 - *162 - - *161 - type: object title: organization_id_and_repository_property description: Conditions to target organization by id and repositories by property allOf: - - *163 - *164 - - *161 + - *165 + - *162 - type: object title: organization_property_and_repository_name description: Conditions to target organizations by property and all repositories allOf: - - &166 + - &167 title: Repository ruleset conditions for organization properties type: object description: Parameters for a organization property condition @@ -19922,7 +19923,7 @@ paths: description: The organization properties and values to include. All of these properties must match for the condition to pass. - items: &165 + items: &166 title: Repository ruleset property targeting definition type: object description: Parameters for a targeting a organization @@ -19946,28 +19947,28 @@ paths: description: The organization properties and values to exclude. The condition will not pass if any of these properties match. - items: *165 + items: *166 required: - organization_property + - *163 - *162 - - *161 - type: object title: organization_property_and_repository_property description: Conditions to target organizations by property and repositories by property allOf: - - *166 - - *164 - - *161 + - *167 + - *165 + - *162 rules: type: array description: An array of rules within the ruleset. - items: &193 + items: &194 title: Repository Rule type: object description: A repository rule. oneOf: - - &169 + - &170 title: creation description: Only allow users with bypass permission to create matching refs. @@ -19979,7 +19980,7 @@ paths: type: string enum: - creation - - &170 + - &171 title: update description: Only allow users with bypass permission to update matching refs. @@ -20000,7 +20001,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &171 + - &172 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -20012,7 +20013,7 @@ paths: type: string enum: - deletion - - &172 + - &173 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -20024,7 +20025,7 @@ paths: type: string enum: - required_linear_history - - &173 + - &174 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -20048,7 +20049,7 @@ paths: type: string required: - required_deployment_environments - - &174 + - &175 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -20060,7 +20061,7 @@ paths: type: string enum: - required_signatures - - &175 + - &176 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. @@ -20163,7 +20164,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &176 + - &177 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -20210,7 +20211,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &177 + - &178 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -20222,7 +20223,7 @@ paths: type: string enum: - non_fast_forward - - &178 + - &179 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -20258,7 +20259,7 @@ paths: required: - operator - pattern - - &179 + - &180 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -20294,7 +20295,7 @@ paths: required: - operator - pattern - - &180 + - &181 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -20330,7 +20331,7 @@ paths: required: - operator - pattern - - &181 + - &182 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -20366,7 +20367,7 @@ paths: required: - operator - pattern - - &182 + - &183 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -20402,7 +20403,7 @@ paths: required: - operator - pattern - - &183 + - &184 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. @@ -20426,7 +20427,7 @@ paths: type: string required: - restricted_file_paths - - &184 + - &185 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit @@ -20450,7 +20451,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &185 + - &186 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -20473,7 +20474,7 @@ paths: type: string required: - restricted_file_extensions - - &186 + - &187 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. @@ -20497,7 +20498,7 @@ paths: maximum: 100 required: - max_file_size - - &187 + - &188 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -20546,7 +20547,7 @@ paths: - repository_id required: - workflows - - &188 + - &189 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -20606,7 +20607,7 @@ paths: - tool required: - code_scanning_tools - - &189 + - &190 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code review @@ -20656,7 +20657,7 @@ paths: description: Response content: application/json: - schema: &190 + schema: &191 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -20691,11 +20692,11 @@ paths: source: type: string description: The name of the source - enforcement: *167 + enforcement: *168 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *168 + items: *169 current_user_can_bypass: type: string description: |- @@ -20727,7 +20728,7 @@ paths: conditions: nullable: true anyOf: - - *161 + - *162 - &422 title: Organization ruleset conditions type: object @@ -20742,14 +20743,14 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *161 - *162 + - *163 - type: object title: repository_id_and_ref_name description: Conditions to target repositories by id and refs by name allOf: - - *161 + - *162 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -20771,8 +20772,8 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *161 - - *164 + - *162 + - *165 rules: type: array items: &721 @@ -20780,10 +20781,10 @@ paths: type: object description: A repository rule. oneOf: - - *169 - *170 - *171 - *172 + - *173 - &719 title: merge_queue description: Merges must be performed via a merge queue. @@ -20862,7 +20863,6 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - *173 - *174 - *175 - *176 @@ -20879,6 +20879,7 @@ paths: - *187 - *188 - *189 + - *190 created_at: type: string format: date-time @@ -20886,7 +20887,7 @@ paths: type: string format: date-time examples: - default: &191 + default: &192 value: id: 21 name: super cool ruleset @@ -20945,9 +20946,9 @@ paths: description: Response content: application/json: - schema: *190 + schema: *191 examples: - default: *191 + default: *192 '404': *6 '500': *40 x-github: @@ -20991,16 +20992,16 @@ paths: - tag - push - repository - enforcement: *167 + enforcement: *168 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *168 - conditions: *192 + items: *169 + conditions: *193 rules: description: An array of rules within the ruleset. type: array - items: *193 + items: *194 examples: default: value: @@ -21024,9 +21025,9 @@ paths: description: Response content: application/json: - schema: *190 + schema: *191 examples: - default: *191 + default: *192 '404': *6 '500': *40 x-github: @@ -21088,7 +21089,7 @@ paths: application/json: schema: type: array - items: &194 + items: &195 title: Ruleset version type: object description: The historical version of a ruleset @@ -21167,7 +21168,7 @@ paths: application/json: schema: &426 allOf: - - *194 + - *195 - type: object required: - state @@ -21331,8 +21332,8 @@ paths: items: &436 type: object properties: - number: *127 - created_at: *134 + number: *128 + created_at: *135 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -21340,8 +21341,8 @@ paths: format: date-time readOnly: true nullable: true - url: *132 - html_url: *133 + url: *133 + html_url: *134 locations_url: type: string format: uri @@ -21388,7 +21389,7 @@ paths: secret: type: string description: The secret that was detected. - repository: *119 + repository: *120 push_protection_bypassed: type: boolean description: Whether push protection was bypassed for the detected @@ -21914,7 +21915,7 @@ paths: headers: Link: *47 '404': *6 - '503': *195 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21951,7 +21952,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &197 + pattern_config_version: &198 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -21960,7 +21961,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &196 + items: &197 type: object properties: token_type: @@ -22026,7 +22027,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *196 + items: *197 examples: default: &439 value: @@ -22083,7 +22084,7 @@ paths: schema: type: object properties: - pattern_config_version: *197 + pattern_config_version: *198 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -22109,7 +22110,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *197 + custom_pattern_version: *198 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -22145,7 +22146,7 @@ paths: '400': *14 '403': *29 '404': *6 - '409': *118 + '409': *119 '422': *15 "/enterprises/{enterprise}/settings/billing/advanced-security": get: @@ -22612,7 +22613,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/budgets#get-a-budget-by-id parameters: - *41 - - &198 + - &199 name: budget_id description: The ID corresponding to the budget. in: path @@ -22706,7 +22707,7 @@ paths: '404': *6 '403': *29 '500': *40 - '503': *195 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -22941,7 +22942,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/budgets#delete-a-budget parameters: - *41 - - *198 + - *199 responses: '200': description: Response when deleting a budget @@ -22968,7 +22969,7 @@ paths: '404': *6 '403': *29 '500': *40 - '503': *195 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -23067,7 +23068,7 @@ paths: '400': *14 '403': *29 '500': *40 - '503': *195 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -23196,7 +23197,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#get-a-cost-center-by-id parameters: - *41 - - &201 + - &202 name: cost_center_id description: The ID corresponding to the cost center. in: path @@ -23208,7 +23209,7 @@ paths: description: Response when getting a cost center content: application/json: - schema: &199 + schema: &200 type: object properties: id: @@ -23247,7 +23248,7 @@ paths: - name - resources examples: - default: &200 + default: &201 value: id: 2eeb8ffe-6903-11ee-8c99-0242ac120002 name: Cost Center Name @@ -23261,7 +23262,7 @@ paths: '400': *14 '403': *29 '500': *40 - '503': *195 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -23311,15 +23312,15 @@ paths: description: Response when updating a cost center content: application/json: - schema: *199 + schema: *200 examples: - default: *200 + default: *201 '400': *14 '403': *29 '404': *6 - '409': *118 + '409': *119 '500': *40 - '503': *195 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -23337,7 +23338,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#delete-a-cost-center parameters: - *41 - - *201 + - *202 responses: '200': description: Response when deleting a cost center @@ -23376,7 +23377,7 @@ paths: '404': *6 '403': *29 '500': *40 - '503': *195 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -23397,7 +23398,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#add-resources-to-a-cost-center parameters: - *41 - - *201 + - *202 requestBody: required: true content: @@ -23467,9 +23468,9 @@ paths: previous_cost_center: yet-another-cost-center '400': *14 '403': *29 - '409': *118 + '409': *119 '500': *40 - '503': *195 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -23489,7 +23490,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#remove-resources-from-a-cost-center parameters: - *41 - - *201 + - *202 requestBody: required: true content: @@ -23536,7 +23537,7 @@ paths: '400': *14 '403': *29 '500': *40 - '503': *195 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -23557,7 +23558,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/usage#get-billing-premium-request-usage-report-for-an-enterprise parameters: - *41 - - &202 + - &203 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, @@ -23566,7 +23567,7 @@ paths: required: false schema: type: integer - - &204 + - &205 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 @@ -23575,7 +23576,7 @@ paths: required: false schema: type: integer - - &203 + - &204 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 @@ -23584,7 +23585,7 @@ paths: required: false schema: type: integer - - &205 + - &206 name: organization description: The organization name to query usage for. The name is not case sensitive. @@ -23604,7 +23605,7 @@ paths: required: false schema: type: string - - &206 + - &207 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -23743,7 +23744,7 @@ paths: '403': *29 '404': *6 '500': *40 - '503': *195 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -23764,7 +23765,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/usage#get-billing-usage-report-for-an-enterprise parameters: - *41 - - *202 + - *203 - 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 @@ -23773,7 +23774,7 @@ paths: required: false schema: type: integer - - *203 + - *204 - name: cost_center_id description: The ID corresponding to a cost center. The default value is no cost center. @@ -23856,7 +23857,7 @@ paths: '400': *14 '403': *29 '500': *40 - '503': *195 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -23880,17 +23881,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/usage#get-billing-usage-summary-for-an-enterprise parameters: - *41 - - *202 - - *204 - *203 - *205 + - *204 + - *206 - name: repository description: The repository name to query for usage in the format owner/repository. in: query required: false schema: type: string - - *206 + - *207 - name: sku description: The SKU to query for usage. in: query @@ -24023,7 +24024,7 @@ paths: '400': *14 '403': *29 '500': *40 - '503': *195 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -24057,7 +24058,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-an-enterprise-team parameters: - *41 - - *140 + - *141 - 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`). @@ -24089,13 +24090,13 @@ paths: application/json: schema: type: array - items: *207 + items: *208 examples: - default: *208 + default: *209 '500': *40 '403': *29 '404': *6 - '422': *209 + '422': *210 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -24122,9 +24123,9 @@ paths: application/json: schema: type: array - items: *144 + items: *145 examples: - default: *210 + default: *211 headers: Link: *47 '403': *29 @@ -24199,9 +24200,9 @@ paths: description: Response content: application/json: - schema: *144 + schema: *145 examples: - default: *210 + default: *211 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -24219,7 +24220,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *41 - - &211 + - &212 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -24238,7 +24239,7 @@ paths: type: array items: *4 examples: - default: &212 + default: &213 value: - login: octocat id: 1 @@ -24277,7 +24278,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *41 - - *211 + - *212 requestBody: required: true content: @@ -24308,7 +24309,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *213 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -24326,7 +24327,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *41 - - *211 + - *212 requestBody: required: true content: @@ -24357,7 +24358,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *213 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -24375,8 +24376,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *41 - - *211 - - *142 + - *212 + - *143 responses: '200': description: User is a member of the enterprise team. @@ -24384,7 +24385,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &213 + exampleKey1: &214 value: login: octocat id: 1 @@ -24420,8 +24421,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *41 - - *211 - - *142 + - *212 + - *143 responses: '201': description: Successfully added team member @@ -24429,7 +24430,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *213 + exampleKey1: *214 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -24447,8 +24448,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *41 - - *211 - - *142 + - *212 + - *143 responses: '204': description: Response @@ -24470,7 +24471,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments parameters: - *41 - - *211 + - *212 - *17 - *19 responses: @@ -24482,7 +24483,7 @@ paths: type: array items: *73 examples: - default: &214 + default: &215 value: login: github id: 1 @@ -24513,7 +24514,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments parameters: - *41 - - *211 + - *212 requestBody: required: true content: @@ -24543,7 +24544,7 @@ paths: type: array items: *73 examples: - default: &251 + default: &252 value: - login: github id: 1 @@ -24574,7 +24575,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments parameters: - *41 - - *211 + - *212 requestBody: required: true content: @@ -24615,7 +24616,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment parameters: - *41 - - *211 + - *212 - *87 responses: '200': @@ -24624,7 +24625,7 @@ paths: application/json: schema: *73 examples: - default: *214 + default: *215 '404': description: The team is not assigned to the organization x-github: @@ -24643,7 +24644,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment parameters: - *41 - - *211 + - *212 - *87 responses: '201': @@ -24652,7 +24653,7 @@ paths: application/json: schema: *73 examples: - default: *214 + default: *215 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -24669,7 +24670,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment parameters: - *41 - - *211 + - *212 - *87 responses: '204': @@ -24694,7 +24695,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *41 - - &215 + - &216 name: team_slug description: The slug of the team name. in: path @@ -24706,9 +24707,9 @@ paths: description: Response content: application/json: - schema: *144 + schema: *145 examples: - default: *210 + default: *211 headers: Link: *47 '403': *29 @@ -24728,7 +24729,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *41 - - *215 + - *216 requestBody: required: true content: @@ -24783,9 +24784,9 @@ paths: description: Response content: application/json: - schema: *144 + schema: *145 examples: - default: *210 + default: *211 headers: Link: *47 '403': *29 @@ -24808,7 +24809,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *41 - - *215 + - *216 responses: '204': description: Response @@ -24907,7 +24908,7 @@ paths: application/json: schema: type: array - items: &246 + items: &247 title: Event description: Event type: object @@ -24917,7 +24918,7 @@ paths: type: type: string nullable: true - actor: &216 + actor: &217 title: Actor description: Actor type: object @@ -24957,7 +24958,7 @@ paths: - id - name - url - org: *216 + org: *217 payload: oneOf: - title: CreateEvent @@ -25290,7 +25291,7 @@ paths: - id labels: type: array - items: &219 + items: &220 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -25365,7 +25366,7 @@ paths: properties: action: type: string - issue: &220 + issue: &221 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -25694,9 +25695,9 @@ paths: actors within GitHub. type: object nullable: true - properties: *217 - required: *218 - author_association: &221 + properties: *218 + required: *219 + author_association: &222 title: author_association type: string example: OWNER @@ -25711,7 +25712,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &222 + reactions: &223 title: Reaction Rollup type: object properties: @@ -25872,10 +25873,10 @@ paths: assignees: type: array items: *4 - label: *219 + label: *220 labels: type: array - items: *219 + items: *220 required: - action - issue @@ -25884,7 +25885,7 @@ paths: properties: action: type: string - issue: *220 + issue: *221 comment: &653 title: Issue Comment description: Comments provide a way for people to collaborate @@ -25933,7 +25934,7 @@ paths: issue_url: type: string format: uri - author_association: *221 + author_association: *222 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -25944,9 +25945,9 @@ paths: actors within GitHub. type: object nullable: true - properties: *217 - required: *218 - reactions: *222 + properties: *218 + required: *219 + reactions: *223 required: - id - node_id @@ -26119,8 +26120,8 @@ paths: title: License Simple description: License Simple type: object - properties: *223 - required: *224 + properties: *224 + required: *225 nullable: true allow_forking: type: boolean @@ -26209,7 +26210,7 @@ paths: type: string number: type: integer - pull_request: &225 + pull_request: &226 title: Pull Request Minimal type: object properties: @@ -26280,10 +26281,10 @@ paths: assignees: type: array items: *4 - label: *219 + label: *220 labels: type: array - items: *219 + items: *220 required: - action - number @@ -26293,7 +26294,7 @@ paths: properties: action: type: string - pull_request: *225 + pull_request: *226 comment: type: object properties: @@ -26544,7 +26545,7 @@ paths: - pull_request updated_at: type: string - pull_request: *225 + pull_request: *226 required: - action - review @@ -26593,7 +26594,7 @@ paths: updated_at: type: string format: date-time - reactions: *222 + reactions: *223 required: - action - comment @@ -26750,7 +26751,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *222 + reactions: *223 required: - assets_url - upload_url @@ -26842,7 +26843,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *37 '403': *29 - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26923,7 +26924,7 @@ paths: _links: type: object properties: - timeline: &226 + timeline: &227 title: Link With Type description: Hypermedia Link with Type type: object @@ -26935,17 +26936,17 @@ paths: required: - href - type - user: *226 - security_advisories: *226 - current_user: *226 - current_user_public: *226 - current_user_actor: *226 - current_user_organization: *226 + user: *227 + security_advisories: *227 + current_user: *227 + current_user_public: *227 + current_user_actor: *227 + current_user_organization: *227 current_user_organizations: type: array - items: *226 - repository_discussions: *226 - repository_discussions_category: *226 + items: *227 + repository_discussions: *227 + repository_discussions_category: *227 required: - timeline - user @@ -27007,7 +27008,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *227 + - *228 - *17 - *19 responses: @@ -27017,7 +27018,7 @@ paths: application/json: schema: type: array - items: &228 + items: &229 title: Base Gist description: Base Gist type: object @@ -27116,7 +27117,7 @@ paths: - created_at - updated_at examples: - default: &229 + default: &230 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -27237,7 +27238,7 @@ paths: description: Response content: application/json: - schema: &230 + schema: &231 title: Gist Simple description: Gist Simple type: object @@ -27616,7 +27617,7 @@ paths: truncated: type: boolean examples: - default: &231 + default: &232 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -27720,7 +27721,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-public-gists parameters: - - *227 + - *228 - *17 - *19 responses: @@ -27730,9 +27731,9 @@ paths: application/json: schema: type: array - items: *228 + items: *229 examples: - default: *229 + default: *230 headers: Link: *47 '422': *15 @@ -27754,7 +27755,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-starred-gists parameters: - - *227 + - *228 - *17 - *19 responses: @@ -27764,9 +27765,9 @@ paths: application/json: schema: type: array - items: *228 + items: *229 examples: - default: *229 + default: *230 headers: Link: *47 '401': *25 @@ -27794,7 +27795,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist parameters: - - &232 + - &233 name: gist_id description: The unique identifier of the gist. in: path @@ -27806,10 +27807,10 @@ paths: description: Response content: application/json: - schema: *230 + schema: *231 examples: - default: *231 - '403': &235 + default: *232 + '403': &236 description: Forbidden Gist content: application/json: @@ -27857,7 +27858,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#update-a-gist parameters: - - *232 + - *233 requestBody: required: true content: @@ -27917,9 +27918,9 @@ paths: description: Response content: application/json: - schema: *230 + schema: *231 examples: - updateGist: *231 + updateGist: *232 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -28077,7 +28078,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#delete-a-gist parameters: - - *232 + - *233 responses: '204': description: Response @@ -28106,7 +28107,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#list-gist-comments parameters: - - *232 + - *233 - *17 - *19 responses: @@ -28116,7 +28117,7 @@ paths: application/json: schema: type: array - items: &233 + items: &234 title: Gist Comment description: A comment made to a gist. type: object @@ -28151,7 +28152,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *221 + author_association: *222 required: - url - id @@ -28216,7 +28217,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#create-a-gist-comment parameters: - - *232 + - *233 requestBody: required: true content: @@ -28241,9 +28242,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *234 examples: - default: &234 + default: &235 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -28301,8 +28302,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#get-a-gist-comment parameters: - - *232 - - &236 + - *233 + - &237 name: comment_id description: The unique identifier of the comment. in: path @@ -28315,12 +28316,12 @@ paths: description: Response content: application/json: - schema: *233 + schema: *234 examples: - default: *234 + default: *235 '304': *37 '404': *6 - '403': *235 + '403': *236 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28342,8 +28343,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#update-a-gist-comment parameters: - - *232 - - *236 + - *233 + - *237 requestBody: required: true content: @@ -28368,9 +28369,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *234 examples: - default: *234 + default: *235 '404': *6 x-github: githubCloudOnly: false @@ -28387,8 +28388,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#delete-a-gist-comment parameters: - - *232 - - *236 + - *233 + - *237 responses: '204': description: Response @@ -28411,7 +28412,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-commits parameters: - - *232 + - *233 - *17 - *19 responses: @@ -28512,7 +28513,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-forks parameters: - - *232 + - *233 - *17 - *19 responses: @@ -28522,7 +28523,7 @@ paths: application/json: schema: type: array - items: *230 + items: *231 examples: default: value: @@ -28587,13 +28588,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#fork-a-gist parameters: - - *232 + - *233 responses: '201': description: Response content: application/json: - schema: *228 + schema: *229 examples: default: value: @@ -28664,7 +28665,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#check-if-a-gist-is-starred parameters: - - *232 + - *233 responses: '204': description: Response if gist is starred @@ -28694,7 +28695,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#star-a-gist parameters: - - *232 + - *233 responses: '204': description: Response @@ -28716,7 +28717,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#unstar-a-gist parameters: - - *232 + - *233 responses: '204': description: Response @@ -28745,7 +28746,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist-revision parameters: - - *232 + - *233 - name: sha in: path required: true @@ -28756,9 +28757,9 @@ paths: description: Response content: application/json: - schema: *230 + schema: *231 examples: - default: *231 + default: *232 '422': *15 '404': *6 '403': *29 @@ -29143,7 +29144,7 @@ paths: - comments default: created - *110 - - *227 + - *228 - name: collab in: query required: false @@ -29173,7 +29174,7 @@ paths: application/json: schema: type: array - items: *220 + items: *221 examples: default: &375 value: @@ -29458,8 +29459,8 @@ paths: title: License Simple description: License Simple type: object - properties: *223 - required: *224 + properties: *224 + required: *225 examples: default: value: @@ -29744,7 +29745,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &237 + X-CommonMarker-Version: &238 example: 0.17.4 schema: type: string @@ -29799,7 +29800,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *237 + X-CommonMarker-Version: *238 content: text/html: schema: @@ -29828,7 +29829,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: - - &240 + - &241 name: account_id description: account_id parameter in: path @@ -29840,7 +29841,7 @@ paths: description: Response content: application/json: - schema: &239 + schema: &240 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -29870,7 +29871,7 @@ paths: nullable: true id: type: integer - plan: &238 + plan: &239 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -29959,7 +29960,7 @@ paths: nullable: true updated_at: type: string - plan: *238 + plan: *239 required: - url - id @@ -29967,7 +29968,7 @@ paths: - login - marketplace_purchase examples: - default: &241 + default: &242 value: url: https://api.github.com/orgs/github type: Organization @@ -30052,9 +30053,9 @@ paths: application/json: schema: type: array - items: *238 + items: *239 examples: - default: &242 + default: &243 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -30094,14 +30095,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &243 + - &244 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &244 + - &245 name: sort description: The property to sort the results by. in: query @@ -30131,9 +30132,9 @@ paths: application/json: schema: type: array - items: *239 + items: *240 examples: - default: &245 + default: &246 value: - url: https://api.github.com/orgs/github type: Organization @@ -30207,15 +30208,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: - - *240 + - *241 responses: '200': description: Response content: application/json: - schema: *239 + schema: *240 examples: - default: *241 + default: *242 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -30247,9 +30248,9 @@ paths: application/json: schema: type: array - items: *238 + items: *239 examples: - default: *242 + default: *243 headers: Link: *47 '401': *25 @@ -30272,8 +30273,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *243 - *244 + - *245 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -30293,9 +30294,9 @@ paths: application/json: schema: type: array - items: *239 + items: *240 examples: - default: *245 + default: *246 headers: Link: *47 '401': *25 @@ -30583,7 +30584,7 @@ paths: application/json: schema: type: array - items: *246 + items: *247 examples: default: value: @@ -30667,7 +30668,7 @@ paths: schema: type: boolean default: false - - *227 + - *228 - &688 name: before description: 'Only show notifications updated before the given time. This @@ -30693,14 +30694,14 @@ paths: application/json: schema: type: array - items: &247 + items: &248 title: Thread description: Thread type: object properties: id: type: string - repository: &283 + repository: &284 title: Minimal Repository description: Minimal Repository type: object @@ -31316,7 +31317,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread parameters: - - &248 + - &249 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 @@ -31330,7 +31331,7 @@ paths: description: Response content: application/json: - schema: *247 + schema: *248 examples: default: value: @@ -31433,7 +31434,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-read parameters: - - *248 + - *249 responses: '205': description: Reset Content @@ -31456,7 +31457,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-done parameters: - - *248 + - *249 responses: '204': description: No content @@ -31479,13 +31480,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: - - *248 + - *249 responses: '200': description: Response content: application/json: - schema: &249 + schema: &250 title: Thread Subscription description: Thread Subscription type: object @@ -31522,7 +31523,7 @@ paths: - url - subscribed examples: - default: &250 + default: &251 value: subscribed: true ignored: false @@ -31553,7 +31554,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#set-a-thread-subscription parameters: - - *248 + - *249 requestBody: required: false content: @@ -31574,9 +31575,9 @@ paths: description: Response content: application/json: - schema: *249 + schema: *250 examples: - default: *250 + default: *251 '304': *37 '403': *29 '401': *25 @@ -31599,7 +31600,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#delete-a-thread-subscription parameters: - - *248 + - *249 responses: '204': description: Response @@ -31696,7 +31697,7 @@ paths: type: array items: *73 examples: - default: *251 + default: *252 headers: Link: example: ; rel="next" @@ -31848,7 +31849,7 @@ paths: description: Response content: application/json: - schema: &252 + schema: &253 title: Actions cache retention limit for an organization description: GitHub Actions cache retention policy for an organization. type: object @@ -31886,7 +31887,7 @@ paths: required: true content: application/json: - schema: *252 + schema: *253 examples: selected_actions: *44 responses: @@ -31921,7 +31922,7 @@ paths: description: Response content: application/json: - schema: &253 + schema: &254 title: Actions cache storage limit for an organization description: GitHub Actions cache storage policy for an organization. type: object @@ -31959,7 +31960,7 @@ paths: required: true content: application/json: - schema: *253 + schema: *254 examples: selected_actions: *46 responses: @@ -32032,8 +32033,8 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: *254 - required: *255 + properties: *255 + required: *256 nullable: true additionalProperties: false examples: @@ -32265,7 +32266,7 @@ paths: application/json: schema: type: array - items: *155 + items: *156 examples: default: &695 value: @@ -32313,7 +32314,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the organization. - items: *155 + items: *156 required: - properties examples: @@ -32364,7 +32365,7 @@ paths: description: Response content: application/json: - schema: &256 + schema: &257 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -32697,7 +32698,7 @@ paths: - updated_at - archived_at examples: - default-response: &257 + default-response: &258 value: login: github id: 1 @@ -33022,18 +33023,18 @@ paths: description: Response content: application/json: - schema: *256 + schema: *257 examples: - default: *257 + default: *258 '422': description: Validation failed content: application/json: schema: oneOf: - - *258 - *259 - '409': *118 + - *260 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33087,9 +33088,9 @@ paths: description: Response content: application/json: - schema: *260 + schema: *261 examples: - default: *261 + default: *262 headers: Link: *47 x-github: @@ -33205,7 +33206,7 @@ paths: type: array items: *48 examples: - default: *262 + default: *263 headers: Link: *47 x-github: @@ -33371,7 +33372,7 @@ paths: application/json: schema: *49 examples: - default: *263 + default: *264 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33463,7 +33464,7 @@ paths: application/json: schema: *52 examples: - default: *264 + default: *265 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33582,9 +33583,9 @@ paths: description: Response content: application/json: - schema: *265 + schema: *266 examples: - default: *266 + default: *267 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33620,7 +33621,7 @@ paths: type: array items: *56 examples: - default: *267 + default: *268 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33808,7 +33809,7 @@ paths: description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &268 + schema: &269 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -33822,7 +33823,7 @@ paths: required: - include_claim_keys examples: - default: &269 + default: &270 value: include_claim_keys: - repo @@ -33849,15 +33850,15 @@ paths: required: true content: application/json: - schema: *268 + schema: *269 examples: - default: *269 + default: *270 responses: '201': description: Empty response content: application/json: - schema: &294 + schema: &295 title: Empty Object description: An object without any properties. type: object @@ -33896,7 +33897,7 @@ paths: schema: type: object properties: - enabled_repositories: &271 + enabled_repositories: &272 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -33910,7 +33911,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *60 - selected_actions_url: *270 + selected_actions_url: *271 sha_pinning_required: *61 required: - enabled_repositories @@ -33952,7 +33953,7 @@ paths: schema: type: object properties: - enabled_repositories: *271 + enabled_repositories: *272 allowed_actions: *60 sha_pinning_required: *61 required: @@ -33988,7 +33989,7 @@ paths: description: Response content: application/json: - schema: *272 + schema: *273 examples: response: summary: Example response @@ -34019,7 +34020,7 @@ paths: required: true content: application/json: - schema: *273 + schema: *274 examples: application/json: value: @@ -34029,7 +34030,7 @@ paths: description: No content '403': *29 '404': *6 - '409': *118 + '409': *119 '422': *15 x-github: enabledForGitHubApps: true @@ -34057,7 +34058,7 @@ paths: application/json: schema: *62 examples: - default: *274 + default: *275 '404': *6 x-github: enabledForGitHubApps: true @@ -34114,7 +34115,7 @@ paths: description: Response content: application/json: - schema: *275 + schema: *276 examples: default: *63 '403': *29 @@ -34139,7 +34140,7 @@ paths: required: true content: application/json: - schema: *276 + schema: *277 examples: default: *63 responses: @@ -34191,7 +34192,7 @@ paths: type: array items: *78 examples: - default: &278 + default: &279 value: total_count: 1 repositories: @@ -34376,7 +34377,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - *87 - - &277 + - &278 name: repository_id description: The unique identifier of the repository. in: path @@ -34405,7 +34406,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - *87 - - *277 + - *278 responses: '204': description: Response @@ -34564,7 +34565,7 @@ paths: description: No content '403': *29 '404': *6 - '409': *118 + '409': *119 '422': *15 x-github: enabledForGitHubApps: true @@ -34601,7 +34602,7 @@ paths: type: array items: *78 examples: - default: *278 + default: *279 '403': *29 '404': *6 x-github: @@ -34670,13 +34671,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: - *87 - - *277 + - *278 responses: '204': description: No content '403': *29 '404': *6 - '409': *118 + '409': *119 '422': *15 x-github: enabledForGitHubApps: true @@ -34697,13 +34698,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: - *87 - - *277 + - *278 responses: '204': description: No content '403': *29 '404': *6 - '409': *118 + '409': *119 '422': *15 x-github: enabledForGitHubApps: true @@ -34731,7 +34732,7 @@ paths: description: Response content: application/json: - schema: *279 + schema: *280 examples: default: *69 x-github: @@ -34765,7 +34766,7 @@ paths: required: false content: application/json: - schema: *280 + schema: *281 examples: default: *69 x-github: @@ -34812,7 +34813,7 @@ paths: type: number runner_groups: type: array - items: &281 + items: &282 type: object properties: id: @@ -35000,9 +35001,9 @@ paths: description: Response content: application/json: - schema: *281 + schema: *282 examples: - default: &282 + default: &283 value: id: 2 name: octo-runner-group @@ -35044,7 +35045,7 @@ paths: description: Response content: application/json: - schema: *281 + schema: *282 examples: default: value: @@ -35135,9 +35136,9 @@ paths: description: Response content: application/json: - schema: *281 + schema: *282 examples: - default: *282 + default: *283 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -35201,7 +35202,7 @@ paths: type: array items: *48 examples: - default: *262 + default: *263 headers: Link: *47 x-github: @@ -35242,7 +35243,7 @@ paths: type: number repositories: type: array - items: *283 + items: *284 examples: default: &806 value: @@ -35543,7 +35544,7 @@ paths: parameters: - *87 - *72 - - *277 + - *278 responses: '204': description: Response @@ -35567,7 +35568,7 @@ paths: parameters: - *87 - *72 - - *277 + - *278 responses: '204': description: Response @@ -35785,9 +35786,9 @@ paths: application/json: schema: type: array - items: *284 + items: *285 examples: - default: *285 + default: *286 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35852,10 +35853,10 @@ paths: - no-gpu work_folder: _work responses: - '201': *286 + '201': *287 '404': *6 '422': *7 - '409': *118 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35891,7 +35892,7 @@ paths: application/json: schema: *79 examples: - default: *287 + default: *288 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35927,7 +35928,7 @@ paths: application/json: schema: *79 examples: - default: *288 + default: *289 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35958,7 +35959,7 @@ paths: application/json: schema: *76 examples: - default: *289 + default: *290 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36133,7 +36134,7 @@ paths: - *87 - *75 responses: - '200': *290 + '200': *291 '404': *6 x-github: githubCloudOnly: false @@ -36162,7 +36163,7 @@ paths: parameters: - *87 - *75 - - *291 + - *292 responses: '200': *81 '404': *6 @@ -36207,7 +36208,7 @@ paths: type: integer secrets: type: array - items: &292 + items: &293 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -36341,7 +36342,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - *87 - - &293 + - &294 name: secret_name description: The name of the secret. in: path @@ -36353,7 +36354,7 @@ paths: description: Response content: application/json: - schema: *292 + schema: *293 examples: default: value: @@ -36384,7 +36385,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - *87 - - *293 + - *294 requestBody: required: true content: @@ -36441,7 +36442,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *294 + schema: *295 examples: default: value: @@ -36468,7 +36469,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - *87 - - *293 + - *294 responses: '204': description: Response @@ -36495,7 +36496,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - *87 - - *293 + - *294 - *19 - *17 responses: @@ -36513,9 +36514,9 @@ paths: type: integer repositories: type: array - items: *283 + items: *284 examples: - default: &297 + default: &298 value: total_count: 1 repositories: @@ -36608,7 +36609,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - *87 - - *293 + - *294 requestBody: required: true content: @@ -36661,7 +36662,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - *87 - - *293 + - *294 - name: repository_id in: path required: true @@ -36695,7 +36696,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - *87 - - *293 + - *294 - name: repository_id in: path required: true @@ -36752,7 +36753,7 @@ paths: type: integer variables: type: array - items: &295 + items: &296 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -36885,7 +36886,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *294 + schema: *295 examples: default: value: @@ -36911,7 +36912,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - *87 - - &296 + - &297 name: name description: The name of the variable. in: path @@ -36923,7 +36924,7 @@ paths: description: Response content: application/json: - schema: *295 + schema: *296 examples: default: value: @@ -36954,7 +36955,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - *87 - - *296 + - *297 requestBody: required: true content: @@ -37017,7 +37018,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - *87 - - *296 + - *297 responses: '204': description: Response @@ -37044,7 +37045,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - *87 - - *296 + - *297 - *19 - *17 responses: @@ -37062,9 +37063,9 @@ paths: type: integer repositories: type: array - items: *283 + items: *284 examples: - default: *297 + default: *298 '409': description: Response when the visibility of the variable is not set to `selected` @@ -37091,7 +37092,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - *87 - - *296 + - *297 requestBody: required: true content: @@ -37141,7 +37142,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - *87 - - *296 + - *297 - name: repository_id in: path required: true @@ -37176,7 +37177,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - *87 - - *296 + - *297 - name: repository_id in: path required: true @@ -37234,7 +37235,7 @@ paths: required: true content: application/json: - schema: *298 + schema: *299 examples: default: *85 parameters: @@ -37396,7 +37397,7 @@ paths: type: integer deployment_records: type: array - items: &299 + items: &300 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -37440,7 +37441,7 @@ paths: with the deployment record. nullable: true examples: - default: &300 + default: &301 value: total_count: 1 deployment_records: @@ -37613,9 +37614,9 @@ paths: type: integer deployment_records: type: array - items: *299 + items: *300 examples: - default: *300 + default: *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37812,9 +37813,9 @@ paths: type: integer deployment_records: type: array - items: *299 + items: *300 examples: - default: *300 + default: *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38481,10 +38482,10 @@ paths: required: false schema: type: string - - *301 - *302 - *303 - *304 + - *305 - *17 responses: '200': @@ -38493,9 +38494,9 @@ paths: application/json: schema: type: array - items: *305 + items: *306 examples: - default: *306 + default: *307 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -38524,7 +38525,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *213 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38544,7 +38545,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - *87 - - *142 + - *143 responses: '204': description: If the user is blocked @@ -38570,7 +38571,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#block-a-user-from-an-organization parameters: - *87 - - *142 + - *143 responses: '204': description: Response @@ -38591,7 +38592,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - *87 - - *142 + - *143 responses: '204': description: Response @@ -38618,7 +38619,7 @@ paths: subcategory: bypass-requests parameters: - *87 - - &309 + - &310 name: repository_name description: The name of the repository to filter on. in: query @@ -38637,9 +38638,9 @@ paths: application/json: schema: type: array - items: *307 + items: *308 examples: - default: *308 + default: *309 '404': *6 '500': *40 "/orgs/{org}/bypass-requests/secret-scanning": @@ -38663,7 +38664,7 @@ paths: subcategory: delegated-bypass parameters: - *87 - - *309 + - *310 - *103 - *104 - *105 @@ -38677,9 +38678,9 @@ paths: application/json: schema: type: array - items: *310 + items: *311 examples: - default: *311 + default: *312 '404': *6 '500': *40 "/orgs/{org}/campaigns": @@ -38706,7 +38707,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &313 + schema: &314 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -38732,7 +38733,7 @@ paths: application/json: schema: type: array - items: &314 + items: &315 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -38763,7 +38764,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *312 + items: *313 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -38781,7 +38782,7 @@ paths: type: string format: date-time nullable: true - state: *313 + state: *314 contact_link: description: The contact link of the campaign. type: string @@ -38878,7 +38879,7 @@ paths: headers: Link: *47 '404': *6 - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39001,9 +39002,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *315 examples: - default: &315 + default: &316 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -39052,7 +39053,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39086,16 +39087,16 @@ paths: description: Response content: application/json: - schema: *314 + schema: *315 examples: - default: *315 + default: *316 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39165,7 +39166,7 @@ paths: type: string format: uri nullable: true - state: *313 + state: *314 examples: default: value: @@ -39175,9 +39176,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *315 examples: - default: *315 + default: *316 '400': description: Bad Request content: @@ -39189,7 +39190,7 @@ paths: content: application/json: schema: *3 - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39221,7 +39222,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39244,8 +39245,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *87 - - *316 - *317 + - *318 - *108 - *109 - *19 @@ -39256,7 +39257,7 @@ paths: be returned. in: query required: false - schema: *318 + schema: *319 - name: sort description: The property by which to sort the results. in: query @@ -39298,13 +39299,13 @@ paths: application/json: schema: type: array - items: *319 + items: *320 examples: - default: *320 + default: *321 headers: Link: *47 '404': *6 - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39515,7 +39516,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *321 + code_scanning_options: *118 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -39740,11 +39741,11 @@ paths: - 32 - 91 responses: - '204': *154 + '204': *155 '400': *14 '403': *29 '404': *6 - '409': *118 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39880,6 +39881,7 @@ paths: - disabled - not_set code_scanning_default_setup_options: *117 + code_scanning_options: *118 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -40059,11 +40061,11 @@ paths: - *87 - *116 responses: - '204': *154 + '204': *155 '400': *14 '403': *29 '404': *6 - '409': *118 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40321,7 +40323,7 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *283 + repository: *284 machine: type: object title: Codespace machine @@ -41327,7 +41329,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - *87 - - *293 + - *294 responses: '200': description: Response @@ -41363,7 +41365,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - *87 - - *293 + - *294 requestBody: required: true content: @@ -41418,7 +41420,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *294 + schema: *295 examples: default: value: @@ -41445,7 +41447,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - *87 - - *293 + - *294 responses: '204': description: Response @@ -41471,7 +41473,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - *87 - - *293 + - *294 - *19 - *17 responses: @@ -41489,9 +41491,9 @@ paths: type: integer repositories: type: array - items: *283 + items: *284 examples: - default: *297 + default: *298 '404': *6 x-github: githubCloudOnly: false @@ -41514,7 +41516,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - *87 - - *293 + - *294 requestBody: required: true content: @@ -41565,7 +41567,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - *87 - - *293 + - *294 - name: repository_id in: path required: true @@ -41599,7 +41601,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - *87 - - *293 + - *294 - name: repository_id in: path required: true @@ -41802,9 +41804,9 @@ paths: currently being billed. seats: type: array - items: *145 + items: *146 examples: - default: *146 + default: *147 headers: Link: *47 '500': *40 @@ -42188,13 +42190,13 @@ paths: application/json: schema: type: array - items: *207 + items: *208 examples: - default: *208 + default: *209 '500': *40 '403': *29 '404': *6 - '422': *209 + '422': *210 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42221,15 +42223,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: - *87 - - *122 + - *123 responses: '200': description: Response content: application/json: - schema: *123 + schema: *124 examples: - default: *124 + default: *125 '500': *40 '403': *29 '404': *6 @@ -42264,9 +42266,9 @@ paths: description: Response content: application/json: - schema: *125 + schema: *126 examples: - default: *126 + default: *127 '500': *40 '403': *29 '404': *6 @@ -42296,15 +42298,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: - *87 - - *122 + - *123 responses: '200': description: Response content: application/json: - schema: *123 + schema: *124 examples: - default: *124 + default: *125 '500': *40 '403': *29 '404': *6 @@ -42339,9 +42341,9 @@ paths: description: Response content: application/json: - schema: *125 + schema: *126 examples: - default: *126 + default: *127 '500': *40 '403': *29 '404': *6 @@ -42716,7 +42718,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - *87 - - *141 + - *142 responses: '200': description: Response @@ -42747,7 +42749,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - *87 - - *141 + - *142 requestBody: required: true content: @@ -42817,7 +42819,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - *87 - - *141 + - *142 responses: '204': description: Response @@ -42897,7 +42899,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - *87 - - *141 + - *142 responses: '200': description: Response @@ -42934,7 +42936,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - *87 - - *141 + - *142 requestBody: required: true content: @@ -42987,7 +42989,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - *87 - - *141 + - *142 responses: '204': description: Response @@ -43235,7 +43237,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - *87 - - *293 + - *294 responses: '200': description: Response @@ -43270,7 +43272,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - *87 - - *293 + - *294 requestBody: required: true content: @@ -43329,7 +43331,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *294 + schema: *295 examples: default: value: @@ -43354,7 +43356,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - *87 - - *293 + - *294 responses: '204': description: Response @@ -43379,7 +43381,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - *87 - - *293 + - *294 - *19 - *17 responses: @@ -43397,9 +43399,9 @@ paths: type: integer repositories: type: array - items: *283 + items: *284 examples: - default: *297 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43421,7 +43423,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - *87 - - *293 + - *294 requestBody: required: true content: @@ -43472,7 +43474,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - *87 - - *293 + - *294 - name: repository_id in: path required: true @@ -43504,7 +43506,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - *87 - - *293 + - *294 - name: repository_id in: path required: true @@ -43588,7 +43590,7 @@ paths: - denied - all default: all - - *309 + - *310 - *17 - *19 responses: @@ -43842,7 +43844,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *87 - - *309 + - *310 - *103 - *104 - *105 @@ -44077,7 +44079,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *87 - - *309 + - *310 - *103 - *104 - *105 @@ -44458,7 +44460,7 @@ paths: application/json: schema: type: array - items: *246 + items: *247 examples: 200-response: value: @@ -46548,7 +46550,7 @@ paths: application/json: schema: type: array - items: *312 + items: *313 examples: default: &386 value: @@ -46875,7 +46877,7 @@ paths: - comments default: created - *110 - - *227 + - *228 - *17 - *19 responses: @@ -46885,7 +46887,7 @@ paths: application/json: schema: type: array - items: *220 + items: *221 examples: default: *375 headers: @@ -46947,7 +46949,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *213 headers: Link: *47 '422': *15 @@ -46968,7 +46970,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-organization-membership-for-a-user parameters: - *87 - - *142 + - *143 responses: '204': description: Response if requester is an organization member and user is @@ -47003,7 +47005,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-an-organization-member parameters: - *87 - - *142 + - *143 responses: '204': description: Response @@ -47030,7 +47032,7 @@ paths: - *17 - *19 - *87 - - *142 + - *143 responses: '200': description: Response @@ -47074,7 +47076,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - *87 - - *142 + - *143 - &378 name: codespace_name in: path @@ -47109,7 +47111,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - *87 - - *142 + - *143 - *378 responses: '200': @@ -47292,13 +47294,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - *87 - - *142 + - *143 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *145 + schema: *146 examples: default: value: @@ -47368,7 +47370,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-organization-membership-for-a-user parameters: - *87 - - *142 + - *143 responses: '200': description: Response @@ -47514,7 +47516,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-organization-membership-for-a-user parameters: - *87 - - *142 + - *143 requestBody: required: false content: @@ -47569,7 +47571,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-organization-membership-for-a-user parameters: - *87 - - *142 + - *143 responses: '204': description: Response @@ -48405,7 +48407,7 @@ paths: application/json: schema: type: array - items: *283 + items: *284 examples: default: &393 value: @@ -48852,7 +48854,7 @@ paths: updated_at: '2022-07-04T22:19:11Z' '422': *15 '404': *6 - '409': *118 + '409': *119 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -48875,7 +48877,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *87 - - *215 + - *216 responses: '204': description: Response @@ -48901,8 +48903,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *87 - - *215 - - *141 + - *216 + - *142 responses: '204': description: Response @@ -48932,8 +48934,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *87 - - *215 - - *141 + - *216 + - *142 responses: '204': description: Response @@ -48959,7 +48961,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - *87 - - *142 + - *143 responses: '204': description: Response @@ -48985,8 +48987,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - *87 + - *143 - *142 - - *141 responses: '204': description: Response @@ -49017,8 +49019,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - *87 + - *143 - *142 - - *141 responses: '204': description: Response @@ -49047,7 +49049,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - *87 - - *141 + - *142 responses: '200': description: Response @@ -49111,7 +49113,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - *87 - - *141 + - *142 requestBody: required: true content: @@ -49178,7 +49180,7 @@ paths: created_at: '2022-07-04T22:19:11Z' updated_at: '2022-07-04T22:19:11Z' '422': *15 - '409': *118 + '409': *119 '404': *6 x-github: githubCloudOnly: true @@ -49204,7 +49206,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - *87 - - *141 + - *142 responses: '204': description: Response @@ -49230,7 +49232,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *87 - - *141 + - *142 - *17 - *19 responses: @@ -49371,7 +49373,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *87 - - *141 + - *142 - *17 - *19 responses: @@ -49500,7 +49502,7 @@ paths: - type - url examples: - default: *212 + default: *213 headers: Link: *47 '404': @@ -49551,7 +49553,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *213 headers: Link: *47 x-github: @@ -49577,7 +49579,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - *87 - - *142 + - *143 requestBody: required: false content: @@ -49635,7 +49637,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - *87 - - *142 + - *143 responses: '204': description: Response @@ -50501,7 +50503,7 @@ paths: '422': *15 '404': *6 '403': *29 - '204': *154 + '204': *155 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50542,7 +50544,7 @@ paths: application/json: schema: type: array - items: *283 + items: *284 examples: default: *393 headers: @@ -50816,7 +50818,7 @@ paths: responses: '500': *40 '404': *6 - '204': *154 + '204': *155 '403': *29 '422': *15 x-github: @@ -50857,7 +50859,7 @@ paths: application/json: schema: type: array - items: *283 + items: *284 examples: default: *393 headers: @@ -51281,7 +51283,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - *87 - - *293 + - *294 responses: '200': description: The specified private registry configuration for the organization @@ -51311,7 +51313,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - *87 - - *293 + - *294 requestBody: required: true content: @@ -51416,7 +51418,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - *87 - - *293 + - *294 responses: '204': description: Response @@ -51787,7 +51789,7 @@ paths: description: The node ID of the project item. content: oneOf: - - *220 + - *221 - &580 title: Pull Request Simple description: Pull Request Simple @@ -51940,7 +51942,7 @@ paths: nullable: true requested_teams: type: array - items: *312 + items: *313 nullable: true head: type: object @@ -52016,7 +52018,7 @@ paths: - review_comments - review_comment - self - author_association: *221 + author_association: *222 auto_merge: &698 title: Auto merge description: The status of auto merging a pull request. @@ -53678,70 +53680,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 @@ -53754,8 +53748,20 @@ paths: application/json: schema: *411 examples: - issue: *412 - pull_request: *412 + issue_with_id: + summary: Response for adding an issue using its unique ID + value: *412 + pull_request_with_id: + summary: Response for adding a pull request using its unique ID + value: *412 + issue_with_nwo: + summary: Response for adding an issue using repository owner, name, + and issue number + value: *412 + pull_request_with_nwo: + summary: Response for adding a pull request using repository owner, + name, and PR number + value: *412 '304': *37 '403': *29 '401': *25 @@ -54018,9 +54024,9 @@ paths: application/json: schema: type: array - items: *156 + items: *157 examples: - default: *157 + default: *158 '403': *29 '404': *6 x-github: @@ -54058,7 +54064,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *156 + items: *157 minItems: 1 maxItems: 100 required: @@ -54088,9 +54094,9 @@ paths: application/json: schema: type: array - items: *156 + items: *157 examples: - default: *157 + default: *158 '403': *29 '404': *6 x-github: @@ -54112,15 +54118,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *87 - - *152 + - *153 responses: '200': description: Response content: application/json: - schema: *156 + schema: *157 examples: - default: *158 + default: *159 '403': *29 '404': *6 x-github: @@ -54144,7 +54150,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *87 - - *152 + - *153 requestBody: required: true content: @@ -54165,9 +54171,9 @@ paths: description: Response content: application/json: - schema: *156 + schema: *157 examples: - default: *158 + default: *159 '403': *29 '404': *6 x-github: @@ -54191,9 +54197,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *87 - - *152 + - *153 responses: - '204': *154 + '204': *155 '403': *29 '404': *6 x-github: @@ -54252,7 +54258,7 @@ paths: example: octocat/Hello-World properties: type: array - items: *155 + items: *156 description: List of custom property names and associated values required: - repository_id @@ -54321,7 +54327,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *155 + items: *156 required: - repository_names - properties @@ -54374,7 +54380,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *213 headers: Link: *47 x-github: @@ -54394,7 +54400,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-public-organization-membership-for-a-user parameters: - *87 - - *142 + - *143 responses: '204': description: Response if user is a public member @@ -54419,7 +54425,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - *87 - - *142 + - *143 responses: '204': description: Response @@ -54441,7 +54447,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - *87 - - *142 + - *143 responses: '204': description: Response @@ -54512,7 +54518,7 @@ paths: application/json: schema: type: array - items: *283 + items: *284 examples: default: *393 headers: @@ -55082,8 +55088,8 @@ paths: title: License Simple description: License Simple type: object - properties: *223 - required: *224 + properties: *224 + required: *225 nullable: true organization: title: Simple User @@ -55786,7 +55792,7 @@ paths: application/json: schema: type: array - items: *190 + items: *191 examples: default: value: @@ -55854,11 +55860,11 @@ paths: - push - repository default: branch - enforcement: *167 + enforcement: *168 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *168 + items: *169 conditions: *422 rules: type: array @@ -55868,7 +55874,6 @@ paths: type: object description: A repository rule. oneOf: - - *169 - *170 - *171 - *172 @@ -55889,6 +55894,7 @@ paths: - *187 - *188 - *189 + - *190 required: - name - enforcement @@ -55926,7 +55932,7 @@ paths: description: Response content: application/json: - schema: *190 + schema: *191 examples: default: &423 value: @@ -55993,7 +55999,7 @@ paths: schema: type: string x-multi-segment: true - - *309 + - *310 - *105 - &723 name: actor_name @@ -56309,7 +56315,7 @@ paths: description: Response content: application/json: - schema: *190 + schema: *191 examples: default: *423 '404': *6 @@ -56355,11 +56361,11 @@ paths: - tag - push - repository - enforcement: *167 + enforcement: *168 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *168 + items: *169 conditions: *422 rules: description: An array of rules within the ruleset. @@ -56399,7 +56405,7 @@ paths: description: Response content: application/json: - schema: *190 + schema: *191 examples: default: *423 '404': *6 @@ -56458,7 +56464,7 @@ paths: application/json: schema: type: array - items: *194 + items: *195 examples: default: *425 '404': *6 @@ -56605,7 +56611,7 @@ paths: headers: Link: *47 '404': *6 - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56667,7 +56673,7 @@ paths: schema: type: object properties: - pattern_config_version: *197 + pattern_config_version: *198 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -56693,7 +56699,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *197 + custom_pattern_version: *198 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -56729,7 +56735,7 @@ paths: '400': *14 '403': *29 '404': *6 - '409': *118 + '409': *119 '422': *15 "/orgs/{org}/security-advisories": get: @@ -56978,7 +56984,7 @@ paths: required: - vector_string - score - cvss_severities: *129 + cvss_severities: *130 cwes: type: array nullable: true @@ -57045,14 +57051,14 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *312 + items: *313 private_fork: readOnly: true nullable: true description: A temporary private fork of the advisory's repository for collaborating on a fix. allOf: - - *119 + - *120 required: - ghsa_id - cve_id @@ -57495,7 +57501,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - *87 - - *215 + - *216 responses: '204': description: Response @@ -57521,7 +57527,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - *87 - - *215 + - *216 responses: '204': description: Response @@ -57707,9 +57713,9 @@ paths: type: integer repositories: type: array - items: *283 + items: *284 examples: - default: *297 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57778,7 +57784,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *87 - - *277 + - *278 responses: '204': description: Response @@ -57801,7 +57807,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *87 - - *277 + - *278 responses: '204': description: Response @@ -57842,7 +57848,7 @@ paths: type: integer network_configurations: type: array - items: *147 + items: *148 examples: default: *445 headers: @@ -57907,9 +57913,9 @@ paths: description: Response content: application/json: - schema: *147 + schema: *148 examples: - default: *148 + default: *149 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57930,15 +57936,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *87 - - *149 + - *150 responses: '200': description: Response content: application/json: - schema: *147 + schema: *148 examples: - default: *148 + default: *149 headers: Link: *47 x-github: @@ -57960,7 +57966,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *87 - - *149 + - *150 requestBody: required: true content: @@ -57999,9 +58005,9 @@ paths: description: Response content: application/json: - schema: *147 + schema: *148 examples: - default: *148 + default: *149 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58021,7 +58027,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *87 - - *149 + - *150 responses: '204': description: Response @@ -58183,7 +58189,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - *87 - - *215 + - *216 - 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`). @@ -58215,13 +58221,13 @@ paths: application/json: schema: type: array - items: *207 + items: *208 examples: - default: *208 + default: *209 '500': *40 '403': *29 '404': *6 - '422': *209 + '422': *210 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58249,7 +58255,7 @@ paths: application/json: schema: type: array - items: *312 + items: *313 examples: default: *386 headers: @@ -58743,7 +58749,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - *87 - - *215 + - *216 responses: '200': description: Response @@ -58773,7 +58779,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - *87 - - *215 + - *216 requestBody: required: false content: @@ -58870,7 +58876,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - *87 - - *215 + - *216 responses: '204': description: Response @@ -58897,7 +58903,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - *87 - - *215 + - *216 - *110 - *17 - *19 @@ -58986,7 +58992,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *222 + reactions: *223 required: - author - body @@ -59077,7 +59083,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - *87 - - *215 + - *216 requestBody: required: true content: @@ -59184,7 +59190,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - *87 - - *215 + - *216 - &453 name: discussion_number description: The number that identifies the discussion. @@ -59222,7 +59228,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - *87 - - *215 + - *216 - *453 requestBody: required: false @@ -59317,7 +59323,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - *87 - - *215 + - *216 - *453 responses: '204': @@ -59342,7 +59348,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - *87 - - *215 + - *216 responses: '200': description: Response @@ -59370,7 +59376,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team parameters: - *87 - - *215 + - *216 requestBody: required: true content: @@ -59415,7 +59421,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - *87 - - *215 + - *216 responses: '204': description: Response @@ -59440,7 +59446,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - *87 - - *215 + - *216 - *17 - *19 responses: @@ -59475,7 +59481,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - *87 - - *215 + - *216 - name: role description: Filters members returned by their role in the team. in: query @@ -59498,7 +59504,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *213 headers: Link: *47 x-github: @@ -59529,8 +59535,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - *87 - - *215 - - *142 + - *216 + - *143 responses: '200': description: Response @@ -59600,8 +59606,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *87 - - *215 - - *142 + - *216 + - *143 requestBody: required: false content: @@ -59664,8 +59670,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - *87 - - *215 - - *142 + - *216 + - *143 responses: '204': description: Response @@ -59692,7 +59698,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - *87 - - *215 + - *216 - *17 - *19 responses: @@ -59702,7 +59708,7 @@ paths: application/json: schema: type: array - items: *283 + items: *284 examples: default: *393 headers: @@ -59734,7 +59740,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - *87 - - *215 + - *216 - *459 - *460 responses: @@ -59765,8 +59771,8 @@ paths: title: License Simple description: License Simple type: object - properties: *223 - required: *224 + properties: *224 + required: *225 nullable: true forks: type: integer @@ -60312,7 +60318,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - *87 - - *215 + - *216 - *459 - *460 requestBody: @@ -60360,7 +60366,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - *87 - - *215 + - *216 - *459 - *460 responses: @@ -60389,7 +60395,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team parameters: - *87 - - *215 + - *216 responses: '200': description: Response @@ -60420,7 +60426,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections parameters: - *87 - - *215 + - *216 requestBody: required: true content: @@ -60496,7 +60502,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - *87 - - *215 + - *216 - *17 - *19 responses: @@ -60506,7 +60512,7 @@ paths: application/json: schema: type: array - items: *312 + items: *313 examples: response-if-child-teams-exist: &802 value: @@ -61643,7 +61649,7 @@ paths: documentation_url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository '307': *467 '404': *6 - '409': *118 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62689,7 +62695,7 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: default: value: @@ -62799,7 +62805,7 @@ paths: description: Empty response content: application/json: - schema: *294 + schema: *295 examples: default: value: @@ -62996,7 +63002,7 @@ paths: type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *60 - selected_actions_url: *270 + selected_actions_url: *271 sha_pinning_required: *61 required: - enabled @@ -63161,7 +63167,7 @@ paths: description: Response content: application/json: - schema: *272 + schema: *273 examples: default: value: @@ -63196,7 +63202,7 @@ paths: required: true content: application/json: - schema: *273 + schema: *274 examples: default: summary: Set retention days @@ -63229,7 +63235,7 @@ paths: application/json: schema: *62 examples: - default: *274 + default: *275 '404': *6 x-github: enabledForGitHubApps: true @@ -63290,7 +63296,7 @@ paths: description: Response content: application/json: - schema: *275 + schema: *276 examples: default: *63 '403': *29 @@ -63318,7 +63324,7 @@ paths: required: true content: application/json: - schema: *276 + schema: *277 examples: default: *63 responses: @@ -63416,7 +63422,7 @@ paths: description: Response content: application/json: - schema: *279 + schema: *280 examples: default: *69 x-github: @@ -63451,7 +63457,7 @@ paths: required: true content: application/json: - schema: *280 + schema: *281 examples: default: *69 x-github: @@ -63534,9 +63540,9 @@ paths: application/json: schema: type: array - items: *284 + items: *285 examples: - default: *285 + default: *286 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63602,10 +63608,10 @@ paths: - no-gpu work_folder: _work responses: - '201': *286 + '201': *287 '404': *6 '422': *7 - '409': *118 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63642,7 +63648,7 @@ paths: application/json: schema: *79 examples: - default: *287 + default: *288 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63679,7 +63685,7 @@ paths: application/json: schema: *79 examples: - default: *288 + default: *289 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63711,7 +63717,7 @@ paths: application/json: schema: *76 examples: - default: *289 + default: *290 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63891,7 +63897,7 @@ paths: - *460 - *75 responses: - '200': *290 + '200': *291 '404': *6 x-github: githubCloudOnly: false @@ -63921,7 +63927,7 @@ paths: - *459 - *460 - *75 - - *291 + - *292 responses: '200': *81 '404': *6 @@ -64145,7 +64151,7 @@ paths: that triggered the run. type: array nullable: true - items: *225 + items: *226 created_at: type: string format: date-time @@ -64257,8 +64263,8 @@ paths: - author - committer nullable: true - repository: *283 - head_repository: *283 + repository: *284 + head_repository: *284 head_repository_id: type: integer example: 5 @@ -64944,7 +64950,7 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: default: value: @@ -65234,11 +65240,11 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: default: value: - '409': *118 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65338,11 +65344,11 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: default: value: - '409': *118 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65554,7 +65560,7 @@ paths: reviewer: anyOf: - *4 - - *312 + - *313 required: - environment - wait_timer @@ -65766,8 +65772,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *217 - required: *218 + properties: *218 + required: *219 required: - id - node_id @@ -65863,7 +65869,7 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: default: value: @@ -65909,7 +65915,7 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: default: value: @@ -66160,7 +66166,7 @@ paths: parameters: - *459 - *460 - - *293 + - *294 responses: '200': description: Response @@ -66196,7 +66202,7 @@ paths: parameters: - *459 - *460 - - *293 + - *294 requestBody: required: true content: @@ -66227,7 +66233,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *294 + schema: *295 examples: default: value: @@ -66255,7 +66261,7 @@ paths: parameters: - *459 - *460 - - *293 + - *294 responses: '204': description: Response @@ -66352,7 +66358,7 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: default: value: @@ -66379,7 +66385,7 @@ paths: parameters: - *459 - *460 - - *296 + - *297 responses: '200': description: Response @@ -66415,7 +66421,7 @@ paths: parameters: - *459 - *460 - - *296 + - *297 requestBody: required: true content: @@ -66459,7 +66465,7 @@ paths: parameters: - *459 - *460 - - *296 + - *297 responses: '204': description: Response @@ -66691,37 +66697,8 @@ paths: - *460 - *497 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: @@ -67102,7 +67079,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *213 headers: Link: *47 '404': *6 @@ -67762,7 +67739,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *312 + items: *313 apps: description: The list of apps with review dismissal access. @@ -67791,7 +67768,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *312 + items: *313 apps: description: The list of apps allowed to bypass pull request requirements. @@ -67880,7 +67857,7 @@ paths: type: string teams: type: array - items: *312 + items: *313 apps: type: array items: @@ -68222,12 +68199,12 @@ paths: nullable: true oneOf: - *4 - - *294 + - *295 committer: nullable: true oneOf: - *4 - - *294 + - *295 parents: type: array items: @@ -69006,7 +68983,7 @@ paths: items: *4 teams: type: array - items: *312 + items: *313 apps: type: array items: *5 @@ -69024,7 +69001,7 @@ paths: items: *4 teams: type: array - items: *312 + items: *313 apps: type: array items: *5 @@ -70411,7 +70388,7 @@ paths: application/json: schema: type: array - items: *312 + items: *313 examples: default: *386 '404': *6 @@ -70471,7 +70448,7 @@ paths: application/json: schema: type: array - items: *312 + items: *313 examples: default: *386 '422': *15 @@ -70532,7 +70509,7 @@ paths: application/json: schema: type: array - items: *312 + items: *313 examples: default: *386 '422': *15 @@ -70592,7 +70569,7 @@ paths: application/json: schema: type: array - items: *312 + items: *313 examples: default: *386 '422': *15 @@ -70628,7 +70605,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *213 '404': *6 x-github: githubCloudOnly: false @@ -70687,7 +70664,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *213 '422': *15 x-github: githubCloudOnly: false @@ -70747,7 +70724,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *213 '422': *15 x-github: githubCloudOnly: false @@ -70807,7 +70784,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *213 '422': *15 x-github: githubCloudOnly: false @@ -70987,9 +70964,9 @@ paths: application/json: schema: type: array - items: *307 + items: *308 examples: - default: *308 + default: *309 '404': *6 '500': *40 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -71024,7 +71001,7 @@ paths: description: Response content: application/json: - schema: *307 + schema: *308 examples: default: value: @@ -71098,9 +71075,9 @@ paths: application/json: schema: type: array - items: *310 + items: *311 examples: - default: *311 + default: *312 '404': *6 '403': *29 '500': *40 @@ -71137,7 +71114,7 @@ paths: description: A single bypass request. content: application/json: - schema: *310 + schema: *311 examples: default: value: @@ -71692,15 +71669,15 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *217 - required: *218 + properties: *218 + required: *219 pull_requests: description: Pull requests that are open with a `head_sha` or `head_branch` that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check. type: array - items: *225 + items: *226 deployment: &862 title: Deployment description: A deployment created as the result of an Actions @@ -71768,8 +71745,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *217 - required: *218 + properties: *218 + required: *219 required: - id - node_id @@ -72466,7 +72443,7 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: default: value: @@ -72591,7 +72568,7 @@ paths: nullable: true pull_requests: type: array - items: *225 + items: *226 nullable: true app: title: GitHub app @@ -72602,9 +72579,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *217 - required: *218 - repository: *283 + properties: *218 + required: *219 + repository: *284 created_at: type: string format: date-time @@ -73020,7 +72997,7 @@ paths: required: - app_id - setting - repository: *283 + repository: *284 examples: default: value: @@ -73468,7 +73445,7 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: default: value: @@ -73497,8 +73474,8 @@ paths: parameters: - *459 - *460 - - *316 - *317 + - *318 - *19 - *17 - &546 @@ -73534,7 +73511,7 @@ paths: be returned. in: query required: false - schema: *318 + schema: *319 - name: severity description: If specified, only code scanning alerts with this severity will be returned. @@ -73559,14 +73536,14 @@ paths: items: type: object properties: - number: *127 - created_at: *134 - updated_at: *135 - url: *132 - html_url: *133 + number: *128 + created_at: *135 + updated_at: *136 + url: *133 + html_url: *134 instances_url: *533 state: *113 - fixed_at: *137 + fixed_at: *138 dismissed_by: title: Simple User description: A GitHub user. @@ -73574,7 +73551,7 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *136 + dismissed_at: *137 dismissed_reason: *534 dismissed_comment: *535 rule: *536 @@ -73712,7 +73689,7 @@ paths: application/json: schema: *3 '404': *6 - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73742,7 +73719,7 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *127 + schema: *128 responses: '200': description: Response @@ -73751,14 +73728,14 @@ paths: schema: &541 type: object properties: - number: *127 - created_at: *134 - updated_at: *135 - url: *132 - html_url: *133 + number: *128 + created_at: *135 + updated_at: *136 + url: *133 + html_url: *134 instances_url: *533 state: *113 - fixed_at: *137 + fixed_at: *138 dismissed_by: title: Simple User description: A GitHub user. @@ -73766,7 +73743,7 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *136 + dismissed_at: *137 dismissed_reason: *534 dismissed_comment: *535 rule: @@ -73924,7 +73901,7 @@ paths: '304': *37 '403': *539 '404': *6 - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74071,7 +74048,7 @@ paths: application/json: schema: *3 '404': *6 - '503': *195 + '503': *196 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -74144,7 +74121,7 @@ paths: status: '400' '403': *539 '404': *6 - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74199,7 +74176,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74273,7 +74250,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74377,7 +74354,7 @@ paths: - source '403': *539 '404': *6 - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74411,8 +74388,8 @@ paths: parameters: - *459 - *460 - - *316 - *317 + - *318 - *19 - *17 - *547 @@ -74552,7 +74529,7 @@ paths: warning: '' '403': *539 '404': *6 - '503': *195 + '503': *196 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -74661,7 +74638,7 @@ paths: content: application/json: schema: *3 - '503': *195 + '503': *196 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -74797,7 +74774,7 @@ paths: '400': *14 '403': *545 '404': *6 - '503': *195 + '503': *196 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -74939,7 +74916,7 @@ paths: commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c '403': *539 '404': *6 - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75015,7 +74992,7 @@ paths: description: Found '403': *539 '404': *6 - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75048,7 +75025,7 @@ paths: description: Response '403': *545 '404': *6 - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75172,7 +75149,7 @@ paths: id: type: integer description: The ID of the variant analysis. - controller_repo: *119 + controller_repo: *120 actor: *4 query_language: *556 query_pack_url: @@ -75498,7 +75475,7 @@ paths: content: application/json: schema: *3 - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75536,7 +75513,7 @@ paths: examples: default: *559 '404': *6 - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75591,7 +75568,7 @@ paths: schema: type: object properties: - repository: *119 + repository: *120 analysis_status: *561 artifact_size_in_bytes: type: integer @@ -75696,7 +75673,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75805,7 +75782,7 @@ paths: schedule: weekly '403': *539 '404': *6 - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75892,7 +75869,7 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: default: value: @@ -75931,7 +75908,7 @@ paths: content: application/json: schema: *3 - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76073,7 +76050,7 @@ paths: '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *195 + '503': *196 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -76142,7 +76119,7 @@ paths: '403': *539 '404': description: Not Found if the sarif id does not match any upload - '503': *195 + '503': *196 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -76221,7 +76198,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': *154 + '204': *155 '304': *37 '403': *29 '404': *6 @@ -76761,7 +76738,7 @@ paths: '401': *25 '403': *29 '404': *6 - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -77064,7 +77041,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77178,7 +77155,7 @@ paths: parameters: - *459 - *460 - - *293 + - *294 responses: '200': description: Response @@ -77208,7 +77185,7 @@ paths: parameters: - *459 - *460 - - *293 + - *294 requestBody: required: true content: @@ -77236,7 +77213,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *294 + schema: *295 examples: default: value: @@ -77262,7 +77239,7 @@ paths: parameters: - *459 - *460 - - *293 + - *294 responses: '204': description: Response @@ -77502,7 +77479,7 @@ paths: parameters: - *459 - *460 - - *142 + - *143 responses: '204': description: Response if user is a collaborator @@ -77550,7 +77527,7 @@ paths: parameters: - *459 - *460 - - *142 + - *143 requestBody: required: false content: @@ -77587,7 +77564,7 @@ paths: example: 42 type: integer format: int64 - repository: *283 + repository: *284 invitee: title: Simple User description: A GitHub user. @@ -77765,7 +77742,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *258 + schema: *259 '403': *29 x-github: triggersNotification: true @@ -77807,7 +77784,7 @@ paths: parameters: - *459 - *460 - - *142 + - *143 responses: '204': description: No Content when collaborator was removed from the repository. @@ -77840,7 +77817,7 @@ paths: parameters: - *459 - *460 - - *142 + - *143 responses: '200': description: if user has admin permissions @@ -77968,8 +77945,8 @@ paths: updated_at: type: string format: date-time - author_association: *221 - reactions: *222 + author_association: *222 + reactions: *223 required: - url - html_url @@ -78046,7 +78023,7 @@ paths: parameters: - *459 - *460 - - *236 + - *237 responses: '200': description: Response @@ -78113,7 +78090,7 @@ paths: parameters: - *459 - *460 - - *236 + - *237 requestBody: required: true content: @@ -78188,7 +78165,7 @@ paths: parameters: - *459 - *460 - - *236 + - *237 responses: '204': description: Response @@ -78211,7 +78188,7 @@ paths: parameters: - *459 - *460 - - *236 + - *237 - 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. @@ -78327,7 +78304,7 @@ paths: parameters: - *459 - *460 - - *236 + - *237 requestBody: required: true content: @@ -78416,7 +78393,7 @@ paths: parameters: - *459 - *460 - - *236 + - *237 - &656 name: reaction_id description: The unique identifier of the reaction. @@ -78605,7 +78582,7 @@ paths: '500': *40 '400': *14 '404': *6 - '409': *118 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78674,7 +78651,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc protected: false '422': *15 - '409': *118 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79302,7 +79279,7 @@ paths: draft: false headers: Link: *47 - '409': *118 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79467,8 +79444,8 @@ paths: '422': *15 '404': *6 '500': *40 - '503': *195 - '409': *118 + '503': *196 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79855,7 +79832,7 @@ paths: type: string total_count: type: integer - repository: *283 + repository: *284 commit_url: type: string format: uri @@ -80158,8 +80135,8 @@ paths: title: License Simple description: License Simple type: object - properties: *223 - required: *224 + properties: *224 + required: *225 nullable: true contributing: title: Community Health File @@ -80622,7 +80599,7 @@ paths: module Test" '404': *6 '500': *40 - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81682,8 +81659,8 @@ paths: verified_at: '422': *15 '404': *6 - '409': *118 - '503': *195 + '409': *119 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81865,7 +81842,7 @@ paths: type: object description: A Dependabot alert. properties: - number: *127 + number: *128 state: type: string description: The state of the Dependabot alert. @@ -81880,7 +81857,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *128 + package: *129 manifest_path: type: string description: The full path to the dependency manifest file, @@ -81908,12 +81885,12 @@ paths: - direct - transitive security_advisory: *594 - security_vulnerability: *131 - url: *132 - html_url: *133 - created_at: *134 - updated_at: *135 - dismissed_at: *136 + security_vulnerability: *132 + url: *133 + html_url: *134 + created_at: *135 + updated_at: *136 + dismissed_at: *137 dismissed_by: title: Simple User description: A GitHub user. @@ -81937,7 +81914,7 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *137 + fixed_at: *138 auto_dismissed_at: *595 dismissal_request: *596 required: @@ -82180,7 +82157,7 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *127 + schema: *128 responses: '200': description: Response @@ -82452,7 +82429,7 @@ paths: '400': *14 '403': *29 '404': *6 - '409': *118 + '409': *119 '422': *7 x-github: githubCloudOnly: false @@ -82578,7 +82555,7 @@ paths: parameters: - *459 - *460 - - *293 + - *294 responses: '200': description: Response @@ -82612,7 +82589,7 @@ paths: parameters: - *459 - *460 - - *293 + - *294 requestBody: required: true content: @@ -82640,7 +82617,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *294 + schema: *295 examples: default: value: @@ -82666,7 +82643,7 @@ paths: parameters: - *459 - *460 - - *293 + - *294 responses: '204': description: Response @@ -83810,8 +83787,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *217 - required: *218 + properties: *218 + required: *219 required: - id - node_id @@ -84880,7 +84857,7 @@ paths: reviewer: anyOf: - *4 - - *312 + - *313 required: - id - node_id @@ -85910,7 +85887,7 @@ paths: - *459 - *460 - *620 - - *293 + - *294 responses: '200': description: Response @@ -85943,7 +85920,7 @@ paths: - *459 - *460 - *620 - - *293 + - *294 requestBody: required: true content: @@ -85974,7 +85951,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *294 + schema: *295 examples: default: value: @@ -86003,7 +85980,7 @@ paths: - *459 - *460 - *620 - - *293 + - *294 responses: '204': description: Default response @@ -86102,7 +86079,7 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: default: value: @@ -86130,7 +86107,7 @@ paths: - *459 - *460 - *620 - - *296 + - *297 responses: '200': description: Response @@ -86161,7 +86138,7 @@ paths: parameters: - *459 - *460 - - *296 + - *297 - *620 requestBody: required: true @@ -86206,7 +86183,7 @@ paths: parameters: - *459 - *460 - - *296 + - *297 - *620 responses: '204': @@ -86240,7 +86217,7 @@ paths: application/json: schema: type: array - items: *246 + items: *247 examples: 200-response: value: @@ -86321,7 +86298,7 @@ paths: application/json: schema: type: array - items: *283 + items: *284 examples: default: value: @@ -86566,7 +86543,7 @@ paths: schema: type: string '404': *6 - '409': *118 + '409': *119 '403': *29 '422': description: Validation failed @@ -86574,7 +86551,7 @@ paths: application/json: schema: oneOf: - - *258 + - *259 - *633 x-github: githubCloudOnly: false @@ -86652,7 +86629,7 @@ paths: '404': *6 '422': *15 '403': *29 - '409': *118 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86974,7 +86951,7 @@ paths: type: string '422': *15 '404': *6 - '409': *118 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87063,7 +87040,7 @@ paths: payload: verified_at: '404': *6 - '409': *118 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87161,7 +87138,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: Link: *47 - '409': *118 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87202,7 +87179,7 @@ paths: sha: aa218f56b14c9653891f9e74264a383fa43fefbd url: https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd '404': *6 - '409': *118 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87260,7 +87237,7 @@ paths: schema: type: string '422': *15 - '409': *118 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87314,7 +87291,7 @@ paths: examples: default: *637 '422': *15 - '409': *118 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87339,7 +87316,7 @@ paths: '422': description: Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed. - '409': *118 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87543,7 +87520,7 @@ paths: schema: type: string '422': *15 - '409': *118 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87605,7 +87582,7 @@ paths: examples: default: *640 '404': *6 - '409': *118 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87774,7 +87751,7 @@ paths: '422': *15 '404': *6 '403': *29 - '409': *118 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87862,7 +87839,7 @@ paths: truncated: false '422': *15 '404': *6 - '409': *118 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88513,8 +88490,8 @@ paths: - *459 - *460 responses: - '204': *154 - '409': *118 + '204': *155 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88534,8 +88511,8 @@ paths: - *459 - *460 responses: - '204': *154 - '409': *118 + '204': *155 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89818,7 +89795,7 @@ paths: - comments default: created - *110 - - *227 + - *228 - *17 - *19 responses: @@ -89828,7 +89805,7 @@ paths: application/json: schema: type: array - items: *220 + items: *221 examples: default: &663 value: @@ -90090,7 +90067,7 @@ paths: description: Response content: application/json: - schema: *220 + schema: *221 examples: default: &660 value: @@ -90246,7 +90223,7 @@ paths: '400': *14 '403': *29 '422': *15 - '503': *195 + '503': *196 '404': *6 '410': *652 x-github: @@ -90278,7 +90255,7 @@ paths: parameters: - *459 - *460 - - *244 + - *245 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -90288,7 +90265,7 @@ paths: enum: - asc - desc - - *227 + - *228 - *17 - *19 responses: @@ -90360,7 +90337,7 @@ paths: parameters: - *459 - *460 - - *236 + - *237 responses: '200': description: Response @@ -90424,7 +90401,7 @@ paths: parameters: - *459 - *460 - - *236 + - *237 requestBody: required: true content: @@ -90468,7 +90445,7 @@ paths: parameters: - *459 - *460 - - *236 + - *237 responses: '204': description: Response @@ -90490,7 +90467,7 @@ paths: parameters: - *459 - *460 - - *236 + - *237 - 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. @@ -90541,7 +90518,7 @@ paths: parameters: - *459 - *460 - - *236 + - *237 requestBody: required: true content: @@ -90606,7 +90583,7 @@ paths: parameters: - *459 - *460 - - *236 + - *237 - *656 responses: '204': @@ -90726,7 +90703,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *312 + requested_team: *313 dismissed_review: title: Issue Event Dismissed Review type: object @@ -90791,7 +90768,7 @@ paths: required: - from - to - author_association: *221 + author_association: *222 lock_reason: type: string nullable: true @@ -90804,8 +90781,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *217 - required: *218 + properties: *218 + required: *219 required: - id - node_id @@ -91241,7 +91218,7 @@ paths: description: Response content: application/json: - schema: *220 + schema: *221 examples: default: *660 '301': *465 @@ -91377,11 +91354,11 @@ paths: description: Response content: application/json: - schema: *220 + schema: *221 examples: default: *660 '422': *15 - '503': *195 + '503': *196 '403': *29 '301': *465 '404': *6 @@ -91431,7 +91408,7 @@ paths: description: Response content: application/json: - schema: *220 + schema: *221 examples: default: *660 x-github: @@ -91476,7 +91453,7 @@ paths: description: Response content: application/json: - schema: *220 + schema: *221 examples: default: *660 x-github: @@ -91545,7 +91522,7 @@ paths: - *459 - *460 - *661 - - *227 + - *228 - *17 - *19 responses: @@ -91663,7 +91640,7 @@ paths: application/json: schema: type: array - items: *220 + items: *221 examples: default: *663 headers: @@ -91722,7 +91699,7 @@ paths: description: Response content: application/json: - schema: *220 + schema: *221 examples: default: *660 headers: @@ -91777,7 +91754,7 @@ paths: description: Response content: application/json: - schema: *220 + schema: *221 examples: default: *660 '301': *465 @@ -91823,7 +91800,7 @@ paths: application/json: schema: type: array - items: *220 + items: *221 examples: default: *663 headers: @@ -91894,8 +91871,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *217 - required: *218 + properties: *218 + required: *219 label: type: object properties: @@ -91948,8 +91925,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *217 - required: *218 + properties: *218 + required: *219 label: type: object properties: @@ -92037,8 +92014,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *217 - required: *218 + properties: *218 + required: *219 assignee: *4 assigner: *4 required: @@ -92084,8 +92061,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *217 - required: *218 + properties: *218 + required: *219 milestone: type: object properties: @@ -92135,8 +92112,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *217 - required: *218 + properties: *218 + required: *219 milestone: type: object properties: @@ -92186,8 +92163,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *217 - required: *218 + properties: *218 + required: *219 rename: type: object properties: @@ -92240,10 +92217,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *217 - required: *218 + properties: *218 + required: *219 review_requester: *4 - requested_team: *312 + requested_team: *313 requested_reviewer: *4 required: - review_requester @@ -92287,10 +92264,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *217 - required: *218 + properties: *218 + required: *219 review_requester: *4 - requested_team: *312 + requested_team: *313 requested_reviewer: *4 required: - review_requester @@ -92334,8 +92311,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *217 - required: *218 + properties: *218 + required: *219 dismissed_review: type: object properties: @@ -92394,8 +92371,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *217 - required: *218 + properties: *218 + required: *219 lock_reason: type: string example: '"off-topic"' @@ -92442,8 +92419,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *217 - required: *218 + properties: *218 + required: *219 project_card: type: object properties: @@ -92508,8 +92485,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *217 - required: *218 + properties: *218 + required: *219 project_card: type: object properties: @@ -92574,8 +92551,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *217 - required: *218 + properties: *218 + required: *219 project_card: type: object properties: @@ -92729,7 +92706,7 @@ paths: application/json: schema: type: array - items: *219 + items: *220 examples: default: &664 value: @@ -92829,7 +92806,7 @@ paths: application/json: schema: type: array - items: *219 + items: *220 examples: default: *664 '301': *465 @@ -92913,7 +92890,7 @@ paths: application/json: schema: type: array - items: *219 + items: *220 examples: default: *664 '301': *465 @@ -92977,7 +92954,7 @@ paths: application/json: schema: type: array - items: *219 + items: *220 examples: default: value: @@ -93098,7 +93075,7 @@ paths: description: Response content: application/json: - schema: *220 + schema: *221 examples: default: *660 '301': *465 @@ -93293,7 +93270,7 @@ paths: description: Response content: application/json: - schema: *220 + schema: *221 examples: default: *660 headers: @@ -93340,7 +93317,7 @@ paths: application/json: schema: type: array - items: *220 + items: *221 examples: default: *663 headers: @@ -93403,7 +93380,7 @@ paths: description: Response content: application/json: - schema: *220 + schema: *221 examples: default: *660 headers: @@ -93465,13 +93442,13 @@ paths: description: Response content: application/json: - schema: *220 + schema: *221 examples: default: *660 '403': *29 '404': *6 '422': *7 - '503': *195 + '503': *196 x-github: triggersNotification: true githubCloudOnly: false @@ -93561,7 +93538,7 @@ paths: issue_url: type: string format: uri - author_association: *221 + author_association: *222 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -93571,9 +93548,9 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *217 - required: *218 - reactions: *222 + properties: *218 + required: *219 + reactions: *223 required: - event - actor @@ -93604,7 +93581,7 @@ paths: properties: type: type: string - issue: *220 + issue: *221 required: - event - created_at @@ -93804,7 +93781,7 @@ paths: type: string body_text: type: string - author_association: *221 + author_association: *222 required: - event - id @@ -93891,7 +93868,13 @@ paths: description: The comment ID to reply to. example: 8 type: integer - user: *4 + user: + title: Simple User + description: A GitHub user. + type: object + properties: *20 + required: *21 + nullable: true body: description: The text of the comment. example: We should probably include a check for null @@ -93916,7 +93899,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *221 + author_association: *222 _links: type: object properties: @@ -94000,7 +93983,7 @@ paths: enum: - line - file - reactions: *222 + reactions: *223 body_html: type: string example: '"

comment body

"' @@ -94067,8 +94050,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *217 - required: *218 + properties: *218 + required: *219 assignee: *4 required: - id @@ -94111,8 +94094,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *217 - required: *218 + properties: *218 + required: *219 assignee: *4 required: - id @@ -94155,8 +94138,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *217 - required: *218 + properties: *218 + required: *219 state_reason: type: string nullable: true @@ -94559,7 +94542,7 @@ paths: application/json: schema: type: array - items: *219 + items: *220 examples: default: *664 headers: @@ -94619,7 +94602,7 @@ paths: description: Response content: application/json: - schema: *219 + schema: *220 examples: default: &681 value: @@ -94665,7 +94648,7 @@ paths: description: Response content: application/json: - schema: *219 + schema: *220 examples: default: *681 '404': *6 @@ -94724,7 +94707,7 @@ paths: description: Response content: application/json: - schema: *219 + schema: *220 examples: default: value: @@ -94934,8 +94917,8 @@ paths: title: License Simple description: License Simple type: object - properties: *223 - required: *224 + properties: *224 + required: *225 nullable: true required: - _links @@ -95476,7 +95459,7 @@ paths: application/json: schema: type: array - items: *219 + items: *220 examples: default: *664 headers: @@ -95501,7 +95484,7 @@ paths: - *460 - *686 - *687 - - *227 + - *228 - *688 - *17 - *19 @@ -95512,7 +95495,7 @@ paths: application/json: schema: type: array - items: *247 + items: *248 examples: default: *689 headers: @@ -95829,7 +95812,7 @@ paths: examples: default: *691 '422': *15 - '409': *118 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95937,7 +95920,7 @@ paths: description: Response '422': *15 '400': *14 - '409': *118 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95965,7 +95948,7 @@ paths: description: Response '422': *15 '404': *6 - '409': *118 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96397,7 +96380,7 @@ paths: - *460 - *694 responses: - '204': *154 + '204': *155 '404': *6 x-github: githubCloudOnly: false @@ -96654,7 +96637,7 @@ paths: description: Empty response content: application/json: - schema: *294 + schema: *295 examples: default: value: @@ -96722,7 +96705,7 @@ paths: - *459 - *460 responses: - '204': *154 + '204': *155 '422': *14 x-github: githubCloudOnly: false @@ -96744,7 +96727,7 @@ paths: - *459 - *460 responses: - '204': *154 + '204': *155 '422': *14 x-github: githubCloudOnly: false @@ -96773,7 +96756,7 @@ paths: application/json: schema: type: array - items: *155 + items: *156 examples: default: *695 '403': *29 @@ -96810,7 +96793,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *155 + items: *156 required: - properties examples: @@ -97226,7 +97209,7 @@ paths: - review_comments - review_comment - self - author_association: *221 + author_association: *222 auto_merge: *698 draft: description: Indicates whether or not the pull request is a draft. @@ -97866,7 +97849,7 @@ paths: enum: - asc - desc - - *227 + - *228 - *17 - *19 responses: @@ -97957,7 +97940,7 @@ paths: parameters: - *459 - *460 - - *236 + - *237 responses: '200': description: Response @@ -98042,7 +98025,7 @@ paths: parameters: - *459 - *460 - - *236 + - *237 requestBody: required: true content: @@ -98084,7 +98067,7 @@ paths: parameters: - *459 - *460 - - *236 + - *237 responses: '204': description: Response @@ -98107,7 +98090,7 @@ paths: parameters: - *459 - *460 - - *236 + - *237 - 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. @@ -98158,7 +98141,7 @@ paths: parameters: - *459 - *460 - - *236 + - *237 requestBody: required: true content: @@ -98223,7 +98206,7 @@ paths: parameters: - *459 - *460 - - *236 + - *237 - *656 responses: '204': @@ -98293,7 +98276,7 @@ paths: application/json: schema: *3 '500': *40 - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98463,7 +98446,7 @@ paths: '401': *25 '403': *29 '404': *6 - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98492,7 +98475,7 @@ paths: - *459 - *460 - *703 - - *244 + - *245 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -98502,7 +98485,7 @@ paths: enum: - asc - desc - - *227 + - *228 - *17 - *19 responses: @@ -98745,7 +98728,7 @@ paths: - *459 - *460 - *703 - - *236 + - *237 requestBody: required: true content: @@ -98928,7 +98911,7 @@ paths: Link: *47 '422': *15 '500': *40 - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99103,7 +99086,7 @@ paths: items: *4 teams: type: array - items: *312 + items: *313 required: - users - teams @@ -100359,7 +100342,7 @@ paths: type: string body_text: type: string - author_association: *221 + author_association: *222 required: - id - node_id @@ -100878,7 +100861,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *221 + author_association: *222 _links: type: object properties: @@ -100893,7 +100876,7 @@ paths: type: string body_html: type: string - reactions: *222 + reactions: *223 side: description: The side of the first line of the range for a multi-line comment. @@ -102419,7 +102402,7 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *169 + - *170 - &718 title: repository ruleset data for rule description: User-defined metadata to store domain-specific @@ -102439,9 +102422,6 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *170 - - *718 - allOf: - *171 - *718 @@ -102449,10 +102429,10 @@ paths: - *172 - *718 - allOf: - - *719 + - *173 - *718 - allOf: - - *173 + - *719 - *718 - allOf: - *174 @@ -102502,6 +102482,9 @@ paths: - allOf: - *189 - *718 + - allOf: + - *190 + - *718 examples: default: value: @@ -102560,7 +102543,7 @@ paths: application/json: schema: type: array - items: *190 + items: *191 examples: default: value: @@ -102628,12 +102611,12 @@ paths: - tag - push default: branch - enforcement: *167 + enforcement: *168 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *168 - conditions: *161 + items: *169 + conditions: *162 rules: type: array description: An array of rules within the ruleset. @@ -102668,7 +102651,7 @@ paths: description: Response content: application/json: - schema: *190 + schema: *191 examples: default: &730 value: @@ -102812,7 +102795,7 @@ paths: description: Response content: application/json: - schema: *190 + schema: *191 examples: default: *730 '404': *6 @@ -102858,12 +102841,12 @@ paths: - branch - tag - push - enforcement: *167 + enforcement: *168 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *168 - conditions: *161 + items: *169 + conditions: *162 rules: description: An array of rules within the ruleset. type: array @@ -102895,7 +102878,7 @@ paths: description: Response content: application/json: - schema: *190 + schema: *191 examples: default: *730 '404': *6 @@ -102956,7 +102939,7 @@ paths: application/json: schema: type: array - items: *194 + items: *195 examples: default: *425 '404': *6 @@ -103077,8 +103060,8 @@ paths: items: &736 type: object properties: - number: *127 - created_at: *134 + number: *128 + created_at: *135 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -103086,8 +103069,8 @@ paths: format: date-time readOnly: true nullable: true - url: *132 - html_url: *133 + url: *133 + html_url: *134 locations_url: type: string format: uri @@ -103317,7 +103300,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103379,7 +103362,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103520,7 +103503,7 @@ paths: '422': description: State does not match the resolution or resolution comment, or assignee does not have write access to the repository - '503': *195 + '503': *196 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -103657,7 +103640,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103735,7 +103718,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *195 + '503': *196 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -103764,7 +103747,7 @@ paths: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *195 + '503': *196 '200': description: Response content: @@ -104801,7 +104784,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *258 + schema: *259 examples: invalid_state_transition: value: @@ -105020,7 +105003,7 @@ paths: - 1124 - -435 '202': *39 - '204': *154 + '204': *155 '422': description: Repository contains more than 10,000 commits x-github: @@ -105090,7 +105073,7 @@ paths: total: 89 week: 1336280400 '202': *39 - '204': *154 + '204': *155 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105192,7 +105175,7 @@ paths: d: 77 c: 10 '202': *39 - '204': *154 + '204': *155 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105393,7 +105376,7 @@ paths: - - 0 - 2 - 21 - '204': *154 + '204': *155 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105535,7 +105518,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *213 headers: Link: *47 x-github: @@ -105987,7 +105970,7 @@ paths: application/json: schema: type: array - items: *312 + items: *313 examples: default: *386 headers: @@ -106517,7 +106500,7 @@ paths: description: Response content: application/json: - schema: *283 + schema: *284 examples: default: value: @@ -106965,7 +106948,7 @@ paths: application/json: schema: type: array - items: *283 + items: *284 examples: default: value: @@ -109144,7 +109127,7 @@ paths: html_url: type: string format: uri - repository: *283 + repository: *284 score: type: number file_size: @@ -109276,7 +109259,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *37 - '503': *195 + '503': *196 '422': *15 '403': *29 x-github: @@ -109448,7 +109431,7 @@ paths: type: string sha: type: string - repository: *283 + repository: *284 score: type: number node_id: @@ -109812,7 +109795,7 @@ paths: type: string score: type: number - author_association: *221 + author_association: *222 draft: type: boolean repository: *78 @@ -109833,9 +109816,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *217 - required: *218 - reactions: *222 + properties: *218 + required: *219 + reactions: *223 required: - assignee - closed_at @@ -109951,7 +109934,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *195 + '503': *196 '422': *15 '304': *37 '403': *29 @@ -110353,8 +110336,8 @@ paths: title: License Simple description: License Simple type: object - properties: *223 - required: *224 + properties: *224 + required: *225 nullable: true permissions: type: object @@ -110575,7 +110558,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *195 + '503': *196 '422': *15 '304': *37 x-github: @@ -111030,7 +111013,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *37 - '503': *195 + '503': *196 '422': *15 x-github: githubCloudOnly: false @@ -111501,7 +111484,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *213 headers: Link: *47 '404': *6 @@ -111530,7 +111513,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - *796 - - *142 + - *143 responses: '204': description: if user is a member @@ -111567,7 +111550,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - *796 - - *142 + - *143 responses: '204': description: Response @@ -111607,7 +111590,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - *796 - - *142 + - *143 responses: '204': description: Response @@ -111644,7 +111627,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user-legacy parameters: - *796 - - *142 + - *143 responses: '200': description: Response @@ -111686,7 +111669,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - *796 - - *142 + - *143 requestBody: required: false content: @@ -111748,7 +111731,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - *796 - - *142 + - *143 responses: '204': description: Response @@ -111785,7 +111768,7 @@ paths: application/json: schema: type: array - items: *283 + items: *284 examples: default: *393 headers: @@ -112192,7 +112175,7 @@ paths: application/json: schema: type: array - items: *312 + items: *313 examples: response-if-child-teams-exist: *802 headers: @@ -112662,7 +112645,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *213 '304': *37 '404': *6 '403': *29 @@ -112685,7 +112668,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: - - *142 + - *143 responses: '204': description: If the user is blocked @@ -112713,7 +112696,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#block-a-user parameters: - - *142 + - *143 responses: '204': description: Response @@ -112737,7 +112720,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#unblock-a-user parameters: - - *142 + - *143 responses: '204': description: Response @@ -112941,7 +112924,7 @@ paths: '401': *25 '403': *29 '404': *6 - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -113091,7 +113074,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: - - *293 + - *294 responses: '200': description: Response @@ -113127,7 +113110,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: - - *293 + - *294 requestBody: required: true content: @@ -113172,7 +113155,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *294 + schema: *295 examples: default: value: @@ -113200,7 +113183,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: - - *293 + - *294 responses: '204': description: Response @@ -113225,7 +113208,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: - - *293 + - *294 responses: '200': description: Response @@ -113241,7 +113224,7 @@ paths: type: integer repositories: type: array - items: *283 + items: *284 examples: default: *806 '401': *25 @@ -113268,7 +113251,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: - - *293 + - *294 requestBody: required: true content: @@ -113322,7 +113305,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: - - *293 + - *294 - name: repository_id in: path required: true @@ -113355,7 +113338,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: - - *293 + - *294 - name: repository_id in: path required: true @@ -114516,7 +114499,7 @@ paths: schema: *3 '403': *29 '404': *6 - '409': *118 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -114929,7 +114912,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *213 headers: Link: *47 '304': *37 @@ -114962,7 +114945,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *213 headers: Link: *47 '304': *37 @@ -114984,7 +114967,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: - - *142 + - *143 responses: '204': description: if the person is followed by the authenticated user @@ -115014,7 +114997,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#follow-a-user parameters: - - *142 + - *143 responses: '204': description: Response @@ -115039,7 +115022,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#unfollow-a-user parameters: - - *142 + - *143 responses: '204': description: Response @@ -115578,7 +115561,7 @@ paths: type: array items: *78 examples: - default: *278 + default: *279 headers: Link: *47 '404': *6 @@ -115603,7 +115586,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *277 + - *278 responses: '204': description: Response @@ -115629,7 +115612,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *277 + - *278 responses: '204': description: Response @@ -115797,7 +115780,7 @@ paths: - comments default: created - *110 - - *227 + - *228 - *17 - *19 responses: @@ -115807,7 +115790,7 @@ paths: application/json: schema: type: array - items: *220 + items: *221 examples: default: *375 headers: @@ -116099,7 +116082,7 @@ paths: - id - type - login - plan: *238 + plan: *239 required: - billing_cycle - next_billing_date @@ -117217,7 +117200,7 @@ paths: application/json: schema: type: array - items: *283 + items: *284 examples: default: *393 headers: @@ -117256,7 +117239,7 @@ paths: type: array items: *73 examples: - default: *251 + default: *252 headers: Link: *47 '304': *37 @@ -118191,7 +118174,7 @@ paths: '204': description: Response '403': *29 - '409': *118 + '409': *119 '404': *6 '304': *37 x-github: @@ -118213,7 +118196,7 @@ paths: responses: '204': description: Response - '409': *118 + '409': *119 '304': *37 '404': *6 '403': *29 @@ -118863,7 +118846,7 @@ paths: application/json: schema: type: array - items: *283 + items: *284 examples: default: *393 headers: @@ -118980,7 +118963,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user-using-their-id parameters: - - *240 + - *241 responses: '200': description: Response @@ -119159,7 +119142,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *213 headers: Link: example: ; rel="next" @@ -119189,7 +119172,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user parameters: - - *142 + - *143 responses: '200': description: Response @@ -119227,7 +119210,7 @@ paths: - *17 - *108 - *109 - - *142 + - *143 requestBody: required: true content: @@ -119323,7 +119306,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-in-bulk parameters: - - *142 + - *143 requestBody: required: true content: @@ -119388,7 +119371,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *142 + - *143 - name: subject_digest description: Subject Digest in: path @@ -119419,7 +119402,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-id parameters: - - *142 + - *143 - name: attestation_id description: Attestation ID in: path @@ -119457,7 +119440,7 @@ paths: - *17 - *108 - *109 - - *142 + - *143 - name: subject_digest description: Subject Digest in: path @@ -119515,7 +119498,7 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: default: value: @@ -119541,7 +119524,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: - - *142 + - *143 responses: '200': description: Response @@ -119574,7 +119557,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-for-the-authenticated-user parameters: - - *142 + - *143 - *17 - *19 responses: @@ -119584,7 +119567,7 @@ paths: application/json: schema: type: array - items: *246 + items: *247 examples: default: value: @@ -119646,7 +119629,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: - - *142 + - *143 - *87 - *17 - *19 @@ -119657,7 +119640,7 @@ paths: application/json: schema: type: array - items: *246 + items: *247 examples: default: value: @@ -119734,7 +119717,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-user parameters: - - *142 + - *143 - *17 - *19 responses: @@ -119744,7 +119727,7 @@ paths: application/json: schema: type: array - items: *246 + items: *247 examples: default: value: @@ -119802,7 +119785,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-followers-of-a-user parameters: - - *142 + - *143 - *17 - *19 responses: @@ -119814,7 +119797,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *213 headers: Link: *47 x-github: @@ -119833,7 +119816,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-the-people-a-user-follows parameters: - - *142 + - *143 - *17 - *19 responses: @@ -119845,7 +119828,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *213 headers: Link: *47 x-github: @@ -119864,7 +119847,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: - - *142 + - *143 - name: target_user in: path required: true @@ -119891,8 +119874,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - - *142 - - *227 + - *143 + - *228 - *17 - *19 responses: @@ -119902,9 +119885,9 @@ paths: application/json: schema: type: array - items: *228 + items: *229 examples: - default: *229 + default: *230 headers: Link: *47 '422': *15 @@ -119925,7 +119908,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: - - *142 + - *143 - *17 - *19 responses: @@ -119961,7 +119944,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-contextual-information-for-a-user parameters: - - *142 + - *143 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -120033,7 +120016,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: - - *142 + - *143 responses: '200': description: Response @@ -120059,7 +120042,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#list-public-keys-for-a-user parameters: - - *142 + - *143 - *17 - *19 responses: @@ -120114,7 +120097,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations-for-a-user parameters: - - *142 + - *143 - *17 - *19 responses: @@ -120126,7 +120109,7 @@ paths: type: array items: *73 examples: - default: *251 + default: *252 headers: Link: *47 x-github: @@ -120166,7 +120149,7 @@ paths: - nuget - container - *820 - - *142 + - *143 - *19 - *17 responses: @@ -120203,7 +120186,7 @@ paths: parameters: - *389 - *390 - - *142 + - *143 responses: '200': description: Response @@ -120234,7 +120217,7 @@ paths: parameters: - *389 - *390 - - *142 + - *143 responses: '204': description: Response @@ -120268,7 +120251,7 @@ paths: parameters: - *389 - *390 - - *142 + - *143 - name: token description: package token schema: @@ -120302,7 +120285,7 @@ paths: parameters: - *389 - *390 - - *142 + - *143 responses: '200': description: Response @@ -120371,7 +120354,7 @@ paths: - *389 - *390 - *392 - - *142 + - *143 responses: '200': description: Response @@ -120414,7 +120397,7 @@ paths: parameters: - *389 - *390 - - *142 + - *143 - *392 responses: '204': @@ -120449,7 +120432,7 @@ paths: parameters: - *389 - *390 - - *142 + - *143 - *392 responses: '204': @@ -120474,7 +120457,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-projects-for-user parameters: - - *142 + - *143 - name: q description: Limit results to projects of the specified type. in: query @@ -120516,7 +120499,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - *405 - - *142 + - *143 responses: '200': description: Response @@ -120547,7 +120530,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - *405 - - *142 + - *143 - *17 - *108 - *109 @@ -120581,7 +120564,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#add-field-to-user-owned-project parameters: - - *142 + - *143 - *405 requestBody: required: true @@ -120694,7 +120677,7 @@ paths: parameters: - *405 - *849 - - *142 + - *143 responses: '200': description: Response @@ -120726,7 +120709,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-a-user-owned-project parameters: - *405 - - *142 + - *143 - *108 - *109 - *17 @@ -120781,75 +120764,67 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - - *142 + - *143 - *405 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 @@ -120862,8 +120837,20 @@ paths: application/json: schema: *411 examples: - issue: *412 - pull_request: *412 + issue_with_id: + summary: Response for adding an issue using its unique ID + value: *412 + pull_request_with_id: + summary: Response for adding a pull request using its unique ID + value: *412 + issue_with_nwo: + summary: Response for adding an issue using repository owner, name, + and issue number + value: *412 + pull_request_with_nwo: + summary: Response for adding a pull request using repository owner, + name, and PR number + value: *412 '304': *37 '403': *29 '401': *25 @@ -120884,7 +120871,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#get-an-item-for-a-user-owned-project parameters: - *405 - - *142 + - *143 - *415 - name: fields description: |- @@ -120929,7 +120916,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - *405 - - *142 + - *143 - *415 requestBody: required: true @@ -121027,7 +121014,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - *405 - - *142 + - *143 - *415 responses: '204': @@ -121051,7 +121038,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-a-user-project-view parameters: - *405 - - *142 + - *143 - *851 - name: fields description: |- @@ -121108,7 +121095,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: - - *142 + - *143 - *17 - *19 responses: @@ -121118,7 +121105,7 @@ paths: application/json: schema: type: array - items: *246 + items: *247 examples: default: value: @@ -121183,7 +121170,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: - - *142 + - *143 - *17 - *19 responses: @@ -121193,7 +121180,7 @@ paths: application/json: schema: type: array - items: *246 + items: *247 examples: default: value: @@ -121256,7 +121243,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repositories-for-a-user parameters: - - *142 + - *143 - name: type description: Limit results to repositories of the specified type. in: query @@ -121299,7 +121286,7 @@ paths: application/json: schema: type: array - items: *283 + items: *284 examples: default: *393 headers: @@ -121321,7 +121308,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: - - *142 + - *143 - *17 - *19 responses: @@ -121353,7 +121340,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: - - *142 + - *143 - *17 - *19 responses: @@ -121389,7 +121376,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *142 + - *143 - *853 - *110 - *17 @@ -121425,7 +121412,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *142 + - *143 - *17 - *19 responses: @@ -121435,7 +121422,7 @@ paths: application/json: schema: type: array - items: *283 + items: *284 examples: default: *393 headers: @@ -121728,8 +121715,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *223 - required: *224 + properties: *224 + required: *225 nullable: true organization: title: Simple User @@ -123908,8 +123895,8 @@ x-webhooks: type: string pull_requests: type: array - items: *225 - repository: *283 + items: *226 + repository: *284 status: example: completed type: string @@ -123996,7 +123983,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *225 + items: *226 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -130220,7 +130207,7 @@ x-webhooks: type: string enum: - created - definition: *156 + definition: *157 enterprise: *855 installation: *856 organization: *857 @@ -130387,7 +130374,7 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *156 + definition: *157 enterprise: *855 installation: *856 organization: *857 @@ -130467,7 +130454,7 @@ x-webhooks: type: string enum: - updated - definition: *156 + definition: *157 enterprise: *855 installation: *856 organization: *857 @@ -130555,11 +130542,11 @@ x-webhooks: new_property_values: type: array description: The new custom property values for the repository. - items: *155 + items: *156 old_property_values: type: array description: The old custom property values for the repository. - items: *155 + items: *156 required: - action - repository @@ -141760,8 +141747,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *217 - required: *218 + properties: *218 + required: *219 reactions: title: Reactions type: object @@ -145745,11 +145732,11 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *220 + blocked_issue: *221 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *220 + blocking_issue: *221 blocking_issue_repo: *78 installation: *856 organization: *857 @@ -145836,11 +145823,11 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *220 + blocked_issue: *221 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *220 + blocking_issue: *221 blocking_issue_repo: *78 installation: *856 organization: *857 @@ -145926,12 +145913,12 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *220 + blocked_issue: *221 blocked_issue_repo: *78 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *220 + blocking_issue: *221 installation: *856 organization: *857 repository: *858 @@ -146017,12 +146004,12 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *220 + blocked_issue: *221 blocked_issue_repo: *78 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *220 + blocking_issue: *221 installation: *856 organization: *857 repository: *858 @@ -164588,7 +164575,7 @@ x-webhooks: type: string enum: - created - definition: *150 + definition: *151 enterprise: *855 sender: *4 required: @@ -164742,7 +164729,7 @@ x-webhooks: type: string enum: - updated - definition: *150 + definition: *151 enterprise: *855 installation: *856 sender: *4 @@ -164823,11 +164810,11 @@ x-webhooks: new_property_values: type: array description: The new custom property values. - items: *155 + items: *156 old_property_values: type: array description: The old custom property values. - items: *155 + items: *156 required: - action - organization @@ -233330,7 +233317,7 @@ x-webhooks: installation: *856 organization: *857 repository: *858 - repository_ruleset: *190 + repository_ruleset: *191 sender: *4 required: - action @@ -233412,7 +233399,7 @@ x-webhooks: installation: *856 organization: *857 repository: *858 - repository_ruleset: *190 + repository_ruleset: *191 sender: *4 required: - action @@ -233494,7 +233481,7 @@ x-webhooks: installation: *856 organization: *857 repository: *858 - repository_ruleset: *190 + repository_ruleset: *191 changes: type: object properties: @@ -233513,16 +233500,16 @@ x-webhooks: properties: added: type: array - items: *161 + items: *162 deleted: type: array - items: *161 + items: *162 updated: type: array items: type: object properties: - condition: *161 + condition: *162 changes: type: object properties: @@ -234658,8 +234645,8 @@ x-webhooks: alert: &922 type: object properties: - number: *127 - created_at: *134 + number: *128 + created_at: *135 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -234667,8 +234654,8 @@ x-webhooks: format: date-time readOnly: true nullable: true - url: *132 - html_url: *133 + url: *133 + html_url: *134 locations_url: type: string format: uri @@ -235742,7 +235729,7 @@ x-webhooks: required: - vector_string - score - cvss_severities: *129 + cvss_severities: *130 cwes: type: array items: @@ -236006,7 +235993,7 @@ x-webhooks: required: - vector_string - score - cvss_severities: *129 + cvss_severities: *130 cwes: type: array items: @@ -237653,12 +237640,12 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *220 + parent_issue: *221 parent_issue_repo: *78 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *220 + sub_issue: *221 installation: *856 organization: *857 repository: *858 @@ -237745,12 +237732,12 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *220 + parent_issue: *221 parent_issue_repo: *78 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *220 + sub_issue: *221 installation: *856 organization: *857 repository: *858 @@ -237837,12 +237824,12 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *220 + sub_issue: *221 sub_issue_repo: *78 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *220 + parent_issue: *221 installation: *856 organization: *857 repository: *858 @@ -237929,12 +237916,12 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *220 + sub_issue: *221 sub_issue_repo: *78 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *220 + parent_issue: *221 installation: *856 organization: *857 repository: *858 diff --git a/descriptions/ghec/dereferenced/ghec.deref.json b/descriptions/ghec/dereferenced/ghec.deref.json index fd6f9e06e..e0116862f 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.json +++ b/descriptions/ghec/dereferenced/ghec.deref.json @@ -38177,6 +38177,18 @@ } } }, + "code_scanning_options": { + "type": "object", + "description": "Security Configuration feature options for code scanning", + "nullable": true, + "properties": { + "allow_advanced": { + "nullable": true, + "type": "boolean", + "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", @@ -139842,6 +139854,18 @@ } } }, + "code_scanning_options": { + "type": "object", + "description": "Security Configuration feature options for code scanning", + "nullable": true, + "properties": { + "allow_advanced": { + "nullable": true, + "type": "boolean", + "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", @@ -210867,58 +210891,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" @@ -210927,22 +210942,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", @@ -210950,8 +210965,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", @@ -216749,18 +216764,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=", @@ -216779,48 +216881,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=", @@ -216839,34 +217007,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" + } } } } @@ -284918,48 +285065,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": { @@ -481611,7 +481718,8 @@ "subscriptions_url", "type", "url" - ] + ], + "nullable": true }, "body": { "description": "The text of the comment.", @@ -501476,7 +501584,8 @@ "subscriptions_url", "type", "url" - ] + ], + "nullable": true }, "body": { "description": "The text of the comment.", @@ -502011,7 +502120,8 @@ "subscriptions_url", "type", "url" - ] + ], + "nullable": true }, "body": { "description": "The text of the comment.", @@ -502585,7 +502695,8 @@ "subscriptions_url", "type", "url" - ] + ], + "nullable": true }, "body": { "description": "The text of the comment.", @@ -515177,7 +515288,8 @@ "subscriptions_url", "type", "url" - ] + ], + "nullable": true }, "body": { "description": "The text of the comment.", @@ -515798,7 +515910,8 @@ "subscriptions_url", "type", "url" - ] + ], + "nullable": true }, "body": { "description": "The text of the comment.", @@ -516461,7 +516574,8 @@ "subscriptions_url", "type", "url" - ] + ], + "nullable": true }, "body": { "description": "The text of the comment.", @@ -701499,58 +701613,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" @@ -701559,22 +701664,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", @@ -701582,8 +701687,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", @@ -707381,18 +707486,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=", @@ -707411,48 +707603,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=", @@ -707471,34 +707729,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/ghec/dereferenced/ghec.deref.yaml b/descriptions/ghec/dereferenced/ghec.deref.yaml index 5fe83bcff..786f22894 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.deref.yaml @@ -685,7 +685,7 @@ paths: required: - vector_string - score - cvss_severities: &129 + cvss_severities: &130 type: object nullable: true properties: @@ -725,7 +725,7 @@ paths: required: - vector_string - score - epss: &130 + epss: &131 type: object nullable: true readOnly: true @@ -996,7 +996,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &259 + schema: &260 title: Validation Error Simple description: Validation Error Simple type: object @@ -1147,7 +1147,7 @@ paths: GitHub. type: object nullable: true - properties: &217 + properties: &218 id: description: Unique identifier of the GitHub app example: 37 @@ -1169,7 +1169,7 @@ paths: title: Enterprise description: An enterprise on GitHub. type: object - properties: &138 + properties: &139 description: description: A short description of the enterprise. type: string @@ -1211,7 +1211,7 @@ paths: avatar_url: type: string format: uri - required: &139 + required: &140 - id - node_id - name @@ -1280,7 +1280,7 @@ paths: about itself. example: 5 type: integer - required: &218 + required: &219 - id - node_id - owner @@ -1740,7 +1740,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &258 + schema: &259 title: Validation Error description: Validation Error type: object @@ -2124,7 +2124,7 @@ paths: parameters: - *17 - *19 - - &227 + - &228 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) @@ -2938,7 +2938,7 @@ paths: title: License Simple description: License Simple type: object - properties: &223 + properties: &224 key: type: string example: mit @@ -2960,7 +2960,7 @@ paths: html_url: type: string format: uri - required: &224 + required: &225 - key - name - url @@ -7665,7 +7665,7 @@ paths: description: Response content: application/json: - schema: &260 + schema: &261 type: object properties: total_active_caches_count: @@ -7680,7 +7680,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &261 + default: &262 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -7873,7 +7873,7 @@ paths: - public_ip_enabled - platform examples: - default: &262 + default: &263 value: total_count: 2 runners: @@ -8168,7 +8168,7 @@ paths: application/json: schema: *49 examples: - default: &263 + default: &264 value: id: 1 platform: linux-x64 @@ -8308,7 +8308,7 @@ paths: application/json: schema: *52 examples: - default: &264 + default: &265 value: version: 1.0.0 size_gb: 75 @@ -8472,7 +8472,7 @@ paths: description: Response content: application/json: - schema: &265 + schema: &266 type: object properties: public_ips: @@ -8497,7 +8497,7 @@ paths: required: - public_ips examples: - default: &266 + default: &267 value: public_ips: current_usage: 17 @@ -8537,7 +8537,7 @@ paths: type: array items: *56 examples: - default: &267 + default: &268 value: id: 4-core cpu_cores: 4 @@ -8799,7 +8799,7 @@ paths: - all - local_only - selected - selected_actions_url: &270 + selected_actions_url: &271 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` @@ -8879,7 +8879,7 @@ paths: description: Successfully retrieved the artifact and log retention settings content: application/json: - schema: &272 + schema: &273 type: object properties: days: @@ -8925,7 +8925,7 @@ paths: required: true content: application/json: - schema: &273 + schema: &274 type: object properties: days: @@ -8974,7 +8974,7 @@ paths: required: - approval_policy examples: - default: &274 + default: &275 value: approval_policy: first_time_contributors '404': *6 @@ -9032,7 +9032,7 @@ paths: description: Response content: application/json: - schema: &275 + schema: &276 type: object required: - run_workflows_from_fork_pull_requests @@ -9086,7 +9086,7 @@ paths: required: true content: application/json: - schema: &276 + schema: &277 type: object required: - run_workflows_from_fork_pull_requests @@ -9153,7 +9153,7 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: &120 + properties: &121 login: type: string example: github @@ -9194,7 +9194,7 @@ paths: type: string example: A great organization nullable: true - required: &121 + required: &122 - login - url - id @@ -9509,7 +9509,7 @@ paths: description: Success response content: application/json: - schema: &279 + schema: &280 type: object properties: default_workflow_permissions: &67 @@ -9557,7 +9557,7 @@ paths: required: true content: application/json: - schema: &280 + schema: &281 type: object properties: default_workflow_permissions: *67 @@ -10393,7 +10393,7 @@ paths: application/json: schema: type: array - items: &284 + items: &285 title: Runner Application description: Runner Application type: object @@ -10418,7 +10418,7 @@ paths: - download_url - filename examples: - default: &285 + default: &286 value: - os: osx architecture: x64 @@ -10502,7 +10502,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &286 + '201': &287 description: Response content: application/json: @@ -10541,7 +10541,7 @@ paths: encoded_jit_config: abc123 '404': *6 '422': *7 - '409': &118 + '409': &119 description: Conflict content: application/json: @@ -10617,7 +10617,7 @@ paths: - token - expires_at examples: - default: &287 + default: &288 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -10657,7 +10657,7 @@ paths: application/json: schema: *79 examples: - default: &288 + default: &289 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -10689,7 +10689,7 @@ paths: application/json: schema: *76 examples: - default: &289 + default: &290 value: id: 23 name: MBP @@ -10905,7 +10905,7 @@ paths: - *41 - *75 responses: - '200': &290 + '200': &291 description: Response content: application/json: @@ -10961,7 +10961,7 @@ paths: parameters: - *41 - *75 - - &291 + - &292 name: name description: The name of a self-hosted runner's custom label. in: path @@ -11052,7 +11052,7 @@ paths: required: true content: application/json: - schema: &298 + schema: &299 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -11693,7 +11693,7 @@ paths: required: false schema: type: string - - &301 + - &302 name: include description: |- The event types to include: @@ -11711,7 +11711,7 @@ paths: - web - git - all - - &302 + - &303 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. @@ -11719,7 +11719,7 @@ paths: required: false schema: type: string - - &303 + - &304 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. @@ -11727,7 +11727,7 @@ paths: required: false schema: type: string - - &304 + - &305 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -11749,7 +11749,7 @@ paths: application/json: schema: type: array - items: &305 + items: &306 type: object properties: "@timestamp": @@ -11871,7 +11871,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &306 + default: &307 value: - "@timestamp": 1606929874512 action: team.add_member @@ -12537,7 +12537,7 @@ paths: application/json: schema: type: array - items: &307 + items: &308 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -12698,7 +12698,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &308 + default: &309 value: - id: 21 number: 42 @@ -12803,7 +12803,7 @@ paths: application/json: schema: type: array - items: &310 + items: &311 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -12928,7 +12928,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &311 + default: &312 value: - id: 21 number: 42 @@ -13013,7 +13013,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *41 - - &316 + - &317 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`, @@ -13023,7 +13023,7 @@ paths: schema: &111 type: string description: The name of the tool used to generate the code scanning analysis. - - &317 + - &318 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 @@ -13046,7 +13046,7 @@ paths: be returned. in: query required: false - schema: &318 + schema: &319 type: string description: State of a code scanning alert. enum: @@ -13079,31 +13079,31 @@ paths: application/json: schema: type: array - items: &319 + items: &320 type: object properties: - number: &127 + number: &128 type: integer description: The security alert number. readOnly: true - created_at: &134 + created_at: &135 type: string description: 'The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - updated_at: &135 + updated_at: &136 type: string description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - url: &132 + url: &133 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &133 + html_url: &134 type: string description: The GitHub URL of the alert resource. format: uri @@ -13122,7 +13122,7 @@ paths: - open - dismissed - fixed - fixed_at: &137 + fixed_at: &138 type: string description: 'The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -13136,7 +13136,7 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: &136 + dismissed_at: &137 type: string description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -13285,11 +13285,11 @@ paths: - generated - test - library - repository: &119 + repository: &120 title: Simple Repository description: A GitHub repository. type: object - properties: &254 + properties: &255 id: type: integer format: int64 @@ -13516,7 +13516,7 @@ paths: format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks description: The API URL to list the hooks on the repository. - required: &255 + required: &256 - archive_url - assignees_url - blobs_url @@ -13588,7 +13588,7 @@ paths: - most_recent_instance - repository examples: - default: &320 + default: &321 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -13819,7 +13819,7 @@ paths: headers: Link: *47 '404': *6 - '503': &195 + '503': &196 description: Service unavailable content: application/json: @@ -14250,7 +14250,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &321 + code_scanning_options: &118 type: object description: Security Configuration feature options for code scanning nullable: true @@ -14668,6 +14668,7 @@ paths: - disabled - not_set code_scanning_default_setup_options: *117 + code_scanning_options: *118 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -14761,7 +14762,7 @@ paths: '304': *37 '403': *29 '404': *6 - '409': *118 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14787,12 +14788,12 @@ paths: - *41 - *116 responses: - '204': &154 + '204': &155 description: A header with no content is returned. '400': *14 '403': *29 '404': *6 - '409': *118 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14844,7 +14845,7 @@ paths: '202': *39 '403': *29 '404': *6 - '409': *118 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -15017,7 +15018,7 @@ paths: - failed - updating - removed_by_enterprise - repository: *119 + repository: *120 examples: default: summary: Example of code security configuration repositories @@ -15488,7 +15489,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &145 + items: &146 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -15505,14 +15506,14 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: *120 - required: *121 + properties: *121 + required: *122 nullable: true assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &312 + - &313 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -15685,7 +15686,7 @@ paths: - slug - parent - type - - &144 + - &145 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -15795,7 +15796,7 @@ paths: - created_at additionalProperties: false examples: - default: &146 + default: &147 value: total_seats: 2 seats: @@ -16247,7 +16248,7 @@ paths: application/json: schema: type: array - items: &207 + items: &208 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -16554,7 +16555,7 @@ paths: - date additionalProperties: true examples: - default: &208 + default: &209 value: - date: '2024-06-24' total_active_users: 24 @@ -16656,7 +16657,7 @@ paths: '500': *40 '403': *29 '404': *6 - '422': &209 + '422': &210 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -16686,7 +16687,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: - *41 - - &122 + - &123 name: day description: The day to request data for, in `YYYY-MM-DD` format. in: query @@ -16700,7 +16701,7 @@ paths: description: Response content: application/json: - schema: &123 + schema: &124 type: object title: Copilot Metrics 1 Day Report description: Links to download the Copilot usage metrics report for @@ -16721,7 +16722,7 @@ paths: - download_links - report_day examples: - default: &124 + default: &125 value: download_links: - https://example.com/copilot-usage-report-1.json @@ -16759,7 +16760,7 @@ paths: description: Response content: application/json: - schema: &125 + schema: &126 type: object title: Copilot Metrics 28 Day Report description: Links to download the latest Copilot usage metrics report @@ -16787,7 +16788,7 @@ paths: - report_start_day - report_end_day examples: - default: &126 + default: &127 value: download_links: - https://example.com/copilot-usage-report-1.json @@ -16821,15 +16822,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: - *41 - - *122 + - *123 responses: '200': description: Response content: application/json: - schema: *123 + schema: *124 examples: - default: *124 + default: *125 '500': *40 '403': *29 '404': *6 @@ -16862,9 +16863,9 @@ paths: description: Response content: application/json: - schema: *125 + schema: *126 examples: - default: *126 + default: *127 '500': *40 '403': *29 '404': *6 @@ -16992,7 +16993,7 @@ paths: type: object description: A Dependabot alert. properties: - number: *127 + number: *128 state: type: string description: The state of the Dependabot alert. @@ -17007,7 +17008,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &128 + package: &129 type: object description: Details for the vulnerable package. readOnly: true @@ -17081,13 +17082,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &131 + items: &132 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *128 + package: *129 severity: type: string description: The severity of the vulnerability. @@ -17153,8 +17154,8 @@ paths: - score - vector_string additionalProperties: false - cvss_severities: *129 - epss: *130 + cvss_severities: *130 + epss: *131 cwes: type: array description: Details for the advisory pertaining to Common @@ -17253,12 +17254,12 @@ paths: - updated_at - withdrawn_at additionalProperties: false - security_vulnerability: *131 - url: *132 - html_url: *133 - created_at: *134 - updated_at: *135 - dismissed_at: *136 + security_vulnerability: *132 + url: *133 + html_url: *134 + created_at: *135 + updated_at: *136 + dismissed_at: *137 dismissed_by: title: Simple User description: A GitHub user. @@ -17282,7 +17283,7 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *137 + fixed_at: *138 auto_dismissed_at: &595 type: string description: 'The time that the alert was auto-dismissed in @@ -17328,7 +17329,7 @@ paths: format: uri description: The API URL to get more information about this dismissal request. - repository: *119 + repository: *120 required: - number - state @@ -17710,7 +17711,7 @@ paths: roles: type: array description: The list of enterprise roles available to the enterprise. - items: &143 + items: &144 title: Enterprise Role description: Enterprise custom roles type: object @@ -17744,8 +17745,8 @@ paths: title: Enterprise description: An enterprise on GitHub. type: object - properties: *138 - required: *139 + properties: *139 + required: *140 nullable: true created_at: description: The date and time the role was created. @@ -17835,7 +17836,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#remove-all-enterprise-roles-from-a-team parameters: - *41 - - &140 + - &141 name: team_slug description: The slug of the enterprise team name. in: path @@ -17875,8 +17876,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#assign-an-enterprise-role-to-a-team parameters: - *41 - - *140 - - &141 + - *141 + - &142 name: role_id description: The unique identifier of the role. in: path @@ -17915,8 +17916,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#remove-an-enterprise-role-from-a-team parameters: - *41 - - *140 - *141 + - *142 responses: '204': description: Response @@ -17950,7 +17951,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#remove-all-enterprise-roles-from-a-user parameters: - *41 - - &142 + - &143 name: username description: The handle for the GitHub user account. in: path @@ -17990,8 +17991,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#assign-an-enterprise-role-to-an-enterprise-user parameters: - *41 + - *143 - *142 - - *141 responses: '204': description: Response @@ -18024,8 +18025,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#remove-enterprise-user-role-assignment parameters: - *41 + - *143 - *142 - - *141 responses: '204': description: Response @@ -18059,13 +18060,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#get-an-enterprise-role parameters: - *41 - - *141 + - *142 responses: '200': description: Response content: application/json: - schema: *143 + schema: *144 examples: default: value: @@ -18116,7 +18117,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#list-teams-that-are-assigned-to-an-enterprise-role parameters: - *41 - - *141 + - *142 - *17 - *19 responses: @@ -18126,9 +18127,9 @@ paths: application/json: schema: type: array - items: *144 + items: *145 examples: - default: &210 + default: &211 value: - id: 1 name: Justice League @@ -18167,7 +18168,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#list-users-that-are-assigned-to-an-enterprise-role parameters: - *41 - - *141 + - *142 - *17 - *19 responses: @@ -18199,7 +18200,7 @@ paths: description: Enterprise Team the user has gotten the role through type: array - items: *144 + items: *145 examples: default: value: @@ -18358,7 +18359,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-an-enterprise-user parameters: - *41 - - *142 + - *143 responses: '200': description: The user's GitHub Copilot seat details, including usage. @@ -18374,9 +18375,9 @@ paths: teams or multiple organizations are only counted once. seats: type: array - items: *145 + items: *146 examples: - default: *146 + default: *147 '500': *40 '401': *25 '403': *29 @@ -18419,7 +18420,7 @@ paths: type: integer network_configurations: type: array - items: &147 + items: &148 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -18537,9 +18538,9 @@ paths: description: Response content: application/json: - schema: *147 + schema: *148 examples: - default: &148 + default: &149 value: id: 123456789ABCDEF name: My network configuration @@ -18566,7 +18567,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-configuration-for-an-enterprise parameters: - *41 - - &149 + - &150 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -18578,9 +18579,9 @@ paths: description: Response content: application/json: - schema: *147 + schema: *148 examples: - default: *148 + default: *149 headers: Link: *47 x-github: @@ -18600,7 +18601,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#update-a-hosted-compute-network-configuration-for-an-enterprise parameters: - *41 - - *149 + - *150 requestBody: required: true content: @@ -18639,9 +18640,9 @@ paths: description: Response content: application/json: - schema: *147 + schema: *148 examples: - default: *148 + default: *149 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -18659,7 +18660,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#delete-a-hosted-compute-network-configuration-from-an-enterprise parameters: - *41 - - *149 + - *150 responses: '204': description: Response @@ -18767,7 +18768,7 @@ paths: application/json: schema: type: array - items: &150 + items: &151 title: Custom Property for Organization description: Custom property defined for an organization allOf: @@ -18835,7 +18836,7 @@ paths: - property_name - value_type examples: - default: &151 + default: &152 value: - property_name: environment url: https://api.github.com/enterprises/github/org-properties/schema/environment @@ -18895,7 +18896,7 @@ paths: type: array description: The array of organization custom properties to create or update. - items: *150 + items: *151 minItems: 1 maxItems: 100 required: @@ -18928,9 +18929,9 @@ paths: application/json: schema: type: array - items: *150 + items: *151 examples: - default: *151 + default: *152 '403': *29 '404': *6 '422': *7 @@ -18957,7 +18958,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties-for-orgs#get-an-organization-custom-property-definition-from-an-enterprise parameters: - *41 - - &152 + - &153 name: custom_property_name description: The custom property name in: path @@ -18969,9 +18970,9 @@ paths: description: Response content: application/json: - schema: *150 + schema: *151 examples: - default: &153 + default: &154 value: property_name: environment url: https://api.github.com/enterprises/github/org-properties/schema/environment @@ -19008,7 +19009,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties-for-orgs#create-or-update-an-organization-custom-property-definition-on-an-enterprise parameters: - *41 - - *152 + - *153 requestBody: required: true content: @@ -19077,9 +19078,9 @@ paths: description: Response content: application/json: - schema: *150 + schema: *151 examples: - default: *153 + default: *154 '403': *29 '404': *6 '422': *7 @@ -19105,9 +19106,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: - *41 - - *152 + - *153 responses: - '204': *154 + '204': *155 '403': *29 '404': *6 '422': *7 @@ -19156,7 +19157,7 @@ paths: example: Hello-World properties: type: array - items: &155 + items: &156 title: Custom Property Value description: Custom property name and associated value type: object @@ -19239,7 +19240,7 @@ paths: type: array description: List of custom property names and associated values to apply to the organizations. - items: *155 + items: *156 required: - organization_logins - properties @@ -19289,7 +19290,7 @@ paths: application/json: schema: type: array - items: &156 + items: &157 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -19354,7 +19355,7 @@ paths: - property_name - value_type examples: - default: &157 + default: &158 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -19411,7 +19412,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *156 + items: *157 minItems: 1 maxItems: 100 required: @@ -19441,9 +19442,9 @@ paths: application/json: schema: type: array - items: *156 + items: *157 examples: - default: *157 + default: *158 '403': *29 '404': *6 x-github: @@ -19467,15 +19468,15 @@ paths: parameters: - *41 - *87 - - *152 + - *153 responses: '200': description: Response content: application/json: - schema: *156 + schema: *157 examples: - default: &158 + default: &159 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -19508,15 +19509,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#get-a-custom-property-for-an-enterprise parameters: - *41 - - *152 + - *153 responses: '200': description: Response content: application/json: - schema: *156 + schema: *157 examples: - default: *158 + default: *159 '403': *29 '404': *6 x-github: @@ -19538,7 +19539,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#create-or-update-a-custom-property-for-an-enterprise parameters: - *41 - - *152 + - *153 requestBody: required: true content: @@ -19606,9 +19607,9 @@ paths: description: Response content: application/json: - schema: *156 + schema: *157 examples: - default: *158 + default: *159 '403': *29 '404': *6 x-github: @@ -19630,9 +19631,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#remove-a-custom-property-for-an-enterprise parameters: - *41 - - *152 + - *153 responses: - '204': *154 + '204': *155 '403': *29 '404': *6 x-github: @@ -19672,7 +19673,7 @@ paths: - push - repository default: branch - enforcement: &167 + enforcement: &168 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights @@ -19685,7 +19686,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &168 + items: &169 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -19726,7 +19727,7 @@ paths: - pull_request - exempt default: always - conditions: &192 + conditions: &193 title: Enterprise ruleset conditions type: object description: Conditions for an enterprise ruleset. The conditions @@ -19740,7 +19741,7 @@ paths: description: Conditions to target organizations by name and all repositories allOf: - - &159 + - &160 title: Repository ruleset conditions for organization names type: object description: Parameters for an organization name condition @@ -19766,7 +19767,7 @@ paths: type: string required: - organization_name - - &162 + - &163 title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -19795,7 +19796,7 @@ paths: is prevented. required: - repository_name - - &161 + - &162 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name condition @@ -19823,8 +19824,8 @@ paths: description: Conditions to target organizations by name and repositories by property allOf: - - *159 - - &164 + - *160 + - &165 title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -19837,7 +19838,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &160 + items: &161 title: Repository ruleset property targeting definition type: object description: Parameters for a targeting a repository @@ -19868,16 +19869,16 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *160 + items: *161 required: - repository_property - - *161 + - *162 - type: object title: organization_id_and_repository_name description: Conditions to target organizations by id and all repositories allOf: - - &163 + - &164 title: Repository ruleset conditions for organization IDs type: object description: Parameters for an organization ID condition @@ -19894,22 +19895,22 @@ paths: type: integer required: - organization_id + - *163 - *162 - - *161 - type: object title: organization_id_and_repository_property description: Conditions to target organization by id and repositories by property allOf: - - *163 - *164 - - *161 + - *165 + - *162 - type: object title: organization_property_and_repository_name description: Conditions to target organizations by property and all repositories allOf: - - &166 + - &167 title: Repository ruleset conditions for organization properties type: object description: Parameters for a organization property condition @@ -19922,7 +19923,7 @@ paths: description: The organization properties and values to include. All of these properties must match for the condition to pass. - items: &165 + items: &166 title: Repository ruleset property targeting definition type: object description: Parameters for a targeting a organization @@ -19946,28 +19947,28 @@ paths: description: The organization properties and values to exclude. The condition will not pass if any of these properties match. - items: *165 + items: *166 required: - organization_property + - *163 - *162 - - *161 - type: object title: organization_property_and_repository_property description: Conditions to target organizations by property and repositories by property allOf: - - *166 - - *164 - - *161 + - *167 + - *165 + - *162 rules: type: array description: An array of rules within the ruleset. - items: &193 + items: &194 title: Repository Rule type: object description: A repository rule. oneOf: - - &169 + - &170 title: creation description: Only allow users with bypass permission to create matching refs. @@ -19979,7 +19980,7 @@ paths: type: string enum: - creation - - &170 + - &171 title: update description: Only allow users with bypass permission to update matching refs. @@ -20000,7 +20001,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &171 + - &172 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -20012,7 +20013,7 @@ paths: type: string enum: - deletion - - &172 + - &173 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -20024,7 +20025,7 @@ paths: type: string enum: - required_linear_history - - &173 + - &174 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -20048,7 +20049,7 @@ paths: type: string required: - required_deployment_environments - - &174 + - &175 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -20060,7 +20061,7 @@ paths: type: string enum: - required_signatures - - &175 + - &176 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. @@ -20163,7 +20164,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &176 + - &177 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -20210,7 +20211,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &177 + - &178 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -20222,7 +20223,7 @@ paths: type: string enum: - non_fast_forward - - &178 + - &179 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -20258,7 +20259,7 @@ paths: required: - operator - pattern - - &179 + - &180 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -20294,7 +20295,7 @@ paths: required: - operator - pattern - - &180 + - &181 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -20330,7 +20331,7 @@ paths: required: - operator - pattern - - &181 + - &182 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -20366,7 +20367,7 @@ paths: required: - operator - pattern - - &182 + - &183 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -20402,7 +20403,7 @@ paths: required: - operator - pattern - - &183 + - &184 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. @@ -20426,7 +20427,7 @@ paths: type: string required: - restricted_file_paths - - &184 + - &185 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit @@ -20450,7 +20451,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &185 + - &186 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -20473,7 +20474,7 @@ paths: type: string required: - restricted_file_extensions - - &186 + - &187 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. @@ -20497,7 +20498,7 @@ paths: maximum: 100 required: - max_file_size - - &187 + - &188 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -20546,7 +20547,7 @@ paths: - repository_id required: - workflows - - &188 + - &189 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -20606,7 +20607,7 @@ paths: - tool required: - code_scanning_tools - - &189 + - &190 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code review @@ -20656,7 +20657,7 @@ paths: description: Response content: application/json: - schema: &190 + schema: &191 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -20691,11 +20692,11 @@ paths: source: type: string description: The name of the source - enforcement: *167 + enforcement: *168 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *168 + items: *169 current_user_can_bypass: type: string description: |- @@ -20727,7 +20728,7 @@ paths: conditions: nullable: true anyOf: - - *161 + - *162 - &422 title: Organization ruleset conditions type: object @@ -20742,14 +20743,14 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *161 - *162 + - *163 - type: object title: repository_id_and_ref_name description: Conditions to target repositories by id and refs by name allOf: - - *161 + - *162 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -20771,8 +20772,8 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *161 - - *164 + - *162 + - *165 rules: type: array items: &721 @@ -20780,10 +20781,10 @@ paths: type: object description: A repository rule. oneOf: - - *169 - *170 - *171 - *172 + - *173 - &719 title: merge_queue description: Merges must be performed via a merge queue. @@ -20862,7 +20863,6 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - *173 - *174 - *175 - *176 @@ -20879,6 +20879,7 @@ paths: - *187 - *188 - *189 + - *190 created_at: type: string format: date-time @@ -20886,7 +20887,7 @@ paths: type: string format: date-time examples: - default: &191 + default: &192 value: id: 21 name: super cool ruleset @@ -20945,9 +20946,9 @@ paths: description: Response content: application/json: - schema: *190 + schema: *191 examples: - default: *191 + default: *192 '404': *6 '500': *40 x-github: @@ -20991,16 +20992,16 @@ paths: - tag - push - repository - enforcement: *167 + enforcement: *168 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *168 - conditions: *192 + items: *169 + conditions: *193 rules: description: An array of rules within the ruleset. type: array - items: *193 + items: *194 examples: default: value: @@ -21024,9 +21025,9 @@ paths: description: Response content: application/json: - schema: *190 + schema: *191 examples: - default: *191 + default: *192 '404': *6 '500': *40 x-github: @@ -21088,7 +21089,7 @@ paths: application/json: schema: type: array - items: &194 + items: &195 title: Ruleset version type: object description: The historical version of a ruleset @@ -21167,7 +21168,7 @@ paths: application/json: schema: &426 allOf: - - *194 + - *195 - type: object required: - state @@ -21331,8 +21332,8 @@ paths: items: &436 type: object properties: - number: *127 - created_at: *134 + number: *128 + created_at: *135 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -21340,8 +21341,8 @@ paths: format: date-time readOnly: true nullable: true - url: *132 - html_url: *133 + url: *133 + html_url: *134 locations_url: type: string format: uri @@ -21388,7 +21389,7 @@ paths: secret: type: string description: The secret that was detected. - repository: *119 + repository: *120 push_protection_bypassed: type: boolean description: Whether push protection was bypassed for the detected @@ -21914,7 +21915,7 @@ paths: headers: Link: *47 '404': *6 - '503': *195 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21951,7 +21952,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &197 + pattern_config_version: &198 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -21960,7 +21961,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &196 + items: &197 type: object properties: token_type: @@ -22026,7 +22027,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *196 + items: *197 examples: default: &439 value: @@ -22083,7 +22084,7 @@ paths: schema: type: object properties: - pattern_config_version: *197 + pattern_config_version: *198 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -22109,7 +22110,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *197 + custom_pattern_version: *198 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -22145,7 +22146,7 @@ paths: '400': *14 '403': *29 '404': *6 - '409': *118 + '409': *119 '422': *15 "/enterprises/{enterprise}/settings/billing/advanced-security": get: @@ -22612,7 +22613,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/budgets#get-a-budget-by-id parameters: - *41 - - &198 + - &199 name: budget_id description: The ID corresponding to the budget. in: path @@ -22706,7 +22707,7 @@ paths: '404': *6 '403': *29 '500': *40 - '503': *195 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -22941,7 +22942,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/budgets#delete-a-budget parameters: - *41 - - *198 + - *199 responses: '200': description: Response when deleting a budget @@ -22968,7 +22969,7 @@ paths: '404': *6 '403': *29 '500': *40 - '503': *195 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -23067,7 +23068,7 @@ paths: '400': *14 '403': *29 '500': *40 - '503': *195 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -23196,7 +23197,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#get-a-cost-center-by-id parameters: - *41 - - &201 + - &202 name: cost_center_id description: The ID corresponding to the cost center. in: path @@ -23208,7 +23209,7 @@ paths: description: Response when getting a cost center content: application/json: - schema: &199 + schema: &200 type: object properties: id: @@ -23247,7 +23248,7 @@ paths: - name - resources examples: - default: &200 + default: &201 value: id: 2eeb8ffe-6903-11ee-8c99-0242ac120002 name: Cost Center Name @@ -23261,7 +23262,7 @@ paths: '400': *14 '403': *29 '500': *40 - '503': *195 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -23311,15 +23312,15 @@ paths: description: Response when updating a cost center content: application/json: - schema: *199 + schema: *200 examples: - default: *200 + default: *201 '400': *14 '403': *29 '404': *6 - '409': *118 + '409': *119 '500': *40 - '503': *195 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -23337,7 +23338,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#delete-a-cost-center parameters: - *41 - - *201 + - *202 responses: '200': description: Response when deleting a cost center @@ -23376,7 +23377,7 @@ paths: '404': *6 '403': *29 '500': *40 - '503': *195 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -23397,7 +23398,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#add-resources-to-a-cost-center parameters: - *41 - - *201 + - *202 requestBody: required: true content: @@ -23467,9 +23468,9 @@ paths: previous_cost_center: yet-another-cost-center '400': *14 '403': *29 - '409': *118 + '409': *119 '500': *40 - '503': *195 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -23489,7 +23490,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#remove-resources-from-a-cost-center parameters: - *41 - - *201 + - *202 requestBody: required: true content: @@ -23536,7 +23537,7 @@ paths: '400': *14 '403': *29 '500': *40 - '503': *195 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -23557,7 +23558,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/usage#get-billing-premium-request-usage-report-for-an-enterprise parameters: - *41 - - &202 + - &203 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, @@ -23566,7 +23567,7 @@ paths: required: false schema: type: integer - - &204 + - &205 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 @@ -23575,7 +23576,7 @@ paths: required: false schema: type: integer - - &203 + - &204 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 @@ -23584,7 +23585,7 @@ paths: required: false schema: type: integer - - &205 + - &206 name: organization description: The organization name to query usage for. The name is not case sensitive. @@ -23604,7 +23605,7 @@ paths: required: false schema: type: string - - &206 + - &207 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -23743,7 +23744,7 @@ paths: '403': *29 '404': *6 '500': *40 - '503': *195 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -23764,7 +23765,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/usage#get-billing-usage-report-for-an-enterprise parameters: - *41 - - *202 + - *203 - 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 @@ -23773,7 +23774,7 @@ paths: required: false schema: type: integer - - *203 + - *204 - name: cost_center_id description: The ID corresponding to a cost center. The default value is no cost center. @@ -23856,7 +23857,7 @@ paths: '400': *14 '403': *29 '500': *40 - '503': *195 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -23880,17 +23881,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/usage#get-billing-usage-summary-for-an-enterprise parameters: - *41 - - *202 - - *204 - *203 - *205 + - *204 + - *206 - name: repository description: The repository name to query for usage in the format owner/repository. in: query required: false schema: type: string - - *206 + - *207 - name: sku description: The SKU to query for usage. in: query @@ -24023,7 +24024,7 @@ paths: '400': *14 '403': *29 '500': *40 - '503': *195 + '503': *196 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -24057,7 +24058,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-an-enterprise-team parameters: - *41 - - *140 + - *141 - 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`). @@ -24089,13 +24090,13 @@ paths: application/json: schema: type: array - items: *207 + items: *208 examples: - default: *208 + default: *209 '500': *40 '403': *29 '404': *6 - '422': *209 + '422': *210 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -24122,9 +24123,9 @@ paths: application/json: schema: type: array - items: *144 + items: *145 examples: - default: *210 + default: *211 headers: Link: *47 '403': *29 @@ -24199,9 +24200,9 @@ paths: description: Response content: application/json: - schema: *144 + schema: *145 examples: - default: *210 + default: *211 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -24219,7 +24220,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *41 - - &211 + - &212 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -24238,7 +24239,7 @@ paths: type: array items: *4 examples: - default: &212 + default: &213 value: - login: octocat id: 1 @@ -24277,7 +24278,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *41 - - *211 + - *212 requestBody: required: true content: @@ -24308,7 +24309,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *213 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -24326,7 +24327,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *41 - - *211 + - *212 requestBody: required: true content: @@ -24357,7 +24358,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *213 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -24375,8 +24376,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *41 - - *211 - - *142 + - *212 + - *143 responses: '200': description: User is a member of the enterprise team. @@ -24384,7 +24385,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &213 + exampleKey1: &214 value: login: octocat id: 1 @@ -24420,8 +24421,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *41 - - *211 - - *142 + - *212 + - *143 responses: '201': description: Successfully added team member @@ -24429,7 +24430,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *213 + exampleKey1: *214 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -24447,8 +24448,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *41 - - *211 - - *142 + - *212 + - *143 responses: '204': description: Response @@ -24470,7 +24471,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments parameters: - *41 - - *211 + - *212 - *17 - *19 responses: @@ -24482,7 +24483,7 @@ paths: type: array items: *73 examples: - default: &214 + default: &215 value: login: github id: 1 @@ -24513,7 +24514,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments parameters: - *41 - - *211 + - *212 requestBody: required: true content: @@ -24543,7 +24544,7 @@ paths: type: array items: *73 examples: - default: &251 + default: &252 value: - login: github id: 1 @@ -24574,7 +24575,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments parameters: - *41 - - *211 + - *212 requestBody: required: true content: @@ -24615,7 +24616,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment parameters: - *41 - - *211 + - *212 - *87 responses: '200': @@ -24624,7 +24625,7 @@ paths: application/json: schema: *73 examples: - default: *214 + default: *215 '404': description: The team is not assigned to the organization x-github: @@ -24643,7 +24644,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment parameters: - *41 - - *211 + - *212 - *87 responses: '201': @@ -24652,7 +24653,7 @@ paths: application/json: schema: *73 examples: - default: *214 + default: *215 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -24669,7 +24670,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment parameters: - *41 - - *211 + - *212 - *87 responses: '204': @@ -24694,7 +24695,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *41 - - &215 + - &216 name: team_slug description: The slug of the team name. in: path @@ -24706,9 +24707,9 @@ paths: description: Response content: application/json: - schema: *144 + schema: *145 examples: - default: *210 + default: *211 headers: Link: *47 '403': *29 @@ -24728,7 +24729,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *41 - - *215 + - *216 requestBody: required: true content: @@ -24783,9 +24784,9 @@ paths: description: Response content: application/json: - schema: *144 + schema: *145 examples: - default: *210 + default: *211 headers: Link: *47 '403': *29 @@ -24808,7 +24809,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *41 - - *215 + - *216 responses: '204': description: Response @@ -24907,7 +24908,7 @@ paths: application/json: schema: type: array - items: &246 + items: &247 title: Event description: Event type: object @@ -24917,7 +24918,7 @@ paths: type: type: string nullable: true - actor: &216 + actor: &217 title: Actor description: Actor type: object @@ -24957,7 +24958,7 @@ paths: - id - name - url - org: *216 + org: *217 payload: oneOf: - title: CreateEvent @@ -25290,7 +25291,7 @@ paths: - id labels: type: array - items: &219 + items: &220 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -25365,7 +25366,7 @@ paths: properties: action: type: string - issue: &220 + issue: &221 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -25694,9 +25695,9 @@ paths: actors within GitHub. type: object nullable: true - properties: *217 - required: *218 - author_association: &221 + properties: *218 + required: *219 + author_association: &222 title: author_association type: string example: OWNER @@ -25711,7 +25712,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &222 + reactions: &223 title: Reaction Rollup type: object properties: @@ -25872,10 +25873,10 @@ paths: assignees: type: array items: *4 - label: *219 + label: *220 labels: type: array - items: *219 + items: *220 required: - action - issue @@ -25884,7 +25885,7 @@ paths: properties: action: type: string - issue: *220 + issue: *221 comment: &653 title: Issue Comment description: Comments provide a way for people to collaborate @@ -25933,7 +25934,7 @@ paths: issue_url: type: string format: uri - author_association: *221 + author_association: *222 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -25944,9 +25945,9 @@ paths: actors within GitHub. type: object nullable: true - properties: *217 - required: *218 - reactions: *222 + properties: *218 + required: *219 + reactions: *223 required: - id - node_id @@ -26119,8 +26120,8 @@ paths: title: License Simple description: License Simple type: object - properties: *223 - required: *224 + properties: *224 + required: *225 nullable: true allow_forking: type: boolean @@ -26209,7 +26210,7 @@ paths: type: string number: type: integer - pull_request: &225 + pull_request: &226 title: Pull Request Minimal type: object properties: @@ -26280,10 +26281,10 @@ paths: assignees: type: array items: *4 - label: *219 + label: *220 labels: type: array - items: *219 + items: *220 required: - action - number @@ -26293,7 +26294,7 @@ paths: properties: action: type: string - pull_request: *225 + pull_request: *226 comment: type: object properties: @@ -26544,7 +26545,7 @@ paths: - pull_request updated_at: type: string - pull_request: *225 + pull_request: *226 required: - action - review @@ -26593,7 +26594,7 @@ paths: updated_at: type: string format: date-time - reactions: *222 + reactions: *223 required: - action - comment @@ -26750,7 +26751,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *222 + reactions: *223 required: - assets_url - upload_url @@ -26842,7 +26843,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *37 '403': *29 - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26923,7 +26924,7 @@ paths: _links: type: object properties: - timeline: &226 + timeline: &227 title: Link With Type description: Hypermedia Link with Type type: object @@ -26935,17 +26936,17 @@ paths: required: - href - type - user: *226 - security_advisories: *226 - current_user: *226 - current_user_public: *226 - current_user_actor: *226 - current_user_organization: *226 + user: *227 + security_advisories: *227 + current_user: *227 + current_user_public: *227 + current_user_actor: *227 + current_user_organization: *227 current_user_organizations: type: array - items: *226 - repository_discussions: *226 - repository_discussions_category: *226 + items: *227 + repository_discussions: *227 + repository_discussions_category: *227 required: - timeline - user @@ -27007,7 +27008,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *227 + - *228 - *17 - *19 responses: @@ -27017,7 +27018,7 @@ paths: application/json: schema: type: array - items: &228 + items: &229 title: Base Gist description: Base Gist type: object @@ -27116,7 +27117,7 @@ paths: - created_at - updated_at examples: - default: &229 + default: &230 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -27237,7 +27238,7 @@ paths: description: Response content: application/json: - schema: &230 + schema: &231 title: Gist Simple description: Gist Simple type: object @@ -27616,7 +27617,7 @@ paths: truncated: type: boolean examples: - default: &231 + default: &232 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -27720,7 +27721,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-public-gists parameters: - - *227 + - *228 - *17 - *19 responses: @@ -27730,9 +27731,9 @@ paths: application/json: schema: type: array - items: *228 + items: *229 examples: - default: *229 + default: *230 headers: Link: *47 '422': *15 @@ -27754,7 +27755,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-starred-gists parameters: - - *227 + - *228 - *17 - *19 responses: @@ -27764,9 +27765,9 @@ paths: application/json: schema: type: array - items: *228 + items: *229 examples: - default: *229 + default: *230 headers: Link: *47 '401': *25 @@ -27794,7 +27795,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist parameters: - - &232 + - &233 name: gist_id description: The unique identifier of the gist. in: path @@ -27806,10 +27807,10 @@ paths: description: Response content: application/json: - schema: *230 + schema: *231 examples: - default: *231 - '403': &235 + default: *232 + '403': &236 description: Forbidden Gist content: application/json: @@ -27857,7 +27858,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#update-a-gist parameters: - - *232 + - *233 requestBody: required: true content: @@ -27917,9 +27918,9 @@ paths: description: Response content: application/json: - schema: *230 + schema: *231 examples: - updateGist: *231 + updateGist: *232 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -28077,7 +28078,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#delete-a-gist parameters: - - *232 + - *233 responses: '204': description: Response @@ -28106,7 +28107,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#list-gist-comments parameters: - - *232 + - *233 - *17 - *19 responses: @@ -28116,7 +28117,7 @@ paths: application/json: schema: type: array - items: &233 + items: &234 title: Gist Comment description: A comment made to a gist. type: object @@ -28151,7 +28152,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *221 + author_association: *222 required: - url - id @@ -28216,7 +28217,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#create-a-gist-comment parameters: - - *232 + - *233 requestBody: required: true content: @@ -28241,9 +28242,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *234 examples: - default: &234 + default: &235 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -28301,8 +28302,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#get-a-gist-comment parameters: - - *232 - - &236 + - *233 + - &237 name: comment_id description: The unique identifier of the comment. in: path @@ -28315,12 +28316,12 @@ paths: description: Response content: application/json: - schema: *233 + schema: *234 examples: - default: *234 + default: *235 '304': *37 '404': *6 - '403': *235 + '403': *236 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28342,8 +28343,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#update-a-gist-comment parameters: - - *232 - - *236 + - *233 + - *237 requestBody: required: true content: @@ -28368,9 +28369,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *234 examples: - default: *234 + default: *235 '404': *6 x-github: githubCloudOnly: false @@ -28387,8 +28388,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#delete-a-gist-comment parameters: - - *232 - - *236 + - *233 + - *237 responses: '204': description: Response @@ -28411,7 +28412,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-commits parameters: - - *232 + - *233 - *17 - *19 responses: @@ -28512,7 +28513,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-forks parameters: - - *232 + - *233 - *17 - *19 responses: @@ -28522,7 +28523,7 @@ paths: application/json: schema: type: array - items: *230 + items: *231 examples: default: value: @@ -28587,13 +28588,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#fork-a-gist parameters: - - *232 + - *233 responses: '201': description: Response content: application/json: - schema: *228 + schema: *229 examples: default: value: @@ -28664,7 +28665,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#check-if-a-gist-is-starred parameters: - - *232 + - *233 responses: '204': description: Response if gist is starred @@ -28694,7 +28695,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#star-a-gist parameters: - - *232 + - *233 responses: '204': description: Response @@ -28716,7 +28717,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#unstar-a-gist parameters: - - *232 + - *233 responses: '204': description: Response @@ -28745,7 +28746,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist-revision parameters: - - *232 + - *233 - name: sha in: path required: true @@ -28756,9 +28757,9 @@ paths: description: Response content: application/json: - schema: *230 + schema: *231 examples: - default: *231 + default: *232 '422': *15 '404': *6 '403': *29 @@ -29143,7 +29144,7 @@ paths: - comments default: created - *110 - - *227 + - *228 - name: collab in: query required: false @@ -29173,7 +29174,7 @@ paths: application/json: schema: type: array - items: *220 + items: *221 examples: default: &375 value: @@ -29458,8 +29459,8 @@ paths: title: License Simple description: License Simple type: object - properties: *223 - required: *224 + properties: *224 + required: *225 examples: default: value: @@ -29744,7 +29745,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &237 + X-CommonMarker-Version: &238 example: 0.17.4 schema: type: string @@ -29799,7 +29800,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *237 + X-CommonMarker-Version: *238 content: text/html: schema: @@ -29828,7 +29829,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: - - &240 + - &241 name: account_id description: account_id parameter in: path @@ -29840,7 +29841,7 @@ paths: description: Response content: application/json: - schema: &239 + schema: &240 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -29870,7 +29871,7 @@ paths: nullable: true id: type: integer - plan: &238 + plan: &239 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -29959,7 +29960,7 @@ paths: nullable: true updated_at: type: string - plan: *238 + plan: *239 required: - url - id @@ -29967,7 +29968,7 @@ paths: - login - marketplace_purchase examples: - default: &241 + default: &242 value: url: https://api.github.com/orgs/github type: Organization @@ -30052,9 +30053,9 @@ paths: application/json: schema: type: array - items: *238 + items: *239 examples: - default: &242 + default: &243 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -30094,14 +30095,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &243 + - &244 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &244 + - &245 name: sort description: The property to sort the results by. in: query @@ -30131,9 +30132,9 @@ paths: application/json: schema: type: array - items: *239 + items: *240 examples: - default: &245 + default: &246 value: - url: https://api.github.com/orgs/github type: Organization @@ -30207,15 +30208,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: - - *240 + - *241 responses: '200': description: Response content: application/json: - schema: *239 + schema: *240 examples: - default: *241 + default: *242 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -30247,9 +30248,9 @@ paths: application/json: schema: type: array - items: *238 + items: *239 examples: - default: *242 + default: *243 headers: Link: *47 '401': *25 @@ -30272,8 +30273,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *243 - *244 + - *245 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -30293,9 +30294,9 @@ paths: application/json: schema: type: array - items: *239 + items: *240 examples: - default: *245 + default: *246 headers: Link: *47 '401': *25 @@ -30583,7 +30584,7 @@ paths: application/json: schema: type: array - items: *246 + items: *247 examples: default: value: @@ -30667,7 +30668,7 @@ paths: schema: type: boolean default: false - - *227 + - *228 - &688 name: before description: 'Only show notifications updated before the given time. This @@ -30693,14 +30694,14 @@ paths: application/json: schema: type: array - items: &247 + items: &248 title: Thread description: Thread type: object properties: id: type: string - repository: &283 + repository: &284 title: Minimal Repository description: Minimal Repository type: object @@ -31316,7 +31317,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread parameters: - - &248 + - &249 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 @@ -31330,7 +31331,7 @@ paths: description: Response content: application/json: - schema: *247 + schema: *248 examples: default: value: @@ -31433,7 +31434,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-read parameters: - - *248 + - *249 responses: '205': description: Reset Content @@ -31456,7 +31457,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-done parameters: - - *248 + - *249 responses: '204': description: No content @@ -31479,13 +31480,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: - - *248 + - *249 responses: '200': description: Response content: application/json: - schema: &249 + schema: &250 title: Thread Subscription description: Thread Subscription type: object @@ -31522,7 +31523,7 @@ paths: - url - subscribed examples: - default: &250 + default: &251 value: subscribed: true ignored: false @@ -31553,7 +31554,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#set-a-thread-subscription parameters: - - *248 + - *249 requestBody: required: false content: @@ -31574,9 +31575,9 @@ paths: description: Response content: application/json: - schema: *249 + schema: *250 examples: - default: *250 + default: *251 '304': *37 '403': *29 '401': *25 @@ -31599,7 +31600,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#delete-a-thread-subscription parameters: - - *248 + - *249 responses: '204': description: Response @@ -31696,7 +31697,7 @@ paths: type: array items: *73 examples: - default: *251 + default: *252 headers: Link: example: ; rel="next" @@ -31848,7 +31849,7 @@ paths: description: Response content: application/json: - schema: &252 + schema: &253 title: Actions cache retention limit for an organization description: GitHub Actions cache retention policy for an organization. type: object @@ -31886,7 +31887,7 @@ paths: required: true content: application/json: - schema: *252 + schema: *253 examples: selected_actions: *44 responses: @@ -31921,7 +31922,7 @@ paths: description: Response content: application/json: - schema: &253 + schema: &254 title: Actions cache storage limit for an organization description: GitHub Actions cache storage policy for an organization. type: object @@ -31959,7 +31960,7 @@ paths: required: true content: application/json: - schema: *253 + schema: *254 examples: selected_actions: *46 responses: @@ -32032,8 +32033,8 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: *254 - required: *255 + properties: *255 + required: *256 nullable: true additionalProperties: false examples: @@ -32265,7 +32266,7 @@ paths: application/json: schema: type: array - items: *155 + items: *156 examples: default: &695 value: @@ -32313,7 +32314,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the organization. - items: *155 + items: *156 required: - properties examples: @@ -32364,7 +32365,7 @@ paths: description: Response content: application/json: - schema: &256 + schema: &257 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -32697,7 +32698,7 @@ paths: - updated_at - archived_at examples: - default-response: &257 + default-response: &258 value: login: github id: 1 @@ -33022,18 +33023,18 @@ paths: description: Response content: application/json: - schema: *256 + schema: *257 examples: - default: *257 + default: *258 '422': description: Validation failed content: application/json: schema: oneOf: - - *258 - *259 - '409': *118 + - *260 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33087,9 +33088,9 @@ paths: description: Response content: application/json: - schema: *260 + schema: *261 examples: - default: *261 + default: *262 headers: Link: *47 x-github: @@ -33205,7 +33206,7 @@ paths: type: array items: *48 examples: - default: *262 + default: *263 headers: Link: *47 x-github: @@ -33371,7 +33372,7 @@ paths: application/json: schema: *49 examples: - default: *263 + default: *264 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33463,7 +33464,7 @@ paths: application/json: schema: *52 examples: - default: *264 + default: *265 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33582,9 +33583,9 @@ paths: description: Response content: application/json: - schema: *265 + schema: *266 examples: - default: *266 + default: *267 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33620,7 +33621,7 @@ paths: type: array items: *56 examples: - default: *267 + default: *268 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33808,7 +33809,7 @@ paths: description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &268 + schema: &269 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -33822,7 +33823,7 @@ paths: required: - include_claim_keys examples: - default: &269 + default: &270 value: include_claim_keys: - repo @@ -33849,15 +33850,15 @@ paths: required: true content: application/json: - schema: *268 + schema: *269 examples: - default: *269 + default: *270 responses: '201': description: Empty response content: application/json: - schema: &294 + schema: &295 title: Empty Object description: An object without any properties. type: object @@ -33896,7 +33897,7 @@ paths: schema: type: object properties: - enabled_repositories: &271 + enabled_repositories: &272 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -33910,7 +33911,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *60 - selected_actions_url: *270 + selected_actions_url: *271 sha_pinning_required: *61 required: - enabled_repositories @@ -33952,7 +33953,7 @@ paths: schema: type: object properties: - enabled_repositories: *271 + enabled_repositories: *272 allowed_actions: *60 sha_pinning_required: *61 required: @@ -33988,7 +33989,7 @@ paths: description: Response content: application/json: - schema: *272 + schema: *273 examples: response: summary: Example response @@ -34019,7 +34020,7 @@ paths: required: true content: application/json: - schema: *273 + schema: *274 examples: application/json: value: @@ -34029,7 +34030,7 @@ paths: description: No content '403': *29 '404': *6 - '409': *118 + '409': *119 '422': *15 x-github: enabledForGitHubApps: true @@ -34057,7 +34058,7 @@ paths: application/json: schema: *62 examples: - default: *274 + default: *275 '404': *6 x-github: enabledForGitHubApps: true @@ -34114,7 +34115,7 @@ paths: description: Response content: application/json: - schema: *275 + schema: *276 examples: default: *63 '403': *29 @@ -34139,7 +34140,7 @@ paths: required: true content: application/json: - schema: *276 + schema: *277 examples: default: *63 responses: @@ -34191,7 +34192,7 @@ paths: type: array items: *78 examples: - default: &278 + default: &279 value: total_count: 1 repositories: @@ -34376,7 +34377,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - *87 - - &277 + - &278 name: repository_id description: The unique identifier of the repository. in: path @@ -34405,7 +34406,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - *87 - - *277 + - *278 responses: '204': description: Response @@ -34564,7 +34565,7 @@ paths: description: No content '403': *29 '404': *6 - '409': *118 + '409': *119 '422': *15 x-github: enabledForGitHubApps: true @@ -34601,7 +34602,7 @@ paths: type: array items: *78 examples: - default: *278 + default: *279 '403': *29 '404': *6 x-github: @@ -34670,13 +34671,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: - *87 - - *277 + - *278 responses: '204': description: No content '403': *29 '404': *6 - '409': *118 + '409': *119 '422': *15 x-github: enabledForGitHubApps: true @@ -34697,13 +34698,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: - *87 - - *277 + - *278 responses: '204': description: No content '403': *29 '404': *6 - '409': *118 + '409': *119 '422': *15 x-github: enabledForGitHubApps: true @@ -34731,7 +34732,7 @@ paths: description: Response content: application/json: - schema: *279 + schema: *280 examples: default: *69 x-github: @@ -34765,7 +34766,7 @@ paths: required: false content: application/json: - schema: *280 + schema: *281 examples: default: *69 x-github: @@ -34812,7 +34813,7 @@ paths: type: number runner_groups: type: array - items: &281 + items: &282 type: object properties: id: @@ -35000,9 +35001,9 @@ paths: description: Response content: application/json: - schema: *281 + schema: *282 examples: - default: &282 + default: &283 value: id: 2 name: octo-runner-group @@ -35044,7 +35045,7 @@ paths: description: Response content: application/json: - schema: *281 + schema: *282 examples: default: value: @@ -35135,9 +35136,9 @@ paths: description: Response content: application/json: - schema: *281 + schema: *282 examples: - default: *282 + default: *283 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -35201,7 +35202,7 @@ paths: type: array items: *48 examples: - default: *262 + default: *263 headers: Link: *47 x-github: @@ -35242,7 +35243,7 @@ paths: type: number repositories: type: array - items: *283 + items: *284 examples: default: &806 value: @@ -35543,7 +35544,7 @@ paths: parameters: - *87 - *72 - - *277 + - *278 responses: '204': description: Response @@ -35567,7 +35568,7 @@ paths: parameters: - *87 - *72 - - *277 + - *278 responses: '204': description: Response @@ -35785,9 +35786,9 @@ paths: application/json: schema: type: array - items: *284 + items: *285 examples: - default: *285 + default: *286 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35852,10 +35853,10 @@ paths: - no-gpu work_folder: _work responses: - '201': *286 + '201': *287 '404': *6 '422': *7 - '409': *118 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35891,7 +35892,7 @@ paths: application/json: schema: *79 examples: - default: *287 + default: *288 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35927,7 +35928,7 @@ paths: application/json: schema: *79 examples: - default: *288 + default: *289 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35958,7 +35959,7 @@ paths: application/json: schema: *76 examples: - default: *289 + default: *290 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36133,7 +36134,7 @@ paths: - *87 - *75 responses: - '200': *290 + '200': *291 '404': *6 x-github: githubCloudOnly: false @@ -36162,7 +36163,7 @@ paths: parameters: - *87 - *75 - - *291 + - *292 responses: '200': *81 '404': *6 @@ -36207,7 +36208,7 @@ paths: type: integer secrets: type: array - items: &292 + items: &293 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -36341,7 +36342,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - *87 - - &293 + - &294 name: secret_name description: The name of the secret. in: path @@ -36353,7 +36354,7 @@ paths: description: Response content: application/json: - schema: *292 + schema: *293 examples: default: value: @@ -36384,7 +36385,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - *87 - - *293 + - *294 requestBody: required: true content: @@ -36441,7 +36442,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *294 + schema: *295 examples: default: value: @@ -36468,7 +36469,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - *87 - - *293 + - *294 responses: '204': description: Response @@ -36495,7 +36496,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - *87 - - *293 + - *294 - *19 - *17 responses: @@ -36513,9 +36514,9 @@ paths: type: integer repositories: type: array - items: *283 + items: *284 examples: - default: &297 + default: &298 value: total_count: 1 repositories: @@ -36608,7 +36609,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - *87 - - *293 + - *294 requestBody: required: true content: @@ -36661,7 +36662,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - *87 - - *293 + - *294 - name: repository_id in: path required: true @@ -36695,7 +36696,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - *87 - - *293 + - *294 - name: repository_id in: path required: true @@ -36752,7 +36753,7 @@ paths: type: integer variables: type: array - items: &295 + items: &296 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -36885,7 +36886,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *294 + schema: *295 examples: default: value: @@ -36911,7 +36912,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - *87 - - &296 + - &297 name: name description: The name of the variable. in: path @@ -36923,7 +36924,7 @@ paths: description: Response content: application/json: - schema: *295 + schema: *296 examples: default: value: @@ -36954,7 +36955,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - *87 - - *296 + - *297 requestBody: required: true content: @@ -37017,7 +37018,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - *87 - - *296 + - *297 responses: '204': description: Response @@ -37044,7 +37045,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - *87 - - *296 + - *297 - *19 - *17 responses: @@ -37062,9 +37063,9 @@ paths: type: integer repositories: type: array - items: *283 + items: *284 examples: - default: *297 + default: *298 '409': description: Response when the visibility of the variable is not set to `selected` @@ -37091,7 +37092,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - *87 - - *296 + - *297 requestBody: required: true content: @@ -37141,7 +37142,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - *87 - - *296 + - *297 - name: repository_id in: path required: true @@ -37176,7 +37177,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - *87 - - *296 + - *297 - name: repository_id in: path required: true @@ -37234,7 +37235,7 @@ paths: required: true content: application/json: - schema: *298 + schema: *299 examples: default: *85 parameters: @@ -37396,7 +37397,7 @@ paths: type: integer deployment_records: type: array - items: &299 + items: &300 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -37440,7 +37441,7 @@ paths: with the deployment record. nullable: true examples: - default: &300 + default: &301 value: total_count: 1 deployment_records: @@ -37613,9 +37614,9 @@ paths: type: integer deployment_records: type: array - items: *299 + items: *300 examples: - default: *300 + default: *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37812,9 +37813,9 @@ paths: type: integer deployment_records: type: array - items: *299 + items: *300 examples: - default: *300 + default: *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38481,10 +38482,10 @@ paths: required: false schema: type: string - - *301 - *302 - *303 - *304 + - *305 - *17 responses: '200': @@ -38493,9 +38494,9 @@ paths: application/json: schema: type: array - items: *305 + items: *306 examples: - default: *306 + default: *307 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -38524,7 +38525,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *213 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38544,7 +38545,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - *87 - - *142 + - *143 responses: '204': description: If the user is blocked @@ -38570,7 +38571,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#block-a-user-from-an-organization parameters: - *87 - - *142 + - *143 responses: '204': description: Response @@ -38591,7 +38592,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - *87 - - *142 + - *143 responses: '204': description: Response @@ -38618,7 +38619,7 @@ paths: subcategory: bypass-requests parameters: - *87 - - &309 + - &310 name: repository_name description: The name of the repository to filter on. in: query @@ -38637,9 +38638,9 @@ paths: application/json: schema: type: array - items: *307 + items: *308 examples: - default: *308 + default: *309 '404': *6 '500': *40 "/orgs/{org}/bypass-requests/secret-scanning": @@ -38663,7 +38664,7 @@ paths: subcategory: delegated-bypass parameters: - *87 - - *309 + - *310 - *103 - *104 - *105 @@ -38677,9 +38678,9 @@ paths: application/json: schema: type: array - items: *310 + items: *311 examples: - default: *311 + default: *312 '404': *6 '500': *40 "/orgs/{org}/campaigns": @@ -38706,7 +38707,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &313 + schema: &314 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -38732,7 +38733,7 @@ paths: application/json: schema: type: array - items: &314 + items: &315 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -38763,7 +38764,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *312 + items: *313 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -38781,7 +38782,7 @@ paths: type: string format: date-time nullable: true - state: *313 + state: *314 contact_link: description: The contact link of the campaign. type: string @@ -38878,7 +38879,7 @@ paths: headers: Link: *47 '404': *6 - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39001,9 +39002,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *315 examples: - default: &315 + default: &316 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -39052,7 +39053,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39086,16 +39087,16 @@ paths: description: Response content: application/json: - schema: *314 + schema: *315 examples: - default: *315 + default: *316 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39165,7 +39166,7 @@ paths: type: string format: uri nullable: true - state: *313 + state: *314 examples: default: value: @@ -39175,9 +39176,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *315 examples: - default: *315 + default: *316 '400': description: Bad Request content: @@ -39189,7 +39190,7 @@ paths: content: application/json: schema: *3 - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39221,7 +39222,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39244,8 +39245,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *87 - - *316 - *317 + - *318 - *108 - *109 - *19 @@ -39256,7 +39257,7 @@ paths: be returned. in: query required: false - schema: *318 + schema: *319 - name: sort description: The property by which to sort the results. in: query @@ -39298,13 +39299,13 @@ paths: application/json: schema: type: array - items: *319 + items: *320 examples: - default: *320 + default: *321 headers: Link: *47 '404': *6 - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39515,7 +39516,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *321 + code_scanning_options: *118 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -39740,11 +39741,11 @@ paths: - 32 - 91 responses: - '204': *154 + '204': *155 '400': *14 '403': *29 '404': *6 - '409': *118 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39880,6 +39881,7 @@ paths: - disabled - not_set code_scanning_default_setup_options: *117 + code_scanning_options: *118 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -40059,11 +40061,11 @@ paths: - *87 - *116 responses: - '204': *154 + '204': *155 '400': *14 '403': *29 '404': *6 - '409': *118 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40321,7 +40323,7 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *283 + repository: *284 machine: type: object title: Codespace machine @@ -41327,7 +41329,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - *87 - - *293 + - *294 responses: '200': description: Response @@ -41363,7 +41365,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - *87 - - *293 + - *294 requestBody: required: true content: @@ -41418,7 +41420,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *294 + schema: *295 examples: default: value: @@ -41445,7 +41447,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - *87 - - *293 + - *294 responses: '204': description: Response @@ -41471,7 +41473,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - *87 - - *293 + - *294 - *19 - *17 responses: @@ -41489,9 +41491,9 @@ paths: type: integer repositories: type: array - items: *283 + items: *284 examples: - default: *297 + default: *298 '404': *6 x-github: githubCloudOnly: false @@ -41514,7 +41516,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - *87 - - *293 + - *294 requestBody: required: true content: @@ -41565,7 +41567,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - *87 - - *293 + - *294 - name: repository_id in: path required: true @@ -41599,7 +41601,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - *87 - - *293 + - *294 - name: repository_id in: path required: true @@ -41802,9 +41804,9 @@ paths: currently being billed. seats: type: array - items: *145 + items: *146 examples: - default: *146 + default: *147 headers: Link: *47 '500': *40 @@ -42188,13 +42190,13 @@ paths: application/json: schema: type: array - items: *207 + items: *208 examples: - default: *208 + default: *209 '500': *40 '403': *29 '404': *6 - '422': *209 + '422': *210 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42221,15 +42223,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: - *87 - - *122 + - *123 responses: '200': description: Response content: application/json: - schema: *123 + schema: *124 examples: - default: *124 + default: *125 '500': *40 '403': *29 '404': *6 @@ -42264,9 +42266,9 @@ paths: description: Response content: application/json: - schema: *125 + schema: *126 examples: - default: *126 + default: *127 '500': *40 '403': *29 '404': *6 @@ -42296,15 +42298,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: - *87 - - *122 + - *123 responses: '200': description: Response content: application/json: - schema: *123 + schema: *124 examples: - default: *124 + default: *125 '500': *40 '403': *29 '404': *6 @@ -42339,9 +42341,9 @@ paths: description: Response content: application/json: - schema: *125 + schema: *126 examples: - default: *126 + default: *127 '500': *40 '403': *29 '404': *6 @@ -42716,7 +42718,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - *87 - - *141 + - *142 responses: '200': description: Response @@ -42747,7 +42749,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - *87 - - *141 + - *142 requestBody: required: true content: @@ -42817,7 +42819,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - *87 - - *141 + - *142 responses: '204': description: Response @@ -42897,7 +42899,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - *87 - - *141 + - *142 responses: '200': description: Response @@ -42934,7 +42936,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - *87 - - *141 + - *142 requestBody: required: true content: @@ -42987,7 +42989,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - *87 - - *141 + - *142 responses: '204': description: Response @@ -43235,7 +43237,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - *87 - - *293 + - *294 responses: '200': description: Response @@ -43270,7 +43272,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - *87 - - *293 + - *294 requestBody: required: true content: @@ -43329,7 +43331,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *294 + schema: *295 examples: default: value: @@ -43354,7 +43356,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - *87 - - *293 + - *294 responses: '204': description: Response @@ -43379,7 +43381,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - *87 - - *293 + - *294 - *19 - *17 responses: @@ -43397,9 +43399,9 @@ paths: type: integer repositories: type: array - items: *283 + items: *284 examples: - default: *297 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43421,7 +43423,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - *87 - - *293 + - *294 requestBody: required: true content: @@ -43472,7 +43474,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - *87 - - *293 + - *294 - name: repository_id in: path required: true @@ -43504,7 +43506,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - *87 - - *293 + - *294 - name: repository_id in: path required: true @@ -43588,7 +43590,7 @@ paths: - denied - all default: all - - *309 + - *310 - *17 - *19 responses: @@ -43842,7 +43844,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *87 - - *309 + - *310 - *103 - *104 - *105 @@ -44077,7 +44079,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *87 - - *309 + - *310 - *103 - *104 - *105 @@ -44458,7 +44460,7 @@ paths: application/json: schema: type: array - items: *246 + items: *247 examples: 200-response: value: @@ -46548,7 +46550,7 @@ paths: application/json: schema: type: array - items: *312 + items: *313 examples: default: &386 value: @@ -46875,7 +46877,7 @@ paths: - comments default: created - *110 - - *227 + - *228 - *17 - *19 responses: @@ -46885,7 +46887,7 @@ paths: application/json: schema: type: array - items: *220 + items: *221 examples: default: *375 headers: @@ -46947,7 +46949,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *213 headers: Link: *47 '422': *15 @@ -46968,7 +46970,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-organization-membership-for-a-user parameters: - *87 - - *142 + - *143 responses: '204': description: Response if requester is an organization member and user is @@ -47003,7 +47005,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-an-organization-member parameters: - *87 - - *142 + - *143 responses: '204': description: Response @@ -47030,7 +47032,7 @@ paths: - *17 - *19 - *87 - - *142 + - *143 responses: '200': description: Response @@ -47074,7 +47076,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - *87 - - *142 + - *143 - &378 name: codespace_name in: path @@ -47109,7 +47111,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - *87 - - *142 + - *143 - *378 responses: '200': @@ -47292,13 +47294,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - *87 - - *142 + - *143 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *145 + schema: *146 examples: default: value: @@ -47368,7 +47370,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-organization-membership-for-a-user parameters: - *87 - - *142 + - *143 responses: '200': description: Response @@ -47514,7 +47516,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-organization-membership-for-a-user parameters: - *87 - - *142 + - *143 requestBody: required: false content: @@ -47569,7 +47571,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-organization-membership-for-a-user parameters: - *87 - - *142 + - *143 responses: '204': description: Response @@ -48405,7 +48407,7 @@ paths: application/json: schema: type: array - items: *283 + items: *284 examples: default: &393 value: @@ -48852,7 +48854,7 @@ paths: updated_at: '2022-07-04T22:19:11Z' '422': *15 '404': *6 - '409': *118 + '409': *119 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -48875,7 +48877,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *87 - - *215 + - *216 responses: '204': description: Response @@ -48901,8 +48903,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *87 - - *215 - - *141 + - *216 + - *142 responses: '204': description: Response @@ -48932,8 +48934,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *87 - - *215 - - *141 + - *216 + - *142 responses: '204': description: Response @@ -48959,7 +48961,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - *87 - - *142 + - *143 responses: '204': description: Response @@ -48985,8 +48987,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - *87 + - *143 - *142 - - *141 responses: '204': description: Response @@ -49017,8 +49019,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - *87 + - *143 - *142 - - *141 responses: '204': description: Response @@ -49047,7 +49049,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - *87 - - *141 + - *142 responses: '200': description: Response @@ -49111,7 +49113,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - *87 - - *141 + - *142 requestBody: required: true content: @@ -49178,7 +49180,7 @@ paths: created_at: '2022-07-04T22:19:11Z' updated_at: '2022-07-04T22:19:11Z' '422': *15 - '409': *118 + '409': *119 '404': *6 x-github: githubCloudOnly: true @@ -49204,7 +49206,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - *87 - - *141 + - *142 responses: '204': description: Response @@ -49230,7 +49232,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *87 - - *141 + - *142 - *17 - *19 responses: @@ -49371,7 +49373,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *87 - - *141 + - *142 - *17 - *19 responses: @@ -49500,7 +49502,7 @@ paths: - type - url examples: - default: *212 + default: *213 headers: Link: *47 '404': @@ -49551,7 +49553,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *213 headers: Link: *47 x-github: @@ -49577,7 +49579,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - *87 - - *142 + - *143 requestBody: required: false content: @@ -49635,7 +49637,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - *87 - - *142 + - *143 responses: '204': description: Response @@ -50501,7 +50503,7 @@ paths: '422': *15 '404': *6 '403': *29 - '204': *154 + '204': *155 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50542,7 +50544,7 @@ paths: application/json: schema: type: array - items: *283 + items: *284 examples: default: *393 headers: @@ -50816,7 +50818,7 @@ paths: responses: '500': *40 '404': *6 - '204': *154 + '204': *155 '403': *29 '422': *15 x-github: @@ -50857,7 +50859,7 @@ paths: application/json: schema: type: array - items: *283 + items: *284 examples: default: *393 headers: @@ -51281,7 +51283,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - *87 - - *293 + - *294 responses: '200': description: The specified private registry configuration for the organization @@ -51311,7 +51313,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - *87 - - *293 + - *294 requestBody: required: true content: @@ -51416,7 +51418,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - *87 - - *293 + - *294 responses: '204': description: Response @@ -51787,7 +51789,7 @@ paths: description: The node ID of the project item. content: oneOf: - - *220 + - *221 - &580 title: Pull Request Simple description: Pull Request Simple @@ -51940,7 +51942,7 @@ paths: nullable: true requested_teams: type: array - items: *312 + items: *313 nullable: true head: type: object @@ -52016,7 +52018,7 @@ paths: - review_comments - review_comment - self - author_association: *221 + author_association: *222 auto_merge: &698 title: Auto merge description: The status of auto merging a pull request. @@ -53678,70 +53680,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 @@ -53754,8 +53748,20 @@ paths: application/json: schema: *411 examples: - issue: *412 - pull_request: *412 + issue_with_id: + summary: Response for adding an issue using its unique ID + value: *412 + pull_request_with_id: + summary: Response for adding a pull request using its unique ID + value: *412 + issue_with_nwo: + summary: Response for adding an issue using repository owner, name, + and issue number + value: *412 + pull_request_with_nwo: + summary: Response for adding a pull request using repository owner, + name, and PR number + value: *412 '304': *37 '403': *29 '401': *25 @@ -54018,9 +54024,9 @@ paths: application/json: schema: type: array - items: *156 + items: *157 examples: - default: *157 + default: *158 '403': *29 '404': *6 x-github: @@ -54058,7 +54064,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *156 + items: *157 minItems: 1 maxItems: 100 required: @@ -54088,9 +54094,9 @@ paths: application/json: schema: type: array - items: *156 + items: *157 examples: - default: *157 + default: *158 '403': *29 '404': *6 x-github: @@ -54112,15 +54118,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *87 - - *152 + - *153 responses: '200': description: Response content: application/json: - schema: *156 + schema: *157 examples: - default: *158 + default: *159 '403': *29 '404': *6 x-github: @@ -54144,7 +54150,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *87 - - *152 + - *153 requestBody: required: true content: @@ -54165,9 +54171,9 @@ paths: description: Response content: application/json: - schema: *156 + schema: *157 examples: - default: *158 + default: *159 '403': *29 '404': *6 x-github: @@ -54191,9 +54197,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *87 - - *152 + - *153 responses: - '204': *154 + '204': *155 '403': *29 '404': *6 x-github: @@ -54252,7 +54258,7 @@ paths: example: octocat/Hello-World properties: type: array - items: *155 + items: *156 description: List of custom property names and associated values required: - repository_id @@ -54321,7 +54327,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *155 + items: *156 required: - repository_names - properties @@ -54374,7 +54380,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *213 headers: Link: *47 x-github: @@ -54394,7 +54400,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-public-organization-membership-for-a-user parameters: - *87 - - *142 + - *143 responses: '204': description: Response if user is a public member @@ -54419,7 +54425,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - *87 - - *142 + - *143 responses: '204': description: Response @@ -54441,7 +54447,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - *87 - - *142 + - *143 responses: '204': description: Response @@ -54512,7 +54518,7 @@ paths: application/json: schema: type: array - items: *283 + items: *284 examples: default: *393 headers: @@ -55082,8 +55088,8 @@ paths: title: License Simple description: License Simple type: object - properties: *223 - required: *224 + properties: *224 + required: *225 nullable: true organization: title: Simple User @@ -55786,7 +55792,7 @@ paths: application/json: schema: type: array - items: *190 + items: *191 examples: default: value: @@ -55854,11 +55860,11 @@ paths: - push - repository default: branch - enforcement: *167 + enforcement: *168 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *168 + items: *169 conditions: *422 rules: type: array @@ -55868,7 +55874,6 @@ paths: type: object description: A repository rule. oneOf: - - *169 - *170 - *171 - *172 @@ -55889,6 +55894,7 @@ paths: - *187 - *188 - *189 + - *190 required: - name - enforcement @@ -55926,7 +55932,7 @@ paths: description: Response content: application/json: - schema: *190 + schema: *191 examples: default: &423 value: @@ -55993,7 +55999,7 @@ paths: schema: type: string x-multi-segment: true - - *309 + - *310 - *105 - &723 name: actor_name @@ -56309,7 +56315,7 @@ paths: description: Response content: application/json: - schema: *190 + schema: *191 examples: default: *423 '404': *6 @@ -56355,11 +56361,11 @@ paths: - tag - push - repository - enforcement: *167 + enforcement: *168 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *168 + items: *169 conditions: *422 rules: description: An array of rules within the ruleset. @@ -56399,7 +56405,7 @@ paths: description: Response content: application/json: - schema: *190 + schema: *191 examples: default: *423 '404': *6 @@ -56458,7 +56464,7 @@ paths: application/json: schema: type: array - items: *194 + items: *195 examples: default: *425 '404': *6 @@ -56605,7 +56611,7 @@ paths: headers: Link: *47 '404': *6 - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56667,7 +56673,7 @@ paths: schema: type: object properties: - pattern_config_version: *197 + pattern_config_version: *198 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -56693,7 +56699,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *197 + custom_pattern_version: *198 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -56729,7 +56735,7 @@ paths: '400': *14 '403': *29 '404': *6 - '409': *118 + '409': *119 '422': *15 "/orgs/{org}/security-advisories": get: @@ -56978,7 +56984,7 @@ paths: required: - vector_string - score - cvss_severities: *129 + cvss_severities: *130 cwes: type: array nullable: true @@ -57045,14 +57051,14 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *312 + items: *313 private_fork: readOnly: true nullable: true description: A temporary private fork of the advisory's repository for collaborating on a fix. allOf: - - *119 + - *120 required: - ghsa_id - cve_id @@ -57495,7 +57501,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - *87 - - *215 + - *216 responses: '204': description: Response @@ -57521,7 +57527,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - *87 - - *215 + - *216 responses: '204': description: Response @@ -57707,9 +57713,9 @@ paths: type: integer repositories: type: array - items: *283 + items: *284 examples: - default: *297 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57778,7 +57784,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *87 - - *277 + - *278 responses: '204': description: Response @@ -57801,7 +57807,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *87 - - *277 + - *278 responses: '204': description: Response @@ -57842,7 +57848,7 @@ paths: type: integer network_configurations: type: array - items: *147 + items: *148 examples: default: *445 headers: @@ -57907,9 +57913,9 @@ paths: description: Response content: application/json: - schema: *147 + schema: *148 examples: - default: *148 + default: *149 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57930,15 +57936,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *87 - - *149 + - *150 responses: '200': description: Response content: application/json: - schema: *147 + schema: *148 examples: - default: *148 + default: *149 headers: Link: *47 x-github: @@ -57960,7 +57966,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *87 - - *149 + - *150 requestBody: required: true content: @@ -57999,9 +58005,9 @@ paths: description: Response content: application/json: - schema: *147 + schema: *148 examples: - default: *148 + default: *149 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58021,7 +58027,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *87 - - *149 + - *150 responses: '204': description: Response @@ -58183,7 +58189,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - *87 - - *215 + - *216 - 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`). @@ -58215,13 +58221,13 @@ paths: application/json: schema: type: array - items: *207 + items: *208 examples: - default: *208 + default: *209 '500': *40 '403': *29 '404': *6 - '422': *209 + '422': *210 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58249,7 +58255,7 @@ paths: application/json: schema: type: array - items: *312 + items: *313 examples: default: *386 headers: @@ -58743,7 +58749,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - *87 - - *215 + - *216 responses: '200': description: Response @@ -58773,7 +58779,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - *87 - - *215 + - *216 requestBody: required: false content: @@ -58870,7 +58876,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - *87 - - *215 + - *216 responses: '204': description: Response @@ -58897,7 +58903,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - *87 - - *215 + - *216 - *110 - *17 - *19 @@ -58986,7 +58992,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *222 + reactions: *223 required: - author - body @@ -59077,7 +59083,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - *87 - - *215 + - *216 requestBody: required: true content: @@ -59184,7 +59190,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - *87 - - *215 + - *216 - &453 name: discussion_number description: The number that identifies the discussion. @@ -59222,7 +59228,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - *87 - - *215 + - *216 - *453 requestBody: required: false @@ -59317,7 +59323,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - *87 - - *215 + - *216 - *453 responses: '204': @@ -59342,7 +59348,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - *87 - - *215 + - *216 responses: '200': description: Response @@ -59370,7 +59376,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team parameters: - *87 - - *215 + - *216 requestBody: required: true content: @@ -59415,7 +59421,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - *87 - - *215 + - *216 responses: '204': description: Response @@ -59440,7 +59446,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - *87 - - *215 + - *216 - *17 - *19 responses: @@ -59475,7 +59481,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - *87 - - *215 + - *216 - name: role description: Filters members returned by their role in the team. in: query @@ -59498,7 +59504,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *213 headers: Link: *47 x-github: @@ -59529,8 +59535,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - *87 - - *215 - - *142 + - *216 + - *143 responses: '200': description: Response @@ -59600,8 +59606,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *87 - - *215 - - *142 + - *216 + - *143 requestBody: required: false content: @@ -59664,8 +59670,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - *87 - - *215 - - *142 + - *216 + - *143 responses: '204': description: Response @@ -59692,7 +59698,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - *87 - - *215 + - *216 - *17 - *19 responses: @@ -59702,7 +59708,7 @@ paths: application/json: schema: type: array - items: *283 + items: *284 examples: default: *393 headers: @@ -59734,7 +59740,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - *87 - - *215 + - *216 - *459 - *460 responses: @@ -59765,8 +59771,8 @@ paths: title: License Simple description: License Simple type: object - properties: *223 - required: *224 + properties: *224 + required: *225 nullable: true forks: type: integer @@ -60312,7 +60318,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - *87 - - *215 + - *216 - *459 - *460 requestBody: @@ -60360,7 +60366,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - *87 - - *215 + - *216 - *459 - *460 responses: @@ -60389,7 +60395,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team parameters: - *87 - - *215 + - *216 responses: '200': description: Response @@ -60420,7 +60426,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections parameters: - *87 - - *215 + - *216 requestBody: required: true content: @@ -60496,7 +60502,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - *87 - - *215 + - *216 - *17 - *19 responses: @@ -60506,7 +60512,7 @@ paths: application/json: schema: type: array - items: *312 + items: *313 examples: response-if-child-teams-exist: &802 value: @@ -61643,7 +61649,7 @@ paths: documentation_url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository '307': *467 '404': *6 - '409': *118 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62689,7 +62695,7 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: default: value: @@ -62799,7 +62805,7 @@ paths: description: Empty response content: application/json: - schema: *294 + schema: *295 examples: default: value: @@ -62996,7 +63002,7 @@ paths: type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *60 - selected_actions_url: *270 + selected_actions_url: *271 sha_pinning_required: *61 required: - enabled @@ -63161,7 +63167,7 @@ paths: description: Response content: application/json: - schema: *272 + schema: *273 examples: default: value: @@ -63196,7 +63202,7 @@ paths: required: true content: application/json: - schema: *273 + schema: *274 examples: default: summary: Set retention days @@ -63229,7 +63235,7 @@ paths: application/json: schema: *62 examples: - default: *274 + default: *275 '404': *6 x-github: enabledForGitHubApps: true @@ -63290,7 +63296,7 @@ paths: description: Response content: application/json: - schema: *275 + schema: *276 examples: default: *63 '403': *29 @@ -63318,7 +63324,7 @@ paths: required: true content: application/json: - schema: *276 + schema: *277 examples: default: *63 responses: @@ -63416,7 +63422,7 @@ paths: description: Response content: application/json: - schema: *279 + schema: *280 examples: default: *69 x-github: @@ -63451,7 +63457,7 @@ paths: required: true content: application/json: - schema: *280 + schema: *281 examples: default: *69 x-github: @@ -63534,9 +63540,9 @@ paths: application/json: schema: type: array - items: *284 + items: *285 examples: - default: *285 + default: *286 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63602,10 +63608,10 @@ paths: - no-gpu work_folder: _work responses: - '201': *286 + '201': *287 '404': *6 '422': *7 - '409': *118 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63642,7 +63648,7 @@ paths: application/json: schema: *79 examples: - default: *287 + default: *288 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63679,7 +63685,7 @@ paths: application/json: schema: *79 examples: - default: *288 + default: *289 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63711,7 +63717,7 @@ paths: application/json: schema: *76 examples: - default: *289 + default: *290 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63891,7 +63897,7 @@ paths: - *460 - *75 responses: - '200': *290 + '200': *291 '404': *6 x-github: githubCloudOnly: false @@ -63921,7 +63927,7 @@ paths: - *459 - *460 - *75 - - *291 + - *292 responses: '200': *81 '404': *6 @@ -64145,7 +64151,7 @@ paths: that triggered the run. type: array nullable: true - items: *225 + items: *226 created_at: type: string format: date-time @@ -64257,8 +64263,8 @@ paths: - author - committer nullable: true - repository: *283 - head_repository: *283 + repository: *284 + head_repository: *284 head_repository_id: type: integer example: 5 @@ -64944,7 +64950,7 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: default: value: @@ -65234,11 +65240,11 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: default: value: - '409': *118 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65338,11 +65344,11 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: default: value: - '409': *118 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65554,7 +65560,7 @@ paths: reviewer: anyOf: - *4 - - *312 + - *313 required: - environment - wait_timer @@ -65766,8 +65772,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *217 - required: *218 + properties: *218 + required: *219 required: - id - node_id @@ -65863,7 +65869,7 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: default: value: @@ -65909,7 +65915,7 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: default: value: @@ -66160,7 +66166,7 @@ paths: parameters: - *459 - *460 - - *293 + - *294 responses: '200': description: Response @@ -66196,7 +66202,7 @@ paths: parameters: - *459 - *460 - - *293 + - *294 requestBody: required: true content: @@ -66227,7 +66233,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *294 + schema: *295 examples: default: value: @@ -66255,7 +66261,7 @@ paths: parameters: - *459 - *460 - - *293 + - *294 responses: '204': description: Response @@ -66352,7 +66358,7 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: default: value: @@ -66379,7 +66385,7 @@ paths: parameters: - *459 - *460 - - *296 + - *297 responses: '200': description: Response @@ -66415,7 +66421,7 @@ paths: parameters: - *459 - *460 - - *296 + - *297 requestBody: required: true content: @@ -66459,7 +66465,7 @@ paths: parameters: - *459 - *460 - - *296 + - *297 responses: '204': description: Response @@ -66691,37 +66697,8 @@ paths: - *460 - *497 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: @@ -67102,7 +67079,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *213 headers: Link: *47 '404': *6 @@ -67762,7 +67739,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *312 + items: *313 apps: description: The list of apps with review dismissal access. @@ -67791,7 +67768,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *312 + items: *313 apps: description: The list of apps allowed to bypass pull request requirements. @@ -67880,7 +67857,7 @@ paths: type: string teams: type: array - items: *312 + items: *313 apps: type: array items: @@ -68222,12 +68199,12 @@ paths: nullable: true oneOf: - *4 - - *294 + - *295 committer: nullable: true oneOf: - *4 - - *294 + - *295 parents: type: array items: @@ -69006,7 +68983,7 @@ paths: items: *4 teams: type: array - items: *312 + items: *313 apps: type: array items: *5 @@ -69024,7 +69001,7 @@ paths: items: *4 teams: type: array - items: *312 + items: *313 apps: type: array items: *5 @@ -70411,7 +70388,7 @@ paths: application/json: schema: type: array - items: *312 + items: *313 examples: default: *386 '404': *6 @@ -70471,7 +70448,7 @@ paths: application/json: schema: type: array - items: *312 + items: *313 examples: default: *386 '422': *15 @@ -70532,7 +70509,7 @@ paths: application/json: schema: type: array - items: *312 + items: *313 examples: default: *386 '422': *15 @@ -70592,7 +70569,7 @@ paths: application/json: schema: type: array - items: *312 + items: *313 examples: default: *386 '422': *15 @@ -70628,7 +70605,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *213 '404': *6 x-github: githubCloudOnly: false @@ -70687,7 +70664,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *213 '422': *15 x-github: githubCloudOnly: false @@ -70747,7 +70724,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *213 '422': *15 x-github: githubCloudOnly: false @@ -70807,7 +70784,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *213 '422': *15 x-github: githubCloudOnly: false @@ -70987,9 +70964,9 @@ paths: application/json: schema: type: array - items: *307 + items: *308 examples: - default: *308 + default: *309 '404': *6 '500': *40 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -71024,7 +71001,7 @@ paths: description: Response content: application/json: - schema: *307 + schema: *308 examples: default: value: @@ -71098,9 +71075,9 @@ paths: application/json: schema: type: array - items: *310 + items: *311 examples: - default: *311 + default: *312 '404': *6 '403': *29 '500': *40 @@ -71137,7 +71114,7 @@ paths: description: A single bypass request. content: application/json: - schema: *310 + schema: *311 examples: default: value: @@ -71692,15 +71669,15 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *217 - required: *218 + properties: *218 + required: *219 pull_requests: description: Pull requests that are open with a `head_sha` or `head_branch` that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check. type: array - items: *225 + items: *226 deployment: &862 title: Deployment description: A deployment created as the result of an Actions @@ -71768,8 +71745,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *217 - required: *218 + properties: *218 + required: *219 required: - id - node_id @@ -72466,7 +72443,7 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: default: value: @@ -72591,7 +72568,7 @@ paths: nullable: true pull_requests: type: array - items: *225 + items: *226 nullable: true app: title: GitHub app @@ -72602,9 +72579,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *217 - required: *218 - repository: *283 + properties: *218 + required: *219 + repository: *284 created_at: type: string format: date-time @@ -73020,7 +72997,7 @@ paths: required: - app_id - setting - repository: *283 + repository: *284 examples: default: value: @@ -73468,7 +73445,7 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: default: value: @@ -73497,8 +73474,8 @@ paths: parameters: - *459 - *460 - - *316 - *317 + - *318 - *19 - *17 - &546 @@ -73534,7 +73511,7 @@ paths: be returned. in: query required: false - schema: *318 + schema: *319 - name: severity description: If specified, only code scanning alerts with this severity will be returned. @@ -73559,14 +73536,14 @@ paths: items: type: object properties: - number: *127 - created_at: *134 - updated_at: *135 - url: *132 - html_url: *133 + number: *128 + created_at: *135 + updated_at: *136 + url: *133 + html_url: *134 instances_url: *533 state: *113 - fixed_at: *137 + fixed_at: *138 dismissed_by: title: Simple User description: A GitHub user. @@ -73574,7 +73551,7 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *136 + dismissed_at: *137 dismissed_reason: *534 dismissed_comment: *535 rule: *536 @@ -73712,7 +73689,7 @@ paths: application/json: schema: *3 '404': *6 - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73742,7 +73719,7 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *127 + schema: *128 responses: '200': description: Response @@ -73751,14 +73728,14 @@ paths: schema: &541 type: object properties: - number: *127 - created_at: *134 - updated_at: *135 - url: *132 - html_url: *133 + number: *128 + created_at: *135 + updated_at: *136 + url: *133 + html_url: *134 instances_url: *533 state: *113 - fixed_at: *137 + fixed_at: *138 dismissed_by: title: Simple User description: A GitHub user. @@ -73766,7 +73743,7 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *136 + dismissed_at: *137 dismissed_reason: *534 dismissed_comment: *535 rule: @@ -73924,7 +73901,7 @@ paths: '304': *37 '403': *539 '404': *6 - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74071,7 +74048,7 @@ paths: application/json: schema: *3 '404': *6 - '503': *195 + '503': *196 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -74144,7 +74121,7 @@ paths: status: '400' '403': *539 '404': *6 - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74199,7 +74176,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74273,7 +74250,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74377,7 +74354,7 @@ paths: - source '403': *539 '404': *6 - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74411,8 +74388,8 @@ paths: parameters: - *459 - *460 - - *316 - *317 + - *318 - *19 - *17 - *547 @@ -74552,7 +74529,7 @@ paths: warning: '' '403': *539 '404': *6 - '503': *195 + '503': *196 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -74661,7 +74638,7 @@ paths: content: application/json: schema: *3 - '503': *195 + '503': *196 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -74797,7 +74774,7 @@ paths: '400': *14 '403': *545 '404': *6 - '503': *195 + '503': *196 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -74939,7 +74916,7 @@ paths: commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c '403': *539 '404': *6 - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75015,7 +74992,7 @@ paths: description: Found '403': *539 '404': *6 - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75048,7 +75025,7 @@ paths: description: Response '403': *545 '404': *6 - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75172,7 +75149,7 @@ paths: id: type: integer description: The ID of the variant analysis. - controller_repo: *119 + controller_repo: *120 actor: *4 query_language: *556 query_pack_url: @@ -75498,7 +75475,7 @@ paths: content: application/json: schema: *3 - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75536,7 +75513,7 @@ paths: examples: default: *559 '404': *6 - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75591,7 +75568,7 @@ paths: schema: type: object properties: - repository: *119 + repository: *120 analysis_status: *561 artifact_size_in_bytes: type: integer @@ -75696,7 +75673,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75805,7 +75782,7 @@ paths: schedule: weekly '403': *539 '404': *6 - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75892,7 +75869,7 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: default: value: @@ -75931,7 +75908,7 @@ paths: content: application/json: schema: *3 - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76073,7 +76050,7 @@ paths: '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *195 + '503': *196 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -76142,7 +76119,7 @@ paths: '403': *539 '404': description: Not Found if the sarif id does not match any upload - '503': *195 + '503': *196 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -76221,7 +76198,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': *154 + '204': *155 '304': *37 '403': *29 '404': *6 @@ -76761,7 +76738,7 @@ paths: '401': *25 '403': *29 '404': *6 - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -77064,7 +77041,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77178,7 +77155,7 @@ paths: parameters: - *459 - *460 - - *293 + - *294 responses: '200': description: Response @@ -77208,7 +77185,7 @@ paths: parameters: - *459 - *460 - - *293 + - *294 requestBody: required: true content: @@ -77236,7 +77213,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *294 + schema: *295 examples: default: value: @@ -77262,7 +77239,7 @@ paths: parameters: - *459 - *460 - - *293 + - *294 responses: '204': description: Response @@ -77502,7 +77479,7 @@ paths: parameters: - *459 - *460 - - *142 + - *143 responses: '204': description: Response if user is a collaborator @@ -77550,7 +77527,7 @@ paths: parameters: - *459 - *460 - - *142 + - *143 requestBody: required: false content: @@ -77587,7 +77564,7 @@ paths: example: 42 type: integer format: int64 - repository: *283 + repository: *284 invitee: title: Simple User description: A GitHub user. @@ -77765,7 +77742,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *258 + schema: *259 '403': *29 x-github: triggersNotification: true @@ -77807,7 +77784,7 @@ paths: parameters: - *459 - *460 - - *142 + - *143 responses: '204': description: No Content when collaborator was removed from the repository. @@ -77840,7 +77817,7 @@ paths: parameters: - *459 - *460 - - *142 + - *143 responses: '200': description: if user has admin permissions @@ -77968,8 +77945,8 @@ paths: updated_at: type: string format: date-time - author_association: *221 - reactions: *222 + author_association: *222 + reactions: *223 required: - url - html_url @@ -78046,7 +78023,7 @@ paths: parameters: - *459 - *460 - - *236 + - *237 responses: '200': description: Response @@ -78113,7 +78090,7 @@ paths: parameters: - *459 - *460 - - *236 + - *237 requestBody: required: true content: @@ -78188,7 +78165,7 @@ paths: parameters: - *459 - *460 - - *236 + - *237 responses: '204': description: Response @@ -78211,7 +78188,7 @@ paths: parameters: - *459 - *460 - - *236 + - *237 - 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. @@ -78327,7 +78304,7 @@ paths: parameters: - *459 - *460 - - *236 + - *237 requestBody: required: true content: @@ -78416,7 +78393,7 @@ paths: parameters: - *459 - *460 - - *236 + - *237 - &656 name: reaction_id description: The unique identifier of the reaction. @@ -78605,7 +78582,7 @@ paths: '500': *40 '400': *14 '404': *6 - '409': *118 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78674,7 +78651,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc protected: false '422': *15 - '409': *118 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79302,7 +79279,7 @@ paths: draft: false headers: Link: *47 - '409': *118 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79467,8 +79444,8 @@ paths: '422': *15 '404': *6 '500': *40 - '503': *195 - '409': *118 + '503': *196 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79855,7 +79832,7 @@ paths: type: string total_count: type: integer - repository: *283 + repository: *284 commit_url: type: string format: uri @@ -80158,8 +80135,8 @@ paths: title: License Simple description: License Simple type: object - properties: *223 - required: *224 + properties: *224 + required: *225 nullable: true contributing: title: Community Health File @@ -80622,7 +80599,7 @@ paths: module Test" '404': *6 '500': *40 - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81682,8 +81659,8 @@ paths: verified_at: '422': *15 '404': *6 - '409': *118 - '503': *195 + '409': *119 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81865,7 +81842,7 @@ paths: type: object description: A Dependabot alert. properties: - number: *127 + number: *128 state: type: string description: The state of the Dependabot alert. @@ -81880,7 +81857,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *128 + package: *129 manifest_path: type: string description: The full path to the dependency manifest file, @@ -81908,12 +81885,12 @@ paths: - direct - transitive security_advisory: *594 - security_vulnerability: *131 - url: *132 - html_url: *133 - created_at: *134 - updated_at: *135 - dismissed_at: *136 + security_vulnerability: *132 + url: *133 + html_url: *134 + created_at: *135 + updated_at: *136 + dismissed_at: *137 dismissed_by: title: Simple User description: A GitHub user. @@ -81937,7 +81914,7 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *137 + fixed_at: *138 auto_dismissed_at: *595 dismissal_request: *596 required: @@ -82180,7 +82157,7 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *127 + schema: *128 responses: '200': description: Response @@ -82452,7 +82429,7 @@ paths: '400': *14 '403': *29 '404': *6 - '409': *118 + '409': *119 '422': *7 x-github: githubCloudOnly: false @@ -82578,7 +82555,7 @@ paths: parameters: - *459 - *460 - - *293 + - *294 responses: '200': description: Response @@ -82612,7 +82589,7 @@ paths: parameters: - *459 - *460 - - *293 + - *294 requestBody: required: true content: @@ -82640,7 +82617,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *294 + schema: *295 examples: default: value: @@ -82666,7 +82643,7 @@ paths: parameters: - *459 - *460 - - *293 + - *294 responses: '204': description: Response @@ -83810,8 +83787,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *217 - required: *218 + properties: *218 + required: *219 required: - id - node_id @@ -84880,7 +84857,7 @@ paths: reviewer: anyOf: - *4 - - *312 + - *313 required: - id - node_id @@ -85910,7 +85887,7 @@ paths: - *459 - *460 - *620 - - *293 + - *294 responses: '200': description: Response @@ -85943,7 +85920,7 @@ paths: - *459 - *460 - *620 - - *293 + - *294 requestBody: required: true content: @@ -85974,7 +85951,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *294 + schema: *295 examples: default: value: @@ -86003,7 +85980,7 @@ paths: - *459 - *460 - *620 - - *293 + - *294 responses: '204': description: Default response @@ -86102,7 +86079,7 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: default: value: @@ -86130,7 +86107,7 @@ paths: - *459 - *460 - *620 - - *296 + - *297 responses: '200': description: Response @@ -86161,7 +86138,7 @@ paths: parameters: - *459 - *460 - - *296 + - *297 - *620 requestBody: required: true @@ -86206,7 +86183,7 @@ paths: parameters: - *459 - *460 - - *296 + - *297 - *620 responses: '204': @@ -86240,7 +86217,7 @@ paths: application/json: schema: type: array - items: *246 + items: *247 examples: 200-response: value: @@ -86321,7 +86298,7 @@ paths: application/json: schema: type: array - items: *283 + items: *284 examples: default: value: @@ -86566,7 +86543,7 @@ paths: schema: type: string '404': *6 - '409': *118 + '409': *119 '403': *29 '422': description: Validation failed @@ -86574,7 +86551,7 @@ paths: application/json: schema: oneOf: - - *258 + - *259 - *633 x-github: githubCloudOnly: false @@ -86652,7 +86629,7 @@ paths: '404': *6 '422': *15 '403': *29 - '409': *118 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86974,7 +86951,7 @@ paths: type: string '422': *15 '404': *6 - '409': *118 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87063,7 +87040,7 @@ paths: payload: verified_at: '404': *6 - '409': *118 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87161,7 +87138,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: Link: *47 - '409': *118 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87202,7 +87179,7 @@ paths: sha: aa218f56b14c9653891f9e74264a383fa43fefbd url: https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd '404': *6 - '409': *118 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87260,7 +87237,7 @@ paths: schema: type: string '422': *15 - '409': *118 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87314,7 +87291,7 @@ paths: examples: default: *637 '422': *15 - '409': *118 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87339,7 +87316,7 @@ paths: '422': description: Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed. - '409': *118 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87543,7 +87520,7 @@ paths: schema: type: string '422': *15 - '409': *118 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87605,7 +87582,7 @@ paths: examples: default: *640 '404': *6 - '409': *118 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87774,7 +87751,7 @@ paths: '422': *15 '404': *6 '403': *29 - '409': *118 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87862,7 +87839,7 @@ paths: truncated: false '422': *15 '404': *6 - '409': *118 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88513,8 +88490,8 @@ paths: - *459 - *460 responses: - '204': *154 - '409': *118 + '204': *155 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88534,8 +88511,8 @@ paths: - *459 - *460 responses: - '204': *154 - '409': *118 + '204': *155 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89818,7 +89795,7 @@ paths: - comments default: created - *110 - - *227 + - *228 - *17 - *19 responses: @@ -89828,7 +89805,7 @@ paths: application/json: schema: type: array - items: *220 + items: *221 examples: default: &663 value: @@ -90090,7 +90067,7 @@ paths: description: Response content: application/json: - schema: *220 + schema: *221 examples: default: &660 value: @@ -90246,7 +90223,7 @@ paths: '400': *14 '403': *29 '422': *15 - '503': *195 + '503': *196 '404': *6 '410': *652 x-github: @@ -90278,7 +90255,7 @@ paths: parameters: - *459 - *460 - - *244 + - *245 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -90288,7 +90265,7 @@ paths: enum: - asc - desc - - *227 + - *228 - *17 - *19 responses: @@ -90360,7 +90337,7 @@ paths: parameters: - *459 - *460 - - *236 + - *237 responses: '200': description: Response @@ -90424,7 +90401,7 @@ paths: parameters: - *459 - *460 - - *236 + - *237 requestBody: required: true content: @@ -90468,7 +90445,7 @@ paths: parameters: - *459 - *460 - - *236 + - *237 responses: '204': description: Response @@ -90490,7 +90467,7 @@ paths: parameters: - *459 - *460 - - *236 + - *237 - 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. @@ -90541,7 +90518,7 @@ paths: parameters: - *459 - *460 - - *236 + - *237 requestBody: required: true content: @@ -90606,7 +90583,7 @@ paths: parameters: - *459 - *460 - - *236 + - *237 - *656 responses: '204': @@ -90726,7 +90703,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *312 + requested_team: *313 dismissed_review: title: Issue Event Dismissed Review type: object @@ -90791,7 +90768,7 @@ paths: required: - from - to - author_association: *221 + author_association: *222 lock_reason: type: string nullable: true @@ -90804,8 +90781,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *217 - required: *218 + properties: *218 + required: *219 required: - id - node_id @@ -91241,7 +91218,7 @@ paths: description: Response content: application/json: - schema: *220 + schema: *221 examples: default: *660 '301': *465 @@ -91377,11 +91354,11 @@ paths: description: Response content: application/json: - schema: *220 + schema: *221 examples: default: *660 '422': *15 - '503': *195 + '503': *196 '403': *29 '301': *465 '404': *6 @@ -91431,7 +91408,7 @@ paths: description: Response content: application/json: - schema: *220 + schema: *221 examples: default: *660 x-github: @@ -91476,7 +91453,7 @@ paths: description: Response content: application/json: - schema: *220 + schema: *221 examples: default: *660 x-github: @@ -91545,7 +91522,7 @@ paths: - *459 - *460 - *661 - - *227 + - *228 - *17 - *19 responses: @@ -91663,7 +91640,7 @@ paths: application/json: schema: type: array - items: *220 + items: *221 examples: default: *663 headers: @@ -91722,7 +91699,7 @@ paths: description: Response content: application/json: - schema: *220 + schema: *221 examples: default: *660 headers: @@ -91777,7 +91754,7 @@ paths: description: Response content: application/json: - schema: *220 + schema: *221 examples: default: *660 '301': *465 @@ -91823,7 +91800,7 @@ paths: application/json: schema: type: array - items: *220 + items: *221 examples: default: *663 headers: @@ -91894,8 +91871,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *217 - required: *218 + properties: *218 + required: *219 label: type: object properties: @@ -91948,8 +91925,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *217 - required: *218 + properties: *218 + required: *219 label: type: object properties: @@ -92037,8 +92014,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *217 - required: *218 + properties: *218 + required: *219 assignee: *4 assigner: *4 required: @@ -92084,8 +92061,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *217 - required: *218 + properties: *218 + required: *219 milestone: type: object properties: @@ -92135,8 +92112,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *217 - required: *218 + properties: *218 + required: *219 milestone: type: object properties: @@ -92186,8 +92163,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *217 - required: *218 + properties: *218 + required: *219 rename: type: object properties: @@ -92240,10 +92217,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *217 - required: *218 + properties: *218 + required: *219 review_requester: *4 - requested_team: *312 + requested_team: *313 requested_reviewer: *4 required: - review_requester @@ -92287,10 +92264,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *217 - required: *218 + properties: *218 + required: *219 review_requester: *4 - requested_team: *312 + requested_team: *313 requested_reviewer: *4 required: - review_requester @@ -92334,8 +92311,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *217 - required: *218 + properties: *218 + required: *219 dismissed_review: type: object properties: @@ -92394,8 +92371,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *217 - required: *218 + properties: *218 + required: *219 lock_reason: type: string example: '"off-topic"' @@ -92442,8 +92419,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *217 - required: *218 + properties: *218 + required: *219 project_card: type: object properties: @@ -92508,8 +92485,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *217 - required: *218 + properties: *218 + required: *219 project_card: type: object properties: @@ -92574,8 +92551,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *217 - required: *218 + properties: *218 + required: *219 project_card: type: object properties: @@ -92729,7 +92706,7 @@ paths: application/json: schema: type: array - items: *219 + items: *220 examples: default: &664 value: @@ -92829,7 +92806,7 @@ paths: application/json: schema: type: array - items: *219 + items: *220 examples: default: *664 '301': *465 @@ -92913,7 +92890,7 @@ paths: application/json: schema: type: array - items: *219 + items: *220 examples: default: *664 '301': *465 @@ -92977,7 +92954,7 @@ paths: application/json: schema: type: array - items: *219 + items: *220 examples: default: value: @@ -93098,7 +93075,7 @@ paths: description: Response content: application/json: - schema: *220 + schema: *221 examples: default: *660 '301': *465 @@ -93293,7 +93270,7 @@ paths: description: Response content: application/json: - schema: *220 + schema: *221 examples: default: *660 headers: @@ -93340,7 +93317,7 @@ paths: application/json: schema: type: array - items: *220 + items: *221 examples: default: *663 headers: @@ -93403,7 +93380,7 @@ paths: description: Response content: application/json: - schema: *220 + schema: *221 examples: default: *660 headers: @@ -93465,13 +93442,13 @@ paths: description: Response content: application/json: - schema: *220 + schema: *221 examples: default: *660 '403': *29 '404': *6 '422': *7 - '503': *195 + '503': *196 x-github: triggersNotification: true githubCloudOnly: false @@ -93561,7 +93538,7 @@ paths: issue_url: type: string format: uri - author_association: *221 + author_association: *222 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -93571,9 +93548,9 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *217 - required: *218 - reactions: *222 + properties: *218 + required: *219 + reactions: *223 required: - event - actor @@ -93604,7 +93581,7 @@ paths: properties: type: type: string - issue: *220 + issue: *221 required: - event - created_at @@ -93804,7 +93781,7 @@ paths: type: string body_text: type: string - author_association: *221 + author_association: *222 required: - event - id @@ -93891,7 +93868,13 @@ paths: description: The comment ID to reply to. example: 8 type: integer - user: *4 + user: + title: Simple User + description: A GitHub user. + type: object + properties: *20 + required: *21 + nullable: true body: description: The text of the comment. example: We should probably include a check for null @@ -93916,7 +93899,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *221 + author_association: *222 _links: type: object properties: @@ -94000,7 +93983,7 @@ paths: enum: - line - file - reactions: *222 + reactions: *223 body_html: type: string example: '"

comment body

"' @@ -94067,8 +94050,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *217 - required: *218 + properties: *218 + required: *219 assignee: *4 required: - id @@ -94111,8 +94094,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *217 - required: *218 + properties: *218 + required: *219 assignee: *4 required: - id @@ -94155,8 +94138,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *217 - required: *218 + properties: *218 + required: *219 state_reason: type: string nullable: true @@ -94559,7 +94542,7 @@ paths: application/json: schema: type: array - items: *219 + items: *220 examples: default: *664 headers: @@ -94619,7 +94602,7 @@ paths: description: Response content: application/json: - schema: *219 + schema: *220 examples: default: &681 value: @@ -94665,7 +94648,7 @@ paths: description: Response content: application/json: - schema: *219 + schema: *220 examples: default: *681 '404': *6 @@ -94724,7 +94707,7 @@ paths: description: Response content: application/json: - schema: *219 + schema: *220 examples: default: value: @@ -94934,8 +94917,8 @@ paths: title: License Simple description: License Simple type: object - properties: *223 - required: *224 + properties: *224 + required: *225 nullable: true required: - _links @@ -95476,7 +95459,7 @@ paths: application/json: schema: type: array - items: *219 + items: *220 examples: default: *664 headers: @@ -95501,7 +95484,7 @@ paths: - *460 - *686 - *687 - - *227 + - *228 - *688 - *17 - *19 @@ -95512,7 +95495,7 @@ paths: application/json: schema: type: array - items: *247 + items: *248 examples: default: *689 headers: @@ -95829,7 +95812,7 @@ paths: examples: default: *691 '422': *15 - '409': *118 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95937,7 +95920,7 @@ paths: description: Response '422': *15 '400': *14 - '409': *118 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95965,7 +95948,7 @@ paths: description: Response '422': *15 '404': *6 - '409': *118 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96397,7 +96380,7 @@ paths: - *460 - *694 responses: - '204': *154 + '204': *155 '404': *6 x-github: githubCloudOnly: false @@ -96654,7 +96637,7 @@ paths: description: Empty response content: application/json: - schema: *294 + schema: *295 examples: default: value: @@ -96722,7 +96705,7 @@ paths: - *459 - *460 responses: - '204': *154 + '204': *155 '422': *14 x-github: githubCloudOnly: false @@ -96744,7 +96727,7 @@ paths: - *459 - *460 responses: - '204': *154 + '204': *155 '422': *14 x-github: githubCloudOnly: false @@ -96773,7 +96756,7 @@ paths: application/json: schema: type: array - items: *155 + items: *156 examples: default: *695 '403': *29 @@ -96810,7 +96793,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *155 + items: *156 required: - properties examples: @@ -97226,7 +97209,7 @@ paths: - review_comments - review_comment - self - author_association: *221 + author_association: *222 auto_merge: *698 draft: description: Indicates whether or not the pull request is a draft. @@ -97866,7 +97849,7 @@ paths: enum: - asc - desc - - *227 + - *228 - *17 - *19 responses: @@ -97957,7 +97940,7 @@ paths: parameters: - *459 - *460 - - *236 + - *237 responses: '200': description: Response @@ -98042,7 +98025,7 @@ paths: parameters: - *459 - *460 - - *236 + - *237 requestBody: required: true content: @@ -98084,7 +98067,7 @@ paths: parameters: - *459 - *460 - - *236 + - *237 responses: '204': description: Response @@ -98107,7 +98090,7 @@ paths: parameters: - *459 - *460 - - *236 + - *237 - 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. @@ -98158,7 +98141,7 @@ paths: parameters: - *459 - *460 - - *236 + - *237 requestBody: required: true content: @@ -98223,7 +98206,7 @@ paths: parameters: - *459 - *460 - - *236 + - *237 - *656 responses: '204': @@ -98293,7 +98276,7 @@ paths: application/json: schema: *3 '500': *40 - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98463,7 +98446,7 @@ paths: '401': *25 '403': *29 '404': *6 - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98492,7 +98475,7 @@ paths: - *459 - *460 - *703 - - *244 + - *245 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -98502,7 +98485,7 @@ paths: enum: - asc - desc - - *227 + - *228 - *17 - *19 responses: @@ -98745,7 +98728,7 @@ paths: - *459 - *460 - *703 - - *236 + - *237 requestBody: required: true content: @@ -98928,7 +98911,7 @@ paths: Link: *47 '422': *15 '500': *40 - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99103,7 +99086,7 @@ paths: items: *4 teams: type: array - items: *312 + items: *313 required: - users - teams @@ -100359,7 +100342,7 @@ paths: type: string body_text: type: string - author_association: *221 + author_association: *222 required: - id - node_id @@ -100878,7 +100861,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *221 + author_association: *222 _links: type: object properties: @@ -100893,7 +100876,7 @@ paths: type: string body_html: type: string - reactions: *222 + reactions: *223 side: description: The side of the first line of the range for a multi-line comment. @@ -102419,7 +102402,7 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *169 + - *170 - &718 title: repository ruleset data for rule description: User-defined metadata to store domain-specific @@ -102439,9 +102422,6 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *170 - - *718 - allOf: - *171 - *718 @@ -102449,10 +102429,10 @@ paths: - *172 - *718 - allOf: - - *719 + - *173 - *718 - allOf: - - *173 + - *719 - *718 - allOf: - *174 @@ -102502,6 +102482,9 @@ paths: - allOf: - *189 - *718 + - allOf: + - *190 + - *718 examples: default: value: @@ -102560,7 +102543,7 @@ paths: application/json: schema: type: array - items: *190 + items: *191 examples: default: value: @@ -102628,12 +102611,12 @@ paths: - tag - push default: branch - enforcement: *167 + enforcement: *168 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *168 - conditions: *161 + items: *169 + conditions: *162 rules: type: array description: An array of rules within the ruleset. @@ -102668,7 +102651,7 @@ paths: description: Response content: application/json: - schema: *190 + schema: *191 examples: default: &730 value: @@ -102812,7 +102795,7 @@ paths: description: Response content: application/json: - schema: *190 + schema: *191 examples: default: *730 '404': *6 @@ -102858,12 +102841,12 @@ paths: - branch - tag - push - enforcement: *167 + enforcement: *168 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *168 - conditions: *161 + items: *169 + conditions: *162 rules: description: An array of rules within the ruleset. type: array @@ -102895,7 +102878,7 @@ paths: description: Response content: application/json: - schema: *190 + schema: *191 examples: default: *730 '404': *6 @@ -102956,7 +102939,7 @@ paths: application/json: schema: type: array - items: *194 + items: *195 examples: default: *425 '404': *6 @@ -103077,8 +103060,8 @@ paths: items: &736 type: object properties: - number: *127 - created_at: *134 + number: *128 + created_at: *135 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -103086,8 +103069,8 @@ paths: format: date-time readOnly: true nullable: true - url: *132 - html_url: *133 + url: *133 + html_url: *134 locations_url: type: string format: uri @@ -103317,7 +103300,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103379,7 +103362,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103520,7 +103503,7 @@ paths: '422': description: State does not match the resolution or resolution comment, or assignee does not have write access to the repository - '503': *195 + '503': *196 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -103657,7 +103640,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103735,7 +103718,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *195 + '503': *196 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -103764,7 +103747,7 @@ paths: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *195 + '503': *196 '200': description: Response content: @@ -104801,7 +104784,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *258 + schema: *259 examples: invalid_state_transition: value: @@ -105020,7 +105003,7 @@ paths: - 1124 - -435 '202': *39 - '204': *154 + '204': *155 '422': description: Repository contains more than 10,000 commits x-github: @@ -105090,7 +105073,7 @@ paths: total: 89 week: 1336280400 '202': *39 - '204': *154 + '204': *155 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105192,7 +105175,7 @@ paths: d: 77 c: 10 '202': *39 - '204': *154 + '204': *155 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105393,7 +105376,7 @@ paths: - - 0 - 2 - 21 - '204': *154 + '204': *155 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105535,7 +105518,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *213 headers: Link: *47 x-github: @@ -105987,7 +105970,7 @@ paths: application/json: schema: type: array - items: *312 + items: *313 examples: default: *386 headers: @@ -106517,7 +106500,7 @@ paths: description: Response content: application/json: - schema: *283 + schema: *284 examples: default: value: @@ -106965,7 +106948,7 @@ paths: application/json: schema: type: array - items: *283 + items: *284 examples: default: value: @@ -109144,7 +109127,7 @@ paths: html_url: type: string format: uri - repository: *283 + repository: *284 score: type: number file_size: @@ -109276,7 +109259,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *37 - '503': *195 + '503': *196 '422': *15 '403': *29 x-github: @@ -109448,7 +109431,7 @@ paths: type: string sha: type: string - repository: *283 + repository: *284 score: type: number node_id: @@ -109812,7 +109795,7 @@ paths: type: string score: type: number - author_association: *221 + author_association: *222 draft: type: boolean repository: *78 @@ -109833,9 +109816,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *217 - required: *218 - reactions: *222 + properties: *218 + required: *219 + reactions: *223 required: - assignee - closed_at @@ -109951,7 +109934,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *195 + '503': *196 '422': *15 '304': *37 '403': *29 @@ -110353,8 +110336,8 @@ paths: title: License Simple description: License Simple type: object - properties: *223 - required: *224 + properties: *224 + required: *225 nullable: true permissions: type: object @@ -110575,7 +110558,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *195 + '503': *196 '422': *15 '304': *37 x-github: @@ -111030,7 +111013,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *37 - '503': *195 + '503': *196 '422': *15 x-github: githubCloudOnly: false @@ -111501,7 +111484,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *213 headers: Link: *47 '404': *6 @@ -111530,7 +111513,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - *796 - - *142 + - *143 responses: '204': description: if user is a member @@ -111567,7 +111550,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - *796 - - *142 + - *143 responses: '204': description: Response @@ -111607,7 +111590,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - *796 - - *142 + - *143 responses: '204': description: Response @@ -111644,7 +111627,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user-legacy parameters: - *796 - - *142 + - *143 responses: '200': description: Response @@ -111686,7 +111669,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - *796 - - *142 + - *143 requestBody: required: false content: @@ -111748,7 +111731,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - *796 - - *142 + - *143 responses: '204': description: Response @@ -111785,7 +111768,7 @@ paths: application/json: schema: type: array - items: *283 + items: *284 examples: default: *393 headers: @@ -112192,7 +112175,7 @@ paths: application/json: schema: type: array - items: *312 + items: *313 examples: response-if-child-teams-exist: *802 headers: @@ -112662,7 +112645,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *213 '304': *37 '404': *6 '403': *29 @@ -112685,7 +112668,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: - - *142 + - *143 responses: '204': description: If the user is blocked @@ -112713,7 +112696,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#block-a-user parameters: - - *142 + - *143 responses: '204': description: Response @@ -112737,7 +112720,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#unblock-a-user parameters: - - *142 + - *143 responses: '204': description: Response @@ -112941,7 +112924,7 @@ paths: '401': *25 '403': *29 '404': *6 - '503': *195 + '503': *196 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -113091,7 +113074,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: - - *293 + - *294 responses: '200': description: Response @@ -113127,7 +113110,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: - - *293 + - *294 requestBody: required: true content: @@ -113172,7 +113155,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *294 + schema: *295 examples: default: value: @@ -113200,7 +113183,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: - - *293 + - *294 responses: '204': description: Response @@ -113225,7 +113208,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: - - *293 + - *294 responses: '200': description: Response @@ -113241,7 +113224,7 @@ paths: type: integer repositories: type: array - items: *283 + items: *284 examples: default: *806 '401': *25 @@ -113268,7 +113251,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: - - *293 + - *294 requestBody: required: true content: @@ -113322,7 +113305,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: - - *293 + - *294 - name: repository_id in: path required: true @@ -113355,7 +113338,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: - - *293 + - *294 - name: repository_id in: path required: true @@ -114516,7 +114499,7 @@ paths: schema: *3 '403': *29 '404': *6 - '409': *118 + '409': *119 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -114929,7 +114912,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *213 headers: Link: *47 '304': *37 @@ -114962,7 +114945,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *213 headers: Link: *47 '304': *37 @@ -114984,7 +114967,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: - - *142 + - *143 responses: '204': description: if the person is followed by the authenticated user @@ -115014,7 +114997,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#follow-a-user parameters: - - *142 + - *143 responses: '204': description: Response @@ -115039,7 +115022,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#unfollow-a-user parameters: - - *142 + - *143 responses: '204': description: Response @@ -115578,7 +115561,7 @@ paths: type: array items: *78 examples: - default: *278 + default: *279 headers: Link: *47 '404': *6 @@ -115603,7 +115586,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *277 + - *278 responses: '204': description: Response @@ -115629,7 +115612,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *277 + - *278 responses: '204': description: Response @@ -115797,7 +115780,7 @@ paths: - comments default: created - *110 - - *227 + - *228 - *17 - *19 responses: @@ -115807,7 +115790,7 @@ paths: application/json: schema: type: array - items: *220 + items: *221 examples: default: *375 headers: @@ -116099,7 +116082,7 @@ paths: - id - type - login - plan: *238 + plan: *239 required: - billing_cycle - next_billing_date @@ -117217,7 +117200,7 @@ paths: application/json: schema: type: array - items: *283 + items: *284 examples: default: *393 headers: @@ -117256,7 +117239,7 @@ paths: type: array items: *73 examples: - default: *251 + default: *252 headers: Link: *47 '304': *37 @@ -118191,7 +118174,7 @@ paths: '204': description: Response '403': *29 - '409': *118 + '409': *119 '404': *6 '304': *37 x-github: @@ -118213,7 +118196,7 @@ paths: responses: '204': description: Response - '409': *118 + '409': *119 '304': *37 '404': *6 '403': *29 @@ -118863,7 +118846,7 @@ paths: application/json: schema: type: array - items: *283 + items: *284 examples: default: *393 headers: @@ -118980,7 +118963,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user-using-their-id parameters: - - *240 + - *241 responses: '200': description: Response @@ -119159,7 +119142,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *213 headers: Link: example: ; rel="next" @@ -119189,7 +119172,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user parameters: - - *142 + - *143 responses: '200': description: Response @@ -119227,7 +119210,7 @@ paths: - *17 - *108 - *109 - - *142 + - *143 requestBody: required: true content: @@ -119323,7 +119306,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-in-bulk parameters: - - *142 + - *143 requestBody: required: true content: @@ -119388,7 +119371,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *142 + - *143 - name: subject_digest description: Subject Digest in: path @@ -119419,7 +119402,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-id parameters: - - *142 + - *143 - name: attestation_id description: Attestation ID in: path @@ -119457,7 +119440,7 @@ paths: - *17 - *108 - *109 - - *142 + - *143 - name: subject_digest description: Subject Digest in: path @@ -119515,7 +119498,7 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: default: value: @@ -119541,7 +119524,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: - - *142 + - *143 responses: '200': description: Response @@ -119574,7 +119557,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-for-the-authenticated-user parameters: - - *142 + - *143 - *17 - *19 responses: @@ -119584,7 +119567,7 @@ paths: application/json: schema: type: array - items: *246 + items: *247 examples: default: value: @@ -119646,7 +119629,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: - - *142 + - *143 - *87 - *17 - *19 @@ -119657,7 +119640,7 @@ paths: application/json: schema: type: array - items: *246 + items: *247 examples: default: value: @@ -119734,7 +119717,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-user parameters: - - *142 + - *143 - *17 - *19 responses: @@ -119744,7 +119727,7 @@ paths: application/json: schema: type: array - items: *246 + items: *247 examples: default: value: @@ -119802,7 +119785,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-followers-of-a-user parameters: - - *142 + - *143 - *17 - *19 responses: @@ -119814,7 +119797,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *213 headers: Link: *47 x-github: @@ -119833,7 +119816,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-the-people-a-user-follows parameters: - - *142 + - *143 - *17 - *19 responses: @@ -119845,7 +119828,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *213 headers: Link: *47 x-github: @@ -119864,7 +119847,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: - - *142 + - *143 - name: target_user in: path required: true @@ -119891,8 +119874,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - - *142 - - *227 + - *143 + - *228 - *17 - *19 responses: @@ -119902,9 +119885,9 @@ paths: application/json: schema: type: array - items: *228 + items: *229 examples: - default: *229 + default: *230 headers: Link: *47 '422': *15 @@ -119925,7 +119908,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: - - *142 + - *143 - *17 - *19 responses: @@ -119961,7 +119944,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-contextual-information-for-a-user parameters: - - *142 + - *143 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -120033,7 +120016,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: - - *142 + - *143 responses: '200': description: Response @@ -120059,7 +120042,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#list-public-keys-for-a-user parameters: - - *142 + - *143 - *17 - *19 responses: @@ -120114,7 +120097,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations-for-a-user parameters: - - *142 + - *143 - *17 - *19 responses: @@ -120126,7 +120109,7 @@ paths: type: array items: *73 examples: - default: *251 + default: *252 headers: Link: *47 x-github: @@ -120166,7 +120149,7 @@ paths: - nuget - container - *820 - - *142 + - *143 - *19 - *17 responses: @@ -120203,7 +120186,7 @@ paths: parameters: - *389 - *390 - - *142 + - *143 responses: '200': description: Response @@ -120234,7 +120217,7 @@ paths: parameters: - *389 - *390 - - *142 + - *143 responses: '204': description: Response @@ -120268,7 +120251,7 @@ paths: parameters: - *389 - *390 - - *142 + - *143 - name: token description: package token schema: @@ -120302,7 +120285,7 @@ paths: parameters: - *389 - *390 - - *142 + - *143 responses: '200': description: Response @@ -120371,7 +120354,7 @@ paths: - *389 - *390 - *392 - - *142 + - *143 responses: '200': description: Response @@ -120414,7 +120397,7 @@ paths: parameters: - *389 - *390 - - *142 + - *143 - *392 responses: '204': @@ -120449,7 +120432,7 @@ paths: parameters: - *389 - *390 - - *142 + - *143 - *392 responses: '204': @@ -120474,7 +120457,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-projects-for-user parameters: - - *142 + - *143 - name: q description: Limit results to projects of the specified type. in: query @@ -120516,7 +120499,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - *405 - - *142 + - *143 responses: '200': description: Response @@ -120547,7 +120530,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - *405 - - *142 + - *143 - *17 - *108 - *109 @@ -120581,7 +120564,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#add-field-to-user-owned-project parameters: - - *142 + - *143 - *405 requestBody: required: true @@ -120694,7 +120677,7 @@ paths: parameters: - *405 - *849 - - *142 + - *143 responses: '200': description: Response @@ -120726,7 +120709,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-a-user-owned-project parameters: - *405 - - *142 + - *143 - *108 - *109 - *17 @@ -120781,75 +120764,67 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - - *142 + - *143 - *405 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 @@ -120862,8 +120837,20 @@ paths: application/json: schema: *411 examples: - issue: *412 - pull_request: *412 + issue_with_id: + summary: Response for adding an issue using its unique ID + value: *412 + pull_request_with_id: + summary: Response for adding a pull request using its unique ID + value: *412 + issue_with_nwo: + summary: Response for adding an issue using repository owner, name, + and issue number + value: *412 + pull_request_with_nwo: + summary: Response for adding a pull request using repository owner, + name, and PR number + value: *412 '304': *37 '403': *29 '401': *25 @@ -120884,7 +120871,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#get-an-item-for-a-user-owned-project parameters: - *405 - - *142 + - *143 - *415 - name: fields description: |- @@ -120929,7 +120916,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - *405 - - *142 + - *143 - *415 requestBody: required: true @@ -121027,7 +121014,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - *405 - - *142 + - *143 - *415 responses: '204': @@ -121051,7 +121038,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-a-user-project-view parameters: - *405 - - *142 + - *143 - *851 - name: fields description: |- @@ -121108,7 +121095,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: - - *142 + - *143 - *17 - *19 responses: @@ -121118,7 +121105,7 @@ paths: application/json: schema: type: array - items: *246 + items: *247 examples: default: value: @@ -121183,7 +121170,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: - - *142 + - *143 - *17 - *19 responses: @@ -121193,7 +121180,7 @@ paths: application/json: schema: type: array - items: *246 + items: *247 examples: default: value: @@ -121256,7 +121243,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repositories-for-a-user parameters: - - *142 + - *143 - name: type description: Limit results to repositories of the specified type. in: query @@ -121299,7 +121286,7 @@ paths: application/json: schema: type: array - items: *283 + items: *284 examples: default: *393 headers: @@ -121321,7 +121308,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: - - *142 + - *143 - *17 - *19 responses: @@ -121353,7 +121340,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: - - *142 + - *143 - *17 - *19 responses: @@ -121389,7 +121376,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *142 + - *143 - *853 - *110 - *17 @@ -121425,7 +121412,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *142 + - *143 - *17 - *19 responses: @@ -121435,7 +121422,7 @@ paths: application/json: schema: type: array - items: *283 + items: *284 examples: default: *393 headers: @@ -121728,8 +121715,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *223 - required: *224 + properties: *224 + required: *225 nullable: true organization: title: Simple User @@ -123908,8 +123895,8 @@ x-webhooks: type: string pull_requests: type: array - items: *225 - repository: *283 + items: *226 + repository: *284 status: example: completed type: string @@ -123996,7 +123983,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *225 + items: *226 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -130220,7 +130207,7 @@ x-webhooks: type: string enum: - created - definition: *156 + definition: *157 enterprise: *855 installation: *856 organization: *857 @@ -130387,7 +130374,7 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *156 + definition: *157 enterprise: *855 installation: *856 organization: *857 @@ -130467,7 +130454,7 @@ x-webhooks: type: string enum: - updated - definition: *156 + definition: *157 enterprise: *855 installation: *856 organization: *857 @@ -130555,11 +130542,11 @@ x-webhooks: new_property_values: type: array description: The new custom property values for the repository. - items: *155 + items: *156 old_property_values: type: array description: The old custom property values for the repository. - items: *155 + items: *156 required: - action - repository @@ -141760,8 +141747,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *217 - required: *218 + properties: *218 + required: *219 reactions: title: Reactions type: object @@ -145745,11 +145732,11 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *220 + blocked_issue: *221 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *220 + blocking_issue: *221 blocking_issue_repo: *78 installation: *856 organization: *857 @@ -145836,11 +145823,11 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *220 + blocked_issue: *221 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *220 + blocking_issue: *221 blocking_issue_repo: *78 installation: *856 organization: *857 @@ -145926,12 +145913,12 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *220 + blocked_issue: *221 blocked_issue_repo: *78 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *220 + blocking_issue: *221 installation: *856 organization: *857 repository: *858 @@ -146017,12 +146004,12 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *220 + blocked_issue: *221 blocked_issue_repo: *78 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *220 + blocking_issue: *221 installation: *856 organization: *857 repository: *858 @@ -164588,7 +164575,7 @@ x-webhooks: type: string enum: - created - definition: *150 + definition: *151 enterprise: *855 sender: *4 required: @@ -164742,7 +164729,7 @@ x-webhooks: type: string enum: - updated - definition: *150 + definition: *151 enterprise: *855 installation: *856 sender: *4 @@ -164823,11 +164810,11 @@ x-webhooks: new_property_values: type: array description: The new custom property values. - items: *155 + items: *156 old_property_values: type: array description: The old custom property values. - items: *155 + items: *156 required: - action - organization @@ -233330,7 +233317,7 @@ x-webhooks: installation: *856 organization: *857 repository: *858 - repository_ruleset: *190 + repository_ruleset: *191 sender: *4 required: - action @@ -233412,7 +233399,7 @@ x-webhooks: installation: *856 organization: *857 repository: *858 - repository_ruleset: *190 + repository_ruleset: *191 sender: *4 required: - action @@ -233494,7 +233481,7 @@ x-webhooks: installation: *856 organization: *857 repository: *858 - repository_ruleset: *190 + repository_ruleset: *191 changes: type: object properties: @@ -233513,16 +233500,16 @@ x-webhooks: properties: added: type: array - items: *161 + items: *162 deleted: type: array - items: *161 + items: *162 updated: type: array items: type: object properties: - condition: *161 + condition: *162 changes: type: object properties: @@ -234658,8 +234645,8 @@ x-webhooks: alert: &922 type: object properties: - number: *127 - created_at: *134 + number: *128 + created_at: *135 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -234667,8 +234654,8 @@ x-webhooks: format: date-time readOnly: true nullable: true - url: *132 - html_url: *133 + url: *133 + html_url: *134 locations_url: type: string format: uri @@ -235742,7 +235729,7 @@ x-webhooks: required: - vector_string - score - cvss_severities: *129 + cvss_severities: *130 cwes: type: array items: @@ -236006,7 +235993,7 @@ x-webhooks: required: - vector_string - score - cvss_severities: *129 + cvss_severities: *130 cwes: type: array items: @@ -237653,12 +237640,12 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *220 + parent_issue: *221 parent_issue_repo: *78 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *220 + sub_issue: *221 installation: *856 organization: *857 repository: *858 @@ -237745,12 +237732,12 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *220 + parent_issue: *221 parent_issue_repo: *78 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *220 + sub_issue: *221 installation: *856 organization: *857 repository: *858 @@ -237837,12 +237824,12 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *220 + sub_issue: *221 sub_issue_repo: *78 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *220 + parent_issue: *221 installation: *856 organization: *857 repository: *858 @@ -237929,12 +237916,12 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *220 + sub_issue: *221 sub_issue_repo: *78 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *220 + parent_issue: *221 installation: *856 organization: *857 repository: *858 diff --git a/descriptions/ghec/ghec.2022-11-28.json b/descriptions/ghec/ghec.2022-11-28.json index 76e23fbc5..7fce3178d 100644 --- a/descriptions/ghec/ghec.2022-11-28.json +++ b/descriptions/ghec/ghec.2022-11-28.json @@ -7926,6 +7926,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", @@ -26325,6 +26328,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", @@ -36673,58 +36679,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" @@ -36733,22 +36730,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", @@ -36756,8 +36753,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", @@ -36778,11 +36775,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" + } } } } @@ -46772,20 +46787,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": { @@ -89719,58 +89722,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" @@ -89779,22 +89773,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", @@ -89802,8 +89796,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", @@ -89824,11 +89818,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" + } } } } @@ -151796,7 +151808,7 @@ "type": "integer" }, "user": { - "$ref": "#/components/schemas/simple-user" + "$ref": "#/components/schemas/nullable-simple-user" }, "body": { "description": "The text of the comment.", diff --git a/descriptions/ghec/ghec.2022-11-28.yaml b/descriptions/ghec/ghec.2022-11-28.yaml index 971b2b7cd..1087f935a 100644 --- a/descriptions/ghec/ghec.2022-11-28.yaml +++ b/descriptions/ghec/ghec.2022-11-28.yaml @@ -5572,6 +5572,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 @@ -18975,6 +18977,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 @@ -26492,70 +26496,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 @@ -26569,10 +26565,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': @@ -33800,15 +33810,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: @@ -64859,70 +64862,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 @@ -64936,10 +64931,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": "#/compo{"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}