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 d5541cefa4..d9d1483807 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 @@ -143703,6 +143703,41 @@ "to" ] }, + "issue-type-webhook": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, "issue-event": { "title": "Issue Event", "description": "Issue Event", @@ -143777,6 +143812,12 @@ "rename": { "$ref": "#/components/schemas/issue-event-rename" }, + "issue_type": { + "$ref": "#/components/schemas/issue-type-webhook" + }, + "prev_issue_type": { + "$ref": "#/components/schemas/issue-type-webhook" + }, "author_association": { "$ref": "#/components/schemas/author-association" }, @@ -144770,6 +144811,163 @@ "performed_via_github_app" ] }, + "issue-type-added-issue-event": { + "title": "Issue Type Added Issue Event", + "description": "Issue Type Added Issue Event", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "actor": { + "$ref": "#/components/schemas/simple-user" + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": "string", + "nullable": true + }, + "commit_url": { + "type": "string", + "nullable": true + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "$ref": "#/components/schemas/nullable-integration" + }, + "issue_type": { + "$ref": "#/components/schemas/issue-type-webhook" + } + }, + "required": [ + "issue_type", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + "issue-type-removed-issue-event": { + "title": "Issue Type Removed Issue Event", + "description": "Issue Type Removed Issue Event", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "actor": { + "$ref": "#/components/schemas/simple-user" + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": "string", + "nullable": true + }, + "commit_url": { + "type": "string", + "nullable": true + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "$ref": "#/components/schemas/nullable-integration" + }, + "prev_issue_type": { + "$ref": "#/components/schemas/issue-type-webhook" + } + }, + "required": [ + "prev_issue_type", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + "issue-type-changed-issue-event": { + "title": "Issue Type Changed Issue Event", + "description": "Issue Type Changed Issue Event", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "actor": { + "$ref": "#/components/schemas/simple-user" + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": "string", + "nullable": true + }, + "commit_url": { + "type": "string", + "nullable": true + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "$ref": "#/components/schemas/nullable-integration" + }, + "issue_type": { + "$ref": "#/components/schemas/issue-type-webhook" + }, + "prev_issue_type": { + "$ref": "#/components/schemas/issue-type-webhook" + } + }, + "required": [ + "issue_type", + "prev_issue_type", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, "issue-event-for-issue": { "title": "Issue Event for Issue", "description": "Issue Event for Issue", @@ -144818,6 +145016,15 @@ }, { "$ref": "#/components/schemas/converted-note-to-issue-issue-event" + }, + { + "$ref": "#/components/schemas/issue-type-added-issue-event" + }, + { + "$ref": "#/components/schemas/issue-type-removed-issue-event" + }, + { + "$ref": "#/components/schemas/issue-type-changed-issue-event" } ] }, @@ -145712,6 +145919,15 @@ }, { "$ref": "#/components/schemas/state-change-issue-event" + }, + { + "$ref": "#/components/schemas/issue-type-added-issue-event" + }, + { + "$ref": "#/components/schemas/issue-type-removed-issue-event" + }, + { + "$ref": "#/components/schemas/issue-type-changed-issue-event" } ] }, 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 f6ea513ae8..cc7752b114 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 @@ -106306,6 +106306,34 @@ components: required: - from - to + issue-type-webhook: + title: Issue Type + description: The type of issue. + type: object + nullable: true + properties: + id: + type: integer + description: The unique identifier of the issue type. + name: + type: string + description: The name of the issue type. + color: + type: string + description: The color of the issue type. + enum: + - gray + - blue + - green + - yellow + - orange + - red + - pink + - purple + nullable: true + required: + - id + - name issue-event: title: Issue Event description: Issue Event @@ -106361,6 +106389,10 @@ components: "$ref": "#/components/schemas/issue-event-project-card" rename: "$ref": "#/components/schemas/issue-event-rename" + issue_type: + "$ref": "#/components/schemas/issue-type-webhook" + prev_issue_type: + "$ref": "#/components/schemas/issue-type-webhook" author_association: "$ref": "#/components/schemas/author-association" lock_reason: @@ -107091,6 +107123,123 @@ components: - commit_url - created_at - performed_via_github_app + issue-type-added-issue-event: + title: Issue Type Added Issue Event + description: Issue Type Added Issue Event + type: object + properties: + id: + type: integer + node_id: + type: string + url: + type: string + actor: + "$ref": "#/components/schemas/simple-user" + event: + type: string + commit_id: + type: string + nullable: true + commit_url: + type: string + nullable: true + created_at: + type: string + performed_via_github_app: + "$ref": "#/components/schemas/nullable-integration" + issue_type: + "$ref": "#/components/schemas/issue-type-webhook" + required: + - issue_type + - id + - node_id + - url + - actor + - event + - commit_id + - commit_url + - created_at + - performed_via_github_app + issue-type-removed-issue-event: + title: Issue Type Removed Issue Event + description: Issue Type Removed Issue Event + type: object + properties: + id: + type: integer + node_id: + type: string + url: + type: string + actor: + "$ref": "#/components/schemas/simple-user" + event: + type: string + commit_id: + type: string + nullable: true + commit_url: + type: string + nullable: true + created_at: + type: string + performed_via_github_app: + "$ref": "#/components/schemas/nullable-integration" + prev_issue_type: + "$ref": "#/components/schemas/issue-type-webhook" + required: + - prev_issue_type + - id + - node_id + - url + - actor + - event + - commit_id + - commit_url + - created_at + - performed_via_github_app + issue-type-changed-issue-event: + title: Issue Type Changed Issue Event + description: Issue Type Changed Issue Event + type: object + properties: + id: + type: integer + node_id: + type: string + url: + type: string + actor: + "$ref": "#/components/schemas/simple-user" + event: + type: string + commit_id: + type: string + nullable: true + commit_url: + type: string + nullable: true + created_at: + type: string + performed_via_github_app: + "$ref": "#/components/schemas/nullable-integration" + issue_type: + "$ref": "#/components/schemas/issue-type-webhook" + prev_issue_type: + "$ref": "#/components/schemas/issue-type-webhook" + required: + - issue_type + - prev_issue_type + - id + - node_id + - url + - actor + - event + - commit_id + - commit_url + - created_at + - performed_via_github_app issue-event-for-issue: title: Issue Event for Issue description: Issue Event for Issue @@ -107110,6 +107259,9 @@ components: - "$ref": "#/components/schemas/moved-column-in-project-issue-event" - "$ref": "#/components/schemas/removed-from-project-issue-event" - "$ref": "#/components/schemas/converted-note-to-issue-issue-event" + - "$ref": "#/components/schemas/issue-type-added-issue-event" + - "$ref": "#/components/schemas/issue-type-removed-issue-event" + - "$ref": "#/components/schemas/issue-type-changed-issue-event" timeline-comment-event: title: Timeline Comment Event description: Timeline Comment Event @@ -107764,6 +107916,9 @@ components: - "$ref": "#/components/schemas/timeline-assigned-issue-event" - "$ref": "#/components/schemas/timeline-unassigned-issue-event" - "$ref": "#/components/schemas/state-change-issue-event" + - "$ref": "#/components/schemas/issue-type-added-issue-event" + - "$ref": "#/components/schemas/issue-type-removed-issue-event" + - "$ref": "#/components/schemas/issue-type-changed-issue-event" deploy-key: title: Deploy Key description: An SSH key granting access to a single repository. diff --git a/descriptions/api.github.com/api.github.com.2026-03-10.json b/descriptions/api.github.com/api.github.com.2026-03-10.json index ac92d6ab1f..2fa434ef86 100644 --- a/descriptions/api.github.com/api.github.com.2026-03-10.json +++ b/descriptions/api.github.com/api.github.com.2026-03-10.json @@ -143128,6 +143128,41 @@ "to" ] }, + "issue-type-webhook": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, "issue-event": { "title": "Issue Event", "description": "Issue Event", @@ -143202,6 +143237,12 @@ "rename": { "$ref": "#/components/schemas/issue-event-rename" }, + "issue_type": { + "$ref": "#/components/schemas/issue-type-webhook" + }, + "prev_issue_type": { + "$ref": "#/components/schemas/issue-type-webhook" + }, "author_association": { "$ref": "#/components/schemas/author-association" }, @@ -144195,6 +144236,163 @@ "performed_via_github_app" ] }, + "issue-type-added-issue-event": { + "title": "Issue Type Added Issue Event", + "description": "Issue Type Added Issue Event", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "actor": { + "$ref": "#/components/schemas/simple-user" + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": "string", + "nullable": true + }, + "commit_url": { + "type": "string", + "nullable": true + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "$ref": "#/components/schemas/nullable-integration" + }, + "issue_type": { + "$ref": "#/components/schemas/issue-type-webhook" + } + }, + "required": [ + "issue_type", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + "issue-type-removed-issue-event": { + "title": "Issue Type Removed Issue Event", + "description": "Issue Type Removed Issue Event", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "actor": { + "$ref": "#/components/schemas/simple-user" + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": "string", + "nullable": true + }, + "commit_url": { + "type": "string", + "nullable": true + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "$ref": "#/components/schemas/nullable-integration" + }, + "prev_issue_type": { + "$ref": "#/components/schemas/issue-type-webhook" + } + }, + "required": [ + "prev_issue_type", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + "issue-type-changed-issue-event": { + "title": "Issue Type Changed Issue Event", + "description": "Issue Type Changed Issue Event", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "actor": { + "$ref": "#/components/schemas/simple-user" + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": "string", + "nullable": true + }, + "commit_url": { + "type": "string", + "nullable": true + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "$ref": "#/components/schemas/nullable-integration" + }, + "issue_type": { + "$ref": "#/components/schemas/issue-type-webhook" + }, + "prev_issue_type": { + "$ref": "#/components/schemas/issue-type-webhook" + } + }, + "required": [ + "issue_type", + "prev_issue_type", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, "issue-event-for-issue": { "title": "Issue Event for Issue", "description": "Issue Event for Issue", @@ -144243,6 +144441,15 @@ }, { "$ref": "#/components/schemas/converted-note-to-issue-issue-event" + }, + { + "$ref": "#/components/schemas/issue-type-added-issue-event" + }, + { + "$ref": "#/components/schemas/issue-type-removed-issue-event" + }, + { + "$ref": "#/components/schemas/issue-type-changed-issue-event" } ] }, @@ -145137,6 +145344,15 @@ }, { "$ref": "#/components/schemas/state-change-issue-event" + }, + { + "$ref": "#/components/schemas/issue-type-added-issue-event" + }, + { + "$ref": "#/components/schemas/issue-type-removed-issue-event" + }, + { + "$ref": "#/components/schemas/issue-type-changed-issue-event" } ] }, diff --git a/descriptions/api.github.com/api.github.com.2026-03-10.yaml b/descriptions/api.github.com/api.github.com.2026-03-10.yaml index c96b636e31..623c9ab300 100644 --- a/descriptions/api.github.com/api.github.com.2026-03-10.yaml +++ b/descriptions/api.github.com/api.github.com.2026-03-10.yaml @@ -105849,6 +105849,34 @@ components: required: - from - to + issue-type-webhook: + title: Issue Type + description: The type of issue. + type: object + nullable: true + properties: + id: + type: integer + description: The unique identifier of the issue type. + name: + type: string + description: The name of the issue type. + color: + type: string + description: The color of the issue type. + enum: + - gray + - blue + - green + - yellow + - orange + - red + - pink + - purple + nullable: true + required: + - id + - name issue-event: title: Issue Event description: Issue Event @@ -105904,6 +105932,10 @@ components: "$ref": "#/components/schemas/issue-event-project-card" rename: "$ref": "#/components/schemas/issue-event-rename" + issue_type: + "$ref": "#/components/schemas/issue-type-webhook" + prev_issue_type: + "$ref": "#/components/schemas/issue-type-webhook" author_association: "$ref": "#/components/schemas/author-association" lock_reason: @@ -106634,6 +106666,123 @@ components: - commit_url - created_at - performed_via_github_app + issue-type-added-issue-event: + title: Issue Type Added Issue Event + description: Issue Type Added Issue Event + type: object + properties: + id: + type: integer + node_id: + type: string + url: + type: string + actor: + "$ref": "#/components/schemas/simple-user" + event: + type: string + commit_id: + type: string + nullable: true + commit_url: + type: string + nullable: true + created_at: + type: string + performed_via_github_app: + "$ref": "#/components/schemas/nullable-integration" + issue_type: + "$ref": "#/components/schemas/issue-type-webhook" + required: + - issue_type + - id + - node_id + - url + - actor + - event + - commit_id + - commit_url + - created_at + - performed_via_github_app + issue-type-removed-issue-event: + title: Issue Type Removed Issue Event + description: Issue Type Removed Issue Event + type: object + properties: + id: + type: integer + node_id: + type: string + url: + type: string + actor: + "$ref": "#/components/schemas/simple-user" + event: + type: string + commit_id: + type: string + nullable: true + commit_url: + type: string + nullable: true + created_at: + type: string + performed_via_github_app: + "$ref": "#/components/schemas/nullable-integration" + prev_issue_type: + "$ref": "#/components/schemas/issue-type-webhook" + required: + - prev_issue_type + - id + - node_id + - url + - actor + - event + - commit_id + - commit_url + - created_at + - performed_via_github_app + issue-type-changed-issue-event: + title: Issue Type Changed Issue Event + description: Issue Type Changed Issue Event + type: object + properties: + id: + type: integer + node_id: + type: string + url: + type: string + actor: + "$ref": "#/components/schemas/simple-user" + event: + type: string + commit_id: + type: string + nullable: true + commit_url: + type: string + nullable: true + created_at: + type: string + performed_via_github_app: + "$ref": "#/components/schemas/nullable-integration" + issue_type: + "$ref": "#/components/schemas/issue-type-webhook" + prev_issue_type: + "$ref": "#/components/schemas/issue-type-webhook" + required: + - issue_type + - prev_issue_type + - id + - node_id + - url + - actor + - event + - commit_id + - commit_url + - created_at + - performed_via_github_app issue-event-for-issue: title: Issue Event for Issue description: Issue Event for Issue @@ -106653,6 +106802,9 @@ components: - "$ref": "#/components/schemas/moved-column-in-project-issue-event" - "$ref": "#/components/schemas/removed-from-project-issue-event" - "$ref": "#/components/schemas/converted-note-to-issue-issue-event" + - "$ref": "#/components/schemas/issue-type-added-issue-event" + - "$ref": "#/components/schemas/issue-type-removed-issue-event" + - "$ref": "#/components/schemas/issue-type-changed-issue-event" timeline-comment-event: title: Timeline Comment Event description: Timeline Comment Event @@ -107307,6 +107459,9 @@ components: - "$ref": "#/components/schemas/timeline-assigned-issue-event" - "$ref": "#/components/schemas/timeline-unassigned-issue-event" - "$ref": "#/components/schemas/state-change-issue-event" + - "$ref": "#/components/schemas/issue-type-added-issue-event" + - "$ref": "#/components/schemas/issue-type-removed-issue-event" + - "$ref": "#/components/schemas/issue-type-changed-issue-event" deploy-key: title: Deploy Key description: An SSH key granting access to a single repository. diff --git a/descriptions/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index de280fabbc..67de6620cd 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/api.github.com/api.github.com.json @@ -144913,6 +144913,41 @@ "to" ] }, + "issue-type-webhook": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, "issue-event": { "title": "Issue Event", "description": "Issue Event", @@ -144987,6 +145022,12 @@ "rename": { "$ref": "#/components/schemas/issue-event-rename" }, + "issue_type": { + "$ref": "#/components/schemas/issue-type-webhook" + }, + "prev_issue_type": { + "$ref": "#/components/schemas/issue-type-webhook" + }, "author_association": { "$ref": "#/components/schemas/author-association" }, @@ -145980,6 +146021,163 @@ "performed_via_github_app" ] }, + "issue-type-added-issue-event": { + "title": "Issue Type Added Issue Event", + "description": "Issue Type Added Issue Event", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "actor": { + "$ref": "#/components/schemas/simple-user" + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": "string", + "nullable": true + }, + "commit_url": { + "type": "string", + "nullable": true + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "$ref": "#/components/schemas/nullable-integration" + }, + "issue_type": { + "$ref": "#/components/schemas/issue-type-webhook" + } + }, + "required": [ + "issue_type", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + "issue-type-removed-issue-event": { + "title": "Issue Type Removed Issue Event", + "description": "Issue Type Removed Issue Event", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "actor": { + "$ref": "#/components/schemas/simple-user" + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": "string", + "nullable": true + }, + "commit_url": { + "type": "string", + "nullable": true + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "$ref": "#/components/schemas/nullable-integration" + }, + "prev_issue_type": { + "$ref": "#/components/schemas/issue-type-webhook" + } + }, + "required": [ + "prev_issue_type", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + "issue-type-changed-issue-event": { + "title": "Issue Type Changed Issue Event", + "description": "Issue Type Changed Issue Event", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "actor": { + "$ref": "#/components/schemas/simple-user" + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": "string", + "nullable": true + }, + "commit_url": { + "type": "string", + "nullable": true + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "$ref": "#/components/schemas/nullable-integration" + }, + "issue_type": { + "$ref": "#/components/schemas/issue-type-webhook" + }, + "prev_issue_type": { + "$ref": "#/components/schemas/issue-type-webhook" + } + }, + "required": [ + "issue_type", + "prev_issue_type", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, "issue-event-for-issue": { "title": "Issue Event for Issue", "description": "Issue Event for Issue", @@ -146028,6 +146226,15 @@ }, { "$ref": "#/components/schemas/converted-note-to-issue-issue-event" + }, + { + "$ref": "#/components/schemas/issue-type-added-issue-event" + }, + { + "$ref": "#/components/schemas/issue-type-removed-issue-event" + }, + { + "$ref": "#/components/schemas/issue-type-changed-issue-event" } ] }, @@ -146922,6 +147129,15 @@ }, { "$ref": "#/components/schemas/state-change-issue-event" + }, + { + "$ref": "#/components/schemas/issue-type-added-issue-event" + }, + { + "$ref": "#/components/schemas/issue-type-removed-issue-event" + }, + { + "$ref": "#/components/schemas/issue-type-changed-issue-event" } ] }, diff --git a/descriptions/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index 26ab99a5c0..05b050dff2 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/api.github.com/api.github.com.yaml @@ -107165,6 +107165,34 @@ components: required: - from - to + issue-type-webhook: + title: Issue Type + description: The type of issue. + type: object + nullable: true + properties: + id: + type: integer + description: The unique identifier of the issue type. + name: + type: string + description: The name of the issue type. + color: + type: string + description: The color of the issue type. + enum: + - gray + - blue + - green + - yellow + - orange + - red + - pink + - purple + nullable: true + required: + - id + - name issue-event: title: Issue Event description: Issue Event @@ -107220,6 +107248,10 @@ components: "$ref": "#/components/schemas/issue-event-project-card" rename: "$ref": "#/components/schemas/issue-event-rename" + issue_type: + "$ref": "#/components/schemas/issue-type-webhook" + prev_issue_type: + "$ref": "#/components/schemas/issue-type-webhook" author_association: "$ref": "#/components/schemas/author-association" lock_reason: @@ -107950,6 +107982,123 @@ components: - commit_url - created_at - performed_via_github_app + issue-type-added-issue-event: + title: Issue Type Added Issue Event + description: Issue Type Added Issue Event + type: object + properties: + id: + type: integer + node_id: + type: string + url: + type: string + actor: + "$ref": "#/components/schemas/simple-user" + event: + type: string + commit_id: + type: string + nullable: true + commit_url: + type: string + nullable: true + created_at: + type: string + performed_via_github_app: + "$ref": "#/components/schemas/nullable-integration" + issue_type: + "$ref": "#/components/schemas/issue-type-webhook" + required: + - issue_type + - id + - node_id + - url + - actor + - event + - commit_id + - commit_url + - created_at + - performed_via_github_app + issue-type-removed-issue-event: + title: Issue Type Removed Issue Event + description: Issue Type Removed Issue Event + type: object + properties: + id: + type: integer + node_id: + type: string + url: + type: string + actor: + "$ref": "#/components/schemas/simple-user" + event: + type: string + commit_id: + type: string + nullable: true + commit_url: + type: string + nullable: true + created_at: + type: string + performed_via_github_app: + "$ref": "#/components/schemas/nullable-integration" + prev_issue_type: + "$ref": "#/components/schemas/issue-type-webhook" + required: + - prev_issue_type + - id + - node_id + - url + - actor + - event + - commit_id + - commit_url + - created_at + - performed_via_github_app + issue-type-changed-issue-event: + title: Issue Type Changed Issue Event + description: Issue Type Changed Issue Event + type: object + properties: + id: + type: integer + node_id: + type: string + url: + type: string + actor: + "$ref": "#/components/schemas/simple-user" + event: + type: string + commit_id: + type: string + nullable: true + commit_url: + type: string + nullable: true + created_at: + type: string + performed_via_github_app: + "$ref": "#/components/schemas/nullable-integration" + issue_type: + "$ref": "#/components/schemas/issue-type-webhook" + prev_issue_type: + "$ref": "#/components/schemas/issue-type-webhook" + required: + - issue_type + - prev_issue_type + - id + - node_id + - url + - actor + - event + - commit_id + - commit_url + - created_at + - performed_via_github_app issue-event-for-issue: title: Issue Event for Issue description: Issue Event for Issue @@ -107969,6 +108118,9 @@ components: - "$ref": "#/components/schemas/moved-column-in-project-issue-event" - "$ref": "#/components/schemas/removed-from-project-issue-event" - "$ref": "#/components/schemas/converted-note-to-issue-issue-event" + - "$ref": "#/components/schemas/issue-type-added-issue-event" + - "$ref": "#/components/schemas/issue-type-removed-issue-event" + - "$ref": "#/components/schemas/issue-type-changed-issue-event" timeline-comment-event: title: Timeline Comment Event description: Timeline Comment Event @@ -108623,6 +108775,9 @@ components: - "$ref": "#/components/schemas/timeline-assigned-issue-event" - "$ref": "#/components/schemas/timeline-unassigned-issue-event" - "$ref": "#/components/schemas/state-change-issue-event" + - "$ref": "#/components/schemas/issue-type-added-issue-event" + - "$ref": "#/components/schemas/issue-type-removed-issue-event" + - "$ref": "#/components/schemas/issue-type-changed-issue-event" deploy-key: title: Deploy Key description: An SSH key granting access to a single repository. 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 5d7dcb48b2..58b91ee279 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 @@ -403413,6 +403413,76 @@ "to" ] }, + "issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, + "prev_issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, "author_association": { "title": "author_association", "type": "string", @@ -408033,6 +408103,76 @@ "to" ] }, + "issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, + "prev_issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, "author_association": { "title": "author_association", "type": "string", @@ -446458,1635 +446598,1647 @@ "created_at", "performed_via_github_app" ] - } - ] - } - }, - "examples": { - "default": { - "value": [ - { - "id": 1, - "node_id": "MDEwOklzc3VlRXZlbnQx", - "url": "https://api.github.com/repos/octocat/Hello-World/issues/events/1", - "actor": { - "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 - }, - "event": "closed", - "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e", - "commit_url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e", - "created_at": "2011-04-14T16:00:49Z", - "performed_via_github_app": null, - "label": { - "name": "label", - "color": "red" - } - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - }, - "410": { - "description": "Gone", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "issues", - "subcategory": "events" - } - } - }, - "/repos/{owner}/{repo}/issues/{issue_number}/issue-field-values": { - "get": { - "summary": "List issue field values for an issue", - "description": "Lists all issue field values for an issue.", - "tags": [ - "issues" - ], - "operationId": "issues/list-issue-field-values-for-issue", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/issues/issue-field-values#list-issue-field-values-for-an-issue" - }, - "parameters": [ - { - "name": "owner", - "description": "The account owner of the repository. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "repo", - "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "issue_number", - "description": "The number that identifies the issue.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "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).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 30 - } - }, - { - "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Issue Field Value", - "description": "A value assigned to an issue field", - "type": "object", - "properties": { - "issue_field_id": { - "description": "Unique identifier for the issue field.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "IFT_GDKND" - }, - "data_type": { - "description": "The data type of the issue field", - "type": "string", - "enum": [ - "text", - "single_select", - "multi_select", - "number", - "date" - ], - "example": "text" - }, - "value": { - "description": "The value of the issue field", - "anyOf": [ - { - "type": "string", - "example": "Sample text" - }, - { - "type": "number", - "example": 42.5 - }, - { - "type": "integer", - "example": 1 - } - ], - "nullable": true }, - "single_select_option": { - "description": "Details about the selected option (only present for single_select fields)", + { + "title": "Issue Type Added Issue Event", + "description": "Issue Type Added Issue Event", "type": "object", "properties": { "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "example": 1 + "type": "integer" }, - "name": { - "description": "The name of the option", - "type": "string", - "example": "High" + "node_id": { + "type": "string" }, - "color": { - "description": "The color of the option", - "type": "string", - "example": "red" - } - }, - "required": [ - "id", - "name", - "color" - ], - "nullable": true - }, - "multi_select_options": { - "description": "Details about the selected options", - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "name": { - "description": "The name of the option", - "type": "string", - "example": "High" + "url": { + "type": "string" + }, + "actor": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } }, - "color": { - "description": "The color of the option", - "type": "string", - "example": "red" - } + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] }, - "required": [ - "id", - "name", - "color" - ] - }, - "nullable": true - } - }, - "required": [ - "issue_field_id", - "node_id", - "data_type", - "value" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "issue_field_id": 1, - "node_id": "IFT_GDKND", - "data_type": "text", - "value": "DRI" - }, - { - "issue_field_id": 2, - "node_id": "IFSS_SADMS", - "data_type": "single_select", - "value": 1, - "single_select_option": { - "id": 1, - "name": "High", - "color": "red" - } - }, - { - "issue_field_id": 3, - "node_id": "IFN_POINTS", - "data_type": "number", - "value": 42 - }, - { - "issue_field_id": 4, - "node_id": "IFD_DUEDATE", - "data_type": "date", - "value": "2025-12-25" - }, - { - "issue_field_id": 5, - "node_id": "IFMS_LABELS", - "data_type": "multi_select", - "value": "Frontend,Backend", - "multi_select_options": [ - { - "id": 1, - "name": "Frontend", - "color": "blue" - }, - { - "id": 2, - "name": "Backend", - "color": "green" - } - ] - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - }, - "301": { - "description": "Moved permanently", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "410": { - "description": "Gone", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "issues", - "subcategory": "issue-field-values" - } - }, - "post": { - "summary": "Add issue field values to an issue", - "description": "Add custom field values to an issue. You can set values for organization-level issue fields that have been defined for the repository's organization.\nAdding an empty array will clear all existing field values for the issue.\n\nThis endpoint supports the following field data types:\n- **`text`**: String values for text fields\n- **`single_select`**: Option names for single-select fields (must match an existing option name)\n- **`number`**: Numeric values for number fields\n- **`date`**: ISO 8601 date strings for date fields\n\nOnly users with push access to the repository can add issue field values. If you don't have the proper permissions, you'll receive a `403 Forbidden` response.\n\nThis endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api).\"", - "tags": [ - "issues" - ], - "operationId": "issues/add-issue-field-values", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/issues/issue-field-values#add-issue-field-values-to-an-issue" - }, - "parameters": [ - { - "name": "owner", - "description": "The account owner of the repository. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "repo", - "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "issue_number", - "description": "The number that identifies the issue.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "issue_field_values": { - "type": "array", - "description": "An array of issue field values to add to this issue. Each field value must include the field ID and the value to set.", - "items": { - "type": "object", - "properties": { - "field_id": { - "type": "integer", - "description": "The ID of the issue field to set", - "example": 123 - }, - "value": { - "oneOf": [ - { - "type": "string", - "description": "The value to set for text, single_select, or date fields" - }, - { - "type": "number", - "description": "The value to set for number fields" - }, - { - "type": "array", - "items": { - "type": "string" - }, - "description": "The value to set for multi_select fields (array of option names)" - } - ], - "description": "The value to set for the field. The type depends on the field's data type:\n- For text fields: provide a string value\n- For single_select fields: provide the option name as a string (must match an existing option)\n- For number fields: provide a numeric value\n- For multi_select fields: provide an array of option names (must match existing options)\n- For date fields: provide an ISO 8601 date string", - "example": "Critical" - } - }, - "required": [ - "field_id", - "value" - ], - "additionalProperties": false - }, - "maxItems": 25 - } - } - }, - "examples": { - "default": { - "summary": "Add multiple field values", - "value": { - "issue_field_values": [ - { - "field_id": 123, - "value": "Critical" - }, - { - "field_id": 456, - "value": 5 - }, - { - "field_id": 789, - "value": "2024-12-31" - } - ] - } - }, - "single-field": { - "summary": "Add a single field value", - "value": { - "issue_field_values": [ - { - "field_id": 123, - "value": "High Priority" - } - ] - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "description": "The current issue field values for this issue after adding the new values", - "items": { - "title": "Issue Field Value", - "description": "A value assigned to an issue field", - "type": "object", - "properties": { - "issue_field_id": { - "description": "Unique identifier for the issue field.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "IFT_GDKND" - }, - "data_type": { - "description": "The data type of the issue field", - "type": "string", - "enum": [ - "text", - "single_select", - "multi_select", - "number", - "date" - ], - "example": "text" - }, - "value": { - "description": "The value of the issue field", - "anyOf": [ - { - "type": "string", - "example": "Sample text" - }, - { - "type": "number", - "example": 42.5 - }, - { - "type": "integer", - "example": 1 - } - ], - "nullable": true - }, - "single_select_option": { - "description": "Details about the selected option (only present for single_select fields)", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "example": 1 + "event": { + "type": "string" }, - "name": { - "description": "The name of the option", + "commit_id": { "type": "string", - "example": "High" + "nullable": true }, - "color": { - "description": "The color of the option", + "commit_url": { "type": "string", - "example": "red" - } - }, - "required": [ - "id", - "name", - "color" - ], - "nullable": true - }, - "multi_select_options": { - "description": "Details about the selected options", - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "name": { - "description": "The name of the option", - "type": "string", - "example": "High" - }, - "color": { - "description": "The color of the option", - "type": "string", - "example": "red" - } + "nullable": true }, - "required": [ - "id", - "name", - "color" - ] - }, - "nullable": true - } - }, - "required": [ - "issue_field_id", - "node_id", - "data_type", - "value" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "issue_field_id": 1, - "node_id": "IFT_GDKND", - "data_type": "text", - "value": "DRI" - }, - { - "issue_field_id": 2, - "node_id": "IFSS_SADMS", - "data_type": "single_select", - "value": 1, - "single_select_option": { - "id": 1, - "name": "High", - "color": "red" - } - }, - { - "issue_field_id": 3, - "node_id": "IFN_POINTS", - "data_type": "number", - "value": 42 - }, - { - "issue_field_id": 4, - "node_id": "IFD_DUEDATE", - "data_type": "date", - "value": "2025-12-25" - }, - { - "issue_field_id": 5, - "node_id": "IFMS_LABELS", - "data_type": "multi_select", - "value": "Frontend,Backend", - "multi_select_options": [ - { - "id": 1, - "name": "Frontend", - "color": "blue" + "created_at": { + "type": "string" }, - { - "id": 2, - "name": "Backend", - "color": "green" - } - ] - } - ] - } - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - }, - "application/scim+json": { - "schema": { - "title": "Scim Error", - "description": "Scim Error", - "type": "object", - "properties": { - "message": { - "type": "string", - "nullable": true - }, - "documentation_url": { - "type": "string", - "nullable": true - }, - "detail": { - "type": "string", - "nullable": true - }, - "status": { - "type": "integer" - }, - "scimType": { - "type": "string", - "nullable": true - }, - "schemas": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error", - "description": "Validation Error", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", + "performed_via_github_app": { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { + "type": "string", + "example": "MDExOkludGVncmF0aW9uMQ==" + }, + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", + "type": "string" + }, + "description": { + "type": "string", + "example": "The description of the app.", + "nullable": true + }, + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app. Note that the `installation_target`, `security_advisory`, and `meta` events are not included because they are global events and not specific to an installation.", + "example": [ + "label", + "deployment" + ], + "type": "array", + "items": { + "type": "string" + } + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "example": 5, + "type": "integer" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + }, + "issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + } + }, "required": [ - "code" - ], + "issue_type", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + { + "title": "Issue Type Removed Issue Event", + "description": "Issue Type Removed Issue Event", + "type": "object", "properties": { - "resource": { - "type": "string" - }, - "field": { - "type": "string" + "id": { + "type": "integer" }, - "message": { + "node_id": { "type": "string" }, - "code": { + "url": { "type": "string" }, - "index": { - "type": "integer" - }, - "value": { - "oneOf": [ - { + "actor": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { "type": "string", - "nullable": true + "example": "octocat" }, - { + "id": { "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", "nullable": true }, - { - "type": "array", - "nullable": true, - "items": { - "type": "string" - } - } - ] - } - } - } - } - } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "triggersNotification": true, - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "issues", - "subcategory": "issue-field-values" - } - }, - "put": { - "summary": "Set issue field values for an issue", - "description": "Set custom field values for an issue, replacing any existing values. You can set values for organization-level issue fields that have been defined for the repository's organization.\n\nThis endpoint supports the following field data types:\n- **`text`**: String values for text fields\n- **`single_select`**: Option names for single-select fields (must match an existing option name)\n- **`number`**: Numeric values for number fields\n- **`date`**: ISO 8601 date strings for date fields\n\nThis operation will replace all existing field values with the provided ones. If you want to add field values without replacing existing ones, use the `POST` endpoint instead.\n\nOnly users with push access to the repository can set issue field values. If you don't have the proper permissions, you'll receive a `403 Forbidden` response.\n\nThis endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api).\"", - "tags": [ - "issues" - ], - "operationId": "issues/set-issue-field-values", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/issues/issue-field-values#set-issue-field-values-for-an-issue" - }, - "parameters": [ - { - "name": "owner", - "description": "The account owner of the repository. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "repo", - "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "issue_number", - "description": "The number that identifies the issue.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "issue_field_values": { - "type": "array", - "description": "An array of issue field values to set for this issue. Each field value must include the field ID and the value to set. All existing field values will be replaced.", - "items": { - "type": "object", - "properties": { - "field_id": { - "type": "integer", - "description": "The ID of the issue field to set", - "example": 123 - }, - "value": { - "oneOf": [ - { - "type": "string", - "description": "The value to set for text, single_select, or date fields" + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } }, - { - "type": "number", - "description": "The value to set for number fields" - } - ], - "description": "The value to set for the field. The type depends on the field's data type:\n- For text fields: provide a string value\n- For single_select fields: provide the option name as a string (must match an existing option)\n- For number fields: provide a numeric value\n- For date fields: provide an ISO 8601 date string", - "example": "Critical" - } - }, - "required": [ - "field_id", - "value" - ], - "additionalProperties": false - }, - "maxItems": 25 - } - } - }, - "examples": { - "default": { - "summary": "Set multiple field values", - "value": { - "issue_field_values": [ - { - "field_id": 123, - "value": "Critical" - }, - { - "field_id": 456, - "value": 5 - }, - { - "field_id": 789, - "value": "2024-12-31" - } - ] - } - }, - "single-field": { - "summary": "Set a single field value", - "value": { - "issue_field_values": [ - { - "field_id": 123, - "value": "High Priority" - } - ] - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "description": "The current issue field values for this issue after setting the new values", - "items": { - "title": "Issue Field Value", - "description": "A value assigned to an issue field", - "type": "object", - "properties": { - "issue_field_id": { - "description": "Unique identifier for the issue field.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "IFT_GDKND" - }, - "data_type": { - "description": "The data type of the issue field", - "type": "string", - "enum": [ - "text", - "single_select", - "multi_select", - "number", - "date" - ], - "example": "text" - }, - "value": { - "description": "The value of the issue field", - "anyOf": [ - { - "type": "string", - "example": "Sample text" - }, - { - "type": "number", - "example": 42.5 + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] }, - { - "type": "integer", - "example": 1 - } - ], - "nullable": true - }, - "single_select_option": { - "description": "Details about the selected option (only present for single_select fields)", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "example": 1 + "event": { + "type": "string" }, - "name": { - "description": "The name of the option", + "commit_id": { "type": "string", - "example": "High" + "nullable": true }, - "color": { - "description": "The color of the option", + "commit_url": { "type": "string", - "example": "red" - } - }, - "required": [ - "id", - "name", - "color" - ], - "nullable": true - }, - "multi_select_options": { - "description": "Details about the selected options", - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "name": { - "description": "The name of the option", - "type": "string", - "example": "High" - }, - "color": { - "description": "The color of the option", - "type": "string", - "example": "red" - } + "nullable": true }, - "required": [ - "id", - "name", - "color" - ] - }, - "nullable": true - } - }, - "required": [ - "issue_field_id", - "node_id", - "data_type", - "value" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "issue_field_id": 1, - "node_id": "IFT_GDKND", - "data_type": "text", - "value": "DRI" - }, - { - "issue_field_id": 2, - "node_id": "IFSS_SADMS", - "data_type": "single_select", - "value": 1, - "single_select_option": { - "id": 1, - "name": "High", - "color": "red" - } - }, - { - "issue_field_id": 3, - "node_id": "IFN_POINTS", - "data_type": "number", - "value": 42 - }, - { - "issue_field_id": 4, - "node_id": "IFD_DUEDATE", - "data_type": "date", - "value": "2025-12-25" - }, - { - "issue_field_id": 5, - "node_id": "IFMS_LABELS", - "data_type": "multi_select", - "value": "Frontend,Backend", - "multi_select_options": [ - { - "id": 1, - "name": "Frontend", - "color": "blue" + "created_at": { + "type": "string" }, - { - "id": 2, - "name": "Backend", - "color": "green" - } - ] - } - ] - } - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - }, - "application/scim+json": { - "schema": { - "title": "Scim Error", - "description": "Scim Error", - "type": "object", - "properties": { - "message": { - "type": "string", - "nullable": true - }, - "documentation_url": { - "type": "string", - "nullable": true - }, - "detail": { - "type": "string", - "nullable": true - }, - "status": { - "type": "integer" - }, - "scimType": { - "type": "string", - "nullable": true - }, - "schemas": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error", - "description": "Validation Error", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", + "performed_via_github_app": { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { + "type": "string", + "example": "MDExOkludGVncmF0aW9uMQ==" + }, + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", + "type": "string" + }, + "description": { + "type": "string", + "example": "The description of the app.", + "nullable": true + }, + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app. Note that the `installation_target`, `security_advisory`, and `meta` events are not included because they are global events and not specific to an installation.", + "example": [ + "label", + "deployment" + ], + "type": "array", + "items": { + "type": "string" + } + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "example": 5, + "type": "integer" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + }, + "prev_issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + } + }, "required": [ - "code" - ], + "prev_issue_type", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + { + "title": "Issue Type Changed Issue Event", + "description": "Issue Type Changed Issue Event", + "type": "object", "properties": { - "resource": { - "type": "string" - }, - "field": { - "type": "string" + "id": { + "type": "integer" }, - "message": { + "node_id": { "type": "string" }, - "code": { + "url": { "type": "string" }, - "index": { - "type": "integer" - }, - "value": { - "oneOf": [ - { + "actor": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { "type": "string", - "nullable": true + "example": "octocat" }, - { + "id": { "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", "nullable": true }, - { - "type": "array", - "nullable": true, - "items": { - "type": "string" - } - } - ] - } - } - } - } - } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "triggersNotification": true, - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "issues", - "subcategory": "issue-field-values" - } - } - }, - "/repos/{owner}/{repo}/issues/{issue_number}/issue-field-values/{issue_field_id}": { - "delete": { - "summary": "Delete an issue field value from an issue", - "description": "Remove a specific custom field value from an issue.\n\nOnly users with push access to the repository can delete issue field values. If you don't have the proper permissions, you'll receive a `403 Forbidden` response.\n\nIf the specified field does not have a value set on the issue, this operation will return a `404` error.\n\nThis endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api).\"", - "tags": [ - "issues" - ], - "operationId": "issues/delete-issue-field-value", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue" - }, - "parameters": [ - { - "name": "owner", - "description": "The account owner of the repository. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "repo", - "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "issue_number", - "description": "The number that identifies the issue.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "issue_field_id", - "description": "The unique identifier of the issue field.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "204": { - "description": "Issue field value deleted successfully" - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error", - "description": "Validation Error", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "required": [ - "code" - ], - "properties": { - "resource": { - "type": "string" + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] }, - "field": { + "event": { "type": "string" }, - "message": { - "type": "string" + "commit_id": { + "type": "string", + "nullable": true }, - "code": { - "type": "string" + "commit_url": { + "type": "string", + "nullable": true }, - "index": { - "type": "integer" + "created_at": { + "type": "string" }, - "value": { - "oneOf": [ - { + "performed_via_github_app": { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { "type": "string", - "nullable": true + "example": "MDExOkludGVncmF0aW9uMQ==" }, - { - "type": "integer", + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", + "type": "string" + }, + "description": { + "type": "string", + "example": "The description of the app.", "nullable": true }, - { + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app. Note that the `installation_target`, `security_advisory`, and `meta` events are not included because they are global events and not specific to an installation.", + "example": [ + "label", + "deployment" + ], "type": "array", - "nullable": true, "items": { "type": "string" } + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "example": 5, + "type": "integer" } - ] - } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + }, + "issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, + "prev_issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + } + }, + "required": [ + "issue_type", + "prev_issue_type", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + } + ] + } + }, + "examples": { + "default": { + "value": [ + { + "id": 1, + "node_id": "MDEwOklzc3VlRXZlbnQx", + "url": "https://api.github.com/repos/octocat/Hello-World/issues/events/1", + "actor": { + "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 + }, + "event": "closed", + "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "commit_url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e", + "created_at": "2011-04-14T16:00:49Z", + "performed_via_github_app": null, + "label": { + "name": "label", + "color": "red" } } - } + ] } } } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } } }, - "503": { - "description": "Service unavailable", + "410": { + "description": "Gone", "content": { "application/json": { "schema": { + "title": "Basic Error", + "description": "Basic Error", "type": "object", "properties": { - "code": { - "type": "string" - }, "message": { "type": "string" }, "documentation_url": { "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" } } } @@ -448095,25 +448247,24 @@ } }, "x-github": { - "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "issues", - "subcategory": "issue-field-values" + "subcategory": "events" } } }, - "/repos/{owner}/{repo}/issues/{issue_number}/labels": { + "/repos/{owner}/{repo}/issues/{issue_number}/issue-field-values": { "get": { - "summary": "List labels for an issue", - "description": "Lists all labels for an issue.", + "summary": "List issue field values for an issue", + "description": "Lists all issue field values for an issue.", "tags": [ "issues" ], - "operationId": "issues/list-labels-on-issue", + "operationId": "issues/list-issue-field-values-for-issue", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/issues/labels#list-labels-for-an-issue" + "url": "https://docs.github.com/rest/issues/issue-field-values#list-issue-field-values-for-an-issue" }, "parameters": [ { @@ -448170,56 +448321,115 @@ "schema": { "type": "array", "items": { - "title": "Label", - "description": "Color-coded labels help you categorize and filter your issues (just like labels in Gmail).", + "title": "Issue Field Value", + "description": "A value assigned to an issue field", "type": "object", "properties": { - "id": { - "description": "Unique identifier for the label.", + "issue_field_id": { + "description": "Unique identifier for the issue field.", "type": "integer", "format": "int64", - "example": 208045946 + "example": 1 }, "node_id": { "type": "string", - "example": "MDU6TGFiZWwyMDgwNDU5NDY=" + "example": "IFT_GDKND" }, - "url": { - "description": "URL for the label", - "example": "https://api.github.com/repositories/42/labels/bug", + "data_type": { + "description": "The data type of the issue field", "type": "string", - "format": "uri" - }, - "name": { - "description": "The name of the label.", - "example": "bug", - "type": "string" + "enum": [ + "text", + "single_select", + "multi_select", + "number", + "date" + ], + "example": "text" }, - "description": { - "description": "Optional description of the label, such as its purpose.", - "type": "string", - "example": "Something isn't working", + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "example": "Sample text" + }, + { + "type": "number", + "example": 42.5 + }, + { + "type": "integer", + "example": 1 + } + ], "nullable": true }, - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "example": "FFFFFF", - "type": "string" + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the option", + "type": "string", + "example": "High" + }, + "color": { + "description": "The color of the option", + "type": "string", + "example": "red" + } + }, + "required": [ + "id", + "name", + "color" + ], + "nullable": true }, - "default": { - "description": "Whether this label comes by default in a new repository.", - "type": "boolean", - "example": true + "multi_select_options": { + "description": "Details about the selected options", + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the option", + "type": "string", + "example": "High" + }, + "color": { + "description": "The color of the option", + "type": "string", + "example": "red" + } + }, + "required": [ + "id", + "name", + "color" + ] + }, + "nullable": true } }, "required": [ - "id", + "issue_field_id", "node_id", - "url", - "name", - "description", - "color", - "default" + "data_type", + "value" ] } }, @@ -448227,22 +448437,51 @@ "default": { "value": [ { - "id": 208045946, - "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", - "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug", - "name": "bug", - "description": "Something isn't working", - "color": "f29513", - "default": true + "issue_field_id": 1, + "node_id": "IFT_GDKND", + "data_type": "text", + "value": "DRI" }, { - "id": 208045947, - "node_id": "MDU6TGFiZWwyMDgwNDU5NDc=", - "url": "https://api.github.com/repos/octocat/Hello-World/labels/enhancement", - "name": "enhancement", - "description": "New feature or request", - "color": "a2eeef", - "default": false + "issue_field_id": 2, + "node_id": "IFSS_SADMS", + "data_type": "single_select", + "value": 1, + "single_select_option": { + "id": 1, + "name": "High", + "color": "red" + } + }, + { + "issue_field_id": 3, + "node_id": "IFN_POINTS", + "data_type": "number", + "value": 42 + }, + { + "issue_field_id": 4, + "node_id": "IFD_DUEDATE", + "data_type": "date", + "value": "2025-12-25" + }, + { + "issue_field_id": 5, + "node_id": "IFMS_LABELS", + "data_type": "multi_select", + "value": "Frontend,Backend", + "multi_select_options": [ + { + "id": 1, + "name": "Frontend", + "color": "blue" + }, + { + "id": 2, + "name": "Backend", + "color": "green" + } + ] } ] } @@ -448341,19 +448580,19 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "issues", - "subcategory": "labels" + "subcategory": "issue-field-values" } }, "post": { - "summary": "Add labels to an issue", - "description": "Adds labels to an issue.", + "summary": "Add issue field values to an issue", + "description": "Add custom field values to an issue. You can set values for organization-level issue fields that have been defined for the repository's organization.\nAdding an empty array will clear all existing field values for the issue.\n\nThis endpoint supports the following field data types:\n- **`text`**: String values for text fields\n- **`single_select`**: Option names for single-select fields (must match an existing option name)\n- **`number`**: Numeric values for number fields\n- **`date`**: ISO 8601 date strings for date fields\n\nOnly users with push access to the repository can add issue field values. If you don't have the proper permissions, you'll receive a `403 Forbidden` response.\n\nThis endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api).\"", "tags": [ "issues" ], - "operationId": "issues/add-labels", + "operationId": "issues/add-issue-field-values", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/issues/labels#add-labels-to-an-issue" + "url": "https://docs.github.com/rest/issues/issue-field-values#add-issue-field-values-to-an-issue" }, "parameters": [ { @@ -448385,52 +448624,83 @@ } ], "requestBody": { - "required": false, + "required": true, "content": { "application/json": { "schema": { - "oneOf": [ - { - "type": "object", - "properties": { - "labels": { - "type": "array", - "minItems": 1, - "description": "The names of the labels to add to the issue's existing labels. You can also pass an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. To replace all of the labels for an issue, use \"[Set labels for an issue](https://docs.github.com/rest/issues/labels#set-labels-for-an-issue).\"", - "items": { - "type": "string" - } - } - } - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { + "type": "object", + "properties": { + "issue_field_values": { "type": "array", + "description": "An array of issue field values to add to this issue. Each field value must include the field ID and the value to set.", "items": { "type": "object", "properties": { - "name": { - "type": "string" + "field_id": { + "type": "integer", + "description": "The ID of the issue field to set", + "example": 123 + }, + "value": { + "oneOf": [ + { + "type": "string", + "description": "The value to set for text, single_select, or date fields" + }, + { + "type": "number", + "description": "The value to set for number fields" + }, + { + "type": "array", + "items": { + "type": "string" + }, + "description": "The value to set for multi_select fields (array of option names)" + } + ], + "description": "The value to set for the field. The type depends on the field's data type:\n- For text fields: provide a string value\n- For single_select fields: provide the option name as a string (must match an existing option)\n- For number fields: provide a numeric value\n- For multi_select fields: provide an array of option names (must match existing options)\n- For date fields: provide an ISO 8601 date string", + "example": "Critical" } }, "required": [ - "name" - ] - } + "field_id", + "value" + ], + "additionalProperties": false + }, + "maxItems": 25 } - ] + } }, "examples": { "default": { + "summary": "Add multiple field values", "value": { - "labels": [ - "bug", - "enhancement" + "issue_field_values": [ + { + "field_id": 123, + "value": "Critical" + }, + { + "field_id": 456, + "value": 5 + }, + { + "field_id": 789, + "value": "2024-12-31" + } + ] + } + }, + "single-field": { + "summary": "Add a single field value", + "value": { + "issue_field_values": [ + { + "field_id": 123, + "value": "High Priority" + } ] } } @@ -448445,57 +448715,117 @@ "application/json": { "schema": { "type": "array", + "description": "The current issue field values for this issue after adding the new values", "items": { - "title": "Label", - "description": "Color-coded labels help you categorize and filter your issues (just like labels in Gmail).", + "title": "Issue Field Value", + "description": "A value assigned to an issue field", "type": "object", "properties": { - "id": { - "description": "Unique identifier for the label.", + "issue_field_id": { + "description": "Unique identifier for the issue field.", "type": "integer", "format": "int64", - "example": 208045946 + "example": 1 }, "node_id": { "type": "string", - "example": "MDU6TGFiZWwyMDgwNDU5NDY=" + "example": "IFT_GDKND" }, - "url": { - "description": "URL for the label", - "example": "https://api.github.com/repositories/42/labels/bug", + "data_type": { + "description": "The data type of the issue field", "type": "string", - "format": "uri" - }, - "name": { - "description": "The name of the label.", - "example": "bug", - "type": "string" + "enum": [ + "text", + "single_select", + "multi_select", + "number", + "date" + ], + "example": "text" }, - "description": { - "description": "Optional description of the label, such as its purpose.", - "type": "string", - "example": "Something isn't working", + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "example": "Sample text" + }, + { + "type": "number", + "example": 42.5 + }, + { + "type": "integer", + "example": 1 + } + ], "nullable": true }, - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "example": "FFFFFF", - "type": "string" + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the option", + "type": "string", + "example": "High" + }, + "color": { + "description": "The color of the option", + "type": "string", + "example": "red" + } + }, + "required": [ + "id", + "name", + "color" + ], + "nullable": true }, - "default": { - "description": "Whether this label comes by default in a new repository.", - "type": "boolean", - "example": true + "multi_select_options": { + "description": "Details about the selected options", + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the option", + "type": "string", + "example": "High" + }, + "color": { + "description": "The color of the option", + "type": "string", + "example": "red" + } + }, + "required": [ + "id", + "name", + "color" + ] + }, + "nullable": true } }, "required": [ - "id", + "issue_field_id", "node_id", - "url", - "name", - "description", - "color", - "default" + "data_type", + "value" ] } }, @@ -448503,22 +448833,51 @@ "default": { "value": [ { - "id": 208045946, - "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", - "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug", - "name": "bug", - "description": "Something isn't working", - "color": "f29513", - "default": true + "issue_field_id": 1, + "node_id": "IFT_GDKND", + "data_type": "text", + "value": "DRI" }, { - "id": 208045947, - "node_id": "MDU6TGFiZWwyMDgwNDU5NDc=", - "url": "https://api.github.com/repos/octocat/Hello-World/labels/enhancement", - "name": "enhancement", - "description": "New feature or request", - "color": "a2eeef", - "default": false + "issue_field_id": 2, + "node_id": "IFSS_SADMS", + "data_type": "single_select", + "value": 1, + "single_select_option": { + "id": 1, + "name": "High", + "color": "red" + } + }, + { + "issue_field_id": 3, + "node_id": "IFN_POINTS", + "data_type": "number", + "value": 42 + }, + { + "issue_field_id": 4, + "node_id": "IFD_DUEDATE", + "data_type": "date", + "value": "2025-12-25" + }, + { + "issue_field_id": 5, + "node_id": "IFMS_LABELS", + "data_type": "multi_select", + "value": "Frontend,Backend", + "multi_select_options": [ + { + "id": 1, + "name": "Frontend", + "color": "blue" + }, + { + "id": 2, + "name": "Backend", + "color": "green" + } + ] } ] } @@ -448526,8 +448885,8 @@ } } }, - "301": { - "description": "Moved permanently", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -448549,11 +448908,45 @@ } } } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } } } }, - "404": { - "description": "Resource not found", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -448578,8 +448971,8 @@ } } }, - "410": { - "description": "Gone", + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -448672,25 +449065,47 @@ } } } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } } }, "x-github": { + "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "issues", - "subcategory": "labels" + "subcategory": "issue-field-values" } }, "put": { - "summary": "Set labels for an issue", - "description": "Removes any previous labels and sets the new labels for an issue.", + "summary": "Set issue field values for an issue", + "description": "Set custom field values for an issue, replacing any existing values. You can set values for organization-level issue fields that have been defined for the repository's organization.\n\nThis endpoint supports the following field data types:\n- **`text`**: String values for text fields\n- **`single_select`**: Option names for single-select fields (must match an existing option name)\n- **`number`**: Numeric values for number fields\n- **`date`**: ISO 8601 date strings for date fields\n\nThis operation will replace all existing field values with the provided ones. If you want to add field values without replacing existing ones, use the `POST` endpoint instead.\n\nOnly users with push access to the repository can set issue field values. If you don't have the proper permissions, you'll receive a `403 Forbidden` response.\n\nThis endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api).\"", "tags": [ "issues" ], - "operationId": "issues/set-labels", + "operationId": "issues/set-issue-field-values", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/issues/labels#set-labels-for-an-issue" + "url": "https://docs.github.com/rest/issues/issue-field-values#set-issue-field-values-for-an-issue" }, "parameters": [ { @@ -448722,77 +449137,76 @@ } ], "requestBody": { - "required": false, + "required": true, "content": { "application/json": { "schema": { - "oneOf": [ - { - "type": "object", - "properties": { - "labels": { - "type": "array", - "minItems": 1, - "description": "The names of the labels to set for the issue. The labels you set replace any existing labels. You can pass an empty array to remove all labels. Alternatively, you can pass a single label as a `string` or an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. You can also add labels to the existing labels for an issue. For more information, see \"[Add labels to an issue](https://docs.github.com/rest/issues/labels#add-labels-to-an-issue).\"", - "items": { - "type": "string" - } - } - } - }, - { - "type": "array", - "minItems": 1, - "items": { - "type": "string" - } - }, - { - "type": "object", - "properties": { - "labels": { - "type": "array", - "minItems": 1, - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - } - }, - "required": [ - "name" - ] - } - } - } - }, - { + "type": "object", + "properties": { + "issue_field_values": { "type": "array", - "minItems": 1, + "description": "An array of issue field values to set for this issue. Each field value must include the field ID and the value to set. All existing field values will be replaced.", "items": { "type": "object", "properties": { - "name": { - "type": "string" + "field_id": { + "type": "integer", + "description": "The ID of the issue field to set", + "example": 123 + }, + "value": { + "oneOf": [ + { + "type": "string", + "description": "The value to set for text, single_select, or date fields" + }, + { + "type": "number", + "description": "The value to set for number fields" + } + ], + "description": "The value to set for the field. The type depends on the field's data type:\n- For text fields: provide a string value\n- For single_select fields: provide the option name as a string (must match an existing option)\n- For number fields: provide a numeric value\n- For date fields: provide an ISO 8601 date string", + "example": "Critical" } }, "required": [ - "name" - ] - } - }, - { - "type": "string" + "field_id", + "value" + ], + "additionalProperties": false + }, + "maxItems": 25 } - ] + } }, "examples": { "default": { + "summary": "Set multiple field values", "value": { - "labels": [ - "bug", - "enhancement" + "issue_field_values": [ + { + "field_id": 123, + "value": "Critical" + }, + { + "field_id": 456, + "value": 5 + }, + { + "field_id": 789, + "value": "2024-12-31" + } + ] + } + }, + "single-field": { + "summary": "Set a single field value", + "value": { + "issue_field_values": [ + { + "field_id": 123, + "value": "High Priority" + } ] } } @@ -448807,57 +449221,117 @@ "application/json": { "schema": { "type": "array", + "description": "The current issue field values for this issue after setting the new values", "items": { - "title": "Label", - "description": "Color-coded labels help you categorize and filter your issues (just like labels in Gmail).", + "title": "Issue Field Value", + "description": "A value assigned to an issue field", "type": "object", "properties": { - "id": { - "description": "Unique identifier for the label.", + "issue_field_id": { + "description": "Unique identifier for the issue field.", "type": "integer", "format": "int64", - "example": 208045946 + "example": 1 }, "node_id": { "type": "string", - "example": "MDU6TGFiZWwyMDgwNDU5NDY=" + "example": "IFT_GDKND" }, - "url": { - "description": "URL for the label", - "example": "https://api.github.com/repositories/42/labels/bug", + "data_type": { + "description": "The data type of the issue field", "type": "string", - "format": "uri" - }, - "name": { - "description": "The name of the label.", - "example": "bug", - "type": "string" + "enum": [ + "text", + "single_select", + "multi_select", + "number", + "date" + ], + "example": "text" }, - "description": { - "description": "Optional description of the label, such as its purpose.", - "type": "string", - "example": "Something isn't working", + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "example": "Sample text" + }, + { + "type": "number", + "example": 42.5 + }, + { + "type": "integer", + "example": 1 + } + ], "nullable": true }, - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "example": "FFFFFF", - "type": "string" + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the option", + "type": "string", + "example": "High" + }, + "color": { + "description": "The color of the option", + "type": "string", + "example": "red" + } + }, + "required": [ + "id", + "name", + "color" + ], + "nullable": true }, - "default": { - "description": "Whether this label comes by default in a new repository.", - "type": "boolean", - "example": true + "multi_select_options": { + "description": "Details about the selected options", + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the option", + "type": "string", + "example": "High" + }, + "color": { + "description": "The color of the option", + "type": "string", + "example": "red" + } + }, + "required": [ + "id", + "name", + "color" + ] + }, + "nullable": true } }, "required": [ - "id", + "issue_field_id", "node_id", - "url", - "name", - "description", - "color", - "default" + "data_type", + "value" ] } }, @@ -448865,22 +449339,51 @@ "default": { "value": [ { - "id": 208045946, - "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", - "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug", - "name": "bug", - "description": "Something isn't working", - "color": "f29513", - "default": true + "issue_field_id": 1, + "node_id": "IFT_GDKND", + "data_type": "text", + "value": "DRI" }, { - "id": 208045947, - "node_id": "MDU6TGFiZWwyMDgwNDU5NDc=", - "url": "https://api.github.com/repos/octocat/Hello-World/labels/enhancement", - "name": "enhancement", - "description": "New feature or request", - "color": "a2eeef", - "default": false + "issue_field_id": 2, + "node_id": "IFSS_SADMS", + "data_type": "single_select", + "value": 1, + "single_select_option": { + "id": 1, + "name": "High", + "color": "red" + } + }, + { + "issue_field_id": 3, + "node_id": "IFN_POINTS", + "data_type": "number", + "value": 42 + }, + { + "issue_field_id": 4, + "node_id": "IFD_DUEDATE", + "data_type": "date", + "value": "2025-12-25" + }, + { + "issue_field_id": 5, + "node_id": "IFMS_LABELS", + "data_type": "multi_select", + "value": "Frontend,Backend", + "multi_select_options": [ + { + "id": 1, + "name": "Frontend", + "color": "blue" + }, + { + "id": 2, + "name": "Backend", + "color": "green" + } + ] } ] } @@ -448888,8 +449391,8 @@ } } }, - "301": { - "description": "Moved permanently", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -448911,13 +449414,47 @@ } } } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { "schema": { "title": "Basic Error", "description": "Basic Error", @@ -448940,8 +449477,8 @@ } } }, - "410": { - "description": "Gone", + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -449034,25 +449571,49 @@ } } } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } } }, "x-github": { + "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "issues", - "subcategory": "labels" + "subcategory": "issue-field-values" } - }, + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/issue-field-values/{issue_field_id}": { "delete": { - "summary": "Remove all labels from an issue", - "description": "Removes all labels from an issue.", + "summary": "Delete an issue field value from an issue", + "description": "Remove a specific custom field value from an issue.\n\nOnly users with push access to the repository can delete issue field values. If you don't have the proper permissions, you'll receive a `403 Forbidden` response.\n\nIf the specified field does not have a value set on the issue, this operation will return a `404` error.\n\nThis endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api).\"", "tags": [ "issues" ], - "operationId": "issues/remove-all-labels", + "operationId": "issues/delete-issue-field-value", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue" + "url": "https://docs.github.com/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue" }, "parameters": [ { @@ -449081,14 +449642,23 @@ "schema": { "type": "integer" } + }, + { + "name": "issue_field_id", + "description": "The unique identifier of the issue field.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } } ], "responses": { "204": { - "description": "Response" + "description": "Issue field value deleted successfully" }, - "301": { - "description": "Moved permanently", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -449139,14 +449709,18 @@ } } }, - "410": { - "description": "Gone", + "422": { + "description": "Validation failed, or the endpoint has been spammed.", "content": { "application/json": { "schema": { - "title": "Basic Error", - "description": "Basic Error", + "title": "Validation Error", + "description": "Validation Error", "type": "object", + "required": [ + "message", + "documentation_url" + ], "properties": { "message": { "type": "string" @@ -449154,10 +449728,70 @@ "documentation_url": { "type": "string" }, - "url": { + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { "type": "string" }, - "status": { + "message": { + "type": "string" + }, + "documentation_url": { "type": "string" } } @@ -449167,24 +449801,25 @@ } }, "x-github": { + "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "issues", - "subcategory": "labels" + "subcategory": "issue-field-values" } } }, - "/repos/{owner}/{repo}/issues/{issue_number}/labels/{name}": { - "delete": { - "summary": "Remove a label from an issue", - "description": "Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist.", + "/repos/{owner}/{repo}/issues/{issue_number}/labels": { + "get": { + "summary": "List labels for an issue", + "description": "Lists all labels for an issue.", "tags": [ "issues" ], - "operationId": "issues/remove-label", + "operationId": "issues/list-labels-on-issue", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue" + "url": "https://docs.github.com/rest/issues/labels#list-labels-for-an-issue" }, "parameters": [ { @@ -449215,11 +449850,21 @@ } }, { - "name": "name", - "in": "path", - "required": true, + "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).\"", + "in": "query", "schema": { - "type": "string" + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 } } ], @@ -449295,11 +449940,28 @@ "description": "Something isn't working", "color": "f29513", "default": true + }, + { + "id": 208045947, + "node_id": "MDU6TGFiZWwyMDgwNDU5NDc=", + "url": "https://api.github.com/repos/octocat/Hello-World/labels/enhancement", + "name": "enhancement", + "description": "New feature or request", + "color": "a2eeef", + "default": false } ] } } } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } } }, "301": { @@ -449387,19 +450049,17 @@ "category": "issues", "subcategory": "labels" } - } - }, - "/repos/{owner}/{repo}/issues/{issue_number}/lock": { - "put": { - "summary": "Lock an issue", - "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method).\"", + }, + "post": { + "summary": "Add labels to an issue", + "description": "Adds labels to an issue.", "tags": [ "issues" ], - "operationId": "issues/lock", + "operationId": "issues/add-labels", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/issues/issues#lock-an-issue" + "url": "https://docs.github.com/rest/issues/labels#add-labels-to-an-issue" }, "parameters": [ { @@ -449435,26 +450095,49 @@ "content": { "application/json": { "schema": { - "type": "object", - "nullable": true, - "properties": { - "lock_reason": { - "type": "string", - "description": "The reason for locking the issue or pull request conversation. Lock will fail if you don't use one of these reasons: \n * `off-topic` \n * `too heated` \n * `resolved` \n * `spam`", - "enum": [ - "off-topic", - "too heated", - "resolved", - "spam" - ] + "oneOf": [ + { + "type": "object", + "properties": { + "labels": { + "type": "array", + "minItems": 1, + "description": "The names of the labels to add to the issue's existing labels. You can also pass an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. To replace all of the labels for an issue, use \"[Set labels for an issue](https://docs.github.com/rest/issues/labels#set-labels-for-an-issue).\"", + "items": { + "type": "string" + } + } + } + }, + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ] + } } - } + ] }, "examples": { "default": { - "summary": "Example of locking an issue as off-topic", "value": { - "lock_reason": "off-topic" + "labels": [ + "bug", + "enhancement" + ] } } } @@ -449462,11 +450145,95 @@ } }, "responses": { - "204": { - "description": "Response" + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Label", + "description": "Color-coded labels help you categorize and filter your issues (just like labels in Gmail).", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the label.", + "type": "integer", + "format": "int64", + "example": 208045946 + }, + "node_id": { + "type": "string", + "example": "MDU6TGFiZWwyMDgwNDU5NDY=" + }, + "url": { + "description": "URL for the label", + "example": "https://api.github.com/repositories/42/labels/bug", + "type": "string", + "format": "uri" + }, + "name": { + "description": "The name of the label.", + "example": "bug", + "type": "string" + }, + "description": { + "description": "Optional description of the label, such as its purpose.", + "type": "string", + "example": "Something isn't working", + "nullable": true + }, + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "example": "FFFFFF", + "type": "string" + }, + "default": { + "description": "Whether this label comes by default in a new repository.", + "type": "boolean", + "example": true + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "description", + "color", + "default" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "id": 208045946, + "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", + "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug", + "name": "bug", + "description": "Something isn't working", + "color": "f29513", + "default": true + }, + { + "id": 208045947, + "node_id": "MDU6TGFiZWwyMDgwNDU5NDc=", + "url": "https://api.github.com/repos/octocat/Hello-World/labels/enhancement", + "name": "enhancement", + "description": "New feature or request", + "color": "a2eeef", + "default": false + } + ] + } + } + } + } }, - "403": { - "description": "Forbidden", + "301": { + "description": "Moved permanently", "content": { "application/json": { "schema": { @@ -449491,8 +450258,8 @@ } } }, - "410": { - "description": "Gone", + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -449517,8 +450284,8 @@ } } }, - "404": { - "description": "Resource not found", + "410": { + "description": "Gone", "content": { "application/json": { "schema": { @@ -449617,19 +450384,19 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "issues", - "subcategory": "issues" + "subcategory": "labels" } }, - "delete": { - "summary": "Unlock an issue", - "description": "Users with push access can unlock an issue's conversation.", + "put": { + "summary": "Set labels for an issue", + "description": "Removes any previous labels and sets the new labels for an issue.", "tags": [ "issues" ], - "operationId": "issues/unlock", + "operationId": "issues/set-labels", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/issues/issues#unlock-an-issue" + "url": "https://docs.github.com/rest/issues/labels#set-labels-for-an-issue" }, "parameters": [ { @@ -449660,52 +450427,241 @@ } } ], - "responses": { - "204": { - "description": "Response" - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "object", + "properties": { + "labels": { + "type": "array", + "minItems": 1, + "description": "The names of the labels to set for the issue. The labels you set replace any existing labels. You can pass an empty array to remove all labels. Alternatively, you can pass a single label as a `string` or an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. You can also add labels to the existing labels for an issue. For more information, see \"[Add labels to an issue](https://docs.github.com/rest/issues/labels#add-labels-to-an-issue).\"", + "items": { + "type": "string" + } + } + } + }, + { + "type": "array", + "minItems": 1, + "items": { "type": "string" } + }, + { + "type": "object", + "properties": { + "labels": { + "type": "array", + "minItems": 1, + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ] + } + } + } + }, + { + "type": "array", + "minItems": 1, + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ] + } + }, + { + "type": "string" + } + ] + }, + "examples": { + "default": { + "value": { + "labels": [ + "bug", + "enhancement" + ] } } } } - }, - "404": { - "description": "Resource not found", + } + }, + "responses": { + "200": { + "description": "Response", "content": { "application/json": { "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { + "type": "array", + "items": { + "title": "Label", + "description": "Color-coded labels help you categorize and filter your issues (just like labels in Gmail).", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the label.", + "type": "integer", + "format": "int64", + "example": 208045946 + }, + "node_id": { + "type": "string", + "example": "MDU6TGFiZWwyMDgwNDU5NDY=" + }, + "url": { + "description": "URL for the label", + "example": "https://api.github.com/repositories/42/labels/bug", + "type": "string", + "format": "uri" + }, + "name": { + "description": "The name of the label.", + "example": "bug", + "type": "string" + }, + "description": { + "description": "Optional description of the label, such as its purpose.", + "type": "string", + "example": "Something isn't working", + "nullable": true + }, + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "example": "FFFFFF", + "type": "string" + }, + "default": { + "description": "Whether this label comes by default in a new repository.", + "type": "boolean", + "example": true + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "description", + "color", + "default" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "id": 208045946, + "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", + "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug", + "name": "bug", + "description": "Something isn't working", + "color": "f29513", + "default": true + }, + { + "id": 208045947, + "node_id": "MDU6TGFiZWwyMDgwNDU5NDc=", + "url": "https://api.github.com/repos/octocat/Hello-World/labels/enhancement", + "name": "enhancement", + "description": "New feature or request", + "color": "a2eeef", + "default": false + } + ] + } + } + } + } + }, + "301": { + "description": "Moved permanently", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "410": { + "description": "Gone", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { "type": "string" }, "status": { @@ -449715,27 +450671,94 @@ } } } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "issues", - "subcategory": "issues" + "subcategory": "labels" } - } - }, - "/repos/{owner}/{repo}/issues/{issue_number}/parent": { - "get": { - "summary": "Get parent issue", - "description": "You can use the REST API to get the parent issue of a sub-issue.\n\nThis endpoint supports the following custom media types. For more information, see [Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + }, + "delete": { + "summary": "Remove all labels from an issue", + "description": "Removes all labels from an issue.", "tags": [ "issues" ], - "operationId": "issues/get-parent", + "operationId": "issues/remove-all-labels", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/issues/sub-issues#get-parent-issue" + "url": "https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue" }, "parameters": [ { @@ -449767,277 +450790,960 @@ } ], "responses": { - "200": { - "description": "Response", + "204": { + "description": "Response" + }, + "301": { + "description": "Moved permanently", "content": { "application/json": { "schema": { - "title": "Issue", - "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", + "title": "Basic Error", + "description": "Basic Error", "type": "object", "properties": { - "id": { - "type": "integer", - "format": "int64" + "message": { + "type": "string" }, - "node_id": { + "documentation_url": { "type": "string" }, "url": { - "description": "URL for the issue", - "example": "https://api.github.com/repositories/42/issues/1", - "type": "string", - "format": "uri" + "type": "string" }, - "repository_url": { - "type": "string", - "format": "uri" + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" }, - "labels_url": { + "documentation_url": { "type": "string" }, - "comments_url": { - "type": "string", - "format": "uri" + "url": { + "type": "string" }, - "events_url": { - "type": "string", - "format": "uri" + "status": { + "type": "string" + } + } + } + } + } + }, + "410": { + "description": "Gone", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" }, - "html_url": { - "type": "string", - "format": "uri" + "documentation_url": { + "type": "string" }, - "number": { - "description": "Number uniquely identifying the issue within its repository", - "example": 42, - "type": "integer" + "url": { + "type": "string" }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "example": "open", + "status": { "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "issues", + "subcategory": "labels" + } + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/labels/{name}": { + "delete": { + "summary": "Remove a label from an issue", + "description": "Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist.", + "tags": [ + "issues" + ], + "operationId": "issues/remove-label", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "issue_number", + "description": "The number that identifies the issue.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "name", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Label", + "description": "Color-coded labels help you categorize and filter your issues (just like labels in Gmail).", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the label.", + "type": "integer", + "format": "int64", + "example": 208045946 + }, + "node_id": { + "type": "string", + "example": "MDU6TGFiZWwyMDgwNDU5NDY=" + }, + "url": { + "description": "URL for the label", + "example": "https://api.github.com/repositories/42/labels/bug", + "type": "string", + "format": "uri" + }, + "name": { + "description": "The name of the label.", + "example": "bug", + "type": "string" + }, + "description": { + "description": "Optional description of the label, such as its purpose.", + "type": "string", + "example": "Something isn't working", + "nullable": true + }, + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "example": "FFFFFF", + "type": "string" + }, + "default": { + "description": "Whether this label comes by default in a new repository.", + "type": "boolean", + "example": true + } }, - "state_reason": { - "description": "The reason for the current state", - "example": "not_planned", - "type": "string", - "nullable": true, - "enum": [ - "completed", - "reopened", - "not_planned", - "duplicate" - ] + "required": [ + "id", + "node_id", + "url", + "name", + "description", + "color", + "default" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "id": 208045946, + "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", + "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug", + "name": "bug", + "description": "Something isn't working", + "color": "f29513", + "default": true + } + ] + } + } + } + } + }, + "301": { + "description": "Moved permanently", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" }, - "title": { - "description": "Title of the issue", - "example": "Widget creation fails in Safari on OS X 10.8", + "documentation_url": { "type": "string" }, - "body": { - "description": "Contents of the issue", - "example": "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?", - "type": "string", - "nullable": true + "url": { + "type": "string" }, - "user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" }, - "labels": { - "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", - "example": [ - "bug", - "registration" - ], + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "410": { + "description": "Gone", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "issues", + "subcategory": "labels" + } + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/lock": { + "put": { + "summary": "Lock an issue", + "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method).\"", + "tags": [ + "issues" + ], + "operationId": "issues/lock", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/issues/issues#lock-an-issue" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "issue_number", + "description": "The number that identifies the issue.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "type": "object", + "nullable": true, + "properties": { + "lock_reason": { + "type": "string", + "description": "The reason for locking the issue or pull request conversation. Lock will fail if you don't use one of these reasons: \n * `off-topic` \n * `too heated` \n * `resolved` \n * `spam`", + "enum": [ + "off-topic", + "too heated", + "resolved", + "spam" + ] + } + } + }, + "examples": { + "default": { + "summary": "Example of locking an issue as off-topic", + "value": { + "lock_reason": "off-topic" + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "410": { + "description": "Gone", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { "type": "array", "items": { - "oneOf": [ - { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { "type": "string" }, - { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "node_id": { - "type": "string" - }, - "url": { - "type": "string", - "format": "uri" - }, - "name": { - "type": "string" - }, - "description": { + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { "type": "string", "nullable": true }, - "color": { - "type": "string", + { + "type": "integer", "nullable": true }, - "default": { - "type": "boolean" + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } } - } + ] } - ] + } } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "issues", + "subcategory": "issues" + } + }, + "delete": { + "summary": "Unlock an issue", + "description": "Users with push access can unlock an issue's conversation.", + "tags": [ + "issues" + ], + "operationId": "issues/unlock", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/issues/issues#unlock-an-issue" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "issue_number", + "description": "The number that identifies the issue.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" }, - "assignee": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "issues", + "subcategory": "issues" + } + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/parent": { + "get": { + "summary": "Get parent issue", + "description": "You can use the REST API to get the parent issue of a sub-issue.\n\nThis endpoint supports the following custom media types. For more information, see [Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "tags": [ + "issues" + ], + "operationId": "issues/get-parent", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/issues/sub-issues#get-parent-issue" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "issue_number", + "description": "The number that identifies the issue.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Issue", + "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the issue", + "example": "https://api.github.com/repositories/42/issues/1", + "type": "string", + "format": "uri" + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "labels_url": { + "type": "string" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "number": { + "description": "Number uniquely identifying the issue within its repository", + "example": 42, + "type": "integer" + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "example": "open", + "type": "string" + }, + "state_reason": { + "description": "The reason for the current state", + "example": "not_planned", + "type": "string", + "nullable": true, + "enum": [ + "completed", + "reopened", + "not_planned", + "duplicate" + ] + }, + "title": { + "description": "Title of the issue", + "example": "Widget creation fails in Safari on OS X 10.8", + "type": "string" + }, + "body": { + "description": "Contents of the issue", + "example": "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?", + "type": "string", + "nullable": true + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "labels": { + "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", + "example": [ + "bug", + "registration" + ], + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + }, + "color": { + "type": "string", + "nullable": true + }, + "default": { + "type": "boolean" + } + } + } + ] + } + }, + "assignee": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { "type": "string", "format": "uri", "example": "https://github.com/images/error/octocat_happy.gif" @@ -478334,572 +480040,2703 @@ "events" ] }, - "reactions": { - "title": "Reaction Rollup", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri" - }, - "total_count": { - "type": "integer" - }, - "+1": { - "type": "integer" - }, - "-1": { - "type": "integer" - }, - "laugh": { - "type": "integer" - }, - "confused": { - "type": "integer" - }, - "heart": { - "type": "integer" - }, - "hooray": { - "type": "integer" - }, - "eyes": { - "type": "integer" - }, - "rocket": { - "type": "integer" - } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "pin": { + "title": "Pinned Issue Comment", + "description": "Context around who pinned an issue comment and when it was pinned.", + "type": "object", + "properties": { + "pinned_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-14T16:00:49Z" + }, + "pinned_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + } + }, + "required": [ + "pinned_at", + "pinned_by" + ], + "nullable": true + } + }, + "required": [ + "id", + "node_id", + "html_url", + "issue_url", + "user", + "url", + "created_at", + "updated_at" + ], + "nullable": true + }, + "issue_dependencies_summary": { + "title": "Issue Dependencies Summary", + "type": "object", + "properties": { + "blocked_by": { + "type": "integer" + }, + "blocking": { + "type": "integer" + }, + "total_blocked_by": { + "type": "integer" + }, + "total_blocking": { + "type": "integer" + } + }, + "required": [ + "blocked_by", + "blocking", + "total_blocked_by", + "total_blocking" + ] + }, + "issue_field_values": { + "type": "array", + "items": { + "title": "Issue Field Value", + "description": "A value assigned to an issue field", + "type": "object", + "properties": { + "issue_field_id": { + "description": "Unique identifier for the issue field.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "IFT_GDKND" + }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": [ + "text", + "single_select", + "multi_select", + "number", + "date" + ], + "example": "text" + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "example": "Sample text" + }, + { + "type": "number", + "example": 42.5 + }, + { + "type": "integer", + "example": 1 + } + ], + "nullable": true + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the option", + "type": "string", + "example": "High" + }, + "color": { + "description": "The color of the option", + "type": "string", + "example": "red" + } + }, + "required": [ + "id", + "name", + "color" + ], + "nullable": true + }, + "multi_select_options": { + "description": "Details about the selected options", + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the option", + "type": "string", + "example": "High" + }, + "color": { + "description": "The color of the option", + "type": "string", + "example": "red" + } + }, + "required": [ + "id", + "name", + "color" + ] + }, + "nullable": true + } + }, + "required": [ + "issue_field_id", + "node_id", + "data_type", + "value" + ] + } + } + }, + "required": [ + "assignee", + "closed_at", + "comments", + "comments_url", + "events_url", + "html_url", + "id", + "node_id", + "labels", + "labels_url", + "milestone", + "number", + "repository_url", + "state", + "locked", + "title", + "url", + "user", + "created_at", + "updated_at" + ] + } + } + } + }, + "required": [ + "event", + "created_at", + "updated_at", + "source" + ] + }, + { + "title": "Timeline Committed Event", + "description": "Timeline Committed Event", + "type": "object", + "properties": { + "event": { + "type": "string" + }, + "sha": { + "description": "SHA for the commit", + "example": "7638417db6d59f3c431d3e1f261cc637155684cd", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "author": { + "description": "Identifying information for the git-user", + "type": "object", + "properties": { + "date": { + "description": "Timestamp of the commit", + "example": "2014-08-09T08:02:04+12:00", + "format": "date-time", + "type": "string" + }, + "email": { + "type": "string", + "description": "Git email address of the user", + "example": "monalisa.octocat@example.com" + }, + "name": { + "description": "Name of the git user", + "example": "Monalisa Octocat", + "type": "string" + } + }, + "required": [ + "email", + "name", + "date" + ] + }, + "committer": { + "description": "Identifying information for the git-user", + "type": "object", + "properties": { + "date": { + "description": "Timestamp of the commit", + "example": "2014-08-09T08:02:04+12:00", + "format": "date-time", + "type": "string" + }, + "email": { + "type": "string", + "description": "Git email address of the user", + "example": "monalisa.octocat@example.com" + }, + "name": { + "description": "Name of the git user", + "example": "Monalisa Octocat", + "type": "string" + } + }, + "required": [ + "email", + "name", + "date" + ] + }, + "message": { + "description": "Message describing the purpose of the commit", + "example": "Fix #42", + "type": "string" + }, + "tree": { + "type": "object", + "properties": { + "sha": { + "description": "SHA for the commit", + "example": "7638417db6d59f3c431d3e1f261cc637155684cd", + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "sha", + "url" + ] + }, + "parents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "sha": { + "description": "SHA for the commit", + "example": "7638417db6d59f3c431d3e1f261cc637155684cd", + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "sha", + "url", + "html_url" + ] + } + }, + "verification": { + "type": "object", + "properties": { + "verified": { + "type": "boolean" + }, + "reason": { + "type": "string" + }, + "signature": { + "type": "string", + "nullable": true + }, + "payload": { + "type": "string", + "nullable": true + }, + "verified_at": { + "type": "string", + "nullable": true + } + }, + "required": [ + "verified", + "reason", + "signature", + "payload", + "verified_at" + ] + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "sha", + "node_id", + "url", + "html_url", + "author", + "committer", + "tree", + "message", + "parents", + "verification" + ] + }, + { + "title": "Timeline Reviewed Event", + "description": "Timeline Reviewed Event", + "type": "object", + "properties": { + "event": { + "type": "string" + }, + "id": { + "description": "Unique identifier of the review", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA=" + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "body": { + "nullable": true, + "description": "The text of the review.", + "example": "This looks great.", + "type": "string" + }, + "state": { + "type": "string", + "example": "CHANGES_REQUESTED" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80" + }, + "pull_request_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/12" + }, + "_links": { + "type": "object", + "properties": { + "html": { + "type": "object", + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ] + }, + "pull_request": { + "type": "object", + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ] + } + }, + "required": [ + "html", + "pull_request" + ] + }, + "submitted_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time" + }, + "commit_id": { + "description": "A commit SHA for the review.", + "example": "54bb654c9e6025347f57900a4a5c2313a96b8035", + "type": "string" + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "author_association": { + "title": "author_association", + "type": "string", + "example": "OWNER", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + } + }, + "required": [ + "event", + "id", + "node_id", + "user", + "body", + "state", + "commit_id", + "html_url", + "pull_request_url", + "_links", + "author_association" + ] + }, + { + "title": "Timeline Line Commented Event", + "description": "Timeline Line Commented Event", + "type": "object", + "properties": { + "event": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "comments": { + "type": "array", + "items": { + "title": "Pull Request Review Comment", + "description": "Pull Request Review Comments are comments on a portion of the Pull Request's diff.", + "type": "object", + "properties": { + "url": { + "description": "URL for the pull request review comment", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1", + "type": "string" + }, + "pull_request_review_id": { + "description": "The ID of the pull request review to which the comment belongs.", + "type": "integer", + "format": "int64", + "example": 42, + "nullable": true + }, + "id": { + "description": "The ID of the pull request review comment.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "description": "The node ID of the pull request review comment.", + "type": "string", + "example": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw" + }, + "diff_hunk": { + "description": "The diff of the line that the comment refers to.", + "type": "string", + "example": "@@ -16,33 +16,40 @@ public class Connection : IConnection..." + }, + "path": { + "description": "The relative path of the file to which the comment applies.", + "example": "config/database.yaml", + "type": "string" + }, + "position": { + "description": "The line index in the diff to which the comment applies. This field is closing down; use `line` instead.", + "example": 1, + "type": "integer" + }, + "original_position": { + "description": "The index of the original line in the diff to which the comment applies. This field is closing down; use `original_line` instead.", + "example": 4, + "type": "integer" + }, + "commit_id": { + "description": "The SHA of the commit to which the comment applies.", + "example": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "type": "string" + }, + "original_commit_id": { + "description": "The SHA of the original commit to which the comment applies.", + "example": "9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840", + "type": "string" + }, + "in_reply_to_id": { + "description": "The comment ID to reply to.", + "example": 8, + "type": "integer" + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "body": { + "description": "The text of the comment.", + "example": "We should probably include a check for null values here.", + "type": "string" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-14T16:00:49Z" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-14T16:00:49Z" + }, + "html_url": { + "description": "HTML URL for the pull request review comment.", + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1" + }, + "pull_request_url": { + "description": "URL for the pull request that the review comment belongs to.", + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1" + }, + "author_association": { + "title": "author_association", + "type": "string", + "example": "OWNER", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + "_links": { + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1" + } + }, + "required": [ + "href" + ] + }, + "html": { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1" + } + }, + "required": [ + "href" + ] + }, + "pull_request": { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1" + } + }, + "required": [ + "href" + ] + } + }, + "required": [ + "self", + "html", + "pull_request" + ] + }, + "start_line": { + "type": "integer", + "description": "The first line of the range for a multi-line comment.", + "example": 2, + "nullable": true + }, + "original_start_line": { + "type": "integer", + "description": "The first line of the range for a multi-line comment.", + "example": 2, + "nullable": true + }, + "start_side": { + "type": "string", + "description": "The side of the first line of the range for a multi-line comment.", + "enum": [ + "LEFT", + "RIGHT" + ], + "default": "RIGHT", + "nullable": true + }, + "line": { + "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", + "example": 2, + "type": "integer" + }, + "original_line": { + "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", + "example": 2, + "type": "integer" + }, + "side": { + "description": "The side of the diff to which the comment applies. The side of the last line of the range for a multi-line comment", + "enum": [ + "LEFT", + "RIGHT" + ], + "default": "RIGHT", + "type": "string" + }, + "subject_type": { + "description": "The level at which the comment is targeted, can be a diff line or a file.", + "type": "string", + "enum": [ + "line", + "file" + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "body_html": { + "type": "string", + "example": "\"

comment body

\"" + }, + "body_text": { + "type": "string", + "example": "\"comment body\"" + } + }, + "required": [ + "url", + "id", + "node_id", + "pull_request_review_id", + "diff_hunk", + "path", + "commit_id", + "original_commit_id", + "user", + "body", + "created_at", + "updated_at", + "html_url", + "pull_request_url", + "author_association", + "_links" + ] + } + } + } + }, + { + "title": "Timeline Commit Commented Event", + "description": "Timeline Commit Commented Event", + "type": "object", + "properties": { + "event": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "commit_id": { + "type": "string" + }, + "comments": { + "type": "array", + "items": { + "title": "Commit Comment", + "description": "Commit Comment", + "type": "object", + "properties": { + "html_url": { + "type": "string", + "format": "uri" + }, + "url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "body": { + "type": "string" + }, + "path": { + "type": "string", + "nullable": true + }, + "position": { + "type": "integer", + "nullable": true + }, + "line": { + "type": "integer", + "nullable": true + }, + "commit_id": { + "type": "string" + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "author_association": { + "title": "author_association", + "type": "string", + "example": "OWNER", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + } + }, + "required": [ + "url", + "html_url", + "id", + "node_id", + "user", + "position", + "line", + "path", + "commit_id", + "body", + "author_association", + "created_at", + "updated_at" + ] + } + } + } + }, + { + "title": "Timeline Assigned Issue Event", + "description": "Timeline Assigned Issue Event", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "actor": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": "string", + "nullable": true + }, + "commit_url": { + "type": "string", + "nullable": true + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { + "type": "string", + "example": "MDExOkludGVncmF0aW9uMQ==" + }, + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", + "type": "string" + }, + "description": { + "type": "string", + "example": "The description of the app.", + "nullable": true + }, + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app. Note that the `installation_target`, `security_advisory`, and `meta` events are not included because they are global events and not specific to an installation.", + "example": [ + "label", + "deployment" + ], + "type": "array", + "items": { + "type": "string" + } + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "example": 5, + "type": "integer" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + }, + "assignee": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "required": [ + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app", + "assignee" + ] + }, + { + "title": "Timeline Unassigned Issue Event", + "description": "Timeline Unassigned Issue Event", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "actor": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": "string", + "nullable": true + }, + "commit_url": { + "type": "string", + "nullable": true + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { + "type": "string", + "example": "MDExOkludGVncmF0aW9uMQ==" + }, + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" }, - "pin": { - "title": "Pinned Issue Comment", - "description": "Context around who pinned an issue comment and when it was pinned.", - "type": "object", - "properties": { - "pinned_at": { - "type": "string", - "format": "date-time", - "example": "2011-04-14T16:00:49Z" - }, - "pinned_by": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - } - }, - "required": [ - "pinned_at", - "pinned_by" - ], + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" } }, "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", "id", "node_id", - "html_url", - "issue_url", - "user", - "url", - "created_at", - "updated_at" - ], - "nullable": true + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] }, - "issue_dependencies_summary": { - "title": "Issue Dependencies Summary", + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", "type": "object", "properties": { - "blocked_by": { - "type": "integer" + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true }, - "blocking": { - "type": "integer" + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" }, - "total_blocked_by": { - "type": "integer" + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" }, - "total_blocking": { + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, "type": "integer" - } - }, - "required": [ - "blocked_by", - "blocking", - "total_blocked_by", - "total_blocking" - ] - }, - "issue_field_values": { - "type": "array", - "items": { - "title": "Issue Field Value", - "description": "A value assigned to an issue field", - "type": "object", - "properties": { - "issue_field_id": { - "description": "Unique identifier for the issue field.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "IFT_GDKND" - }, - "data_type": { - "description": "The data type of the issue field", - "type": "string", - "enum": [ - "text", - "single_select", - "multi_select", - "number", - "date" - ], - "example": "text" - }, - "value": { - "description": "The value of the issue field", - "anyOf": [ - { - "type": "string", - "example": "Sample text" - }, - { - "type": "number", - "example": 42.5 - }, - { - "type": "integer", - "example": 1 - } - ], - "nullable": true - }, - "single_select_option": { - "description": "Details about the selected option (only present for single_select fields)", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "name": { - "description": "The name of the option", - "type": "string", - "example": "High" - }, - "color": { - "description": "The color of the option", - "type": "string", - "example": "red" - } - }, - "required": [ - "id", - "name", - "color" - ], - "nullable": true - }, - "multi_select_options": { - "description": "Details about the selected options", - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "name": { - "description": "The name of the option", - "type": "string", - "example": "High" - }, - "color": { - "description": "The color of the option", - "type": "string", - "example": "red" - } - }, - "required": [ - "id", - "name", - "color" - ] - }, - "nullable": true - } }, - "required": [ - "issue_field_id", - "node_id", - "data_type", - "value" - ] - } + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] } - }, - "required": [ - "assignee", - "closed_at", - "comments", - "comments_url", - "events_url", - "html_url", - "id", - "node_id", - "labels", - "labels_url", - "milestone", - "number", - "repository_url", - "state", - "locked", - "title", - "url", - "user", - "created_at", - "updated_at" ] - } - } - } - }, - "required": [ - "event", - "created_at", - "updated_at", - "source" - ] - }, - { - "title": "Timeline Committed Event", - "description": "Timeline Committed Event", - "type": "object", - "properties": { - "event": { - "type": "string" - }, - "sha": { - "description": "SHA for the commit", - "example": "7638417db6d59f3c431d3e1f261cc637155684cd", - "type": "string" - }, - "node_id": { - "type": "string" - }, - "url": { - "type": "string", - "format": "uri" - }, - "author": { - "description": "Identifying information for the git-user", - "type": "object", - "properties": { - "date": { - "description": "Timestamp of the commit", - "example": "2014-08-09T08:02:04+12:00", - "format": "date-time", + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", "type": "string" }, - "email": { + "description": { "type": "string", - "description": "Git email address of the user", - "example": "monalisa.octocat@example.com" + "example": "The description of the app.", + "nullable": true }, - "name": { - "description": "Name of the git user", - "example": "Monalisa Octocat", - "type": "string" - } - }, - "required": [ - "email", - "name", - "date" - ] - }, - "committer": { - "description": "Identifying information for the git-user", - "type": "object", - "properties": { - "date": { - "description": "Timestamp of the commit", - "example": "2014-08-09T08:02:04+12:00", + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", "format": "date-time", - "type": "string" + "example": "2017-07-08T16:18:44-04:00" }, - "email": { + "updated_at": { "type": "string", - "description": "Git email address of the user", - "example": "monalisa.octocat@example.com" + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" }, - "name": { - "description": "Name of the git user", - "example": "Monalisa Octocat", - "type": "string" + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app. Note that the `installation_target`, `security_advisory`, and `meta` events are not included because they are global events and not specific to an installation.", + "example": [ + "label", + "deployment" + ], + "type": "array", + "items": { + "type": "string" + } + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "example": 5, + "type": "integer" } }, "required": [ - "email", + "id", + "node_id", + "owner", "name", - "date" + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" ] }, - "message": { - "description": "Message describing the purpose of the commit", - "example": "Fix #42", - "type": "string" - }, - "tree": { + "assignee": { + "title": "Simple User", + "description": "A GitHub user.", "type": "object", "properties": { - "sha": { - "description": "SHA for the commit", - "example": "7638417db6d59f3c431d3e1f261cc637155684cd", + "name": { + "nullable": true, "type": "string" }, - "url": { + "email": { + "nullable": true, + "type": "string" + }, + "login": { "type": "string", - "format": "uri" - } - }, - "required": [ - "sha", - "url" - ] - }, - "parents": { - "type": "array", - "items": { - "type": "object", - "properties": { - "sha": { - "description": "SHA for the commit", - "example": "7638417db6d59f3c431d3e1f261cc637155684cd", - "type": "string" - }, - "url": { - "type": "string", - "format": "uri" - }, - "html_url": { - "type": "string", - "format": "uri" - } + "example": "octocat" }, - "required": [ - "sha", - "url", - "html_url" - ] - } - }, - "verification": { - "type": "object", - "properties": { - "verified": { - "type": "boolean" + "id": { + "type": "integer", + "format": "int64", + "example": 1 }, - "reason": { - "type": "string" + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" }, - "signature": { + "avatar_url": { "type": "string", - "nullable": true + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" }, - "payload": { + "gravatar_id": { "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", "nullable": true }, - "verified_at": { + "url": { "type": "string", - "nullable": true + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" } }, "required": [ - "verified", - "reason", - "signature", - "payload", - "verified_at" + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] - }, - "html_url": { - "type": "string", - "format": "uri" } }, "required": [ - "sha", + "id", "node_id", "url", - "html_url", - "author", - "committer", - "tree", - "message", - "parents", - "verification" + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app", + "assignee" ] }, { - "title": "Timeline Reviewed Event", - "description": "Timeline Reviewed Event", + "title": "State Change Issue Event", + "description": "State Change Issue Event", "type": "object", "properties": { - "event": { - "type": "string" - }, "id": { - "description": "Unique identifier of the review", - "example": 42, "type": "integer" }, "node_id": { - "type": "string", - "example": "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA=" + "type": "string" }, - "user": { + "url": { + "type": "string" + }, + "actor": { "title": "Simple User", "description": "A GitHub user.", "type": "object", @@ -479009,818 +482846,363 @@ "following_url", "gists_url", "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - "body": { - "nullable": true, - "description": "The text of the review.", - "example": "This looks great.", - "type": "string" - }, - "state": { - "type": "string", - "example": "CHANGES_REQUESTED" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80" - }, - "pull_request_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/12" - }, - "_links": { - "type": "object", - "properties": { - "html": { - "type": "object", - "properties": { - "href": { - "type": "string" - } - }, - "required": [ - "href" - ] - }, - "pull_request": { - "type": "object", - "properties": { - "href": { - "type": "string" - } - }, - "required": [ - "href" - ] - } - }, - "required": [ - "html", - "pull_request" - ] - }, - "submitted_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "nullable": true, - "format": "date-time" - }, - "commit_id": { - "description": "A commit SHA for the review.", - "example": "54bb654c9e6025347f57900a4a5c2313a96b8035", - "type": "string" - }, - "body_html": { - "type": "string" - }, - "body_text": { - "type": "string" - }, - "author_association": { - "title": "author_association", - "type": "string", - "example": "OWNER", - "description": "How the author is associated with the repository.", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] - } - }, - "required": [ - "event", - "id", - "node_id", - "user", - "body", - "state", - "commit_id", - "html_url", - "pull_request_url", - "_links", - "author_association" - ] - }, - { - "title": "Timeline Line Commented Event", - "description": "Timeline Line Commented Event", - "type": "object", - "properties": { + }, "event": { "type": "string" }, - "node_id": { + "commit_id": { + "type": "string", + "nullable": true + }, + "commit_url": { + "type": "string", + "nullable": true + }, + "created_at": { "type": "string" }, - "comments": { - "type": "array", - "items": { - "title": "Pull Request Review Comment", - "description": "Pull Request Review Comments are comments on a portion of the Pull Request's diff.", - "type": "object", - "properties": { - "url": { - "description": "URL for the pull request review comment", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1", - "type": "string" - }, - "pull_request_review_id": { - "description": "The ID of the pull request review to which the comment belongs.", - "type": "integer", - "format": "int64", - "example": 42, - "nullable": true - }, - "id": { - "description": "The ID of the pull request review comment.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "description": "The node ID of the pull request review comment.", - "type": "string", - "example": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw" - }, - "diff_hunk": { - "description": "The diff of the line that the comment refers to.", - "type": "string", - "example": "@@ -16,33 +16,40 @@ public class Connection : IConnection..." - }, - "path": { - "description": "The relative path of the file to which the comment applies.", - "example": "config/database.yaml", - "type": "string" - }, - "position": { - "description": "The line index in the diff to which the comment applies. This field is closing down; use `line` instead.", - "example": 1, - "type": "integer" - }, - "original_position": { - "description": "The index of the original line in the diff to which the comment applies. This field is closing down; use `original_line` instead.", - "example": 4, - "type": "integer" - }, - "commit_id": { - "description": "The SHA of the commit to which the comment applies.", - "example": "6dcb09b5b57875f334f61aebed695e2e4193db5e", - "type": "string" - }, - "original_commit_id": { - "description": "The SHA of the original commit to which the comment applies.", - "example": "9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840", - "type": "string" - }, - "in_reply_to_id": { - "description": "The comment ID to reply to.", - "example": 8, - "type": "integer" - }, - "user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "body": { - "description": "The text of the comment.", - "example": "We should probably include a check for null values here.", - "type": "string" - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2011-04-14T16:00:49Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2011-04-14T16:00:49Z" - }, - "html_url": { - "description": "HTML URL for the pull request review comment.", - "type": "string", - "format": "uri", - "example": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1" - }, - "pull_request_url": { - "description": "URL for the pull request that the review comment belongs to.", - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1" - }, - "author_association": { - "title": "author_association", - "type": "string", - "example": "OWNER", - "description": "How the author is associated with the repository.", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "_links": { - "type": "object", - "properties": { - "self": { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1" - } + "performed_via_github_app": { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { + "type": "string", + "example": "MDExOkludGVncmF0aW9uMQ==" + }, + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" }, - "required": [ - "href" - ] - }, - "html": { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1" - } + "email": { + "nullable": true, + "type": "string" }, - "required": [ - "href" - ] - }, - "pull_request": { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1" - } + "login": { + "type": "string", + "example": "octocat" }, - "required": [ - "href" - ] - } - }, - "required": [ - "self", - "html", - "pull_request" - ] - }, - "start_line": { - "type": "integer", - "description": "The first line of the range for a multi-line comment.", - "example": 2, - "nullable": true - }, - "original_start_line": { - "type": "integer", - "description": "The first line of the range for a multi-line comment.", - "example": 2, - "nullable": true - }, - "start_side": { - "type": "string", - "description": "The side of the first line of the range for a multi-line comment.", - "enum": [ - "LEFT", - "RIGHT" - ], - "default": "RIGHT", - "nullable": true - }, - "line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "example": 2, - "type": "integer" - }, - "original_line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "example": 2, - "type": "integer" - }, - "side": { - "description": "The side of the diff to which the comment applies. The side of the last line of the range for a multi-line comment", - "enum": [ - "LEFT", - "RIGHT" - ], - "default": "RIGHT", - "type": "string" - }, - "subject_type": { - "description": "The level at which the comment is targeted, can be a diff line or a file.", - "type": "string", - "enum": [ - "line", - "file" - ] - }, - "reactions": { - "title": "Reaction Rollup", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri" - }, - "total_count": { - "type": "integer" - }, - "+1": { - "type": "integer" - }, - "-1": { - "type": "integer" - }, - "laugh": { - "type": "integer" - }, - "confused": { - "type": "integer" - }, - "heart": { - "type": "integer" - }, - "hooray": { - "type": "integer" + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } }, - "eyes": { - "type": "integer" + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } }, - "rocket": { - "type": "integer" - } + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", + "type": "string" + }, + "description": { + "type": "string", + "example": "The description of the app.", + "nullable": true + }, + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } }, - "body_html": { - "type": "string", - "example": "\"

comment body

\"" + "additionalProperties": { + "type": "string" }, - "body_text": { - "type": "string", - "example": "\"comment body\"" + "example": { + "issues": "read", + "deployments": "write" } }, - "required": [ - "url", - "id", - "node_id", - "pull_request_review_id", - "diff_hunk", - "path", - "commit_id", - "original_commit_id", - "user", - "body", - "created_at", - "updated_at", - "html_url", - "pull_request_url", - "author_association", - "_links" - ] - } - } - } - }, - { - "title": "Timeline Commit Commented Event", - "description": "Timeline Commit Commented Event", - "type": "object", - "properties": { - "event": { - "type": "string" - }, - "node_id": { - "type": "string" - }, - "commit_id": { - "type": "string" - }, - "comments": { - "type": "array", - "items": { - "title": "Commit Comment", - "description": "Commit Comment", - "type": "object", - "properties": { - "html_url": { - "type": "string", - "format": "uri" - }, - "url": { - "type": "string", - "format": "uri" - }, - "id": { - "type": "integer" - }, - "node_id": { - "type": "string" - }, - "body": { - "type": "string" - }, - "path": { - "type": "string", - "nullable": true - }, - "position": { - "type": "integer", - "nullable": true - }, - "line": { - "type": "integer", - "nullable": true - }, - "commit_id": { + "events": { + "description": "The list of events for the GitHub app. Note that the `installation_target`, `security_advisory`, and `meta` events are not included because they are global events and not specific to an installation.", + "example": [ + "label", + "deployment" + ], + "type": "array", + "items": { "type": "string" - }, - "user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "author_association": { - "title": "author_association", - "type": "string", - "example": "OWNER", - "description": "How the author is associated with the repository.", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "reactions": { - "title": "Reaction Rollup", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri" - }, - "total_count": { - "type": "integer" - }, - "+1": { - "type": "integer" - }, - "-1": { - "type": "integer" - }, - "laugh": { - "type": "integer" - }, - "confused": { - "type": "integer" - }, - "heart": { - "type": "integer" - }, - "hooray": { - "type": "integer" - }, - "eyes": { - "type": "integer" - }, - "rocket": { - "type": "integer" - } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] } }, - "required": [ - "url", - "html_url", - "id", - "node_id", - "user", - "position", - "line", - "path", - "commit_id", - "body", - "author_association", - "created_at", - "updated_at" - ] - } + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "example": 5, + "type": "integer" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + }, + "state_reason": { + "type": "string", + "nullable": true } - } + }, + "required": [ + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] }, { - "title": "Timeline Assigned Issue Event", - "description": "Timeline Assigned Issue Event", + "title": "Issue Type Added Issue Event", + "description": "Issue Type Added Issue Event", "type": "object", "properties": { "id": { @@ -480279,132 +483661,44 @@ "events" ] }, - "assignee": { - "title": "Simple User", - "description": "A GitHub user.", + "issue_type": { + "title": "Issue Type", + "description": "The type of issue.", "type": "object", + "nullable": true, "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, "id": { "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" + "description": "The unique identifier of the issue type." }, - "avatar_url": { + "name": { "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" + "description": "The name of the issue type." }, - "gravatar_id": { + "color": { "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" } }, "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" + "name" ] } }, "required": [ + "issue_type", "id", "node_id", "url", @@ -480413,13 +483707,12 @@ "commit_id", "commit_url", "created_at", - "performed_via_github_app", - "assignee" + "performed_via_github_app" ] }, { - "title": "Timeline Unassigned Issue Event", - "description": "Timeline Unassigned Issue Event", + "title": "Issue Type Removed Issue Event", + "description": "Issue Type Removed Issue Event", "type": "object", "properties": { "id": { @@ -480878,132 +484171,44 @@ "events" ] }, - "assignee": { - "title": "Simple User", - "description": "A GitHub user.", + "prev_issue_type": { + "title": "Issue Type", + "description": "The type of issue.", "type": "object", + "nullable": true, "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, "id": { "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" + "description": "The unique identifier of the issue type." }, - "avatar_url": { + "name": { "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" + "description": "The name of the issue type." }, - "gravatar_id": { + "color": { "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" } }, "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" + "name" ] } }, "required": [ + "prev_issue_type", "id", "node_id", "url", @@ -481012,13 +484217,12 @@ "commit_id", "commit_url", "created_at", - "performed_via_github_app", - "assignee" + "performed_via_github_app" ] }, { - "title": "State Change Issue Event", - "description": "State Change Issue Event", + "title": "Issue Type Changed Issue Event", + "description": "Issue Type Changed Issue Event", "type": "object", "properties": { "id": { @@ -481477,12 +484681,80 @@ "events" ] }, - "state_reason": { - "type": "string", - "nullable": true + "issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, + "prev_issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] } }, "required": [ + "issue_type", + "prev_issue_type", "id", "node_id", "url", 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 28d28ad1de..be02a12d0b 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 @@ -1030,7 +1030,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &678 + - &682 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -14098,7 +14098,7 @@ paths: properties: action: type: string - discussion: &771 + discussion: &775 title: Discussion description: A Discussion in a repository. type: object @@ -14843,7 +14843,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &689 + sub_issues_summary: &693 title: Sub-issues Summary type: object properties: @@ -14930,7 +14930,7 @@ paths: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: &584 + properties: &585 pinned_at: type: string format: date-time @@ -14942,7 +14942,7 @@ paths: properties: *20 required: *21 nullable: true - required: &585 + required: &586 - pinned_at - pinned_by nullable: true @@ -14956,7 +14956,7 @@ paths: - created_at - updated_at nullable: true - issue_dependencies_summary: &690 + issue_dependencies_summary: &694 title: Issue Dependencies Summary type: object properties: @@ -14975,7 +14975,7 @@ paths: - total_blocking issue_field_values: type: array - items: &568 + items: &569 title: Issue Field Value description: A value assigned to an issue field type: object @@ -15764,7 +15764,7 @@ paths: type: string release: allOf: - - &618 + - &622 title: Release description: A release. type: object @@ -15835,7 +15835,7 @@ paths: author: *4 assets: type: array - items: &619 + items: &623 title: Release Asset description: Data related to a release. type: object @@ -16426,7 +16426,7 @@ paths: url: type: string format: uri - user: &696 + user: &700 title: Public User description: Public User type: object @@ -19830,7 +19830,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &594 + - &598 name: all description: If `true`, show notifications marked as read. in: query @@ -19838,7 +19838,7 @@ paths: schema: type: boolean default: false - - &595 + - &599 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -19848,7 +19848,7 @@ paths: type: boolean default: false - *95 - - &596 + - &600 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -20378,7 +20378,7 @@ paths: - url - subscription_url examples: - default: &597 + default: &601 value: - id: '1' repository: @@ -22259,7 +22259,7 @@ paths: parameters: - *78 - *124 - - &747 + - &751 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 @@ -22371,7 +22371,7 @@ paths: - *124 - *125 - *126 - - &748 + - &752 name: repository description: The repository name to query for usage in the format owner/repository. in: query @@ -22379,7 +22379,7 @@ paths: schema: type: string - *129 - - &749 + - &753 name: sku description: The SKU to query for usage. in: query @@ -29892,12 +29892,12 @@ paths: required: - subject_digests examples: - default: &728 + default: &732 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &729 + withPredicateType: &733 value: subject_digests: - sha256:abc123 @@ -29955,7 +29955,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &730 + default: &734 value: attestations_subject_digests: - sha256:abc: @@ -41980,7 +41980,7 @@ paths: parameters: - *78 - *269 - - &711 + - &715 name: repo_name description: repo_name parameter in: path @@ -43021,7 +43021,7 @@ paths: - nuget - container - *78 - - &712 + - &716 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -43062,7 +43062,7 @@ paths: default: *276 '403': *29 '401': *25 - '400': &714 + '400': &718 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -45159,7 +45159,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &802 + properties: &806 id: type: number description: The unique identifier of the status update. @@ -45207,7 +45207,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &803 + required: &807 - id - node_id - created_at @@ -45647,7 +45647,7 @@ paths: - review_comment - self author_association: *85 - auto_merge: &604 + auto_merge: &608 title: Auto merge description: The status of auto merging a pull request. type: object @@ -46025,7 +46025,7 @@ paths: - updated_at - project_url examples: - default: &734 + default: &738 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -46202,7 +46202,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &735 + items: &739 type: object properties: name: @@ -46239,7 +46239,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &736 + iteration_configuration: &740 type: object description: The configuration for iteration fields. properties: @@ -46289,7 +46289,7 @@ paths: value: name: Due date data_type: date - single_select_field: &737 + single_select_field: &741 summary: Create a single select field value: name: Priority @@ -46316,7 +46316,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &738 + iteration_field: &742 summary: Create an iteration field value: name: Sprint @@ -46342,7 +46342,7 @@ paths: application/json: schema: *297 examples: - text_field: &739 + text_field: &743 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -46351,7 +46351,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-05-15T08:00:00Z' updated_at: '2022-05-15T08:00:00Z' - number_field: &740 + number_field: &744 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -46360,7 +46360,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-01T14:30:00Z' updated_at: '2022-06-01T14:30:00Z' - date_field: &741 + date_field: &745 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -46369,7 +46369,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-10T09:15:00Z' updated_at: '2022-06-10T09:15:00Z' - single_select_field: &742 + single_select_field: &746 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -46403,7 +46403,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &743 + iteration_field: &747 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -46449,7 +46449,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - *293 - - &744 + - &748 name: field_id description: The unique identifier of the field. in: path @@ -46464,7 +46464,7 @@ paths: application/json: schema: *297 examples: - default: &745 + default: &749 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -47661,7 +47661,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &725 + schema: &729 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -47838,7 +47838,7 @@ paths: parameters: - *293 - *78 - - &746 + - &750 name: view_number description: The number that identifies the project view. in: path @@ -49805,7 +49805,7 @@ paths: - *78 - *17 - *19 - - &626 + - &630 name: targets description: | A comma-separated list of rule targets to filter by. @@ -50087,7 +50087,7 @@ paths: - repository_property rules: type: array - items: &627 + items: &631 title: Repository Rule type: object description: A repository rule. @@ -50149,7 +50149,7 @@ paths: type: string enum: - required_linear_history - - &625 + - &629 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -51051,7 +51051,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *78 - - &628 + - &632 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -51066,7 +51066,7 @@ paths: in: query schema: type: string - - &629 + - &633 name: time_period description: |- The time period to filter by. @@ -51082,14 +51082,14 @@ paths: - week - month default: day - - &630 + - &634 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &631 + - &635 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -51102,7 +51102,7 @@ paths: - bypass - all default: all - - &632 + - &636 name: evaluate_status description: |- The evaluate status to filter on. When specified, only rule suites resulting from rulesets with the specified evaluate status will be returned. @@ -51125,7 +51125,7 @@ paths: description: Response content: application/json: - schema: &633 + schema: &637 title: Rule Suites description: Response type: array @@ -51180,7 +51180,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &634 + default: &638 value: - id: 21 actor_id: 12 @@ -51224,7 +51224,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *78 - - &635 + - &639 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -51240,7 +51240,7 @@ paths: description: Response content: application/json: - schema: &636 + schema: &640 title: Rule Suite description: Response type: object @@ -51339,7 +51339,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &637 + default: &641 value: id: 21 actor_id: 12 @@ -51586,7 +51586,7 @@ paths: type: string format: date-time examples: - default: &639 + default: &643 value: - version_id: 3 actor: @@ -51639,7 +51639,7 @@ paths: description: Response content: application/json: - schema: &640 + schema: &644 allOf: - *342 - type: object @@ -51711,7 +51711,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *78 - - &641 + - &645 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -51722,7 +51722,7 @@ paths: enum: - open - resolved - - &642 + - &646 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -51732,7 +51732,7 @@ paths: required: false schema: type: string - - &643 + - &647 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -51743,7 +51743,7 @@ paths: required: false schema: type: string - - &644 + - &648 name: exclude_providers in: query description: |- @@ -51754,7 +51754,7 @@ paths: required: false schema: type: string - - &645 + - &649 name: providers in: query description: |- @@ -51765,7 +51765,7 @@ paths: required: false schema: type: string - - &646 + - &650 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -51774,7 +51774,7 @@ paths: required: false schema: type: string - - &647 + - &651 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -51793,7 +51793,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &648 + - &652 name: sort description: The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. @@ -51808,7 +51808,7 @@ paths: - *62 - *19 - *17 - - &649 + - &653 name: before description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -51818,7 +51818,7 @@ paths: required: false schema: type: string - - &650 + - &654 name: after description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -51828,7 +51828,7 @@ paths: required: false schema: type: string - - &651 + - &655 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -51837,7 +51837,7 @@ paths: required: false schema: type: string - - &652 + - &656 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -51846,7 +51846,7 @@ paths: schema: type: boolean default: false - - &653 + - &657 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -51855,7 +51855,7 @@ paths: schema: type: boolean default: false - - &654 + - &658 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -51864,7 +51864,7 @@ paths: schema: type: boolean default: false - - &655 + - &659 name: is_bypassed in: query description: A boolean value (`true` or `false`) indicating whether to filter @@ -51901,14 +51901,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &656 + state: &660 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &657 + resolution: &661 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -52025,8 +52025,8 @@ paths: pull request. ' - oneOf: &658 - - &660 + oneOf: &662 + - &664 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -52084,7 +52084,7 @@ paths: - blob_url - commit_sha - commit_url - - &661 + - &665 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -52139,7 +52139,7 @@ paths: - page_url - commit_sha - commit_url - - &662 + - &666 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -52159,7 +52159,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &663 + - &667 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -52179,7 +52179,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &664 + - &668 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -52199,7 +52199,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &665 + - &669 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -52213,7 +52213,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &666 + - &670 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -52227,7 +52227,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &667 + - &671 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -52241,7 +52241,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &668 + - &672 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -52261,7 +52261,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &669 + - &673 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -52281,7 +52281,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &670 + - &674 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -52301,7 +52301,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &671 + - &675 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -52321,7 +52321,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &672 + - &676 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -52840,7 +52840,7 @@ paths: application/json: schema: type: array - items: &676 + items: &680 description: A repository security advisory. type: object properties: @@ -53131,7 +53131,7 @@ paths: - private_fork additionalProperties: false examples: - default: &677 + default: &681 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -55049,7 +55049,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &692 + response-if-user-is-a-team-maintainer: &696 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -55114,7 +55114,7 @@ paths: application/json: schema: *353 examples: - response-if-users-membership-with-team-is-now-pending: &693 + response-if-users-membership-with-team-is-now-pending: &697 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -55228,7 +55228,7 @@ paths: description: Alternative response with repository permissions content: application/json: - schema: &694 + schema: &698 title: Team Repository description: A team's access to a repository. type: object @@ -55885,7 +55885,7 @@ paths: type: array items: *210 examples: - response-if-child-teams-exist: &695 + response-if-child-teams-exist: &699 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -61538,7 +61538,7 @@ paths: description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: &765 + properties: &769 url: type: string format: uri @@ -61623,7 +61623,7 @@ paths: nullable: true properties: *83 required: *84 - required: &766 + required: &770 - id - node_id - sha @@ -67718,7 +67718,7 @@ paths: check. type: array items: *93 - deployment: &758 + deployment: &762 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -68630,7 +68630,7 @@ paths: type: string format: date-time nullable: true - head_commit: &786 + head_commit: &790 title: Simple Commit description: A commit. type: object @@ -73117,14 +73117,14 @@ paths: type: integer machines: type: array - items: &701 + items: &705 type: object title: Codespace machine description: A description of the machine powering a codespace. properties: *475 required: *476 examples: - default: &702 + default: &706 value: total_count: 2 machines: @@ -74762,7 +74762,7 @@ paths: type: array items: *487 examples: - default: &611 + default: &615 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -75053,7 +75053,7 @@ paths: type: array items: *491 examples: - default: &603 + default: &607 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -75611,7 +75611,7 @@ paths: application/json: schema: *487 examples: - default: &590 + default: &594 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -76270,7 +76270,7 @@ paths: application/json: schema: type: array - items: &681 + items: &685 title: Status description: The status of a commit. type: object @@ -77239,7 +77239,7 @@ paths: - size - type - url - - &616 + - &620 title: Content File description: Content File type: object @@ -77853,7 +77853,7 @@ paths: items: type: object properties: - placeholder_id: &673 + placeholder_id: &677 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -83897,7 +83897,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &794 + last_response: &798 title: Hook Response type: object properties: @@ -84949,7 +84949,7 @@ paths: parameters: - *354 - *355 - - &723 + - &727 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -85534,7 +85534,7 @@ paths: type: array items: *554 examples: - default: &716 + default: &720 value: - id: 1 repository: @@ -85980,7 +85980,7 @@ paths: type: array items: *88 examples: - default: &567 + default: &568 value: - id: 1 node_id: MDU6SXNzdWUx @@ -86268,7 +86268,7 @@ paths: application/json: schema: *88 examples: - default: &564 + default: &565 value: id: 1 node_id: MDU6SXNzdWUx @@ -86477,7 +86477,7 @@ paths: type: array items: *557 examples: - default: &566 + default: &567 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -86932,7 +86932,7 @@ paths: application/json: schema: type: array - items: &563 + items: &564 title: Issue Event description: Issue Event type: object @@ -87085,6 +87085,35 @@ paths: required: - from - to + issue_type: &563 + title: Issue Type + description: The type of issue. + type: object + nullable: true + properties: + id: + type: integer + description: The unique identifier of the issue type. + name: + type: string + description: The name of the issue type. + color: + type: string + description: The color of the issue type. + enum: + - gray + - blue + - green + - yellow + - orange + - red + - pink + - purple + nullable: true + required: + - id + - name + prev_issue_type: *563 author_association: *85 lock_reason: type: string @@ -87296,7 +87325,7 @@ paths: description: Response content: application/json: - schema: *563 + schema: *564 examples: default: value: @@ -87525,7 +87554,7 @@ paths: parameters: - *354 - *355 - - &565 + - &566 name: issue_number description: The number that identifies the issue. in: path @@ -87541,7 +87570,7 @@ paths: examples: default: summary: Issue - value: *564 + value: *565 pinned_comment: summary: Issue with pinned comment value: @@ -87769,7 +87798,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 requestBody: required: false content: @@ -87899,7 +87928,7 @@ paths: application/json: schema: *88 examples: - default: *564 + default: *565 '422': *15 '503': *122 '403': *29 @@ -87925,7 +87954,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 requestBody: required: false content: @@ -87953,7 +87982,7 @@ paths: application/json: schema: *88 examples: - default: *564 + default: *565 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87971,7 +88000,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 requestBody: content: application/json: @@ -87998,7 +88027,7 @@ paths: application/json: schema: *88 examples: - default: *564 + default: *565 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88022,7 +88051,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 - name: assignee in: path required: true @@ -88064,7 +88093,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 - *95 - *17 - *19 @@ -88077,7 +88106,7 @@ paths: type: array items: *557 examples: - default: *566 + default: *567 headers: Link: *70 '404': *6 @@ -88112,7 +88141,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 requestBody: required: true content: @@ -88173,7 +88202,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 - *17 - *19 responses: @@ -88185,7 +88214,7 @@ paths: type: array items: *88 examples: - default: *567 + default: *568 headers: Link: *70 '301': *358 @@ -88220,7 +88249,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 requestBody: required: true content: @@ -88244,7 +88273,7 @@ paths: application/json: schema: *88 examples: - default: *564 + default: *565 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by @@ -88285,7 +88314,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -88299,7 +88328,7 @@ paths: application/json: schema: *88 examples: - default: *564 + default: *565 '301': *358 '400': *14 '401': *25 @@ -88333,7 +88362,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 - *17 - *19 responses: @@ -88345,7 +88374,7 @@ paths: type: array items: *88 examples: - default: *567 + default: *568 headers: Link: *70 '301': *358 @@ -88369,7 +88398,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 - *17 - *19 responses: @@ -88383,7 +88412,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &571 + - &572 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -88437,7 +88466,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &572 + - &573 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -88573,7 +88602,7 @@ paths: - performed_via_github_app - assignee - assigner - - &573 + - &574 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -88624,7 +88653,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &574 + - &575 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -88675,7 +88704,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &575 + - &576 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -88729,7 +88758,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &576 + - &577 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -88776,7 +88805,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &577 + - &578 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -88823,7 +88852,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &578 + - &579 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -88883,7 +88912,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &579 + - &580 title: Locked Issue Event description: Locked Issue Event type: object @@ -88931,7 +88960,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &580 + - &581 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -88997,7 +89026,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &581 + - &582 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -89063,7 +89092,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &582 + - &583 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -89129,7 +89158,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &583 + - &584 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -89185,6 +89214,143 @@ paths: - commit_url - created_at - performed_via_github_app + - &587 + title: Issue Type Added Issue Event + description: Issue Type Added Issue Event + type: object + properties: + id: + type: integer + node_id: + type: string + url: + type: string + actor: *4 + event: + type: string + commit_id: + type: string + nullable: true + commit_url: + type: string + nullable: true + created_at: + type: string + performed_via_github_app: + title: GitHub app + description: GitHub apps are a new way to extend GitHub. They + can be installed directly on organizations and user accounts + and granted access to specific repositories. They come with + granular permissions and built-in webhooks. GitHub apps + are first class actors within GitHub. + type: object + nullable: true + properties: *83 + required: *84 + issue_type: *563 + required: + - issue_type + - id + - node_id + - url + - actor + - event + - commit_id + - commit_url + - created_at + - performed_via_github_app + - &588 + title: Issue Type Removed Issue Event + description: Issue Type Removed Issue Event + type: object + properties: + id: + type: integer + node_id: + type: string + url: + type: string + actor: *4 + event: + type: string + commit_id: + type: string + nullable: true + commit_url: + type: string + nullable: true + created_at: + type: string + performed_via_github_app: + title: GitHub app + description: GitHub apps are a new way to extend GitHub. They + can be installed directly on organizations and user accounts + and granted access to specific repositories. They come with + granular permissions and built-in webhooks. GitHub apps + are first class actors within GitHub. + type: object + nullable: true + properties: *83 + required: *84 + prev_issue_type: *563 + required: + - prev_issue_type + - id + - node_id + - url + - actor + - event + - commit_id + - commit_url + - created_at + - performed_via_github_app + - &589 + title: Issue Type Changed Issue Event + description: Issue Type Changed Issue Event + type: object + properties: + id: + type: integer + node_id: + type: string + url: + type: string + actor: *4 + event: + type: string + commit_id: + type: string + nullable: true + commit_url: + type: string + nullable: true + created_at: + type: string + performed_via_github_app: + title: GitHub app + description: GitHub apps are a new way to extend GitHub. They + can be installed directly on organizations and user accounts + and granted access to specific repositories. They come with + granular permissions and built-in webhooks. GitHub apps + are first class actors within GitHub. + type: object + nullable: true + properties: *83 + required: *84 + issue_type: *563 + prev_issue_type: *563 + required: + - issue_type + - prev_issue_type + - id + - node_id + - url + - actor + - event + - commit_id + - commit_url + - created_at + - performed_via_github_app examples: default: value: @@ -89239,7 +89405,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 - *17 - *19 responses: @@ -89249,9 +89415,9 @@ paths: application/json: schema: type: array - items: *568 + items: *569 examples: - default: &569 + default: &570 value: - issue_field_id: 1 node_id: IFT_GDKND @@ -89319,7 +89485,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 requestBody: required: true content: @@ -89389,9 +89555,9 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *568 + items: *569 examples: - default: *569 + default: *570 '400': *14 '403': *29 '404': *6 @@ -89429,7 +89595,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 requestBody: required: true content: @@ -89494,9 +89660,9 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *568 + items: *569 examples: - default: *569 + default: *570 '400': *14 '403': *29 '404': *6 @@ -89529,7 +89695,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 - *256 responses: '204': @@ -89557,7 +89723,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 - *17 - *19 responses: @@ -89569,7 +89735,7 @@ paths: type: array items: *87 examples: - default: &570 + default: &571 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -89607,7 +89773,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 requestBody: required: false content: @@ -89652,7 +89818,7 @@ paths: type: array items: *87 examples: - default: *570 + default: *571 '301': *358 '404': *6 '410': *556 @@ -89674,7 +89840,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 requestBody: required: false content: @@ -89736,7 +89902,7 @@ paths: type: array items: *87 examples: - default: *570 + default: *571 '301': *358 '404': *6 '410': *556 @@ -89758,7 +89924,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 responses: '204': description: Response @@ -89785,7 +89951,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 - name: name in: path required: true @@ -89833,7 +89999,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 requestBody: required: false content: @@ -89881,7 +90047,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 responses: '204': description: Response @@ -89913,7 +90079,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 responses: '200': description: Response @@ -89921,7 +90087,7 @@ paths: application/json: schema: *88 examples: - default: *564 + default: *565 '301': *358 '404': *6 '410': *556 @@ -89943,7 +90109,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 - 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. @@ -89995,7 +90161,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 requestBody: required: true content: @@ -90060,7 +90226,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 - *560 responses: '204': @@ -90092,7 +90258,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 requestBody: required: true content: @@ -90116,7 +90282,7 @@ paths: application/json: schema: *88 examples: - default: *564 + default: *565 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -90151,7 +90317,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 - *17 - *19 responses: @@ -90163,7 +90329,7 @@ paths: type: array items: *88 examples: - default: *567 + default: *568 headers: Link: *70 '404': *6 @@ -90197,7 +90363,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 requestBody: required: true content: @@ -90226,7 +90392,7 @@ paths: application/json: schema: *88 examples: - default: *564 + default: *565 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 @@ -90255,7 +90421,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 requestBody: required: true content: @@ -90288,7 +90454,7 @@ paths: application/json: schema: *88 examples: - default: *564 + default: *565 '403': *29 '404': *6 '422': *7 @@ -90312,7 +90478,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 - *17 - *19 responses: @@ -90327,7 +90493,6 @@ paths: description: Timeline Event type: object anyOf: - - *571 - *572 - *573 - *574 @@ -90340,6 +90505,7 @@ paths: - *581 - *582 - *583 + - *584 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -90400,8 +90566,8 @@ paths: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *584 - required: *585 + properties: *585 + required: *586 nullable: true required: - event @@ -90656,7 +90822,7 @@ paths: type: string comments: type: array - items: &605 + items: &609 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -91005,6 +91171,9 @@ paths: - commit_url - created_at - performed_via_github_app + - *587 + - *588 + - *589 examples: default: value: @@ -91188,7 +91357,7 @@ paths: application/json: schema: type: array - items: &586 + items: &590 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -91291,9 +91460,9 @@ paths: description: Response content: application/json: - schema: *586 + schema: *590 examples: - default: &587 + default: &591 value: id: 1 key: ssh-rsa AAA... @@ -91329,7 +91498,7 @@ paths: parameters: - *354 - *355 - - &588 + - &592 name: key_id description: The unique identifier of the key. in: path @@ -91341,9 +91510,9 @@ paths: description: Response content: application/json: - schema: *586 + schema: *590 examples: - default: *587 + default: *591 '404': *6 x-github: githubCloudOnly: false @@ -91363,7 +91532,7 @@ paths: parameters: - *354 - *355 - - *588 + - *592 responses: '204': description: Response @@ -91396,7 +91565,7 @@ paths: type: array items: *87 examples: - default: *570 + default: *571 headers: Link: *70 '404': *6 @@ -91456,7 +91625,7 @@ paths: application/json: schema: *87 examples: - default: &589 + default: &593 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -91502,7 +91671,7 @@ paths: application/json: schema: *87 examples: - default: *589 + default: *593 '404': *6 x-github: githubCloudOnly: false @@ -91902,7 +92071,7 @@ paths: application/json: schema: *487 examples: - default: *590 + default: *594 '204': description: Response when already merged '404': @@ -91969,7 +92138,7 @@ paths: application/json: schema: type: array - items: &591 + items: &595 title: Milestone description: A collection of related issues and pull requests. type: object @@ -92071,9 +92240,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *595 examples: - default: &592 + default: &596 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -92134,7 +92303,7 @@ paths: parameters: - *354 - *355 - - &593 + - &597 name: milestone_number description: The number that identifies the milestone. in: path @@ -92146,9 +92315,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *595 examples: - default: *592 + default: *596 '404': *6 x-github: githubCloudOnly: false @@ -92167,7 +92336,7 @@ paths: parameters: - *354 - *355 - - *593 + - *597 requestBody: required: false content: @@ -92205,9 +92374,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *595 examples: - default: *592 + default: *596 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92225,7 +92394,7 @@ paths: parameters: - *354 - *355 - - *593 + - *597 responses: '204': description: Response @@ -92248,7 +92417,7 @@ paths: parameters: - *354 - *355 - - *593 + - *597 - *17 - *19 responses: @@ -92260,7 +92429,7 @@ paths: type: array items: *87 examples: - default: *570 + default: *571 headers: Link: *70 x-github: @@ -92281,10 +92450,10 @@ paths: parameters: - *354 - *355 - - *594 - - *595 + - *598 + - *599 - *95 - - *596 + - *600 - *17 - *19 responses: @@ -92296,7 +92465,7 @@ paths: type: array items: *115 examples: - default: *597 + default: *601 headers: Link: *70 x-github: @@ -92386,7 +92555,7 @@ paths: description: Response content: application/json: - schema: &598 + schema: &602 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -92511,7 +92680,7 @@ paths: - custom_404 - public examples: - default: &599 + default: &603 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -92607,9 +92776,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *602 examples: - default: *599 + default: *603 '422': *15 '409': *54 x-github: @@ -92770,7 +92939,7 @@ paths: application/json: schema: type: array - items: &600 + items: &604 title: Page Build description: Page Build type: object @@ -92917,9 +93086,9 @@ paths: description: Response content: application/json: - schema: *600 + schema: *604 examples: - default: &601 + default: &605 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -92979,9 +93148,9 @@ paths: description: Response content: application/json: - schema: *600 + schema: *604 examples: - default: *601 + default: *605 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93109,7 +93278,7 @@ paths: parameters: - *354 - *355 - - &602 + - &606 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -93169,7 +93338,7 @@ paths: parameters: - *354 - *355 - - *602 + - *606 responses: '204': *61 '404': *6 @@ -93704,7 +93873,7 @@ paths: type: array items: *491 examples: - default: *603 + default: *607 headers: Link: *70 '304': *37 @@ -93802,7 +93971,7 @@ paths: description: Response content: application/json: - schema: &607 + schema: &611 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -94013,7 +94182,7 @@ paths: - review_comment - self author_association: *85 - auto_merge: *604 + auto_merge: *608 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -94105,7 +94274,7 @@ paths: - merged_by - review_comments examples: - default: &608 + default: &612 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -94662,9 +94831,9 @@ paths: application/json: schema: type: array - items: *605 + items: *609 examples: - default: &610 + default: &614 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -94749,9 +94918,9 @@ paths: description: Response content: application/json: - schema: *605 + schema: *609 examples: - default: &606 + default: &610 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -94850,9 +95019,9 @@ paths: description: Response content: application/json: - schema: *605 + schema: *609 examples: - default: *606 + default: *610 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95055,7 +95224,7 @@ paths: parameters: - *354 - *355 - - &609 + - &613 name: pull_number description: The number that identifies the pull request. in: path @@ -95068,9 +95237,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *607 + schema: *611 examples: - default: *608 + default: *612 '304': *37 '404': *6 '406': @@ -95107,7 +95276,7 @@ paths: parameters: - *354 - *355 - - *609 + - *613 requestBody: required: false content: @@ -95149,9 +95318,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *611 examples: - default: *608 + default: *612 '422': *15 '403': *29 x-github: @@ -95175,7 +95344,7 @@ paths: parameters: - *354 - *355 - - *609 + - *613 requestBody: required: true content: @@ -95277,7 +95446,7 @@ paths: parameters: - *354 - *355 - - *609 + - *613 - *112 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -95298,9 +95467,9 @@ paths: application/json: schema: type: array - items: *605 + items: *609 examples: - default: *610 + default: *614 headers: Link: *70 x-github: @@ -95335,7 +95504,7 @@ paths: parameters: - *354 - *355 - - *609 + - *613 requestBody: required: true content: @@ -95440,7 +95609,7 @@ paths: description: Response content: application/json: - schema: *605 + schema: *609 examples: example-for-a-multi-line-comment: value: @@ -95530,7 +95699,7 @@ paths: parameters: - *354 - *355 - - *609 + - *613 - *104 requestBody: required: true @@ -95553,7 +95722,7 @@ paths: description: Response content: application/json: - schema: *605 + schema: *609 examples: default: value: @@ -95641,7 +95810,7 @@ paths: parameters: - *354 - *355 - - *609 + - *613 - *17 - *19 responses: @@ -95653,7 +95822,7 @@ paths: type: array items: *487 examples: - default: *611 + default: *615 headers: Link: *70 x-github: @@ -95685,7 +95854,7 @@ paths: parameters: - *354 - *355 - - *609 + - *613 - *17 - *19 responses: @@ -95735,7 +95904,7 @@ paths: parameters: - *354 - *355 - - *609 + - *613 responses: '204': description: Response if pull request has been merged @@ -95760,7 +95929,7 @@ paths: parameters: - *354 - *355 - - *609 + - *613 requestBody: required: false content: @@ -95873,7 +96042,7 @@ paths: parameters: - *354 - *355 - - *609 + - *613 responses: '200': description: Response @@ -95950,7 +96119,7 @@ paths: parameters: - *354 - *355 - - *609 + - *613 requestBody: required: false content: @@ -96525,7 +96694,7 @@ paths: parameters: - *354 - *355 - - *609 + - *613 requestBody: required: true content: @@ -97066,7 +97235,7 @@ paths: parameters: - *354 - *355 - - *609 + - *613 - *17 - *19 responses: @@ -97076,7 +97245,7 @@ paths: application/json: schema: type: array - items: &612 + items: &616 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -97229,7 +97398,7 @@ paths: parameters: - *354 - *355 - - *609 + - *613 requestBody: required: false content: @@ -97315,9 +97484,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *616 examples: - default: &614 + default: &618 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -97382,8 +97551,8 @@ paths: parameters: - *354 - *355 - - *609 - - &613 + - *613 + - &617 name: review_id description: The unique identifier of the review. in: path @@ -97395,9 +97564,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *616 examples: - default: &615 + default: &619 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -97458,8 +97627,8 @@ paths: parameters: - *354 - *355 - - *609 - *613 + - *617 requestBody: required: true content: @@ -97482,7 +97651,7 @@ paths: description: Response content: application/json: - schema: *612 + schema: *616 examples: default: value: @@ -97546,16 +97715,16 @@ paths: parameters: - *354 - *355 - - *609 - *613 + - *617 responses: '200': description: Response content: application/json: - schema: *612 + schema: *616 examples: - default: *614 + default: *618 '422': *7 '404': *6 x-github: @@ -97584,8 +97753,8 @@ paths: parameters: - *354 - *355 - - *609 - *613 + - *617 - *17 - *19 responses: @@ -97822,8 +97991,8 @@ paths: parameters: - *354 - *355 - - *609 - *613 + - *617 requestBody: required: true content: @@ -97851,7 +98020,7 @@ paths: description: Response content: application/json: - schema: *612 + schema: *616 examples: default: value: @@ -97916,8 +98085,8 @@ paths: parameters: - *354 - *355 - - *609 - *613 + - *617 requestBody: required: true content: @@ -97952,9 +98121,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *616 examples: - default: *615 + default: *619 '404': *6 '422': *7 '403': *29 @@ -97978,7 +98147,7 @@ paths: parameters: - *354 - *355 - - *609 + - *613 requestBody: required: false content: @@ -98055,9 +98224,9 @@ paths: description: Response content: application/json: - schema: *616 + schema: *620 examples: - default: &617 + default: &621 value: type: file encoding: base64 @@ -98120,9 +98289,9 @@ paths: description: Response content: application/json: - schema: *616 + schema: *620 examples: - default: *617 + default: *621 '404': *6 '422': *15 x-github: @@ -98155,7 +98324,7 @@ paths: application/json: schema: type: array - items: *618 + items: *622 examples: default: value: @@ -98326,9 +98495,9 @@ paths: description: Response content: application/json: - schema: *618 + schema: *622 examples: - default: &622 + default: &626 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -98435,7 +98604,7 @@ paths: parameters: - *354 - *355 - - &620 + - &624 name: asset_id description: The unique identifier of the asset. in: path @@ -98447,9 +98616,9 @@ paths: description: Response content: application/json: - schema: *619 + schema: *623 examples: - default: &621 + default: &625 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -98502,7 +98671,7 @@ paths: parameters: - *354 - *355 - - *620 + - *624 requestBody: required: false content: @@ -98530,9 +98699,9 @@ paths: description: Response content: application/json: - schema: *619 + schema: *623 examples: - default: *621 + default: *625 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98550,7 +98719,7 @@ paths: parameters: - *354 - *355 - - *620 + - *624 responses: '204': description: Response @@ -98668,9 +98837,9 @@ paths: description: Response content: application/json: - schema: *618 + schema: *622 examples: - default: *622 + default: *626 '404': *6 x-github: githubCloudOnly: false @@ -98702,9 +98871,9 @@ paths: description: Response content: application/json: - schema: *618 + schema: *622 examples: - default: *622 + default: *626 '404': *6 x-github: githubCloudOnly: false @@ -98728,7 +98897,7 @@ paths: parameters: - *354 - *355 - - &623 + - &627 name: release_id description: The unique identifier of the release. in: path @@ -98742,9 +98911,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *618 + schema: *622 examples: - default: *622 + default: *626 '401': description: Unauthorized x-github: @@ -98764,7 +98933,7 @@ paths: parameters: - *354 - *355 - - *623 + - *627 requestBody: required: false content: @@ -98828,9 +98997,9 @@ paths: description: Response content: application/json: - schema: *618 + schema: *622 examples: - default: *622 + default: *626 '404': description: Not Found if the discussion category name is invalid content: @@ -98853,7 +99022,7 @@ paths: parameters: - *354 - *355 - - *623 + - *627 responses: '204': description: Response @@ -98876,7 +99045,7 @@ paths: parameters: - *354 - *355 - - *623 + - *627 - *17 - *19 responses: @@ -98886,7 +99055,7 @@ paths: application/json: schema: type: array - items: *619 + items: *623 examples: default: value: @@ -98969,7 +99138,7 @@ paths: parameters: - *354 - *355 - - *623 + - *627 - name: name in: query required: true @@ -98995,7 +99164,7 @@ paths: description: Response for successful upload content: application/json: - schema: *619 + schema: *623 examples: response-for-successful-upload: value: @@ -99052,7 +99221,7 @@ paths: parameters: - *354 - *355 - - *623 + - *627 - 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 release. @@ -99101,7 +99270,7 @@ paths: parameters: - *354 - *355 - - *623 + - *627 requestBody: required: true content: @@ -99164,7 +99333,7 @@ paths: parameters: - *354 - *355 - - *623 + - *627 - *560 responses: '204': @@ -99208,7 +99377,7 @@ paths: oneOf: - allOf: - *318 - - &624 + - &628 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -99229,67 +99398,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *319 - - *624 + - *628 - allOf: - *320 - - *624 + - *628 - allOf: - *321 - - *624 + - *628 - allOf: - - *625 - - *624 + - *629 + - *628 - allOf: - *322 - - *624 + - *628 - allOf: - *323 - - *624 + - *628 - allOf: - *324 - - *624 + - *628 - allOf: - *325 - - *624 + - *628 - allOf: - *326 - - *624 + - *628 - allOf: - *327 - - *624 + - *628 - allOf: - *328 - - *624 + - *628 - allOf: - *329 - - *624 + - *628 - allOf: - *330 - - *624 + - *628 - allOf: - *331 - - *624 + - *628 - allOf: - *336 - - *624 + - *628 - allOf: - *337 - - *624 + - *628 - allOf: - *338 - - *624 + - *628 - allOf: - *332 - - *624 + - *628 - allOf: - *333 - - *624 + - *628 - allOf: - *334 - - *624 + - *628 - allOf: - *335 - - *624 + - *628 examples: default: value: @@ -99340,7 +99509,7 @@ paths: schema: type: boolean default: true - - *626 + - *630 responses: '200': description: Response @@ -99425,7 +99594,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *627 + items: *631 required: - name - enforcement @@ -99458,7 +99627,7 @@ paths: application/json: schema: *339 examples: - default: &638 + default: &642 value: id: 42 name: super cool ruleset @@ -99508,11 +99677,11 @@ paths: parameters: - *354 - *355 - - *628 - - *629 - - *630 - - *631 - *632 + - *633 + - *634 + - *635 + - *636 - *17 - *19 responses: @@ -99520,9 +99689,9 @@ paths: description: Response content: application/json: - schema: *633 + schema: *637 examples: - default: *634 + default: *638 '404': *6 '500': *55 x-github: @@ -99545,15 +99714,15 @@ paths: parameters: - *354 - *355 - - *635 + - *639 responses: '200': description: Response content: application/json: - schema: *636 + schema: *640 examples: - default: *637 + default: *641 '404': *6 '500': *55 x-github: @@ -99604,7 +99773,7 @@ paths: application/json: schema: *339 examples: - default: *638 + default: *642 '404': *6 '500': *55 put: @@ -99657,7 +99826,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *627 + items: *631 examples: default: value: @@ -99687,7 +99856,7 @@ paths: application/json: schema: *339 examples: - default: *638 + default: *642 '404': *6 '422': *15 '500': *55 @@ -99749,7 +99918,7 @@ paths: type: array items: *342 examples: - default: *639 + default: *643 '404': *6 '500': *55 x-github: @@ -99787,7 +99956,7 @@ paths: description: Response content: application/json: - schema: *640 + schema: *644 examples: default: value: @@ -99844,24 +100013,24 @@ paths: parameters: - *354 - *355 - - *641 - - *642 - - *643 - - *644 - *645 - *646 - *647 - *648 - - *62 - - *19 - - *17 - *649 - *650 - *651 - *652 + - *62 + - *19 + - *17 - *653 - *654 - *655 + - *656 + - *657 + - *658 + - *659 responses: '200': description: Response @@ -99869,7 +100038,7 @@ paths: application/json: schema: type: array - items: &659 + items: &663 type: object properties: number: *188 @@ -99888,8 +100057,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *656 - resolution: *657 + state: *660 + resolution: *661 resolved_at: type: string format: date-time @@ -99995,7 +100164,7 @@ paths: pull request. ' - oneOf: *658 + oneOf: *662 nullable: true has_more_locations: type: boolean @@ -100162,13 +100331,13 @@ paths: - *354 - *355 - *451 - - *654 + - *658 responses: '200': description: Response content: application/json: - schema: *659 + schema: *663 examples: default: value: @@ -100232,8 +100401,8 @@ paths: schema: type: object properties: - state: *656 - resolution: *657 + state: *660 + resolution: *661 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -100277,7 +100446,7 @@ paths: description: Response content: application/json: - schema: *659 + schema: *663 examples: default: value: @@ -100389,7 +100558,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &816 + items: &820 type: object properties: type: @@ -100415,10 +100584,6 @@ paths: example: commit details: oneOf: - - *660 - - *661 - - *662 - - *663 - *664 - *665 - *666 @@ -100428,6 +100593,10 @@ paths: - *670 - *671 - *672 + - *673 + - *674 + - *675 + - *676 examples: default: value: @@ -100522,14 +100691,14 @@ paths: schema: type: object properties: - reason: &674 + reason: &678 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *673 + placeholder_id: *677 required: - reason - placeholder_id @@ -100546,7 +100715,7 @@ paths: schema: type: object properties: - reason: *674 + reason: *678 expire_at: type: string format: date-time @@ -100608,7 +100777,7 @@ paths: properties: incremental_scans: type: array - items: &675 + items: &679 description: Information on a single scan performed by secret scanning on the repository type: object @@ -100639,15 +100808,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *675 + items: *679 backfill_scans: type: array - items: *675 + items: *679 custom_pattern_backfill_scans: type: array items: allOf: - - *675 + - *679 - type: object properties: pattern_name: @@ -100660,7 +100829,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *675 + items: *679 examples: default: value: @@ -100770,9 +100939,9 @@ paths: application/json: schema: type: array - items: *676 + items: *680 examples: - default: *677 + default: *681 '400': *14 '404': *6 x-github: @@ -100956,9 +101125,9 @@ paths: description: Response content: application/json: - schema: *676 + schema: *680 examples: - default: &679 + default: &683 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -101296,7 +101465,7 @@ paths: description: Response content: application/json: - schema: *676 + schema: *680 examples: default: value: @@ -101445,15 +101614,15 @@ paths: parameters: - *354 - *355 - - *678 + - *682 responses: '200': description: Response content: application/json: - schema: *676 + schema: *680 examples: - default: *679 + default: *683 '403': *29 '404': *6 x-github: @@ -101479,7 +101648,7 @@ paths: parameters: - *354 - *355 - - *678 + - *682 requestBody: required: true content: @@ -101638,10 +101807,10 @@ paths: description: Response content: application/json: - schema: *676 + schema: *680 examples: - default: *679 - add_credit: *679 + default: *683 + add_credit: *683 '403': *29 '404': *6 '422': @@ -101681,7 +101850,7 @@ paths: parameters: - *354 - *355 - - *678 + - *682 responses: '202': *39 '400': *14 @@ -101710,7 +101879,7 @@ paths: parameters: - *354 - *355 - - *678 + - *682 responses: '202': description: Response @@ -101854,7 +102023,7 @@ paths: application/json: schema: type: array - items: &680 + items: &684 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -102227,7 +102396,7 @@ paths: application/json: schema: type: array - items: *680 + items: *684 examples: default: value: @@ -102315,7 +102484,7 @@ paths: description: Response content: application/json: - schema: *681 + schema: *685 examples: default: value: @@ -102409,7 +102578,7 @@ paths: description: if you subscribe to the repository content: application/json: - schema: &682 + schema: &686 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -102504,7 +102673,7 @@ paths: description: Response content: application/json: - schema: *682 + schema: *686 examples: default: value: @@ -102711,7 +102880,7 @@ paths: description: Response content: application/json: - schema: &683 + schema: &687 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -102723,7 +102892,7 @@ paths: required: - names examples: - default: &684 + default: &688 value: names: - octocat @@ -102778,9 +102947,9 @@ paths: description: Response content: application/json: - schema: *683 + schema: *687 examples: - default: *684 + default: *688 '404': *6 '422': *7 x-github: @@ -102803,7 +102972,7 @@ paths: parameters: - *354 - *355 - - &685 + - &689 name: per description: The time frame to display results for. in: query @@ -102832,7 +103001,7 @@ paths: example: 128 clones: type: array - items: &686 + items: &690 title: Traffic type: object properties: @@ -103073,7 +103242,7 @@ paths: parameters: - *354 - *355 - - *685 + - *689 responses: '200': description: Response @@ -103092,7 +103261,7 @@ paths: example: 3782 views: type: array - items: *686 + items: *690 required: - uniques - count @@ -103864,7 +104033,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &687 + text_matches: &691 title: Search Result Text Matches type: array items: @@ -104026,7 +104195,7 @@ paths: enum: - author-date - committer-date - - &688 + - &692 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -104154,7 +104323,7 @@ paths: type: number node_id: type: string - text_matches: *687 + text_matches: *691 required: - sha - node_id @@ -104346,7 +104515,7 @@ paths: - interactions - created - updated - - *688 + - *692 - *17 - *19 - name: advanced_search @@ -104460,11 +104629,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *689 - issue_dependencies_summary: *690 + sub_issues_summary: *693 + issue_dependencies_summary: *694 issue_field_values: type: array - items: *568 + items: *569 state: type: string state_reason: @@ -104496,7 +104665,7 @@ paths: type: string format: date-time nullable: true - text_matches: *687 + text_matches: *691 pull_request: type: object properties: @@ -104778,7 +104947,7 @@ paths: enum: - created - updated - - *688 + - *692 - *17 - *19 responses: @@ -104822,7 +104991,7 @@ paths: nullable: true score: type: number - text_matches: *687 + text_matches: *691 required: - id - node_id @@ -104907,7 +105076,7 @@ paths: - forks - help-wanted-issues - updated - - *688 + - *692 - *17 - *19 responses: @@ -105155,7 +105324,7 @@ paths: - admin - pull - push - text_matches: *687 + text_matches: *691 temp_clone_token: type: string allow_merge_commit: @@ -105455,7 +105624,7 @@ paths: type: string format: uri nullable: true - text_matches: *687 + text_matches: *691 related: type: array nullable: true @@ -105646,7 +105815,7 @@ paths: - followers - repositories - joined - - *688 + - *692 - *17 - *19 responses: @@ -105750,7 +105919,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *687 + text_matches: *691 blog: type: string nullable: true @@ -105829,7 +105998,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &691 + - &695 name: team_id description: The unique identifier of the team. in: path @@ -105870,7 +106039,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *691 + - *695 requestBody: required: true content: @@ -105970,7 +106139,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *691 + - *695 responses: '204': description: Response @@ -105999,7 +106168,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *691 + - *695 - *17 - *19 responses: @@ -106037,7 +106206,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *691 + - *695 - name: role description: Filters members returned by their role in the team. in: query @@ -106088,7 +106257,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *691 + - *695 - *74 responses: '204': @@ -106125,7 +106294,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *691 + - *695 - *74 responses: '204': @@ -106165,7 +106334,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *691 + - *695 - *74 responses: '204': @@ -106202,7 +106371,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *691 + - *695 - *74 responses: '200': @@ -106211,7 +106380,7 @@ paths: application/json: schema: *353 examples: - response-if-user-is-a-team-maintainer: *692 + response-if-user-is-a-team-maintainer: *696 '404': *6 x-github: githubCloudOnly: false @@ -106244,7 +106413,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *691 + - *695 - *74 requestBody: required: false @@ -106272,7 +106441,7 @@ paths: application/json: schema: *353 examples: - response-if-users-membership-with-team-is-now-pending: *693 + response-if-users-membership-with-team-is-now-pending: *697 '403': description: Forbidden if team synchronization is set up '422': @@ -106306,7 +106475,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *691 + - *695 - *74 responses: '204': @@ -106334,7 +106503,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *691 + - *695 - *17 - *19 responses: @@ -106376,7 +106545,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *691 + - *695 - *354 - *355 responses: @@ -106384,7 +106553,7 @@ paths: description: Alternative response with extra repository information content: application/json: - schema: *694 + schema: *698 examples: alternative-response-with-extra-repository-information: value: @@ -106535,7 +106704,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *691 + - *695 - *354 - *355 requestBody: @@ -106587,7 +106756,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *691 + - *695 - *354 - *355 responses: @@ -106614,7 +106783,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *691 + - *695 - *17 - *19 responses: @@ -106626,7 +106795,7 @@ paths: type: array items: *210 examples: - response-if-child-teams-exist: *695 + response-if-child-teams-exist: *699 headers: Link: *70 '404': *6 @@ -106659,7 +106828,7 @@ paths: application/json: schema: oneOf: - - &697 + - &701 title: Private User description: Private User type: object @@ -106862,7 +107031,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *696 + - *700 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -107015,7 +107184,7 @@ paths: description: Response content: application/json: - schema: *697 + schema: *701 examples: default: value: @@ -107413,7 +107582,7 @@ paths: type: integer secrets: type: array - items: &698 + items: &702 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -107529,7 +107698,7 @@ paths: description: Response content: application/json: - schema: *698 + schema: *702 examples: default: value: @@ -107942,7 +108111,7 @@ paths: description: Response content: application/json: - schema: &699 + schema: &703 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -107983,7 +108152,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &700 + default: &704 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -108028,9 +108197,9 @@ paths: description: Response content: application/json: - schema: *699 + schema: *703 examples: - default: *700 + default: *704 '404': *6 x-github: githubCloudOnly: false @@ -108067,9 +108236,9 @@ paths: type: integer machines: type: array - items: *701 + items: *705 examples: - default: *702 + default: *706 '304': *37 '500': *55 '401': *25 @@ -109008,7 +109177,7 @@ paths: type: array items: *275 examples: - default: &713 + default: &717 value: - id: 197 name: hello_docker @@ -109109,7 +109278,7 @@ paths: application/json: schema: type: array - items: &703 + items: &707 title: Email description: Email type: object @@ -109174,9 +109343,9 @@ paths: application/json: schema: type: array - items: *703 + items: *707 examples: - default: &715 + default: &719 value: - email: octocat@github.com verified: true @@ -109251,7 +109420,7 @@ paths: application/json: schema: type: array - items: *703 + items: *707 examples: default: value: @@ -109507,7 +109676,7 @@ paths: application/json: schema: type: array - items: &704 + items: &708 title: GPG Key description: A unique encryption key type: object @@ -109638,7 +109807,7 @@ paths: - subkeys - revoked examples: - default: &732 + default: &736 value: - id: 3 name: Octocat's GPG Key @@ -109723,9 +109892,9 @@ paths: description: Response content: application/json: - schema: *704 + schema: *708 examples: - default: &705 + default: &709 value: id: 3 name: Octocat's GPG Key @@ -109782,7 +109951,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &706 + - &710 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -109794,9 +109963,9 @@ paths: description: Response content: application/json: - schema: *704 + schema: *708 examples: - default: *705 + default: *709 '404': *6 '304': *37 '403': *29 @@ -109819,7 +109988,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *706 + - *710 responses: '204': description: Response @@ -110286,7 +110455,7 @@ paths: application/json: schema: type: array - items: &707 + items: &711 title: Key description: Key type: object @@ -110387,9 +110556,9 @@ paths: description: Response content: application/json: - schema: *707 + schema: *711 examples: - default: &708 + default: &712 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -110422,15 +110591,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *588 + - *592 responses: '200': description: Response content: application/json: - schema: *707 + schema: *711 examples: - default: *708 + default: *712 '404': *6 '304': *37 '403': *29 @@ -110453,7 +110622,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *588 + - *592 responses: '204': description: Response @@ -110486,7 +110655,7 @@ paths: application/json: schema: type: array - items: &709 + items: &713 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -110554,7 +110723,7 @@ paths: - account - plan examples: - default: &710 + default: &714 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -110616,9 +110785,9 @@ paths: application/json: schema: type: array - items: *709 + items: *713 examples: - default: *710 + default: *714 headers: Link: *70 '304': *37 @@ -111627,7 +111796,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *269 - - *711 + - *715 responses: '204': description: Response @@ -111742,7 +111911,7 @@ paths: - docker - nuget - container - - *712 + - *716 - *19 - *17 responses: @@ -111754,8 +111923,8 @@ paths: type: array items: *275 examples: - default: *713 - '400': *714 + default: *717 + '400': *718 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111784,7 +111953,7 @@ paths: application/json: schema: *275 examples: - default: &733 + default: &737 value: id: 40201 name: octo-name @@ -112146,9 +112315,9 @@ paths: application/json: schema: type: array - items: *703 + items: *707 examples: - default: *715 + default: *719 headers: Link: *70 '304': *37 @@ -112261,7 +112430,7 @@ paths: type: array items: *82 examples: - default: &722 + default: &726 summary: Default response value: - id: 1296269 @@ -112607,7 +112776,7 @@ paths: type: array items: *554 examples: - default: *716 + default: *720 headers: Link: *70 '304': *37 @@ -112686,7 +112855,7 @@ paths: application/json: schema: type: array - items: &717 + items: &721 title: Social account description: Social media account type: object @@ -112701,7 +112870,7 @@ paths: - provider - url examples: - default: &718 + default: &722 value: - provider: twitter url: https://twitter.com/github @@ -112763,9 +112932,9 @@ paths: application/json: schema: type: array - items: *717 + items: *721 examples: - default: *718 + default: *722 '422': *15 '304': *37 '404': *6 @@ -112852,7 +113021,7 @@ paths: application/json: schema: type: array - items: &719 + items: &723 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -112872,7 +113041,7 @@ paths: - title - created_at examples: - default: &750 + default: &754 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -112936,9 +113105,9 @@ paths: description: Response content: application/json: - schema: *719 + schema: *723 examples: - default: &720 + default: &724 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -112968,7 +113137,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &721 + - &725 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -112980,9 +113149,9 @@ paths: description: Response content: application/json: - schema: *719 + schema: *723 examples: - default: *720 + default: *724 '404': *6 '304': *37 '403': *29 @@ -113005,7 +113174,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *721 + - *725 responses: '204': description: Response @@ -113034,7 +113203,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &751 + - &755 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -113059,11 +113228,11 @@ paths: type: array items: *82 examples: - default-response: *722 + default-response: *726 application/vnd.github.v3.star+json: schema: type: array - items: &752 + items: &756 title: Starred Repository description: Starred Repository type: object @@ -113432,10 +113601,10 @@ paths: application/json: schema: oneOf: - - *697 - - *696 + - *701 + - *700 examples: - default-response: &726 + default-response: &730 summary: Default response value: login: octocat @@ -113470,7 +113639,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &727 + response-with-git-hub-plan-information: &731 summary: Response with GitHub plan information value: login: octocat @@ -113527,7 +113696,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &724 + - &728 name: user_id description: The unique identifier of the user. in: path @@ -113593,7 +113762,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *723 + - *727 - *17 responses: '200': @@ -113628,7 +113797,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *724 + - *728 - *293 requestBody: required: true @@ -113700,7 +113869,7 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *725 + schema: *729 examples: table_view: summary: Response for creating a table view @@ -113752,11 +113921,11 @@ paths: application/json: schema: oneOf: - - *697 - - *696 + - *701 + - *700 examples: - default-response: *726 - response-with-git-hub-plan-information: *727 + default-response: *730 + response-with-git-hub-plan-information: *731 '404': *6 x-github: githubCloudOnly: false @@ -113806,8 +113975,8 @@ paths: required: - subject_digests examples: - default: *728 - withPredicateType: *729 + default: *732 + withPredicateType: *733 responses: '200': description: Response @@ -113860,7 +114029,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *730 + default: *734 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -114346,7 +114515,7 @@ paths: application/json: schema: *204 examples: - default: &731 + default: &735 summary: Example response for a user copilot space value: id: 42 @@ -114447,7 +114616,7 @@ paths: application/json: schema: *204 examples: - default: *731 + default: *735 '403': *29 '404': *6 x-github: @@ -114570,7 +114739,7 @@ paths: application/json: schema: *204 examples: - default: *731 + default: *735 '403': *29 '404': *6 '422': *15 @@ -115338,7 +115507,7 @@ paths: type: array items: *275 examples: - default: *713 + default: *717 '403': *29 '401': *25 x-github: @@ -115722,9 +115891,9 @@ paths: application/json: schema: type: array - items: *704 + items: *708 examples: - default: *732 + default: *736 headers: Link: *70 x-github: @@ -115952,7 +116121,7 @@ paths: - docker - nuget - container - - *712 + - *716 - *74 - *19 - *17 @@ -115965,10 +116134,10 @@ paths: type: array items: *275 examples: - default: *713 + default: *717 '403': *29 '401': *25 - '400': *714 + '400': *718 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -115998,7 +116167,7 @@ paths: application/json: schema: *275 examples: - default: *733 + default: *737 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -116347,7 +116516,7 @@ paths: type: array items: *297 examples: - default: *734 + default: *738 headers: Link: *70 '304': *37 @@ -116407,7 +116576,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *735 + items: *739 required: - name - data_type @@ -116423,7 +116592,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *736 + iteration_configuration: *740 required: - name - data_type @@ -116445,8 +116614,8 @@ paths: value: name: Due date data_type: date - single_select_field: *737 - iteration_field: *738 + single_select_field: *741 + iteration_field: *742 responses: '201': description: Response @@ -116454,11 +116623,11 @@ paths: application/json: schema: *297 examples: - text_field: *739 - number_field: *740 - date_field: *741 - single_select_field: *742 - iteration_field: *743 + text_field: *743 + number_field: *744 + date_field: *745 + single_select_field: *746 + iteration_field: *747 '304': *37 '403': *29 '401': *25 @@ -116480,7 +116649,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - *293 - - *744 + - *748 - *74 responses: '200': @@ -116489,7 +116658,7 @@ paths: application/json: schema: *297 examples: - default: *745 + default: *749 headers: Link: *70 '304': *37 @@ -116843,7 +117012,7 @@ paths: parameters: - *293 - *74 - - *746 + - *750 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -117382,7 +117551,7 @@ paths: parameters: - *74 - *124 - - *747 + - *751 - *126 responses: '200': @@ -117481,9 +117650,9 @@ paths: - *124 - *125 - *126 - - *748 + - *752 - *129 - - *749 + - *753 responses: '200': description: Response when getting a billing usage summary @@ -117617,9 +117786,9 @@ paths: application/json: schema: type: array - items: *717 + items: *721 examples: - default: *718 + default: *722 headers: Link: *70 x-github: @@ -117649,9 +117818,9 @@ paths: application/json: schema: type: array - items: *719 + items: *723 examples: - default: *750 + default: *754 headers: Link: *70 x-github: @@ -117676,7 +117845,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *74 - - *751 + - *755 - *62 - *17 - *19 @@ -117688,11 +117857,11 @@ paths: schema: anyOf: - type: array - items: *752 + items: *756 - type: array items: *82 examples: - default-response: *722 + default-response: *726 headers: Link: *70 x-github: @@ -117851,7 +118020,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &753 + enterprise: &757 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -117909,7 +118078,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &754 + installation: &758 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -117928,7 +118097,7 @@ x-webhooks: required: - id - node_id - organization: &755 + organization: &759 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -117988,13 +118157,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &756 + repository: &760 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &788 + properties: &792 id: description: Unique identifier of the repository example: 42 @@ -118689,7 +118858,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &789 + required: &793 - archive_url - assignees_url - blobs_url @@ -118840,10 +119009,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -118919,11 +119088,11 @@ x-webhooks: type: string enum: - created - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 - rule: &757 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 + rule: &761 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -119146,11 +119315,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 - rule: *757 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 + rule: *761 sender: *4 required: - action @@ -119333,11 +119502,11 @@ x-webhooks: - everyone required: - from - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 - rule: *757 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 + rule: *761 sender: *4 required: - action @@ -119421,7 +119590,7 @@ x-webhooks: type: string enum: - completed - check_run: &759 + check_run: &763 title: CheckRun description: A check performed on the code of a given code change type: object @@ -119512,7 +119681,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *758 + deployment: *762 details_url: example: https://example.com type: string @@ -119597,10 +119766,10 @@ x-webhooks: - output - app - pull_requests - installation: *754 - enterprise: *753 - organization: *755 - repository: *756 + installation: *758 + enterprise: *757 + organization: *759 + repository: *760 sender: *4 required: - check_run @@ -119991,11 +120160,11 @@ x-webhooks: type: string enum: - created - check_run: *759 - installation: *754 - enterprise: *753 - organization: *755 - repository: *756 + check_run: *763 + installation: *758 + enterprise: *757 + organization: *759 + repository: *760 sender: *4 required: - check_run @@ -120389,11 +120558,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *759 - installation: *754 - enterprise: *753 - organization: *755 - repository: *756 + check_run: *763 + installation: *758 + enterprise: *757 + organization: *759 + repository: *760 requested_action: description: The action requested by the user. type: object @@ -120796,11 +120965,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *759 - installation: *754 - enterprise: *753 - organization: *755 - repository: *756 + check_run: *763 + installation: *758 + enterprise: *757 + organization: *759 + repository: *760 sender: *4 required: - check_run @@ -121770,10 +121939,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -122472,10 +122641,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -123168,10 +123337,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -123482,20 +123651,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &760 + commit_oid: &764 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *753 - installation: *754 - organization: *755 - ref: &761 + enterprise: *757 + installation: *758 + organization: *759 + ref: &765 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *756 + repository: *760 sender: *4 required: - action @@ -123890,12 +124059,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *760 - enterprise: *753 - installation: *754 - organization: *755 - ref: *761 - repository: *756 + commit_oid: *764 + enterprise: *757 + installation: *758 + organization: *759 + ref: *765 + repository: *760 sender: *4 required: - action @@ -124161,12 +124330,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *760 - enterprise: *753 - installation: *754 - organization: *755 - ref: *761 - repository: *756 + commit_oid: *764 + enterprise: *757 + installation: *758 + organization: *759 + ref: *765 + repository: *760 sender: *4 required: - action @@ -124498,12 +124667,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *760 - enterprise: *753 - installation: *754 - organization: *755 - ref: *761 - repository: *756 + commit_oid: *764 + enterprise: *757 + installation: *758 + organization: *759 + ref: *765 + repository: *760 sender: *4 required: - action @@ -124777,16 +124946,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *757 + installation: *758 + organization: *759 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *756 + repository: *760 sender: *4 required: - action @@ -125023,12 +125192,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *760 - enterprise: *753 - installation: *754 - organization: *755 - ref: *761 - repository: *756 + commit_oid: *764 + enterprise: *757 + installation: *758 + organization: *759 + ref: *765 + repository: *760 sender: *4 required: - action @@ -125339,10 +125508,10 @@ x-webhooks: - dismissed_reason - rule - tool - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -125597,10 +125766,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -125680,18 +125849,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *753 - installation: *754 + enterprise: *757 + installation: *758 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *755 - pusher_type: &762 + organization: *759 + pusher_type: &766 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &763 + ref: &767 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -125701,7 +125870,7 @@ x-webhooks: enum: - tag - branch - repository: *756 + repository: *760 sender: *4 required: - ref @@ -125784,9 +125953,9 @@ x-webhooks: enum: - created definition: *305 - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *757 + installation: *758 + organization: *759 sender: *4 required: - action @@ -125871,9 +126040,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *757 + installation: *758 + organization: *759 sender: *4 required: - action @@ -125951,9 +126120,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *305 - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *757 + installation: *758 + organization: *759 sender: *4 required: - action @@ -126031,9 +126200,9 @@ x-webhooks: enum: - updated definition: *305 - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *757 + installation: *758 + organization: *759 sender: *4 required: - action @@ -126110,10 +126279,10 @@ x-webhooks: type: string enum: - updated - enterprise: *753 - installation: *754 - repository: *756 - organization: *755 + enterprise: *757 + installation: *758 + repository: *760 + organization: *759 sender: *4 new_property_values: type: array @@ -126198,18 +126367,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *753 - installation: *754 - organization: *755 - pusher_type: *762 - ref: *763 + enterprise: *757 + installation: *758 + organization: *759 + pusher_type: *766 + ref: *767 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *756 + repository: *760 sender: *4 required: - ref @@ -126290,10 +126459,10 @@ x-webhooks: enum: - assignees_changed alert: *510 - installation: *754 - organization: *755 - enterprise: *753 - repository: *756 + installation: *758 + organization: *759 + enterprise: *757 + repository: *760 sender: *4 required: - action @@ -126374,10 +126543,10 @@ x-webhooks: enum: - auto_dismissed alert: *510 - installation: *754 - organization: *755 - enterprise: *753 - repository: *756 + installation: *758 + organization: *759 + enterprise: *757 + repository: *760 sender: *4 required: - action @@ -126459,10 +126628,10 @@ x-webhooks: enum: - auto_reopened alert: *510 - installation: *754 - organization: *755 - enterprise: *753 - repository: *756 + installation: *758 + organization: *759 + enterprise: *757 + repository: *760 sender: *4 required: - action @@ -126544,10 +126713,10 @@ x-webhooks: enum: - created alert: *510 - installation: *754 - organization: *755 - enterprise: *753 - repository: *756 + installation: *758 + organization: *759 + enterprise: *757 + repository: *760 sender: *4 required: - action @@ -126627,10 +126796,10 @@ x-webhooks: enum: - dismissed alert: *510 - installation: *754 - organization: *755 - enterprise: *753 - repository: *756 + installation: *758 + organization: *759 + enterprise: *757 + repository: *760 sender: *4 required: - action @@ -126710,10 +126879,10 @@ x-webhooks: enum: - fixed alert: *510 - installation: *754 - organization: *755 - enterprise: *753 - repository: *756 + installation: *758 + organization: *759 + enterprise: *757 + repository: *760 sender: *4 required: - action @@ -126794,10 +126963,10 @@ x-webhooks: enum: - reintroduced alert: *510 - installation: *754 - organization: *755 - enterprise: *753 - repository: *756 + installation: *758 + organization: *759 + enterprise: *757 + repository: *760 sender: *4 required: - action @@ -126877,10 +127046,10 @@ x-webhooks: enum: - reopened alert: *510 - installation: *754 - organization: *755 - enterprise: *753 - repository: *756 + installation: *758 + organization: *759 + enterprise: *757 + repository: *760 sender: *4 required: - action @@ -126957,9 +127126,9 @@ x-webhooks: type: string enum: - created - enterprise: *753 - installation: *754 - key: &764 + enterprise: *757 + installation: *758 + key: &768 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -126995,8 +127164,8 @@ x-webhooks: - verified - created_at - read_only - organization: *755 - repository: *756 + organization: *759 + repository: *760 sender: *4 required: - action @@ -127073,11 +127242,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 - installation: *754 - key: *764 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + key: *768 + organization: *759 + repository: *760 sender: *4 required: - action @@ -127633,12 +127802,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 - workflow: &770 + workflow: &774 title: Workflow type: object nullable: true @@ -128379,15 +128548,15 @@ x-webhooks: description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: *765 - required: *766 + properties: *769 + required: *770 nullable: true pull_requests: type: array - items: *607 - repository: *756 - organization: *755 - installation: *754 + items: *611 + repository: *760 + organization: *759 + installation: *758 sender: *4 responses: '200': @@ -128458,7 +128627,7 @@ x-webhooks: type: string enum: - approved - approver: &767 + approver: &771 type: object properties: avatar_url: @@ -128501,11 +128670,11 @@ x-webhooks: type: string comment: type: string - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 - reviewers: &768 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 + reviewers: &772 type: array items: type: object @@ -128584,7 +128753,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &769 + workflow_job_run: &773 type: object properties: conclusion: @@ -129315,18 +129484,18 @@ x-webhooks: type: string enum: - rejected - approver: *767 + approver: *771 comment: type: string - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 - reviewers: *768 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 + reviewers: *772 sender: *4 since: type: string - workflow_job_run: *769 + workflow_job_run: *773 workflow_job_runs: type: array items: @@ -130030,13 +130199,13 @@ x-webhooks: type: string enum: - requested - enterprise: *753 + enterprise: *757 environment: type: string - installation: *754 - organization: *755 - repository: *756 - requestor: &775 + installation: *758 + organization: *759 + repository: *760 + requestor: &779 title: User type: object nullable: true @@ -131925,12 +132094,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 - workflow: *770 + workflow: *774 workflow_run: title: Deployment Workflow Run type: object @@ -132610,7 +132779,7 @@ x-webhooks: type: string enum: - answered - answer: &773 + answer: &777 type: object properties: author_association: @@ -132767,11 +132936,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *771 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + discussion: *775 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -132898,11 +133067,11 @@ x-webhooks: - from required: - category - discussion: *771 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + discussion: *775 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -132985,11 +133154,11 @@ x-webhooks: type: string enum: - closed - discussion: *771 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + discussion: *775 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -133071,7 +133240,7 @@ x-webhooks: type: string enum: - created - comment: &772 + comment: &776 type: object properties: author_association: @@ -133228,11 +133397,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *771 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + discussion: *775 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -133315,12 +133484,12 @@ x-webhooks: type: string enum: - deleted - comment: *772 - discussion: *771 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + comment: *776 + discussion: *775 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -133415,12 +133584,12 @@ x-webhooks: - from required: - body - comment: *772 - discussion: *771 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + comment: *776 + discussion: *775 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -133504,11 +133673,11 @@ x-webhooks: type: string enum: - created - discussion: *771 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + discussion: *775 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -133590,11 +133759,11 @@ x-webhooks: type: string enum: - deleted - discussion: *771 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + discussion: *775 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -133694,11 +133863,11 @@ x-webhooks: type: string required: - from - discussion: *771 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + discussion: *775 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -133780,10 +133949,10 @@ x-webhooks: type: string enum: - labeled - discussion: *771 - enterprise: *753 - installation: *754 - label: &774 + discussion: *775 + enterprise: *757 + installation: *758 + label: &778 title: Label type: object properties: @@ -133815,8 +133984,8 @@ x-webhooks: - color - default - description - organization: *755 - repository: *756 + organization: *759 + repository: *760 sender: *4 required: - action @@ -133899,11 +134068,11 @@ x-webhooks: type: string enum: - locked - discussion: *771 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + discussion: *775 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -133985,11 +134154,11 @@ x-webhooks: type: string enum: - pinned - discussion: *771 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + discussion: *775 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -134071,11 +134240,11 @@ x-webhooks: type: string enum: - reopened - discussion: *771 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + discussion: *775 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -134160,16 +134329,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *771 - new_repository: *756 + new_discussion: *775 + new_repository: *760 required: - new_discussion - new_repository - discussion: *771 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + discussion: *775 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -134252,10 +134421,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *771 - old_answer: *773 - organization: *755 - repository: *756 + discussion: *775 + old_answer: *777 + organization: *759 + repository: *760 sender: *4 required: - action @@ -134337,12 +134506,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *771 - enterprise: *753 - installation: *754 - label: *774 - organization: *755 - repository: *756 + discussion: *775 + enterprise: *757 + installation: *758 + label: *778 + organization: *759 + repository: *760 sender: *4 required: - action @@ -134425,11 +134594,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *771 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + discussion: *775 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -134511,11 +134680,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *771 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + discussion: *775 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -134588,7 +134757,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *753 + enterprise: *757 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -135248,9 +135417,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *754 - organization: *755 - repository: *756 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - forkee @@ -135396,9 +135565,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *757 + installation: *758 + organization: *759 pages: description: The pages that were updated. type: array @@ -135435,7 +135604,7 @@ x-webhooks: - action - sha - html_url - repository: *756 + repository: *760 sender: *4 required: - pages @@ -135511,10 +135680,10 @@ x-webhooks: type: string enum: - created - enterprise: *753 + enterprise: *757 installation: *22 - organization: *755 - repositories: &776 + organization: *759 + repositories: &780 description: An array of repository objects that the installation can access. type: array @@ -135540,8 +135709,8 @@ x-webhooks: - name - full_name - private - repository: *756 - requester: *775 + repository: *760 + requester: *779 sender: *4 required: - action @@ -135616,11 +135785,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 + enterprise: *757 installation: *22 - organization: *755 - repositories: *776 - repository: *756 + organization: *759 + repositories: *780 + repository: *760 requester: nullable: true sender: *4 @@ -135696,11 +135865,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *753 + enterprise: *757 installation: *22 - organization: *755 - repositories: *776 - repository: *756 + organization: *759 + repositories: *780 + repository: *760 requester: nullable: true sender: *4 @@ -135776,10 +135945,10 @@ x-webhooks: type: string enum: - added - enterprise: *753 + enterprise: *757 installation: *22 - organization: *755 - repositories_added: &777 + organization: *759 + repositories_added: &781 description: An array of repository objects, which were added to the installation. type: array @@ -135825,15 +135994,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *756 - repository_selection: &778 + repository: *760 + repository_selection: &782 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *775 + requester: *779 sender: *4 required: - action @@ -135912,10 +136081,10 @@ x-webhooks: type: string enum: - removed - enterprise: *753 + enterprise: *757 installation: *22 - organization: *755 - repositories_added: *777 + organization: *759 + repositories_added: *781 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -135942,9 +136111,9 @@ x-webhooks: - name - full_name - private - repository: *756 - repository_selection: *778 - requester: *775 + repository: *760 + repository_selection: *782 + requester: *779 sender: *4 required: - action @@ -136023,11 +136192,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *753 + enterprise: *757 installation: *22 - organization: *755 - repositories: *776 - repository: *756 + organization: *759 + repositories: *780 + repository: *760 requester: nullable: true sender: *4 @@ -136205,10 +136374,10 @@ x-webhooks: type: string required: - from - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 target_type: type: string @@ -136287,11 +136456,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *753 + enterprise: *757 installation: *22 - organization: *755 - repositories: *776 - repository: *756 + organization: *759 + repositories: *780 + repository: *760 requester: nullable: true sender: *4 @@ -136465,8 +136634,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *584 - required: *585 + properties: *585 + required: *586 nullable: true user: title: User @@ -136551,8 +136720,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *753 - installation: *754 + enterprise: *757 + installation: *758 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -137341,8 +137510,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *689 - issue_dependencies_summary: *690 + sub_issues_summary: *693 + issue_dependencies_summary: *694 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137691,8 +137860,8 @@ x-webhooks: - state - locked - assignee - organization: *755 - repository: *756 + organization: *759 + repository: *760 sender: *4 required: - action @@ -137772,7 +137941,7 @@ x-webhooks: type: string enum: - deleted - comment: &779 + comment: &783 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -137929,8 +138098,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *584 - required: *585 + properties: *585 + required: *586 nullable: true required: - url @@ -137945,8 +138114,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *753 - installation: *754 + enterprise: *757 + installation: *758 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -138731,8 +138900,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *689 - issue_dependencies_summary: *690 + sub_issues_summary: *693 + issue_dependencies_summary: *694 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139083,8 +139252,8 @@ x-webhooks: - state - locked - assignee - organization: *755 - repository: *756 + organization: *759 + repository: *760 sender: *4 required: - action @@ -139164,7 +139333,7 @@ x-webhooks: type: string enum: - edited - changes: &808 + changes: &812 description: The changes to the comment. type: object properties: @@ -139176,9 +139345,9 @@ x-webhooks: type: string required: - from - comment: *779 - enterprise: *753 - installation: *754 + comment: *783 + enterprise: *757 + installation: *758 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -139966,8 +140135,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *689 - issue_dependencies_summary: *690 + sub_issues_summary: *693 + issue_dependencies_summary: *694 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140316,8 +140485,8 @@ x-webhooks: - state - locked - assignee - organization: *755 - repository: *756 + organization: *759 + repository: *760 sender: *4 required: - action @@ -140398,9 +140567,9 @@ x-webhooks: type: string enum: - pinned - comment: *779 - enterprise: *753 - installation: *754 + comment: *783 + enterprise: *757 + installation: *758 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -141190,8 +141359,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *689 - issue_dependencies_summary: *690 + sub_issues_summary: *693 + issue_dependencies_summary: *694 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141542,8 +141711,8 @@ x-webhooks: - state - locked - assignee - organization: *755 - repository: *756 + organization: *759 + repository: *760 sender: *4 required: - action @@ -141623,9 +141792,9 @@ x-webhooks: type: string enum: - unpinned - comment: *779 - enterprise: *753 - installation: *754 + comment: *783 + enterprise: *757 + installation: *758 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -142415,8 +142584,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *689 - issue_dependencies_summary: *690 + sub_issues_summary: *693 + issue_dependencies_summary: *694 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142767,8 +142936,8 @@ x-webhooks: - state - locked - assignee - organization: *755 - repository: *756 + organization: *759 + repository: *760 sender: *4 required: - action @@ -142857,9 +143026,9 @@ x-webhooks: type: number blocking_issue: *88 blocking_issue_repo: *82 - installation: *754 - organization: *755 - repository: *756 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -142948,9 +143117,9 @@ x-webhooks: type: number blocking_issue: *88 blocking_issue_repo: *82 - installation: *754 - organization: *755 - repository: *756 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -143038,9 +143207,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *88 - installation: *754 - organization: *755 - repository: *756 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -143129,9 +143298,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *88 - installation: *754 - organization: *755 - repository: *756 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -143211,10 +143380,10 @@ x-webhooks: type: string enum: - assigned - assignee: *775 - enterprise: *753 - installation: *754 - issue: &780 + assignee: *779 + enterprise: *757 + installation: *758 + issue: &784 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -144006,11 +144175,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *689 - issue_dependencies_summary: *690 + sub_issues_summary: *693 + issue_dependencies_summary: *694 issue_field_values: type: array - items: *568 + items: *569 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144127,8 +144296,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *755 - repository: *756 + organization: *759 + repository: *760 sender: *4 required: - action @@ -144208,8 +144377,8 @@ x-webhooks: type: string enum: - closed - enterprise: *753 - installation: *754 + enterprise: *757 + installation: *758 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -145006,11 +145175,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *689 - issue_dependencies_summary: *690 + sub_issues_summary: *693 + issue_dependencies_summary: *694 issue_field_values: type: array - items: *568 + items: *569 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145262,8 +145431,8 @@ x-webhooks: required: - state - closed_at - organization: *755 - repository: *756 + organization: *759 + repository: *760 sender: *4 required: - action @@ -145342,8 +145511,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 - installation: *754 + enterprise: *757 + installation: *758 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -146131,11 +146300,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *689 - issue_dependencies_summary: *690 + sub_issues_summary: *693 + issue_dependencies_summary: *694 issue_field_values: type: array - items: *568 + items: *569 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146251,8 +146420,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *755 - repository: *756 + organization: *759 + repository: *760 sender: *4 required: - action @@ -146331,8 +146500,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *753 - installation: *754 + enterprise: *757 + installation: *758 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -147142,11 +147311,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *689 - issue_dependencies_summary: *690 + sub_issues_summary: *693 + issue_dependencies_summary: *694 issue_field_values: type: array - items: *568 + items: *569 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147241,7 +147410,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &781 + milestone: &785 title: Milestone description: A collection of related issues and pull requests. type: object @@ -147379,8 +147548,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *755 - repository: *756 + organization: *759 + repository: *760 sender: *4 required: - action @@ -147479,8 +147648,8 @@ x-webhooks: type: string required: - from - enterprise: *753 - installation: *754 + enterprise: *757 + installation: *758 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -148272,11 +148441,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *689 - issue_dependencies_summary: *690 + sub_issues_summary: *693 + issue_dependencies_summary: *694 issue_field_values: type: array - items: *568 + items: *569 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148393,9 +148562,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *774 - organization: *755 - repository: *756 + label: *778 + organization: *759 + repository: *760 sender: *4 required: - action @@ -148475,9 +148644,9 @@ x-webhooks: type: string enum: - field_added - enterprise: *753 - installation: *754 - issue: *780 + enterprise: *757 + installation: *758 + issue: *784 issue_field: type: object description: The issue field whose value was set or updated on the @@ -148631,8 +148800,8 @@ x-webhooks: - id required: - from - organization: *755 - repository: *756 + organization: *759 + repository: *760 sender: *4 required: - action @@ -148712,9 +148881,9 @@ x-webhooks: type: string enum: - field_removed - enterprise: *753 - installation: *754 - issue: *780 + enterprise: *757 + installation: *758 + issue: *784 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -148795,8 +148964,8 @@ x-webhooks: nullable: true required: - id - organization: *755 - repository: *756 + organization: *759 + repository: *760 sender: *4 required: - action @@ -148876,8 +149045,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *753 - installation: *754 + enterprise: *757 + installation: *758 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -149668,11 +149837,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *689 - issue_dependencies_summary: *690 + sub_issues_summary: *693 + issue_dependencies_summary: *694 issue_field_values: type: array - items: *568 + items: *569 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149789,9 +149958,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *774 - organization: *755 - repository: *756 + label: *778 + organization: *759 + repository: *760 sender: *4 required: - action @@ -149871,8 +150040,8 @@ x-webhooks: type: string enum: - locked - enterprise: *753 - installation: *754 + enterprise: *757 + installation: *758 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -150687,11 +150856,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *689 - issue_dependencies_summary: *690 + sub_issues_summary: *693 + issue_dependencies_summary: *694 issue_field_values: type: array - items: *568 + items: *569 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150785,8 +150954,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *755 - repository: *756 + organization: *759 + repository: *760 sender: *4 required: - action @@ -150865,8 +151034,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *753 - installation: *754 + enterprise: *757 + installation: *758 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -151675,11 +151844,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *689 - issue_dependencies_summary: *690 + sub_issues_summary: *693 + issue_dependencies_summary: *694 issue_field_values: type: array - items: *568 + items: *569 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151773,9 +151942,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *781 - organization: *755 - repository: *756 + milestone: *785 + organization: *759 + repository: *760 sender: *4 required: - action @@ -152638,11 +152807,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *689 - issue_dependencies_summary: *690 + sub_issues_summary: *693 + issue_dependencies_summary: *694 issue_field_values: type: array - items: *568 + items: *569 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153223,8 +153392,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *753 - installation: *754 + enterprise: *757 + installation: *758 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -154008,11 +154177,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *689 - issue_dependencies_summary: *690 + sub_issues_summary: *693 + issue_dependencies_summary: *694 issue_field_values: type: array - items: *568 + items: *569 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154136,8 +154305,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *755 - repository: *756 + organization: *759 + repository: *760 sender: *4 required: - action @@ -154217,9 +154386,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *753 - installation: *754 - issue: &782 + enterprise: *757 + installation: *758 + issue: &786 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -155005,11 +155174,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *689 - issue_dependencies_summary: *690 + sub_issues_summary: *693 + issue_dependencies_summary: *694 issue_field_values: type: array - items: *568 + items: *569 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155125,8 +155294,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *755 - repository: *756 + organization: *759 + repository: *760 sender: *4 required: - action @@ -155205,8 +155374,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *753 - installation: *754 + enterprise: *757 + installation: *758 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -156019,11 +156188,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *689 - issue_dependencies_summary: *690 + sub_issues_summary: *693 + issue_dependencies_summary: *694 issue_field_values: type: array - items: *568 + items: *569 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156118,8 +156287,8 @@ x-webhooks: user_view_type: type: string type: *257 - organization: *755 - repository: *756 + organization: *759 + repository: *760 sender: *4 required: - action @@ -156988,11 +157157,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *689 - issue_dependencies_summary: *690 + sub_issues_summary: *693 + issue_dependencies_summary: *694 issue_field_values: type: array - items: *568 + items: *569 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157587,11 +157756,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *753 - installation: *754 - issue: *782 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + issue: *786 + organization: *759 + repository: *760 sender: *4 required: - action @@ -157671,12 +157840,12 @@ x-webhooks: type: string enum: - typed - enterprise: *753 - installation: *754 - issue: *780 + enterprise: *757 + installation: *758 + issue: *784 type: *257 - organization: *755 - repository: *756 + organization: *759 + repository: *760 sender: *4 required: - action @@ -157757,7 +157926,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &811 + assignee: &815 title: User type: object nullable: true @@ -157827,11 +157996,11 @@ x-webhooks: required: - login - id - enterprise: *753 - installation: *754 - issue: *780 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + issue: *784 + organization: *759 + repository: *760 sender: *4 required: - action @@ -157910,12 +158079,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *753 - installation: *754 - issue: *780 - label: *774 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + issue: *784 + label: *778 + organization: *759 + repository: *760 sender: *4 required: - action @@ -157995,8 +158164,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *753 - installation: *754 + enterprise: *757 + installation: *758 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -158809,11 +158978,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *689 - issue_dependencies_summary: *690 + sub_issues_summary: *693 + issue_dependencies_summary: *694 issue_field_values: type: array - items: *568 + items: *569 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158907,8 +159076,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *755 - repository: *756 + organization: *759 + repository: *760 sender: *4 required: - action @@ -158988,11 +159157,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *753 - installation: *754 - issue: *782 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + issue: *786 + organization: *759 + repository: *760 sender: *4 required: - action @@ -159071,12 +159240,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *753 - installation: *754 - issue: *780 + enterprise: *757 + installation: *758 + issue: *784 type: *257 - organization: *755 - repository: *756 + organization: *759 + repository: *760 sender: *4 required: - action @@ -159156,11 +159325,11 @@ x-webhooks: type: string enum: - created - enterprise: *753 - installation: *754 - label: *774 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + label: *778 + organization: *759 + repository: *760 sender: *4 required: - action @@ -159238,11 +159407,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 - installation: *754 - label: *774 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + label: *778 + organization: *759 + repository: *760 sender: *4 required: - action @@ -159352,11 +159521,11 @@ x-webhooks: type: string required: - from - enterprise: *753 - installation: *754 - label: *774 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + label: *778 + organization: *759 + repository: *760 sender: *4 required: - action @@ -159438,9 +159607,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *753 - installation: *754 - marketplace_purchase: &783 + enterprise: *757 + installation: *758 + marketplace_purchase: &787 title: Marketplace Purchase type: object required: @@ -159523,8 +159692,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *755 - previous_marketplace_purchase: &784 + organization: *759 + previous_marketplace_purchase: &788 title: Marketplace Purchase type: object properties: @@ -159604,7 +159773,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *756 + repository: *760 sender: *4 required: - action @@ -159684,10 +159853,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *753 - installation: *754 - marketplace_purchase: *783 - organization: *755 + enterprise: *757 + installation: *758 + marketplace_purchase: *787 + organization: *759 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -159770,7 +159939,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *756 + repository: *760 sender: *4 required: - action @@ -159852,10 +160021,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *753 - installation: *754 - marketplace_purchase: *783 - organization: *755 + enterprise: *757 + installation: *758 + marketplace_purchase: *787 + organization: *759 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -159937,7 +160106,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *756 + repository: *760 sender: *4 required: - action @@ -160018,8 +160187,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *753 - installation: *754 + enterprise: *757 + installation: *758 marketplace_purchase: title: Marketplace Purchase type: object @@ -160101,9 +160270,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *755 - previous_marketplace_purchase: *784 - repository: *756 + organization: *759 + previous_marketplace_purchase: *788 + repository: *760 sender: *4 required: - action @@ -160183,12 +160352,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *753 - installation: *754 - marketplace_purchase: *783 - organization: *755 - previous_marketplace_purchase: *784 - repository: *756 + enterprise: *757 + installation: *758 + marketplace_purchase: *787 + organization: *759 + previous_marketplace_purchase: *788 + repository: *760 sender: *4 required: - action @@ -160290,11 +160459,11 @@ x-webhooks: type: string required: - to - enterprise: *753 - installation: *754 - member: *775 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + member: *779 + organization: *759 + repository: *760 sender: *4 required: - action @@ -160394,11 +160563,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *753 - installation: *754 - member: *775 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + member: *779 + organization: *759 + repository: *760 sender: *4 required: - action @@ -160477,11 +160646,11 @@ x-webhooks: type: string enum: - removed - enterprise: *753 - installation: *754 - member: *775 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + member: *779 + organization: *759 + repository: *760 sender: *4 required: - action @@ -160559,11 +160728,11 @@ x-webhooks: type: string enum: - added - enterprise: *753 - installation: *754 - member: *775 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + member: *779 + organization: *759 + repository: *760 scope: description: The scope of the membership. Currently, can only be `team`. @@ -160639,7 +160808,7 @@ x-webhooks: required: - login - id - team: &785 + team: &789 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -160862,11 +161031,11 @@ x-webhooks: type: string enum: - removed - enterprise: *753 - installation: *754 - member: *775 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + member: *779 + organization: *759 + repository: *760 scope: description: The scope of the membership. Currently, can only be `team`. @@ -160943,7 +161112,7 @@ x-webhooks: required: - login - id - team: *785 + team: *789 required: - action - scope @@ -161025,8 +161194,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *754 - merge_group: &787 + installation: *758 + merge_group: &791 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -161045,15 +161214,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *786 + head_commit: *790 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *755 - repository: *756 + organization: *759 + repository: *760 sender: *4 required: - action @@ -161139,10 +161308,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *754 - merge_group: *787 - organization: *755 - repository: *756 + installation: *758 + merge_group: *791 + organization: *759 + repository: *760 sender: *4 required: - action @@ -161215,7 +161384,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 + enterprise: *757 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -161324,16 +161493,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *754 - organization: *755 + installation: *758 + organization: *759 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *788 - required: *789 + properties: *792 + required: *793 nullable: true sender: *4 required: @@ -161414,11 +161583,11 @@ x-webhooks: type: string enum: - closed - enterprise: *753 - installation: *754 - milestone: *781 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + milestone: *785 + organization: *759 + repository: *760 sender: *4 required: - action @@ -161497,9 +161666,9 @@ x-webhooks: type: string enum: - created - enterprise: *753 - installation: *754 - milestone: &790 + enterprise: *757 + installation: *758 + milestone: &794 title: Milestone description: A collection of related issues and pull requests. type: object @@ -161636,8 +161805,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *755 - repository: *756 + organization: *759 + repository: *760 sender: *4 required: - action @@ -161716,11 +161885,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 - installation: *754 - milestone: *781 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + milestone: *785 + organization: *759 + repository: *760 sender: *4 required: - action @@ -161830,11 +161999,11 @@ x-webhooks: type: string required: - from - enterprise: *753 - installation: *754 - milestone: *781 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + milestone: *785 + organization: *759 + repository: *760 sender: *4 required: - action @@ -161914,11 +162083,11 @@ x-webhooks: type: string enum: - opened - enterprise: *753 - installation: *754 - milestone: *790 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + milestone: *794 + organization: *759 + repository: *760 sender: *4 required: - action @@ -161997,11 +162166,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *775 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + blocked_user: *779 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -162080,11 +162249,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *775 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + blocked_user: *779 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -162163,9 +162332,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 - installation: *754 - membership: &791 + enterprise: *757 + installation: *758 + membership: &795 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -162272,8 +162441,8 @@ x-webhooks: - role - organization_url - user - organization: *755 - repository: *756 + organization: *759 + repository: *760 sender: *4 required: - action @@ -162351,11 +162520,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *753 - installation: *754 - membership: *791 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + membership: *795 + organization: *759 + repository: *760 sender: *4 required: - action @@ -162434,8 +162603,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *753 - installation: *754 + enterprise: *757 + installation: *758 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -162551,10 +162720,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *755 - repository: *756 + organization: *759 + repository: *760 sender: *4 - user: *775 + user: *779 required: - action - invitation @@ -162632,11 +162801,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *753 - installation: *754 - membership: *791 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + membership: *795 + organization: *759 + repository: *760 sender: *4 required: - action @@ -162723,11 +162892,11 @@ x-webhooks: properties: from: type: string - enterprise: *753 - installation: *754 - membership: *791 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + membership: *795 + organization: *759 + repository: *760 sender: *4 required: - action @@ -162804,9 +162973,9 @@ x-webhooks: type: string enum: - published - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *757 + installation: *758 + organization: *759 package: description: Information about the package. type: object @@ -163305,7 +163474,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &792 + items: &796 title: Ruby Gems metadata type: object properties: @@ -163400,7 +163569,7 @@ x-webhooks: - owner - package_version - registry - repository: *756 + repository: *760 sender: *4 required: - action @@ -163476,9 +163645,9 @@ x-webhooks: type: string enum: - updated - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *757 + installation: *758 + organization: *759 package: description: Information about the package. type: object @@ -163831,7 +164000,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *792 + items: *796 source_url: type: string format: uri @@ -163901,7 +164070,7 @@ x-webhooks: - owner - package_version - registry - repository: *756 + repository: *760 sender: *4 required: - action @@ -164077,12 +164246,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *753 + enterprise: *757 id: type: integer - installation: *754 - organization: *755 - repository: *756 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - id @@ -164159,7 +164328,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &793 + personal_access_token_request: &797 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -164305,10 +164474,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *753 - organization: *755 + enterprise: *757 + organization: *759 sender: *4 - installation: *754 + installation: *758 required: - action - personal_access_token_request @@ -164385,11 +164554,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *793 - enterprise: *753 - organization: *755 + personal_access_token_request: *797 + enterprise: *757 + organization: *759 sender: *4 - installation: *754 + installation: *758 required: - action - personal_access_token_request @@ -164465,11 +164634,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *793 - enterprise: *753 - organization: *755 + personal_access_token_request: *797 + enterprise: *757 + organization: *759 sender: *4 - installation: *754 + installation: *758 required: - action - personal_access_token_request @@ -164544,11 +164713,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *793 - organization: *755 - enterprise: *753 + personal_access_token_request: *797 + organization: *759 + enterprise: *757 sender: *4 - installation: *754 + installation: *758 required: - action - personal_access_token_request @@ -164653,7 +164822,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *794 + last_response: *798 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -164685,8 +164854,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *755 - repository: *756 + organization: *759 + repository: *760 sender: *4 zen: description: Random string of GitHub zen. @@ -164931,10 +165100,10 @@ x-webhooks: - from required: - note - enterprise: *753 - installation: *754 - organization: *755 - project_card: &795 + enterprise: *757 + installation: *758 + organization: *759 + project_card: &799 title: Project Card type: object properties: @@ -165053,7 +165222,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *756 + repository: *760 sender: *4 required: - action @@ -165134,11 +165303,11 @@ x-webhooks: type: string enum: - created - enterprise: *753 - installation: *754 - organization: *755 - project_card: *795 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + project_card: *799 + repository: *760 sender: *4 required: - action @@ -165218,9 +165387,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *757 + installation: *758 + organization: *759 project_card: title: Project Card type: object @@ -165348,8 +165517,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *788 - required: *789 + properties: *792 + required: *793 nullable: true sender: *4 required: @@ -165443,11 +165612,11 @@ x-webhooks: - from required: - note - enterprise: *753 - installation: *754 - organization: *755 - project_card: *795 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + project_card: *799 + repository: *760 sender: *4 required: - action @@ -165541,9 +165710,9 @@ x-webhooks: - from required: - column_id - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *757 + installation: *758 + organization: *759 project_card: allOf: - title: Project Card @@ -165733,7 +165902,7 @@ x-webhooks: type: string required: - after_id - repository: *756 + repository: *760 sender: *4 required: - action @@ -165813,10 +165982,10 @@ x-webhooks: type: string enum: - closed - enterprise: *753 - installation: *754 - organization: *755 - project: &797 + enterprise: *757 + installation: *758 + organization: *759 + project: &801 title: Project type: object properties: @@ -165940,7 +166109,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *756 + repository: *760 sender: *4 required: - action @@ -166020,10 +166189,10 @@ x-webhooks: type: string enum: - created - enterprise: *753 - installation: *754 - organization: *755 - project_column: &796 + enterprise: *757 + installation: *758 + organization: *759 + project_column: &800 title: Project Column type: object properties: @@ -166062,7 +166231,7 @@ x-webhooks: - name - created_at - updated_at - repository: *756 + repository: *760 sender: *4 required: - action @@ -166141,18 +166310,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 - installation: *754 - organization: *755 - project_column: *796 + enterprise: *757 + installation: *758 + organization: *759 + project_column: *800 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *788 - required: *789 + properties: *792 + required: *793 nullable: true sender: *4 required: @@ -166242,11 +166411,11 @@ x-webhooks: type: string required: - from - enterprise: *753 - installation: *754 - organization: *755 - project_column: *796 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + project_column: *800 + repository: *760 sender: *4 required: - action @@ -166326,11 +166495,11 @@ x-webhooks: type: string enum: - moved - enterprise: *753 - installation: *754 - organization: *755 - project_column: *796 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + project_column: *800 + repository: *760 sender: *4 required: - action @@ -166410,11 +166579,11 @@ x-webhooks: type: string enum: - created - enterprise: *753 - installation: *754 - organization: *755 - project: *797 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + project: *801 + repository: *760 sender: *4 required: - action @@ -166494,18 +166663,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 - installation: *754 - organization: *755 - project: *797 + enterprise: *757 + installation: *758 + organization: *759 + project: *801 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *788 - required: *789 + properties: *792 + required: *793 nullable: true sender: *4 required: @@ -166607,11 +166776,11 @@ x-webhooks: type: string required: - from - enterprise: *753 - installation: *754 - organization: *755 - project: *797 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + project: *801 + repository: *760 sender: *4 required: - action @@ -166690,11 +166859,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *753 - installation: *754 - organization: *755 - project: *797 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + project: *801 + repository: *760 sender: *4 required: - action @@ -166775,8 +166944,8 @@ x-webhooks: type: string enum: - closed - installation: *754 - organization: *755 + installation: *758 + organization: *759 projects_v2: *291 sender: *4 required: @@ -166858,8 +167027,8 @@ x-webhooks: type: string enum: - created - installation: *754 - organization: *755 + installation: *758 + organization: *759 projects_v2: *291 sender: *4 required: @@ -166941,8 +167110,8 @@ x-webhooks: type: string enum: - deleted - installation: *754 - organization: *755 + installation: *758 + organization: *759 projects_v2: *291 sender: *4 required: @@ -167060,8 +167229,8 @@ x-webhooks: type: string to: type: string - installation: *754 - organization: *755 + installation: *758 + organization: *759 projects_v2: *291 sender: *4 required: @@ -167145,7 +167314,7 @@ x-webhooks: type: string enum: - archived - changes: &801 + changes: &805 type: object properties: archived_at: @@ -167159,9 +167328,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *754 - organization: *755 - projects_v2_item: &798 + installation: *758 + organization: *759 + projects_v2_item: &802 title: Projects v2 Item description: An item belonging to a project type: object @@ -167296,9 +167465,9 @@ x-webhooks: nullable: true to: type: string - installation: *754 - organization: *755 - projects_v2_item: *798 + installation: *758 + organization: *759 + projects_v2_item: *802 sender: *4 required: - action @@ -167380,9 +167549,9 @@ x-webhooks: type: string enum: - created - installation: *754 - organization: *755 - projects_v2_item: *798 + installation: *758 + organization: *759 + projects_v2_item: *802 sender: *4 required: - action @@ -167463,9 +167632,9 @@ x-webhooks: type: string enum: - deleted - installation: *754 - organization: *755 - projects_v2_item: *798 + installation: *758 + organization: *759 + projects_v2_item: *802 sender: *4 required: - action @@ -167571,7 +167740,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &799 + - &803 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -167593,7 +167762,7 @@ x-webhooks: required: - id - name - - &800 + - &804 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -167627,8 +167796,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *799 - - *800 + - *803 + - *804 required: - field_value - type: object @@ -167644,9 +167813,9 @@ x-webhooks: nullable: true required: - body - installation: *754 - organization: *755 - projects_v2_item: *798 + installation: *758 + organization: *759 + projects_v2_item: *802 sender: *4 required: - action @@ -167741,9 +167910,9 @@ x-webhooks: to: type: string nullable: true - installation: *754 - organization: *755 - projects_v2_item: *798 + installation: *758 + organization: *759 + projects_v2_item: *802 sender: *4 required: - action @@ -167826,10 +167995,10 @@ x-webhooks: type: string enum: - restored - changes: *801 - installation: *754 - organization: *755 - projects_v2_item: *798 + changes: *805 + installation: *758 + organization: *759 + projects_v2_item: *802 sender: *4 required: - action @@ -167911,8 +168080,8 @@ x-webhooks: type: string enum: - reopened - installation: *754 - organization: *755 + installation: *758 + organization: *759 projects_v2: *291 sender: *4 required: @@ -167994,14 +168163,14 @@ x-webhooks: type: string enum: - created - installation: *754 - organization: *755 - projects_v2_status_update: &804 + installation: *758 + organization: *759 + projects_v2_status_update: &808 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *802 - required: *803 + properties: *806 + required: *807 sender: *4 required: - action @@ -168082,9 +168251,9 @@ x-webhooks: type: string enum: - deleted - installation: *754 - organization: *755 - projects_v2_status_update: *804 + installation: *758 + organization: *759 + projects_v2_status_update: *808 sender: *4 required: - action @@ -168220,9 +168389,9 @@ x-webhooks: type: string format: date nullable: true - installation: *754 - organization: *755 - projects_v2_status_update: *804 + installation: *758 + organization: *759 + projects_v2_status_update: *808 sender: *4 required: - action @@ -168293,10 +168462,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - repository @@ -168373,13 +168542,13 @@ x-webhooks: type: string enum: - assigned - assignee: *775 - enterprise: *753 - installation: *754 - number: &805 + assignee: *779 + enterprise: *757 + installation: *758 + number: &809 description: The pull request number. type: integer - organization: *755 + organization: *759 pull_request: title: Pull Request type: object @@ -170684,7 +170853,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *756 + repository: *760 sender: *4 required: - action @@ -170766,11 +170935,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *753 - installation: *754 + enterprise: *757 + installation: *758 number: type: integer - organization: *755 + organization: *759 pull_request: title: Pull Request type: object @@ -173070,7 +173239,7 @@ x-webhooks: - draft reason: type: string - repository: *756 + repository: *760 sender: *4 required: - action @@ -173152,11 +173321,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *753 - installation: *754 + enterprise: *757 + installation: *758 number: type: integer - organization: *755 + organization: *759 pull_request: title: Pull Request type: object @@ -175456,7 +175625,7 @@ x-webhooks: - draft reason: type: string - repository: *756 + repository: *760 sender: *4 required: - action @@ -175538,13 +175707,13 @@ x-webhooks: type: string enum: - closed - enterprise: *753 - installation: *754 - number: *805 - organization: *755 - pull_request: &806 + enterprise: *757 + installation: *758 + number: *809 + organization: *759 + pull_request: &810 allOf: - - *607 + - *611 - type: object properties: allow_auto_merge: @@ -175606,7 +175775,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *756 + repository: *760 sender: *4 required: - action @@ -175687,12 +175856,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *753 - installation: *754 - number: *805 - organization: *755 - pull_request: *806 - repository: *756 + enterprise: *757 + installation: *758 + number: *809 + organization: *759 + pull_request: *810 + repository: *760 sender: *4 required: - action @@ -175772,11 +175941,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *753 - milestone: *591 - number: *805 - organization: *755 - pull_request: &807 + enterprise: *757 + milestone: *595 + number: *809 + organization: *759 + pull_request: &811 title: Pull Request type: object properties: @@ -178061,7 +178230,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *756 + repository: *760 sender: *4 required: - action @@ -178140,11 +178309,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *753 - installation: *754 + enterprise: *757 + installation: *758 number: type: integer - organization: *755 + organization: *759 pull_request: title: Pull Request type: object @@ -180448,7 +180617,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *756 + repository: *760 sender: *4 required: - action @@ -180572,12 +180741,12 @@ x-webhooks: type: string required: - from - enterprise: *753 - installation: *754 - number: *805 - organization: *755 - pull_request: *806 - repository: *756 + enterprise: *757 + installation: *758 + number: *809 + organization: *759 + pull_request: *810 + repository: *760 sender: *4 required: - action @@ -180657,11 +180826,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *753 - installation: *754 + enterprise: *757 + installation: *758 number: type: integer - organization: *755 + organization: *759 pull_request: title: Pull Request type: object @@ -182950,7 +183119,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *756 + repository: *760 sender: *4 required: - action @@ -183030,11 +183199,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *753 - installation: *754 - label: *774 - number: *805 - organization: *755 + enterprise: *757 + installation: *758 + label: *778 + number: *809 + organization: *759 pull_request: title: Pull Request type: object @@ -185338,7 +185507,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *756 + repository: *760 sender: *4 required: - action @@ -185419,10 +185588,10 @@ x-webhooks: type: string enum: - locked - enterprise: *753 - installation: *754 - number: *805 - organization: *755 + enterprise: *757 + installation: *758 + number: *809 + organization: *759 pull_request: title: Pull Request type: object @@ -187724,7 +187893,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *756 + repository: *760 sender: *4 required: - action @@ -187804,12 +187973,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *753 - milestone: *591 - number: *805 - organization: *755 - pull_request: *807 - repository: *756 + enterprise: *757 + milestone: *595 + number: *809 + organization: *759 + pull_request: *811 + repository: *760 sender: *4 required: - action @@ -187888,12 +188057,12 @@ x-webhooks: type: string enum: - opened - enterprise: *753 - installation: *754 - number: *805 - organization: *755 - pull_request: *806 - repository: *756 + enterprise: *757 + installation: *758 + number: *809 + organization: *759 + pull_request: *810 + repository: *760 sender: *4 required: - action @@ -187974,12 +188143,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *753 - installation: *754 - number: *805 - organization: *755 - pull_request: *806 - repository: *756 + enterprise: *757 + installation: *758 + number: *809 + organization: *759 + pull_request: *810 + repository: *760 sender: *4 required: - action @@ -188059,12 +188228,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *753 - installation: *754 - number: *805 - organization: *755 - pull_request: *806 - repository: *756 + enterprise: *757 + installation: *758 + number: *809 + organization: *759 + pull_request: *810 + repository: *760 sender: *4 required: - action @@ -188430,9 +188599,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *757 + installation: *758 + organization: *759 pull_request: type: object properties: @@ -190624,7 +190793,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *756 + repository: *760 sender: *4 required: - action @@ -190704,7 +190873,7 @@ x-webhooks: type: string enum: - deleted - comment: &809 + comment: &813 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -190989,9 +191158,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *757 + installation: *758 + organization: *759 pull_request: type: object properties: @@ -193171,7 +193340,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *756 + repository: *760 sender: *4 required: - action @@ -193251,11 +193420,11 @@ x-webhooks: type: string enum: - edited - changes: *808 - comment: *809 - enterprise: *753 - installation: *754 - organization: *755 + changes: *812 + comment: *813 + enterprise: *757 + installation: *758 + organization: *759 pull_request: type: object properties: @@ -195438,7 +195607,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *756 + repository: *760 sender: *4 required: - action @@ -195519,9 +195688,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *757 + installation: *758 + organization: *759 pull_request: title: Simple Pull Request type: object @@ -197716,7 +197885,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *756 + repository: *760 review: description: The review that was affected. type: object @@ -197963,9 +198132,9 @@ x-webhooks: type: string required: - from - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *757 + installation: *758 + organization: *759 pull_request: title: Simple Pull Request type: object @@ -200019,8 +200188,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *756 - review: &810 + repository: *760 + review: &814 description: The review that was affected. type: object properties: @@ -200253,12 +200422,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *753 - installation: *754 + enterprise: *757 + installation: *758 number: description: The pull request number. type: integer - organization: *755 + organization: *759 pull_request: title: Pull Request type: object @@ -202563,7 +202732,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *756 + repository: *760 requested_reviewer: title: User type: object @@ -202647,12 +202816,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *753 - installation: *754 + enterprise: *757 + installation: *758 number: description: The pull request number. type: integer - organization: *755 + organization: *759 pull_request: title: Pull Request type: object @@ -204964,7 +205133,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *756 + repository: *760 requested_team: title: Team description: Groups of organization members that gives permissions @@ -205156,12 +205325,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *753 - installation: *754 + enterprise: *757 + installation: *758 number: description: The pull request number. type: integer - organization: *755 + organization: *759 pull_request: title: Pull Request type: object @@ -207468,7 +207637,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *756 + repository: *760 requested_reviewer: title: User type: object @@ -207553,12 +207722,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *753 - installation: *754 + enterprise: *757 + installation: *758 number: description: The pull request number. type: integer - organization: *755 + organization: *759 pull_request: title: Pull Request type: object @@ -209856,7 +210025,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *756 + repository: *760 requested_team: title: Team description: Groups of organization members that gives permissions @@ -210037,9 +210206,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *757 + installation: *758 + organization: *759 pull_request: title: Simple Pull Request type: object @@ -212236,8 +212405,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *756 - review: *810 + repository: *760 + review: *814 sender: *4 required: - action @@ -212317,9 +212486,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *757 + installation: *758 + organization: *759 pull_request: title: Simple Pull Request type: object @@ -214411,7 +214580,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *756 + repository: *760 sender: *4 thread: type: object @@ -214798,9 +214967,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *757 + installation: *758 + organization: *759 pull_request: title: Simple Pull Request type: object @@ -216878,7 +217047,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *756 + repository: *760 sender: *4 thread: type: object @@ -217268,10 +217437,10 @@ x-webhooks: type: string before: type: string - enterprise: *753 - installation: *754 - number: *805 - organization: *755 + enterprise: *757 + installation: *758 + number: *809 + organization: *759 pull_request: title: Pull Request type: object @@ -219564,7 +219733,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *756 + repository: *760 sender: *4 required: - action @@ -219646,11 +219815,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *811 - enterprise: *753 - installation: *754 - number: *805 - organization: *755 + assignee: *815 + enterprise: *757 + installation: *758 + number: *809 + organization: *759 pull_request: title: Pull Request type: object @@ -221955,7 +222124,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *756 + repository: *760 sender: *4 required: - action @@ -222034,11 +222203,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *753 - installation: *754 - label: *774 - number: *805 - organization: *755 + enterprise: *757 + installation: *758 + label: *778 + number: *809 + organization: *759 pull_request: title: Pull Request type: object @@ -224333,7 +224502,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *756 + repository: *760 sender: *4 required: - action @@ -224414,10 +224583,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *753 - installation: *754 - number: *805 - organization: *755 + enterprise: *757 + installation: *758 + number: *809 + organization: *759 pull_request: title: Pull Request type: object @@ -226704,7 +226873,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *756 + repository: *760 sender: *4 required: - action @@ -226904,7 +227073,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *753 + enterprise: *757 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -226996,8 +227165,8 @@ x-webhooks: - url - author - committer - installation: *754 - organization: *755 + installation: *758 + organization: *759 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -227583,9 +227752,9 @@ x-webhooks: type: string enum: - published - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *757 + installation: *758 + organization: *759 registry_package: type: object properties: @@ -228031,7 +228200,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *792 + items: *796 summary: type: string tag_name: @@ -228085,7 +228254,7 @@ x-webhooks: - owner - package_version - registry - repository: *756 + repository: *760 sender: *4 required: - action @@ -228163,9 +228332,9 @@ x-webhooks: type: string enum: - updated - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *757 + installation: *758 + organization: *759 registry_package: type: object properties: @@ -228473,7 +228642,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *792 + items: *796 summary: type: string tag_name: @@ -228522,7 +228691,7 @@ x-webhooks: - owner - package_version - registry - repository: *756 + repository: *760 sender: *4 required: - action @@ -228599,10 +228768,10 @@ x-webhooks: type: string enum: - created - enterprise: *753 - installation: *754 - organization: *755 - release: &812 + enterprise: *757 + installation: *758 + organization: *759 + release: &816 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -228920,7 +229089,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *756 + repository: *760 sender: *4 required: - action @@ -228997,11 +229166,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 - installation: *754 - organization: *755 - release: *812 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + release: *816 + repository: *760 sender: *4 required: - action @@ -229118,11 +229287,11 @@ x-webhooks: type: boolean required: - to - enterprise: *753 - installation: *754 - organization: *755 - release: *812 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + release: *816 + repository: *760 sender: *4 required: - action @@ -229200,9 +229369,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *757 + installation: *758 + organization: *759 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -229524,7 +229693,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *756 + repository: *760 sender: *4 required: - action @@ -229600,10 +229769,10 @@ x-webhooks: type: string enum: - published - enterprise: *753 - installation: *754 - organization: *755 - release: &813 + enterprise: *757 + installation: *758 + organization: *759 + release: &817 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -229922,7 +230091,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *756 + repository: *760 sender: *4 required: - action @@ -229998,11 +230167,11 @@ x-webhooks: type: string enum: - released - enterprise: *753 - installation: *754 - organization: *755 - release: *812 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + release: *816 + repository: *760 sender: *4 required: - action @@ -230078,11 +230247,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *753 - installation: *754 - organization: *755 - release: *813 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + release: *817 + repository: *760 sender: *4 required: - action @@ -230158,11 +230327,11 @@ x-webhooks: type: string enum: - published - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 - repository_advisory: *676 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 + repository_advisory: *680 sender: *4 required: - action @@ -230238,11 +230407,11 @@ x-webhooks: type: string enum: - reported - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 - repository_advisory: *676 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 + repository_advisory: *680 sender: *4 required: - action @@ -230318,10 +230487,10 @@ x-webhooks: type: string enum: - archived - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -230398,10 +230567,10 @@ x-webhooks: type: string enum: - created - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -230479,10 +230648,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -230566,10 +230735,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -230681,10 +230850,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -230756,10 +230925,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 status: type: string @@ -230840,10 +231009,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -230920,10 +231089,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -231017,10 +231186,10 @@ x-webhooks: - name required: - repository - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -231100,10 +231269,10 @@ x-webhooks: type: string enum: - created - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 repository_ruleset: *339 sender: *4 required: @@ -231182,10 +231351,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 repository_ruleset: *339 sender: *4 required: @@ -231264,10 +231433,10 @@ x-webhooks: type: string enum: - edited - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 repository_ruleset: *339 changes: type: object @@ -231329,16 +231498,16 @@ x-webhooks: properties: added: type: array - items: *627 + items: *631 deleted: type: array - items: *627 + items: *631 updated: type: array items: type: object properties: - rule: *627 + rule: *631 changes: type: object properties: @@ -231572,10 +231741,10 @@ x-webhooks: - from required: - owner - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -231653,10 +231822,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -231734,7 +231903,7 @@ x-webhooks: type: string enum: - create - alert: &814 + alert: &818 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -231856,10 +232025,10 @@ x-webhooks: enum: - auto_dismissed - open - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -232065,10 +232234,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -232146,11 +232315,11 @@ x-webhooks: type: string enum: - reopen - alert: *814 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + alert: *818 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -232349,10 +232518,10 @@ x-webhooks: enum: - fixed - open - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -232430,7 +232599,7 @@ x-webhooks: type: string enum: - assigned - alert: &815 + alert: &819 type: object properties: number: *188 @@ -232573,10 +232742,10 @@ x-webhooks: required: *21 nullable: true assignee: *4 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -232654,11 +232823,11 @@ x-webhooks: type: string enum: - created - alert: *815 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + alert: *819 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -232739,11 +232908,11 @@ x-webhooks: type: string enum: - created - alert: *815 - installation: *754 - location: *816 - organization: *755 - repository: *756 + alert: *819 + installation: *758 + location: *820 + organization: *759 + repository: *760 sender: *4 required: - location @@ -232981,11 +233150,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *815 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + alert: *819 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -233063,11 +233232,11 @@ x-webhooks: type: string enum: - reopened - alert: *815 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + alert: *819 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -233145,11 +233314,11 @@ x-webhooks: type: string enum: - resolved - alert: *815 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + alert: *819 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -233227,12 +233396,12 @@ x-webhooks: type: string enum: - unassigned - alert: *815 + alert: *819 assignee: *4 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -233310,11 +233479,11 @@ x-webhooks: type: string enum: - validated - alert: *815 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + alert: *819 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -233440,10 +233609,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *756 - enterprise: *753 - installation: *754 - organization: *755 + repository: *760 + enterprise: *757 + installation: *758 + organization: *759 sender: *4 required: - action @@ -233521,11 +233690,11 @@ x-webhooks: type: string enum: - published - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 - security_advisory: &817 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 + security_advisory: &821 description: The details of the security advisory, including summary, description, and severity. type: object @@ -233708,11 +233877,11 @@ x-webhooks: type: string enum: - updated - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 - security_advisory: *817 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 + security_advisory: *821 sender: *4 required: - action @@ -233785,10 +233954,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -233973,9 +234142,9 @@ x-webhooks: type: object properties: security_and_analysis: *312 - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *757 + installation: *758 + organization: *759 repository: *357 sender: *4 required: @@ -234054,12 +234223,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 - sponsorship: &818 + sponsorship: &822 type: object properties: created_at: @@ -234360,12 +234529,12 @@ x-webhooks: type: string enum: - created - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 - sponsorship: *818 + sponsorship: *822 required: - action - sponsorship @@ -234453,12 +234622,12 @@ x-webhooks: type: string required: - from - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 - sponsorship: *818 + sponsorship: *822 required: - action - changes @@ -234535,17 +234704,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &819 + effective_date: &823 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 - sponsorship: *818 + sponsorship: *822 required: - action - sponsorship @@ -234619,7 +234788,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &820 + changes: &824 type: object properties: tier: @@ -234663,13 +234832,13 @@ x-webhooks: - from required: - tier - effective_date: *819 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + effective_date: *823 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 - sponsorship: *818 + sponsorship: *822 required: - action - changes @@ -234746,13 +234915,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *820 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + changes: *824 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 - sponsorship: *818 + sponsorship: *822 required: - action - changes @@ -234826,10 +234995,10 @@ x-webhooks: type: string enum: - created - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -234912,10 +235081,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -235335,15 +235504,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *753 + enterprise: *757 id: description: The unique identifier of the status. type: integer - installation: *754 + installation: *758 name: type: string - organization: *755 - repository: *756 + organization: *759 + repository: *760 sender: *4 sha: description: The Commit SHA. @@ -235458,9 +235627,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *88 - installation: *754 - organization: *755 - repository: *756 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -235549,9 +235718,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *88 - installation: *754 - organization: *755 - repository: *756 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -235640,9 +235809,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *88 - installation: *754 - organization: *755 - repository: *756 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -235731,9 +235900,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *88 - installation: *754 - organization: *755 - repository: *756 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -235809,12 +235978,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 - team: &821 + team: &825 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -236037,9 +236206,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *757 + installation: *758 + organization: *759 repository: title: Repository description: A git repository @@ -236497,7 +236666,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *821 + team: *825 required: - action - team @@ -236573,9 +236742,9 @@ x-webhooks: type: string enum: - created - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *757 + installation: *758 + organization: *759 repository: title: Repository description: A git repository @@ -237033,7 +237202,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *821 + team: *825 required: - action - team @@ -237110,9 +237279,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *757 + installation: *758 + organization: *759 repository: title: Repository description: A git repository @@ -237570,7 +237739,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *821 + team: *825 required: - action - team @@ -237714,9 +237883,9 @@ x-webhooks: - from required: - permissions - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *757 + installation: *758 + organization: *759 repository: title: Repository description: A git repository @@ -238174,7 +238343,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *821 + team: *825 required: - action - changes @@ -238252,9 +238421,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *757 + installation: *758 + organization: *759 repository: title: Repository description: A git repository @@ -238712,7 +238881,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *821 + team: *825 required: - action - team @@ -238788,10 +238957,10 @@ x-webhooks: type: string enum: - started - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -238864,16 +239033,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *753 + enterprise: *757 inputs: type: object nullable: true additionalProperties: true - installation: *754 - organization: *755 + installation: *758 + organization: *759 ref: type: string - repository: *756 + repository: *760 sender: *4 workflow: type: string @@ -238955,10 +239124,10 @@ x-webhooks: type: string enum: - completed - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 workflow_job: allOf: @@ -239274,10 +239443,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 workflow_job: allOf: @@ -239616,10 +239785,10 @@ x-webhooks: type: string enum: - queued - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 workflow_job: type: object @@ -239833,10 +240002,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 workflow_job: type: object @@ -240052,12 +240221,12 @@ x-webhooks: type: string enum: - completed - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 - workflow: *770 + workflow: *774 workflow_run: title: Workflow Run type: object @@ -241056,12 +241225,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 - workflow: *770 + workflow: *774 workflow_run: title: Workflow Run type: object @@ -242045,12 +242214,12 @@ x-webhooks: type: string enum: - requested - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 - workflow: *770 + workflow: *774 workflow_run: title: Workflow Run type: object diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json index 256fb22055..cb4bdc96a3 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json @@ -396208,6 +396208,76 @@ "to" ] }, + "issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, + "prev_issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, "author_association": { "title": "author_association", "type": "string", @@ -400685,6 +400755,76 @@ "to" ] }, + "issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, + "prev_issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, "author_association": { "title": "author_association", "type": "string", @@ -437821,1635 +437961,1647 @@ "created_at", "performed_via_github_app" ] - } - ] - } - }, - "examples": { - "default": { - "value": [ - { - "id": 1, - "node_id": "MDEwOklzc3VlRXZlbnQx", - "url": "https://api.github.com/repos/octocat/Hello-World/issues/events/1", - "actor": { - "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 - }, - "event": "closed", - "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e", - "commit_url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e", - "created_at": "2011-04-14T16:00:49Z", - "performed_via_github_app": null, - "label": { - "name": "label", - "color": "red" - } - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - }, - "410": { - "description": "Gone", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "issues", - "subcategory": "events" - } - } - }, - "/repos/{owner}/{repo}/issues/{issue_number}/issue-field-values": { - "get": { - "summary": "List issue field values for an issue", - "description": "Lists all issue field values for an issue.", - "tags": [ - "issues" - ], - "operationId": "issues/list-issue-field-values-for-issue", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/issues/issue-field-values#list-issue-field-values-for-an-issue" - }, - "parameters": [ - { - "name": "owner", - "description": "The account owner of the repository. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "repo", - "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "issue_number", - "description": "The number that identifies the issue.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "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).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 30 - } - }, - { - "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Issue Field Value", - "description": "A value assigned to an issue field", - "type": "object", - "properties": { - "issue_field_id": { - "description": "Unique identifier for the issue field.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "IFT_GDKND" - }, - "data_type": { - "description": "The data type of the issue field", - "type": "string", - "enum": [ - "text", - "single_select", - "multi_select", - "number", - "date" - ], - "example": "text" - }, - "value": { - "description": "The value of the issue field", - "anyOf": [ - { - "type": "string", - "example": "Sample text" - }, - { - "type": "number", - "example": 42.5 - }, - { - "type": "integer", - "example": 1 - } - ], - "nullable": true }, - "single_select_option": { - "description": "Details about the selected option (only present for single_select fields)", + { + "title": "Issue Type Added Issue Event", + "description": "Issue Type Added Issue Event", "type": "object", "properties": { "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "example": 1 + "type": "integer" }, - "name": { - "description": "The name of the option", - "type": "string", - "example": "High" + "node_id": { + "type": "string" }, - "color": { - "description": "The color of the option", - "type": "string", - "example": "red" - } - }, - "required": [ - "id", - "name", - "color" - ], - "nullable": true - }, - "multi_select_options": { - "description": "Details about the selected options", - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "name": { - "description": "The name of the option", - "type": "string", - "example": "High" + "url": { + "type": "string" + }, + "actor": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } }, - "color": { - "description": "The color of the option", - "type": "string", - "example": "red" - } + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] }, - "required": [ - "id", - "name", - "color" - ] - }, - "nullable": true - } - }, - "required": [ - "issue_field_id", - "node_id", - "data_type", - "value" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "issue_field_id": 1, - "node_id": "IFT_GDKND", - "data_type": "text", - "value": "DRI" - }, - { - "issue_field_id": 2, - "node_id": "IFSS_SADMS", - "data_type": "single_select", - "value": 1, - "single_select_option": { - "id": 1, - "name": "High", - "color": "red" - } - }, - { - "issue_field_id": 3, - "node_id": "IFN_POINTS", - "data_type": "number", - "value": 42 - }, - { - "issue_field_id": 4, - "node_id": "IFD_DUEDATE", - "data_type": "date", - "value": "2025-12-25" - }, - { - "issue_field_id": 5, - "node_id": "IFMS_LABELS", - "data_type": "multi_select", - "value": "Frontend,Backend", - "multi_select_options": [ - { - "id": 1, - "name": "Frontend", - "color": "blue" - }, - { - "id": 2, - "name": "Backend", - "color": "green" - } - ] - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - }, - "301": { - "description": "Moved permanently", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "410": { - "description": "Gone", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "issues", - "subcategory": "issue-field-values" - } - }, - "post": { - "summary": "Add issue field values to an issue", - "description": "Add custom field values to an issue. You can set values for organization-level issue fields that have been defined for the repository's organization.\nAdding an empty array will clear all existing field values for the issue.\n\nThis endpoint supports the following field data types:\n- **`text`**: String values for text fields\n- **`single_select`**: Option names for single-select fields (must match an existing option name)\n- **`number`**: Numeric values for number fields\n- **`date`**: ISO 8601 date strings for date fields\n\nOnly users with push access to the repository can add issue field values. If you don't have the proper permissions, you'll receive a `403 Forbidden` response.\n\nThis endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api).\"", - "tags": [ - "issues" - ], - "operationId": "issues/add-issue-field-values", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/issues/issue-field-values#add-issue-field-values-to-an-issue" - }, - "parameters": [ - { - "name": "owner", - "description": "The account owner of the repository. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "repo", - "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "issue_number", - "description": "The number that identifies the issue.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "issue_field_values": { - "type": "array", - "description": "An array of issue field values to add to this issue. Each field value must include the field ID and the value to set.", - "items": { - "type": "object", - "properties": { - "field_id": { - "type": "integer", - "description": "The ID of the issue field to set", - "example": 123 - }, - "value": { - "oneOf": [ - { - "type": "string", - "description": "The value to set for text, single_select, or date fields" - }, - { - "type": "number", - "description": "The value to set for number fields" - }, - { - "type": "array", - "items": { - "type": "string" - }, - "description": "The value to set for multi_select fields (array of option names)" - } - ], - "description": "The value to set for the field. The type depends on the field's data type:\n- For text fields: provide a string value\n- For single_select fields: provide the option name as a string (must match an existing option)\n- For number fields: provide a numeric value\n- For multi_select fields: provide an array of option names (must match existing options)\n- For date fields: provide an ISO 8601 date string", - "example": "Critical" - } - }, - "required": [ - "field_id", - "value" - ], - "additionalProperties": false - }, - "maxItems": 25 - } - } - }, - "examples": { - "default": { - "summary": "Add multiple field values", - "value": { - "issue_field_values": [ - { - "field_id": 123, - "value": "Critical" - }, - { - "field_id": 456, - "value": 5 - }, - { - "field_id": 789, - "value": "2024-12-31" - } - ] - } - }, - "single-field": { - "summary": "Add a single field value", - "value": { - "issue_field_values": [ - { - "field_id": 123, - "value": "High Priority" - } - ] - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "description": "The current issue field values for this issue after adding the new values", - "items": { - "title": "Issue Field Value", - "description": "A value assigned to an issue field", - "type": "object", - "properties": { - "issue_field_id": { - "description": "Unique identifier for the issue field.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "IFT_GDKND" - }, - "data_type": { - "description": "The data type of the issue field", - "type": "string", - "enum": [ - "text", - "single_select", - "multi_select", - "number", - "date" - ], - "example": "text" - }, - "value": { - "description": "The value of the issue field", - "anyOf": [ - { - "type": "string", - "example": "Sample text" - }, - { - "type": "number", - "example": 42.5 - }, - { - "type": "integer", - "example": 1 - } - ], - "nullable": true - }, - "single_select_option": { - "description": "Details about the selected option (only present for single_select fields)", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "example": 1 + "event": { + "type": "string" }, - "name": { - "description": "The name of the option", + "commit_id": { "type": "string", - "example": "High" + "nullable": true }, - "color": { - "description": "The color of the option", + "commit_url": { "type": "string", - "example": "red" - } - }, - "required": [ - "id", - "name", - "color" - ], - "nullable": true - }, - "multi_select_options": { - "description": "Details about the selected options", - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "name": { - "description": "The name of the option", - "type": "string", - "example": "High" - }, - "color": { - "description": "The color of the option", - "type": "string", - "example": "red" - } + "nullable": true }, - "required": [ - "id", - "name", - "color" - ] - }, - "nullable": true - } - }, - "required": [ - "issue_field_id", - "node_id", - "data_type", - "value" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "issue_field_id": 1, - "node_id": "IFT_GDKND", - "data_type": "text", - "value": "DRI" - }, - { - "issue_field_id": 2, - "node_id": "IFSS_SADMS", - "data_type": "single_select", - "value": 1, - "single_select_option": { - "id": 1, - "name": "High", - "color": "red" - } - }, - { - "issue_field_id": 3, - "node_id": "IFN_POINTS", - "data_type": "number", - "value": 42 - }, - { - "issue_field_id": 4, - "node_id": "IFD_DUEDATE", - "data_type": "date", - "value": "2025-12-25" - }, - { - "issue_field_id": 5, - "node_id": "IFMS_LABELS", - "data_type": "multi_select", - "value": "Frontend,Backend", - "multi_select_options": [ - { - "id": 1, - "name": "Frontend", - "color": "blue" + "created_at": { + "type": "string" }, - { - "id": 2, - "name": "Backend", - "color": "green" - } - ] - } - ] - } - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - }, - "application/scim+json": { - "schema": { - "title": "Scim Error", - "description": "Scim Error", - "type": "object", - "properties": { - "message": { - "type": "string", - "nullable": true - }, - "documentation_url": { - "type": "string", - "nullable": true - }, - "detail": { - "type": "string", - "nullable": true - }, - "status": { - "type": "integer" - }, - "scimType": { - "type": "string", - "nullable": true - }, - "schemas": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error", - "description": "Validation Error", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", + "performed_via_github_app": { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { + "type": "string", + "example": "MDExOkludGVncmF0aW9uMQ==" + }, + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", + "type": "string" + }, + "description": { + "type": "string", + "example": "The description of the app.", + "nullable": true + }, + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app. Note that the `installation_target`, `security_advisory`, and `meta` events are not included because they are global events and not specific to an installation.", + "example": [ + "label", + "deployment" + ], + "type": "array", + "items": { + "type": "string" + } + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "example": 5, + "type": "integer" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + }, + "issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + } + }, "required": [ - "code" - ], + "issue_type", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + { + "title": "Issue Type Removed Issue Event", + "description": "Issue Type Removed Issue Event", + "type": "object", "properties": { - "resource": { - "type": "string" - }, - "field": { - "type": "string" + "id": { + "type": "integer" }, - "message": { + "node_id": { "type": "string" }, - "code": { + "url": { "type": "string" }, - "index": { - "type": "integer" - }, - "value": { - "oneOf": [ - { + "actor": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { "type": "string", - "nullable": true + "example": "octocat" }, - { + "id": { "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", "nullable": true }, - { - "type": "array", - "nullable": true, - "items": { - "type": "string" - } - } - ] - } - } - } - } - } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "triggersNotification": true, - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "issues", - "subcategory": "issue-field-values" - } - }, - "put": { - "summary": "Set issue field values for an issue", - "description": "Set custom field values for an issue, replacing any existing values. You can set values for organization-level issue fields that have been defined for the repository's organization.\n\nThis endpoint supports the following field data types:\n- **`text`**: String values for text fields\n- **`single_select`**: Option names for single-select fields (must match an existing option name)\n- **`number`**: Numeric values for number fields\n- **`date`**: ISO 8601 date strings for date fields\n\nThis operation will replace all existing field values with the provided ones. If you want to add field values without replacing existing ones, use the `POST` endpoint instead.\n\nOnly users with push access to the repository can set issue field values. If you don't have the proper permissions, you'll receive a `403 Forbidden` response.\n\nThis endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api).\"", - "tags": [ - "issues" - ], - "operationId": "issues/set-issue-field-values", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/issues/issue-field-values#set-issue-field-values-for-an-issue" - }, - "parameters": [ - { - "name": "owner", - "description": "The account owner of the repository. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "repo", - "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "issue_number", - "description": "The number that identifies the issue.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "issue_field_values": { - "type": "array", - "description": "An array of issue field values to set for this issue. Each field value must include the field ID and the value to set. All existing field values will be replaced.", - "items": { - "type": "object", - "properties": { - "field_id": { - "type": "integer", - "description": "The ID of the issue field to set", - "example": 123 - }, - "value": { - "oneOf": [ - { - "type": "string", - "description": "The value to set for text, single_select, or date fields" + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } }, - { - "type": "number", - "description": "The value to set for number fields" - } - ], - "description": "The value to set for the field. The type depends on the field's data type:\n- For text fields: provide a string value\n- For single_select fields: provide the option name as a string (must match an existing option)\n- For number fields: provide a numeric value\n- For date fields: provide an ISO 8601 date string", - "example": "Critical" - } - }, - "required": [ - "field_id", - "value" - ], - "additionalProperties": false - }, - "maxItems": 25 - } - } - }, - "examples": { - "default": { - "summary": "Set multiple field values", - "value": { - "issue_field_values": [ - { - "field_id": 123, - "value": "Critical" - }, - { - "field_id": 456, - "value": 5 - }, - { - "field_id": 789, - "value": "2024-12-31" - } - ] - } - }, - "single-field": { - "summary": "Set a single field value", - "value": { - "issue_field_values": [ - { - "field_id": 123, - "value": "High Priority" - } - ] - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "description": "The current issue field values for this issue after setting the new values", - "items": { - "title": "Issue Field Value", - "description": "A value assigned to an issue field", - "type": "object", - "properties": { - "issue_field_id": { - "description": "Unique identifier for the issue field.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "IFT_GDKND" - }, - "data_type": { - "description": "The data type of the issue field", - "type": "string", - "enum": [ - "text", - "single_select", - "multi_select", - "number", - "date" - ], - "example": "text" - }, - "value": { - "description": "The value of the issue field", - "anyOf": [ - { - "type": "string", - "example": "Sample text" - }, - { - "type": "number", - "example": 42.5 + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] }, - { - "type": "integer", - "example": 1 - } - ], - "nullable": true - }, - "single_select_option": { - "description": "Details about the selected option (only present for single_select fields)", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "example": 1 + "event": { + "type": "string" }, - "name": { - "description": "The name of the option", + "commit_id": { "type": "string", - "example": "High" + "nullable": true }, - "color": { - "description": "The color of the option", + "commit_url": { "type": "string", - "example": "red" - } - }, - "required": [ - "id", - "name", - "color" - ], - "nullable": true - }, - "multi_select_options": { - "description": "Details about the selected options", - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "name": { - "description": "The name of the option", - "type": "string", - "example": "High" - }, - "color": { - "description": "The color of the option", - "type": "string", - "example": "red" - } + "nullable": true }, - "required": [ - "id", - "name", - "color" - ] - }, - "nullable": true - } - }, - "required": [ - "issue_field_id", - "node_id", - "data_type", - "value" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "issue_field_id": 1, - "node_id": "IFT_GDKND", - "data_type": "text", - "value": "DRI" - }, - { - "issue_field_id": 2, - "node_id": "IFSS_SADMS", - "data_type": "single_select", - "value": 1, - "single_select_option": { - "id": 1, - "name": "High", - "color": "red" - } - }, - { - "issue_field_id": 3, - "node_id": "IFN_POINTS", - "data_type": "number", - "value": 42 - }, - { - "issue_field_id": 4, - "node_id": "IFD_DUEDATE", - "data_type": "date", - "value": "2025-12-25" - }, - { - "issue_field_id": 5, - "node_id": "IFMS_LABELS", - "data_type": "multi_select", - "value": "Frontend,Backend", - "multi_select_options": [ - { - "id": 1, - "name": "Frontend", - "color": "blue" + "created_at": { + "type": "string" }, - { - "id": 2, - "name": "Backend", - "color": "green" - } - ] - } - ] - } - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - }, - "application/scim+json": { - "schema": { - "title": "Scim Error", - "description": "Scim Error", - "type": "object", - "properties": { - "message": { - "type": "string", - "nullable": true - }, - "documentation_url": { - "type": "string", - "nullable": true - }, - "detail": { - "type": "string", - "nullable": true - }, - "status": { - "type": "integer" - }, - "scimType": { - "type": "string", - "nullable": true - }, - "schemas": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error", - "description": "Validation Error", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", + "performed_via_github_app": { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { + "type": "string", + "example": "MDExOkludGVncmF0aW9uMQ==" + }, + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", + "type": "string" + }, + "description": { + "type": "string", + "example": "The description of the app.", + "nullable": true + }, + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app. Note that the `installation_target`, `security_advisory`, and `meta` events are not included because they are global events and not specific to an installation.", + "example": [ + "label", + "deployment" + ], + "type": "array", + "items": { + "type": "string" + } + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "example": 5, + "type": "integer" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + }, + "prev_issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + } + }, "required": [ - "code" - ], + "prev_issue_type", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + { + "title": "Issue Type Changed Issue Event", + "description": "Issue Type Changed Issue Event", + "type": "object", "properties": { - "resource": { - "type": "string" - }, - "field": { - "type": "string" + "id": { + "type": "integer" }, - "message": { + "node_id": { "type": "string" }, - "code": { + "url": { "type": "string" }, - "index": { - "type": "integer" - }, - "value": { - "oneOf": [ - { + "actor": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { "type": "string", - "nullable": true + "example": "octocat" }, - { + "id": { "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", "nullable": true }, - { - "type": "array", - "nullable": true, - "items": { - "type": "string" - } - } - ] - } - } - } - } - } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "triggersNotification": true, - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "issues", - "subcategory": "issue-field-values" - } - } - }, - "/repos/{owner}/{repo}/issues/{issue_number}/issue-field-values/{issue_field_id}": { - "delete": { - "summary": "Delete an issue field value from an issue", - "description": "Remove a specific custom field value from an issue.\n\nOnly users with push access to the repository can delete issue field values. If you don't have the proper permissions, you'll receive a `403 Forbidden` response.\n\nIf the specified field does not have a value set on the issue, this operation will return a `404` error.\n\nThis endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api).\"", - "tags": [ - "issues" - ], - "operationId": "issues/delete-issue-field-value", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue" - }, - "parameters": [ - { - "name": "owner", - "description": "The account owner of the repository. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "repo", - "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "issue_number", - "description": "The number that identifies the issue.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "issue_field_id", - "description": "The unique identifier of the issue field.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "204": { - "description": "Issue field value deleted successfully" - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error", - "description": "Validation Error", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "required": [ - "code" - ], - "properties": { - "resource": { - "type": "string" + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] }, - "field": { + "event": { "type": "string" }, - "message": { - "type": "string" + "commit_id": { + "type": "string", + "nullable": true }, - "code": { - "type": "string" + "commit_url": { + "type": "string", + "nullable": true }, - "index": { - "type": "integer" + "created_at": { + "type": "string" }, - "value": { - "oneOf": [ - { + "performed_via_github_app": { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { "type": "string", - "nullable": true + "example": "MDExOkludGVncmF0aW9uMQ==" }, - { - "type": "integer", + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", + "type": "string" + }, + "description": { + "type": "string", + "example": "The description of the app.", "nullable": true }, - { + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app. Note that the `installation_target`, `security_advisory`, and `meta` events are not included because they are global events and not specific to an installation.", + "example": [ + "label", + "deployment" + ], "type": "array", - "nullable": true, "items": { "type": "string" } + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "example": 5, + "type": "integer" } - ] - } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + }, + "issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, + "prev_issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + } + }, + "required": [ + "issue_type", + "prev_issue_type", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + } + ] + } + }, + "examples": { + "default": { + "value": [ + { + "id": 1, + "node_id": "MDEwOklzc3VlRXZlbnQx", + "url": "https://api.github.com/repos/octocat/Hello-World/issues/events/1", + "actor": { + "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 + }, + "event": "closed", + "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "commit_url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e", + "created_at": "2011-04-14T16:00:49Z", + "performed_via_github_app": null, + "label": { + "name": "label", + "color": "red" } } - } + ] } } } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } } }, - "503": { - "description": "Service unavailable", + "410": { + "description": "Gone", "content": { "application/json": { "schema": { + "title": "Basic Error", + "description": "Basic Error", "type": "object", "properties": { - "code": { - "type": "string" - }, "message": { "type": "string" }, "documentation_url": { "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" } } } @@ -439458,25 +439610,24 @@ } }, "x-github": { - "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "issues", - "subcategory": "issue-field-values" + "subcategory": "events" } } }, - "/repos/{owner}/{repo}/issues/{issue_number}/labels": { + "/repos/{owner}/{repo}/issues/{issue_number}/issue-field-values": { "get": { - "summary": "List labels for an issue", - "description": "Lists all labels for an issue.", + "summary": "List issue field values for an issue", + "description": "Lists all issue field values for an issue.", "tags": [ "issues" ], - "operationId": "issues/list-labels-on-issue", + "operationId": "issues/list-issue-field-values-for-issue", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/issues/labels#list-labels-for-an-issue" + "url": "https://docs.github.com/rest/issues/issue-field-values#list-issue-field-values-for-an-issue" }, "parameters": [ { @@ -439533,56 +439684,115 @@ "schema": { "type": "array", "items": { - "title": "Label", - "description": "Color-coded labels help you categorize and filter your issues (just like labels in Gmail).", + "title": "Issue Field Value", + "description": "A value assigned to an issue field", "type": "object", "properties": { - "id": { - "description": "Unique identifier for the label.", + "issue_field_id": { + "description": "Unique identifier for the issue field.", "type": "integer", "format": "int64", - "example": 208045946 + "example": 1 }, "node_id": { "type": "string", - "example": "MDU6TGFiZWwyMDgwNDU5NDY=" + "example": "IFT_GDKND" }, - "url": { - "description": "URL for the label", - "example": "https://api.github.com/repositories/42/labels/bug", + "data_type": { + "description": "The data type of the issue field", "type": "string", - "format": "uri" - }, - "name": { - "description": "The name of the label.", - "example": "bug", - "type": "string" + "enum": [ + "text", + "single_select", + "multi_select", + "number", + "date" + ], + "example": "text" }, - "description": { - "description": "Optional description of the label, such as its purpose.", - "type": "string", - "example": "Something isn't working", + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "example": "Sample text" + }, + { + "type": "number", + "example": 42.5 + }, + { + "type": "integer", + "example": 1 + } + ], "nullable": true }, - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "example": "FFFFFF", - "type": "string" + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the option", + "type": "string", + "example": "High" + }, + "color": { + "description": "The color of the option", + "type": "string", + "example": "red" + } + }, + "required": [ + "id", + "name", + "color" + ], + "nullable": true }, - "default": { - "description": "Whether this label comes by default in a new repository.", - "type": "boolean", - "example": true + "multi_select_options": { + "description": "Details about the selected options", + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the option", + "type": "string", + "example": "High" + }, + "color": { + "description": "The color of the option", + "type": "string", + "example": "red" + } + }, + "required": [ + "id", + "name", + "color" + ] + }, + "nullable": true } }, "required": [ - "id", + "issue_field_id", "node_id", - "url", - "name", - "description", - "color", - "default" + "data_type", + "value" ] } }, @@ -439590,22 +439800,51 @@ "default": { "value": [ { - "id": 208045946, - "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", - "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug", - "name": "bug", - "description": "Something isn't working", - "color": "f29513", - "default": true + "issue_field_id": 1, + "node_id": "IFT_GDKND", + "data_type": "text", + "value": "DRI" }, { - "id": 208045947, - "node_id": "MDU6TGFiZWwyMDgwNDU5NDc=", - "url": "https://api.github.com/repos/octocat/Hello-World/labels/enhancement", - "name": "enhancement", - "description": "New feature or request", - "color": "a2eeef", - "default": false + "issue_field_id": 2, + "node_id": "IFSS_SADMS", + "data_type": "single_select", + "value": 1, + "single_select_option": { + "id": 1, + "name": "High", + "color": "red" + } + }, + { + "issue_field_id": 3, + "node_id": "IFN_POINTS", + "data_type": "number", + "value": 42 + }, + { + "issue_field_id": 4, + "node_id": "IFD_DUEDATE", + "data_type": "date", + "value": "2025-12-25" + }, + { + "issue_field_id": 5, + "node_id": "IFMS_LABELS", + "data_type": "multi_select", + "value": "Frontend,Backend", + "multi_select_options": [ + { + "id": 1, + "name": "Frontend", + "color": "blue" + }, + { + "id": 2, + "name": "Backend", + "color": "green" + } + ] } ] } @@ -439704,19 +439943,19 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "issues", - "subcategory": "labels" + "subcategory": "issue-field-values" } }, "post": { - "summary": "Add labels to an issue", - "description": "Adds labels to an issue.", + "summary": "Add issue field values to an issue", + "description": "Add custom field values to an issue. You can set values for organization-level issue fields that have been defined for the repository's organization.\nAdding an empty array will clear all existing field values for the issue.\n\nThis endpoint supports the following field data types:\n- **`text`**: String values for text fields\n- **`single_select`**: Option names for single-select fields (must match an existing option name)\n- **`number`**: Numeric values for number fields\n- **`date`**: ISO 8601 date strings for date fields\n\nOnly users with push access to the repository can add issue field values. If you don't have the proper permissions, you'll receive a `403 Forbidden` response.\n\nThis endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api).\"", "tags": [ "issues" ], - "operationId": "issues/add-labels", + "operationId": "issues/add-issue-field-values", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/issues/labels#add-labels-to-an-issue" + "url": "https://docs.github.com/rest/issues/issue-field-values#add-issue-field-values-to-an-issue" }, "parameters": [ { @@ -439748,52 +439987,83 @@ } ], "requestBody": { - "required": false, + "required": true, "content": { "application/json": { "schema": { - "oneOf": [ - { - "type": "object", - "properties": { - "labels": { - "type": "array", - "minItems": 1, - "description": "The names of the labels to add to the issue's existing labels. You can also pass an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. To replace all of the labels for an issue, use \"[Set labels for an issue](https://docs.github.com/rest/issues/labels#set-labels-for-an-issue).\"", - "items": { - "type": "string" - } - } - } - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { + "type": "object", + "properties": { + "issue_field_values": { "type": "array", + "description": "An array of issue field values to add to this issue. Each field value must include the field ID and the value to set.", "items": { "type": "object", "properties": { - "name": { - "type": "string" + "field_id": { + "type": "integer", + "description": "The ID of the issue field to set", + "example": 123 + }, + "value": { + "oneOf": [ + { + "type": "string", + "description": "The value to set for text, single_select, or date fields" + }, + { + "type": "number", + "description": "The value to set for number fields" + }, + { + "type": "array", + "items": { + "type": "string" + }, + "description": "The value to set for multi_select fields (array of option names)" + } + ], + "description": "The value to set for the field. The type depends on the field's data type:\n- For text fields: provide a string value\n- For single_select fields: provide the option name as a string (must match an existing option)\n- For number fields: provide a numeric value\n- For multi_select fields: provide an array of option names (must match existing options)\n- For date fields: provide an ISO 8601 date string", + "example": "Critical" } }, "required": [ - "name" - ] - } + "field_id", + "value" + ], + "additionalProperties": false + }, + "maxItems": 25 } - ] + } }, "examples": { "default": { + "summary": "Add multiple field values", "value": { - "labels": [ - "bug", - "enhancement" + "issue_field_values": [ + { + "field_id": 123, + "value": "Critical" + }, + { + "field_id": 456, + "value": 5 + }, + { + "field_id": 789, + "value": "2024-12-31" + } + ] + } + }, + "single-field": { + "summary": "Add a single field value", + "value": { + "issue_field_values": [ + { + "field_id": 123, + "value": "High Priority" + } ] } } @@ -439808,57 +440078,117 @@ "application/json": { "schema": { "type": "array", + "description": "The current issue field values for this issue after adding the new values", "items": { - "title": "Label", - "description": "Color-coded labels help you categorize and filter your issues (just like labels in Gmail).", + "title": "Issue Field Value", + "description": "A value assigned to an issue field", "type": "object", "properties": { - "id": { - "description": "Unique identifier for the label.", + "issue_field_id": { + "description": "Unique identifier for the issue field.", "type": "integer", "format": "int64", - "example": 208045946 + "example": 1 }, "node_id": { "type": "string", - "example": "MDU6TGFiZWwyMDgwNDU5NDY=" + "example": "IFT_GDKND" }, - "url": { - "description": "URL for the label", - "example": "https://api.github.com/repositories/42/labels/bug", + "data_type": { + "description": "The data type of the issue field", "type": "string", - "format": "uri" - }, - "name": { - "description": "The name of the label.", - "example": "bug", - "type": "string" + "enum": [ + "text", + "single_select", + "multi_select", + "number", + "date" + ], + "example": "text" }, - "description": { - "description": "Optional description of the label, such as its purpose.", - "type": "string", - "example": "Something isn't working", + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "example": "Sample text" + }, + { + "type": "number", + "example": 42.5 + }, + { + "type": "integer", + "example": 1 + } + ], "nullable": true }, - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "example": "FFFFFF", - "type": "string" + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the option", + "type": "string", + "example": "High" + }, + "color": { + "description": "The color of the option", + "type": "string", + "example": "red" + } + }, + "required": [ + "id", + "name", + "color" + ], + "nullable": true }, - "default": { - "description": "Whether this label comes by default in a new repository.", - "type": "boolean", - "example": true + "multi_select_options": { + "description": "Details about the selected options", + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the option", + "type": "string", + "example": "High" + }, + "color": { + "description": "The color of the option", + "type": "string", + "example": "red" + } + }, + "required": [ + "id", + "name", + "color" + ] + }, + "nullable": true } }, "required": [ - "id", + "issue_field_id", "node_id", - "url", - "name", - "description", - "color", - "default" + "data_type", + "value" ] } }, @@ -439866,22 +440196,51 @@ "default": { "value": [ { - "id": 208045946, - "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", - "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug", - "name": "bug", - "description": "Something isn't working", - "color": "f29513", - "default": true + "issue_field_id": 1, + "node_id": "IFT_GDKND", + "data_type": "text", + "value": "DRI" }, { - "id": 208045947, - "node_id": "MDU6TGFiZWwyMDgwNDU5NDc=", - "url": "https://api.github.com/repos/octocat/Hello-World/labels/enhancement", - "name": "enhancement", - "description": "New feature or request", - "color": "a2eeef", - "default": false + "issue_field_id": 2, + "node_id": "IFSS_SADMS", + "data_type": "single_select", + "value": 1, + "single_select_option": { + "id": 1, + "name": "High", + "color": "red" + } + }, + { + "issue_field_id": 3, + "node_id": "IFN_POINTS", + "data_type": "number", + "value": 42 + }, + { + "issue_field_id": 4, + "node_id": "IFD_DUEDATE", + "data_type": "date", + "value": "2025-12-25" + }, + { + "issue_field_id": 5, + "node_id": "IFMS_LABELS", + "data_type": "multi_select", + "value": "Frontend,Backend", + "multi_select_options": [ + { + "id": 1, + "name": "Frontend", + "color": "blue" + }, + { + "id": 2, + "name": "Backend", + "color": "green" + } + ] } ] } @@ -439889,8 +440248,8 @@ } } }, - "301": { - "description": "Moved permanently", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -439912,11 +440271,45 @@ } } } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } } } }, - "404": { - "description": "Resource not found", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -439941,8 +440334,8 @@ } } }, - "410": { - "description": "Gone", + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -440035,25 +440428,47 @@ } } } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } } }, "x-github": { + "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "issues", - "subcategory": "labels" + "subcategory": "issue-field-values" } }, "put": { - "summary": "Set labels for an issue", - "description": "Removes any previous labels and sets the new labels for an issue.", + "summary": "Set issue field values for an issue", + "description": "Set custom field values for an issue, replacing any existing values. You can set values for organization-level issue fields that have been defined for the repository's organization.\n\nThis endpoint supports the following field data types:\n- **`text`**: String values for text fields\n- **`single_select`**: Option names for single-select fields (must match an existing option name)\n- **`number`**: Numeric values for number fields\n- **`date`**: ISO 8601 date strings for date fields\n\nThis operation will replace all existing field values with the provided ones. If you want to add field values without replacing existing ones, use the `POST` endpoint instead.\n\nOnly users with push access to the repository can set issue field values. If you don't have the proper permissions, you'll receive a `403 Forbidden` response.\n\nThis endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api).\"", "tags": [ "issues" ], - "operationId": "issues/set-labels", + "operationId": "issues/set-issue-field-values", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/issues/labels#set-labels-for-an-issue" + "url": "https://docs.github.com/rest/issues/issue-field-values#set-issue-field-values-for-an-issue" }, "parameters": [ { @@ -440085,77 +440500,76 @@ } ], "requestBody": { - "required": false, + "required": true, "content": { "application/json": { "schema": { - "oneOf": [ - { - "type": "object", - "properties": { - "labels": { - "type": "array", - "minItems": 1, - "description": "The names of the labels to set for the issue. The labels you set replace any existing labels. You can pass an empty array to remove all labels. Alternatively, you can pass a single label as a `string` or an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. You can also add labels to the existing labels for an issue. For more information, see \"[Add labels to an issue](https://docs.github.com/rest/issues/labels#add-labels-to-an-issue).\"", - "items": { - "type": "string" - } - } - } - }, - { - "type": "array", - "minItems": 1, - "items": { - "type": "string" - } - }, - { - "type": "object", - "properties": { - "labels": { - "type": "array", - "minItems": 1, - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - } - }, - "required": [ - "name" - ] - } - } - } - }, - { + "type": "object", + "properties": { + "issue_field_values": { "type": "array", - "minItems": 1, + "description": "An array of issue field values to set for this issue. Each field value must include the field ID and the value to set. All existing field values will be replaced.", "items": { "type": "object", "properties": { - "name": { - "type": "string" + "field_id": { + "type": "integer", + "description": "The ID of the issue field to set", + "example": 123 + }, + "value": { + "oneOf": [ + { + "type": "string", + "description": "The value to set for text, single_select, or date fields" + }, + { + "type": "number", + "description": "The value to set for number fields" + } + ], + "description": "The value to set for the field. The type depends on the field's data type:\n- For text fields: provide a string value\n- For single_select fields: provide the option name as a string (must match an existing option)\n- For number fields: provide a numeric value\n- For date fields: provide an ISO 8601 date string", + "example": "Critical" } }, "required": [ - "name" - ] - } - }, - { - "type": "string" + "field_id", + "value" + ], + "additionalProperties": false + }, + "maxItems": 25 } - ] + } }, "examples": { "default": { + "summary": "Set multiple field values", "value": { - "labels": [ - "bug", - "enhancement" + "issue_field_values": [ + { + "field_id": 123, + "value": "Critical" + }, + { + "field_id": 456, + "value": 5 + }, + { + "field_id": 789, + "value": "2024-12-31" + } + ] + } + }, + "single-field": { + "summary": "Set a single field value", + "value": { + "issue_field_values": [ + { + "field_id": 123, + "value": "High Priority" + } ] } } @@ -440170,57 +440584,117 @@ "application/json": { "schema": { "type": "array", + "description": "The current issue field values for this issue after setting the new values", "items": { - "title": "Label", - "description": "Color-coded labels help you categorize and filter your issues (just like labels in Gmail).", + "title": "Issue Field Value", + "description": "A value assigned to an issue field", "type": "object", "properties": { - "id": { - "description": "Unique identifier for the label.", + "issue_field_id": { + "description": "Unique identifier for the issue field.", "type": "integer", "format": "int64", - "example": 208045946 + "example": 1 }, "node_id": { "type": "string", - "example": "MDU6TGFiZWwyMDgwNDU5NDY=" + "example": "IFT_GDKND" }, - "url": { - "description": "URL for the label", - "example": "https://api.github.com/repositories/42/labels/bug", + "data_type": { + "description": "The data type of the issue field", "type": "string", - "format": "uri" - }, - "name": { - "description": "The name of the label.", - "example": "bug", - "type": "string" + "enum": [ + "text", + "single_select", + "multi_select", + "number", + "date" + ], + "example": "text" }, - "description": { - "description": "Optional description of the label, such as its purpose.", - "type": "string", - "example": "Something isn't working", + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "example": "Sample text" + }, + { + "type": "number", + "example": 42.5 + }, + { + "type": "integer", + "example": 1 + } + ], "nullable": true }, - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "example": "FFFFFF", - "type": "string" + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the option", + "type": "string", + "example": "High" + }, + "color": { + "description": "The color of the option", + "type": "string", + "example": "red" + } + }, + "required": [ + "id", + "name", + "color" + ], + "nullable": true }, - "default": { - "description": "Whether this label comes by default in a new repository.", - "type": "boolean", - "example": true + "multi_select_options": { + "description": "Details about the selected options", + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the option", + "type": "string", + "example": "High" + }, + "color": { + "description": "The color of the option", + "type": "string", + "example": "red" + } + }, + "required": [ + "id", + "name", + "color" + ] + }, + "nullable": true } }, "required": [ - "id", + "issue_field_id", "node_id", - "url", - "name", - "description", - "color", - "default" + "data_type", + "value" ] } }, @@ -440228,22 +440702,51 @@ "default": { "value": [ { - "id": 208045946, - "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", - "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug", - "name": "bug", - "description": "Something isn't working", - "color": "f29513", - "default": true + "issue_field_id": 1, + "node_id": "IFT_GDKND", + "data_type": "text", + "value": "DRI" }, { - "id": 208045947, - "node_id": "MDU6TGFiZWwyMDgwNDU5NDc=", - "url": "https://api.github.com/repos/octocat/Hello-World/labels/enhancement", - "name": "enhancement", - "description": "New feature or request", - "color": "a2eeef", - "default": false + "issue_field_id": 2, + "node_id": "IFSS_SADMS", + "data_type": "single_select", + "value": 1, + "single_select_option": { + "id": 1, + "name": "High", + "color": "red" + } + }, + { + "issue_field_id": 3, + "node_id": "IFN_POINTS", + "data_type": "number", + "value": 42 + }, + { + "issue_field_id": 4, + "node_id": "IFD_DUEDATE", + "data_type": "date", + "value": "2025-12-25" + }, + { + "issue_field_id": 5, + "node_id": "IFMS_LABELS", + "data_type": "multi_select", + "value": "Frontend,Backend", + "multi_select_options": [ + { + "id": 1, + "name": "Frontend", + "color": "blue" + }, + { + "id": 2, + "name": "Backend", + "color": "green" + } + ] } ] } @@ -440251,8 +440754,8 @@ } } }, - "301": { - "description": "Moved permanently", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -440274,13 +440777,47 @@ } } } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { "schema": { "title": "Basic Error", "description": "Basic Error", @@ -440303,8 +440840,8 @@ } } }, - "410": { - "description": "Gone", + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -440397,25 +440934,49 @@ } } } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } } }, "x-github": { + "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "issues", - "subcategory": "labels" + "subcategory": "issue-field-values" } - }, + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/issue-field-values/{issue_field_id}": { "delete": { - "summary": "Remove all labels from an issue", - "description": "Removes all labels from an issue.", + "summary": "Delete an issue field value from an issue", + "description": "Remove a specific custom field value from an issue.\n\nOnly users with push access to the repository can delete issue field values. If you don't have the proper permissions, you'll receive a `403 Forbidden` response.\n\nIf the specified field does not have a value set on the issue, this operation will return a `404` error.\n\nThis endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api).\"", "tags": [ "issues" ], - "operationId": "issues/remove-all-labels", + "operationId": "issues/delete-issue-field-value", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue" + "url": "https://docs.github.com/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue" }, "parameters": [ { @@ -440444,14 +441005,23 @@ "schema": { "type": "integer" } + }, + { + "name": "issue_field_id", + "description": "The unique identifier of the issue field.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } } ], "responses": { "204": { - "description": "Response" + "description": "Issue field value deleted successfully" }, - "301": { - "description": "Moved permanently", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -440502,14 +441072,18 @@ } } }, - "410": { - "description": "Gone", + "422": { + "description": "Validation failed, or the endpoint has been spammed.", "content": { "application/json": { "schema": { - "title": "Basic Error", - "description": "Basic Error", + "title": "Validation Error", + "description": "Validation Error", "type": "object", + "required": [ + "message", + "documentation_url" + ], "properties": { "message": { "type": "string" @@ -440517,10 +441091,70 @@ "documentation_url": { "type": "string" }, - "url": { + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { "type": "string" }, - "status": { + "message": { + "type": "string" + }, + "documentation_url": { "type": "string" } } @@ -440530,24 +441164,25 @@ } }, "x-github": { + "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "issues", - "subcategory": "labels" + "subcategory": "issue-field-values" } } }, - "/repos/{owner}/{repo}/issues/{issue_number}/labels/{name}": { - "delete": { - "summary": "Remove a label from an issue", - "description": "Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist.", + "/repos/{owner}/{repo}/issues/{issue_number}/labels": { + "get": { + "summary": "List labels for an issue", + "description": "Lists all labels for an issue.", "tags": [ "issues" ], - "operationId": "issues/remove-label", + "operationId": "issues/list-labels-on-issue", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue" + "url": "https://docs.github.com/rest/issues/labels#list-labels-for-an-issue" }, "parameters": [ { @@ -440578,11 +441213,21 @@ } }, { - "name": "name", - "in": "path", - "required": true, + "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).\"", + "in": "query", "schema": { - "type": "string" + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 } } ], @@ -440658,11 +441303,28 @@ "description": "Something isn't working", "color": "f29513", "default": true + }, + { + "id": 208045947, + "node_id": "MDU6TGFiZWwyMDgwNDU5NDc=", + "url": "https://api.github.com/repos/octocat/Hello-World/labels/enhancement", + "name": "enhancement", + "description": "New feature or request", + "color": "a2eeef", + "default": false } ] } } } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } } }, "301": { @@ -440750,19 +441412,17 @@ "category": "issues", "subcategory": "labels" } - } - }, - "/repos/{owner}/{repo}/issues/{issue_number}/lock": { - "put": { - "summary": "Lock an issue", - "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method).\"", + }, + "post": { + "summary": "Add labels to an issue", + "description": "Adds labels to an issue.", "tags": [ "issues" ], - "operationId": "issues/lock", + "operationId": "issues/add-labels", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/issues/issues#lock-an-issue" + "url": "https://docs.github.com/rest/issues/labels#add-labels-to-an-issue" }, "parameters": [ { @@ -440798,26 +441458,49 @@ "content": { "application/json": { "schema": { - "type": "object", - "nullable": true, - "properties": { - "lock_reason": { - "type": "string", - "description": "The reason for locking the issue or pull request conversation. Lock will fail if you don't use one of these reasons: \n * `off-topic` \n * `too heated` \n * `resolved` \n * `spam`", - "enum": [ - "off-topic", - "too heated", - "resolved", - "spam" - ] + "oneOf": [ + { + "type": "object", + "properties": { + "labels": { + "type": "array", + "minItems": 1, + "description": "The names of the labels to add to the issue's existing labels. You can also pass an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. To replace all of the labels for an issue, use \"[Set labels for an issue](https://docs.github.com/rest/issues/labels#set-labels-for-an-issue).\"", + "items": { + "type": "string" + } + } + } + }, + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ] + } } - } + ] }, "examples": { "default": { - "summary": "Example of locking an issue as off-topic", "value": { - "lock_reason": "off-topic" + "labels": [ + "bug", + "enhancement" + ] } } } @@ -440825,11 +441508,95 @@ } }, "responses": { - "204": { - "description": "Response" + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Label", + "description": "Color-coded labels help you categorize and filter your issues (just like labels in Gmail).", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the label.", + "type": "integer", + "format": "int64", + "example": 208045946 + }, + "node_id": { + "type": "string", + "example": "MDU6TGFiZWwyMDgwNDU5NDY=" + }, + "url": { + "description": "URL for the label", + "example": "https://api.github.com/repositories/42/labels/bug", + "type": "string", + "format": "uri" + }, + "name": { + "description": "The name of the label.", + "example": "bug", + "type": "string" + }, + "description": { + "description": "Optional description of the label, such as its purpose.", + "type": "string", + "example": "Something isn't working", + "nullable": true + }, + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "example": "FFFFFF", + "type": "string" + }, + "default": { + "description": "Whether this label comes by default in a new repository.", + "type": "boolean", + "example": true + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "description", + "color", + "default" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "id": 208045946, + "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", + "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug", + "name": "bug", + "description": "Something isn't working", + "color": "f29513", + "default": true + }, + { + "id": 208045947, + "node_id": "MDU6TGFiZWwyMDgwNDU5NDc=", + "url": "https://api.github.com/repos/octocat/Hello-World/labels/enhancement", + "name": "enhancement", + "description": "New feature or request", + "color": "a2eeef", + "default": false + } + ] + } + } + } + } }, - "403": { - "description": "Forbidden", + "301": { + "description": "Moved permanently", "content": { "application/json": { "schema": { @@ -440854,8 +441621,8 @@ } } }, - "410": { - "description": "Gone", + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -440880,8 +441647,8 @@ } } }, - "404": { - "description": "Resource not found", + "410": { + "description": "Gone", "content": { "application/json": { "schema": { @@ -440980,19 +441747,19 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "issues", - "subcategory": "issues" + "subcategory": "labels" } }, - "delete": { - "summary": "Unlock an issue", - "description": "Users with push access can unlock an issue's conversation.", + "put": { + "summary": "Set labels for an issue", + "description": "Removes any previous labels and sets the new labels for an issue.", "tags": [ "issues" ], - "operationId": "issues/unlock", + "operationId": "issues/set-labels", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/issues/issues#unlock-an-issue" + "url": "https://docs.github.com/rest/issues/labels#set-labels-for-an-issue" }, "parameters": [ { @@ -441023,52 +441790,241 @@ } } ], - "responses": { - "204": { - "description": "Response" - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "object", + "properties": { + "labels": { + "type": "array", + "minItems": 1, + "description": "The names of the labels to set for the issue. The labels you set replace any existing labels. You can pass an empty array to remove all labels. Alternatively, you can pass a single label as a `string` or an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. You can also add labels to the existing labels for an issue. For more information, see \"[Add labels to an issue](https://docs.github.com/rest/issues/labels#add-labels-to-an-issue).\"", + "items": { + "type": "string" + } + } + } + }, + { + "type": "array", + "minItems": 1, + "items": { "type": "string" } + }, + { + "type": "object", + "properties": { + "labels": { + "type": "array", + "minItems": 1, + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ] + } + } + } + }, + { + "type": "array", + "minItems": 1, + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ] + } + }, + { + "type": "string" + } + ] + }, + "examples": { + "default": { + "value": { + "labels": [ + "bug", + "enhancement" + ] } } } } - }, - "404": { - "description": "Resource not found", + } + }, + "responses": { + "200": { + "description": "Response", "content": { "application/json": { "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { + "type": "array", + "items": { + "title": "Label", + "description": "Color-coded labels help you categorize and filter your issues (just like labels in Gmail).", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the label.", + "type": "integer", + "format": "int64", + "example": 208045946 + }, + "node_id": { + "type": "string", + "example": "MDU6TGFiZWwyMDgwNDU5NDY=" + }, + "url": { + "description": "URL for the label", + "example": "https://api.github.com/repositories/42/labels/bug", + "type": "string", + "format": "uri" + }, + "name": { + "description": "The name of the label.", + "example": "bug", + "type": "string" + }, + "description": { + "description": "Optional description of the label, such as its purpose.", + "type": "string", + "example": "Something isn't working", + "nullable": true + }, + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "example": "FFFFFF", + "type": "string" + }, + "default": { + "description": "Whether this label comes by default in a new repository.", + "type": "boolean", + "example": true + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "description", + "color", + "default" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "id": 208045946, + "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", + "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug", + "name": "bug", + "description": "Something isn't working", + "color": "f29513", + "default": true + }, + { + "id": 208045947, + "node_id": "MDU6TGFiZWwyMDgwNDU5NDc=", + "url": "https://api.github.com/repos/octocat/Hello-World/labels/enhancement", + "name": "enhancement", + "description": "New feature or request", + "color": "a2eeef", + "default": false + } + ] + } + } + } + } + }, + "301": { + "description": "Moved permanently", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "410": { + "description": "Gone", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { "type": "string" }, "status": { @@ -441078,27 +442034,94 @@ } } } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "issues", - "subcategory": "issues" + "subcategory": "labels" } - } - }, - "/repos/{owner}/{repo}/issues/{issue_number}/parent": { - "get": { - "summary": "Get parent issue", - "description": "You can use the REST API to get the parent issue of a sub-issue.\n\nThis endpoint supports the following custom media types. For more information, see [Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + }, + "delete": { + "summary": "Remove all labels from an issue", + "description": "Removes all labels from an issue.", "tags": [ "issues" ], - "operationId": "issues/get-parent", + "operationId": "issues/remove-all-labels", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/issues/sub-issues#get-parent-issue" + "url": "https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue" }, "parameters": [ { @@ -441130,277 +442153,960 @@ } ], "responses": { - "200": { - "description": "Response", + "204": { + "description": "Response" + }, + "301": { + "description": "Moved permanently", "content": { "application/json": { "schema": { - "title": "Issue", - "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", + "title": "Basic Error", + "description": "Basic Error", "type": "object", "properties": { - "id": { - "type": "integer", - "format": "int64" + "message": { + "type": "string" }, - "node_id": { + "documentation_url": { "type": "string" }, "url": { - "description": "URL for the issue", - "example": "https://api.github.com/repositories/42/issues/1", - "type": "string", - "format": "uri" + "type": "string" }, - "repository_url": { - "type": "string", - "format": "uri" + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" }, - "labels_url": { + "documentation_url": { "type": "string" }, - "comments_url": { - "type": "string", - "format": "uri" + "url": { + "type": "string" }, - "events_url": { - "type": "string", - "format": "uri" + "status": { + "type": "string" + } + } + } + } + } + }, + "410": { + "description": "Gone", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" }, - "html_url": { - "type": "string", - "format": "uri" + "documentation_url": { + "type": "string" }, - "number": { - "description": "Number uniquely identifying the issue within its repository", - "example": 42, - "type": "integer" + "url": { + "type": "string" }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "example": "open", + "status": { "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "issues", + "subcategory": "labels" + } + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/labels/{name}": { + "delete": { + "summary": "Remove a label from an issue", + "description": "Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist.", + "tags": [ + "issues" + ], + "operationId": "issues/remove-label", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "issue_number", + "description": "The number that identifies the issue.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "name", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Label", + "description": "Color-coded labels help you categorize and filter your issues (just like labels in Gmail).", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the label.", + "type": "integer", + "format": "int64", + "example": 208045946 + }, + "node_id": { + "type": "string", + "example": "MDU6TGFiZWwyMDgwNDU5NDY=" + }, + "url": { + "description": "URL for the label", + "example": "https://api.github.com/repositories/42/labels/bug", + "type": "string", + "format": "uri" + }, + "name": { + "description": "The name of the label.", + "example": "bug", + "type": "string" + }, + "description": { + "description": "Optional description of the label, such as its purpose.", + "type": "string", + "example": "Something isn't working", + "nullable": true + }, + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "example": "FFFFFF", + "type": "string" + }, + "default": { + "description": "Whether this label comes by default in a new repository.", + "type": "boolean", + "example": true + } }, - "state_reason": { - "description": "The reason for the current state", - "example": "not_planned", - "type": "string", - "nullable": true, - "enum": [ - "completed", - "reopened", - "not_planned", - "duplicate" - ] + "required": [ + "id", + "node_id", + "url", + "name", + "description", + "color", + "default" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "id": 208045946, + "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", + "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug", + "name": "bug", + "description": "Something isn't working", + "color": "f29513", + "default": true + } + ] + } + } + } + } + }, + "301": { + "description": "Moved permanently", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" }, - "title": { - "description": "Title of the issue", - "example": "Widget creation fails in Safari on OS X 10.8", + "documentation_url": { "type": "string" }, - "body": { - "description": "Contents of the issue", - "example": "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?", - "type": "string", - "nullable": true + "url": { + "type": "string" }, - "user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" }, - "labels": { - "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", - "example": [ - "bug", - "registration" - ], + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "410": { + "description": "Gone", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "issues", + "subcategory": "labels" + } + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/lock": { + "put": { + "summary": "Lock an issue", + "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method).\"", + "tags": [ + "issues" + ], + "operationId": "issues/lock", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/issues/issues#lock-an-issue" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "issue_number", + "description": "The number that identifies the issue.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "type": "object", + "nullable": true, + "properties": { + "lock_reason": { + "type": "string", + "description": "The reason for locking the issue or pull request conversation. Lock will fail if you don't use one of these reasons: \n * `off-topic` \n * `too heated` \n * `resolved` \n * `spam`", + "enum": [ + "off-topic", + "too heated", + "resolved", + "spam" + ] + } + } + }, + "examples": { + "default": { + "summary": "Example of locking an issue as off-topic", + "value": { + "lock_reason": "off-topic" + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "410": { + "description": "Gone", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { "type": "array", "items": { - "oneOf": [ - { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { "type": "string" }, - { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "node_id": { - "type": "string" - }, - "url": { - "type": "string", - "format": "uri" - }, - "name": { - "type": "string" - }, - "description": { + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { "type": "string", "nullable": true }, - "color": { - "type": "string", + { + "type": "integer", "nullable": true }, - "default": { - "type": "boolean" + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } } - } + ] } - ] + } } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "issues", + "subcategory": "issues" + } + }, + "delete": { + "summary": "Unlock an issue", + "description": "Users with push access can unlock an issue's conversation.", + "tags": [ + "issues" + ], + "operationId": "issues/unlock", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/issues/issues#unlock-an-issue" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "issue_number", + "description": "The number that identifies the issue.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" }, - "assignees": { - "type": "array", - "items": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "issues", + "subcategory": "issues" + } + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/parent": { + "get": { + "summary": "Get parent issue", + "description": "You can use the REST API to get the parent issue of a sub-issue.\n\nThis endpoint supports the following custom media types. For more information, see [Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "tags": [ + "issues" + ], + "operationId": "issues/get-parent", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/issues/sub-issues#get-parent-issue" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "issue_number", + "description": "The number that identifies the issue.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Issue", + "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the issue", + "example": "https://api.github.com/repositories/42/issues/1", + "type": "string", + "format": "uri" + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "labels_url": { + "type": "string" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "number": { + "description": "Number uniquely identifying the issue within its repository", + "example": 42, + "type": "integer" + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "example": "open", + "type": "string" + }, + "state_reason": { + "description": "The reason for the current state", + "example": "not_planned", + "type": "string", + "nullable": true, + "enum": [ + "completed", + "reopened", + "not_planned", + "duplicate" + ] + }, + "title": { + "description": "Title of the issue", + "example": "Widget creation fails in Safari on OS X 10.8", + "type": "string" + }, + "body": { + "description": "Contents of the issue", + "example": "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?", + "type": "string", + "nullable": true + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "labels": { + "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", + "example": [ + "bug", + "registration" + ], + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + }, + "color": { + "type": "string", + "nullable": true + }, + "default": { + "type": "boolean" + } + } + } + ] + } + }, + "assignees": { + "type": "array", + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" }, "avatar_url": { "type": "string", @@ -468760,571 +470466,2702 @@ "events" ] }, - "reactions": { - "title": "Reaction Rollup", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri" - }, - "total_count": { - "type": "integer" - }, - "+1": { - "type": "integer" - }, - "-1": { - "type": "integer" - }, - "laugh": { - "type": "integer" - }, - "confused": { - "type": "integer" - }, - "heart": { - "type": "integer" - }, - "hooray": { - "type": "integer" - }, - "eyes": { - "type": "integer" - }, - "rocket": { - "type": "integer" - } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "pin": { + "title": "Pinned Issue Comment", + "description": "Context around who pinned an issue comment and when it was pinned.", + "type": "object", + "properties": { + "pinned_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-14T16:00:49Z" + }, + "pinned_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + } + }, + "required": [ + "pinned_at", + "pinned_by" + ], + "nullable": true + } + }, + "required": [ + "id", + "node_id", + "html_url", + "issue_url", + "user", + "url", + "created_at", + "updated_at" + ], + "nullable": true + }, + "issue_dependencies_summary": { + "title": "Issue Dependencies Summary", + "type": "object", + "properties": { + "blocked_by": { + "type": "integer" + }, + "blocking": { + "type": "integer" + }, + "total_blocked_by": { + "type": "integer" + }, + "total_blocking": { + "type": "integer" + } + }, + "required": [ + "blocked_by", + "blocking", + "total_blocked_by", + "total_blocking" + ] + }, + "issue_field_values": { + "type": "array", + "items": { + "title": "Issue Field Value", + "description": "A value assigned to an issue field", + "type": "object", + "properties": { + "issue_field_id": { + "description": "Unique identifier for the issue field.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "IFT_GDKND" + }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": [ + "text", + "single_select", + "multi_select", + "number", + "date" + ], + "example": "text" + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "example": "Sample text" + }, + { + "type": "number", + "example": 42.5 + }, + { + "type": "integer", + "example": 1 + } + ], + "nullable": true + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the option", + "type": "string", + "example": "High" + }, + "color": { + "description": "The color of the option", + "type": "string", + "example": "red" + } + }, + "required": [ + "id", + "name", + "color" + ], + "nullable": true + }, + "multi_select_options": { + "description": "Details about the selected options", + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the option", + "type": "string", + "example": "High" + }, + "color": { + "description": "The color of the option", + "type": "string", + "example": "red" + } + }, + "required": [ + "id", + "name", + "color" + ] + }, + "nullable": true + } + }, + "required": [ + "issue_field_id", + "node_id", + "data_type", + "value" + ] + } + } + }, + "required": [ + "closed_at", + "comments", + "comments_url", + "events_url", + "html_url", + "id", + "node_id", + "labels", + "labels_url", + "milestone", + "number", + "repository_url", + "state", + "locked", + "title", + "url", + "user", + "created_at", + "updated_at" + ] + } + } + } + }, + "required": [ + "event", + "created_at", + "updated_at", + "source" + ] + }, + { + "title": "Timeline Committed Event", + "description": "Timeline Committed Event", + "type": "object", + "properties": { + "event": { + "type": "string" + }, + "sha": { + "description": "SHA for the commit", + "example": "7638417db6d59f3c431d3e1f261cc637155684cd", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "author": { + "description": "Identifying information for the git-user", + "type": "object", + "properties": { + "date": { + "description": "Timestamp of the commit", + "example": "2014-08-09T08:02:04+12:00", + "format": "date-time", + "type": "string" + }, + "email": { + "type": "string", + "description": "Git email address of the user", + "example": "monalisa.octocat@example.com" + }, + "name": { + "description": "Name of the git user", + "example": "Monalisa Octocat", + "type": "string" + } + }, + "required": [ + "email", + "name", + "date" + ] + }, + "committer": { + "description": "Identifying information for the git-user", + "type": "object", + "properties": { + "date": { + "description": "Timestamp of the commit", + "example": "2014-08-09T08:02:04+12:00", + "format": "date-time", + "type": "string" + }, + "email": { + "type": "string", + "description": "Git email address of the user", + "example": "monalisa.octocat@example.com" + }, + "name": { + "description": "Name of the git user", + "example": "Monalisa Octocat", + "type": "string" + } + }, + "required": [ + "email", + "name", + "date" + ] + }, + "message": { + "description": "Message describing the purpose of the commit", + "example": "Fix #42", + "type": "string" + }, + "tree": { + "type": "object", + "properties": { + "sha": { + "description": "SHA for the commit", + "example": "7638417db6d59f3c431d3e1f261cc637155684cd", + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "sha", + "url" + ] + }, + "parents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "sha": { + "description": "SHA for the commit", + "example": "7638417db6d59f3c431d3e1f261cc637155684cd", + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "sha", + "url", + "html_url" + ] + } + }, + "verification": { + "type": "object", + "properties": { + "verified": { + "type": "boolean" + }, + "reason": { + "type": "string" + }, + "signature": { + "type": "string", + "nullable": true + }, + "payload": { + "type": "string", + "nullable": true + }, + "verified_at": { + "type": "string", + "nullable": true + } + }, + "required": [ + "verified", + "reason", + "signature", + "payload", + "verified_at" + ] + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "sha", + "node_id", + "url", + "html_url", + "author", + "committer", + "tree", + "message", + "parents", + "verification" + ] + }, + { + "title": "Timeline Reviewed Event", + "description": "Timeline Reviewed Event", + "type": "object", + "properties": { + "event": { + "type": "string" + }, + "id": { + "description": "Unique identifier of the review", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA=" + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "body": { + "nullable": true, + "description": "The text of the review.", + "example": "This looks great.", + "type": "string" + }, + "state": { + "type": "string", + "example": "CHANGES_REQUESTED" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80" + }, + "pull_request_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/12" + }, + "_links": { + "type": "object", + "properties": { + "html": { + "type": "object", + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ] + }, + "pull_request": { + "type": "object", + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ] + } + }, + "required": [ + "html", + "pull_request" + ] + }, + "submitted_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time" + }, + "commit_id": { + "description": "A commit SHA for the review.", + "example": "54bb654c9e6025347f57900a4a5c2313a96b8035", + "type": "string" + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "author_association": { + "title": "author_association", + "type": "string", + "example": "OWNER", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + } + }, + "required": [ + "event", + "id", + "node_id", + "user", + "body", + "state", + "commit_id", + "html_url", + "pull_request_url", + "_links", + "author_association" + ] + }, + { + "title": "Timeline Line Commented Event", + "description": "Timeline Line Commented Event", + "type": "object", + "properties": { + "event": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "comments": { + "type": "array", + "items": { + "title": "Pull Request Review Comment", + "description": "Pull Request Review Comments are comments on a portion of the Pull Request's diff.", + "type": "object", + "properties": { + "url": { + "description": "URL for the pull request review comment", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1", + "type": "string" + }, + "pull_request_review_id": { + "description": "The ID of the pull request review to which the comment belongs.", + "type": "integer", + "format": "int64", + "example": 42, + "nullable": true + }, + "id": { + "description": "The ID of the pull request review comment.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "description": "The node ID of the pull request review comment.", + "type": "string", + "example": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw" + }, + "diff_hunk": { + "description": "The diff of the line that the comment refers to.", + "type": "string", + "example": "@@ -16,33 +16,40 @@ public class Connection : IConnection..." + }, + "path": { + "description": "The relative path of the file to which the comment applies.", + "example": "config/database.yaml", + "type": "string" + }, + "position": { + "description": "The line index in the diff to which the comment applies. This field is closing down; use `line` instead.", + "example": 1, + "type": "integer" + }, + "original_position": { + "description": "The index of the original line in the diff to which the comment applies. This field is closing down; use `original_line` instead.", + "example": 4, + "type": "integer" + }, + "commit_id": { + "description": "The SHA of the commit to which the comment applies.", + "example": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "type": "string" + }, + "original_commit_id": { + "description": "The SHA of the original commit to which the comment applies.", + "example": "9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840", + "type": "string" + }, + "in_reply_to_id": { + "description": "The comment ID to reply to.", + "example": 8, + "type": "integer" + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "body": { + "description": "The text of the comment.", + "example": "We should probably include a check for null values here.", + "type": "string" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-14T16:00:49Z" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-14T16:00:49Z" + }, + "html_url": { + "description": "HTML URL for the pull request review comment.", + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1" + }, + "pull_request_url": { + "description": "URL for the pull request that the review comment belongs to.", + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1" + }, + "author_association": { + "title": "author_association", + "type": "string", + "example": "OWNER", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + "_links": { + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1" + } + }, + "required": [ + "href" + ] + }, + "html": { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1" + } + }, + "required": [ + "href" + ] + }, + "pull_request": { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1" + } + }, + "required": [ + "href" + ] + } + }, + "required": [ + "self", + "html", + "pull_request" + ] + }, + "start_line": { + "type": "integer", + "description": "The first line of the range for a multi-line comment.", + "example": 2, + "nullable": true + }, + "original_start_line": { + "type": "integer", + "description": "The first line of the range for a multi-line comment.", + "example": 2, + "nullable": true + }, + "start_side": { + "type": "string", + "description": "The side of the first line of the range for a multi-line comment.", + "enum": [ + "LEFT", + "RIGHT" + ], + "default": "RIGHT", + "nullable": true + }, + "line": { + "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", + "example": 2, + "type": "integer" + }, + "original_line": { + "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", + "example": 2, + "type": "integer" + }, + "side": { + "description": "The side of the diff to which the comment applies. The side of the last line of the range for a multi-line comment", + "enum": [ + "LEFT", + "RIGHT" + ], + "default": "RIGHT", + "type": "string" + }, + "subject_type": { + "description": "The level at which the comment is targeted, can be a diff line or a file.", + "type": "string", + "enum": [ + "line", + "file" + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "body_html": { + "type": "string", + "example": "\"

comment body

\"" + }, + "body_text": { + "type": "string", + "example": "\"comment body\"" + } + }, + "required": [ + "url", + "id", + "node_id", + "pull_request_review_id", + "diff_hunk", + "path", + "commit_id", + "original_commit_id", + "user", + "body", + "created_at", + "updated_at", + "html_url", + "pull_request_url", + "author_association", + "_links" + ] + } + } + } + }, + { + "title": "Timeline Commit Commented Event", + "description": "Timeline Commit Commented Event", + "type": "object", + "properties": { + "event": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "commit_id": { + "type": "string" + }, + "comments": { + "type": "array", + "items": { + "title": "Commit Comment", + "description": "Commit Comment", + "type": "object", + "properties": { + "html_url": { + "type": "string", + "format": "uri" + }, + "url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "body": { + "type": "string" + }, + "path": { + "type": "string", + "nullable": true + }, + "position": { + "type": "integer", + "nullable": true + }, + "line": { + "type": "integer", + "nullable": true + }, + "commit_id": { + "type": "string" + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "author_association": { + "title": "author_association", + "type": "string", + "example": "OWNER", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + } + }, + "required": [ + "url", + "html_url", + "id", + "node_id", + "user", + "position", + "line", + "path", + "commit_id", + "body", + "author_association", + "created_at", + "updated_at" + ] + } + } + } + }, + { + "title": "Timeline Assigned Issue Event", + "description": "Timeline Assigned Issue Event", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "actor": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": "string", + "nullable": true + }, + "commit_url": { + "type": "string", + "nullable": true + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { + "type": "string", + "example": "MDExOkludGVncmF0aW9uMQ==" + }, + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", + "type": "string" + }, + "description": { + "type": "string", + "example": "The description of the app.", + "nullable": true + }, + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app. Note that the `installation_target`, `security_advisory`, and `meta` events are not included because they are global events and not specific to an installation.", + "example": [ + "label", + "deployment" + ], + "type": "array", + "items": { + "type": "string" + } + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "example": 5, + "type": "integer" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + }, + "assignee": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "required": [ + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app", + "assignee" + ] + }, + { + "title": "Timeline Unassigned Issue Event", + "description": "Timeline Unassigned Issue Event", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "actor": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": "string", + "nullable": true + }, + "commit_url": { + "type": "string", + "nullable": true + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { + "type": "string", + "example": "MDExOkludGVncmF0aW9uMQ==" + }, + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" }, - "pin": { - "title": "Pinned Issue Comment", - "description": "Context around who pinned an issue comment and when it was pinned.", - "type": "object", - "properties": { - "pinned_at": { - "type": "string", - "format": "date-time", - "example": "2011-04-14T16:00:49Z" - }, - "pinned_by": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - } - }, - "required": [ - "pinned_at", - "pinned_by" - ], + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" } }, "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", "id", "node_id", - "html_url", - "issue_url", - "user", - "url", - "created_at", - "updated_at" - ], - "nullable": true + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] }, - "issue_dependencies_summary": { - "title": "Issue Dependencies Summary", + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", "type": "object", "properties": { - "blocked_by": { - "type": "integer" + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true }, - "blocking": { - "type": "integer" + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" }, - "total_blocked_by": { - "type": "integer" + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" }, - "total_blocking": { + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, "type": "integer" - } - }, - "required": [ - "blocked_by", - "blocking", - "total_blocked_by", - "total_blocking" - ] - }, - "issue_field_values": { - "type": "array", - "items": { - "title": "Issue Field Value", - "description": "A value assigned to an issue field", - "type": "object", - "properties": { - "issue_field_id": { - "description": "Unique identifier for the issue field.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "IFT_GDKND" - }, - "data_type": { - "description": "The data type of the issue field", - "type": "string", - "enum": [ - "text", - "single_select", - "multi_select", - "number", - "date" - ], - "example": "text" - }, - "value": { - "description": "The value of the issue field", - "anyOf": [ - { - "type": "string", - "example": "Sample text" - }, - { - "type": "number", - "example": 42.5 - }, - { - "type": "integer", - "example": 1 - } - ], - "nullable": true - }, - "single_select_option": { - "description": "Details about the selected option (only present for single_select fields)", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "name": { - "description": "The name of the option", - "type": "string", - "example": "High" - }, - "color": { - "description": "The color of the option", - "type": "string", - "example": "red" - } - }, - "required": [ - "id", - "name", - "color" - ], - "nullable": true - }, - "multi_select_options": { - "description": "Details about the selected options", - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "name": { - "description": "The name of the option", - "type": "string", - "example": "High" - }, - "color": { - "description": "The color of the option", - "type": "string", - "example": "red" - } - }, - "required": [ - "id", - "name", - "color" - ] - }, - "nullable": true - } }, - "required": [ - "issue_field_id", - "node_id", - "data_type", - "value" - ] - } + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] } - }, - "required": [ - "closed_at", - "comments", - "comments_url", - "events_url", - "html_url", - "id", - "node_id", - "labels", - "labels_url", - "milestone", - "number", - "repository_url", - "state", - "locked", - "title", - "url", - "user", - "created_at", - "updated_at" ] - } - } - } - }, - "required": [ - "event", - "created_at", - "updated_at", - "source" - ] - }, - { - "title": "Timeline Committed Event", - "description": "Timeline Committed Event", - "type": "object", - "properties": { - "event": { - "type": "string" - }, - "sha": { - "description": "SHA for the commit", - "example": "7638417db6d59f3c431d3e1f261cc637155684cd", - "type": "string" - }, - "node_id": { - "type": "string" - }, - "url": { - "type": "string", - "format": "uri" - }, - "author": { - "description": "Identifying information for the git-user", - "type": "object", - "properties": { - "date": { - "description": "Timestamp of the commit", - "example": "2014-08-09T08:02:04+12:00", - "format": "date-time", + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", "type": "string" }, - "email": { + "description": { "type": "string", - "description": "Git email address of the user", - "example": "monalisa.octocat@example.com" + "example": "The description of the app.", + "nullable": true }, - "name": { - "description": "Name of the git user", - "example": "Monalisa Octocat", - "type": "string" - } - }, - "required": [ - "email", - "name", - "date" - ] - }, - "committer": { - "description": "Identifying information for the git-user", - "type": "object", - "properties": { - "date": { - "description": "Timestamp of the commit", - "example": "2014-08-09T08:02:04+12:00", + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", "format": "date-time", - "type": "string" + "example": "2017-07-08T16:18:44-04:00" }, - "email": { + "updated_at": { "type": "string", - "description": "Git email address of the user", - "example": "monalisa.octocat@example.com" + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" }, - "name": { - "description": "Name of the git user", - "example": "Monalisa Octocat", - "type": "string" + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app. Note that the `installation_target`, `security_advisory`, and `meta` events are not included because they are global events and not specific to an installation.", + "example": [ + "label", + "deployment" + ], + "type": "array", + "items": { + "type": "string" + } + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "example": 5, + "type": "integer" } }, "required": [ - "email", + "id", + "node_id", + "owner", "name", - "date" + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" ] }, - "message": { - "description": "Message describing the purpose of the commit", - "example": "Fix #42", - "type": "string" - }, - "tree": { + "assignee": { + "title": "Simple User", + "description": "A GitHub user.", "type": "object", "properties": { - "sha": { - "description": "SHA for the commit", - "example": "7638417db6d59f3c431d3e1f261cc637155684cd", + "name": { + "nullable": true, "type": "string" }, - "url": { + "email": { + "nullable": true, + "type": "string" + }, + "login": { "type": "string", - "format": "uri" - } - }, - "required": [ - "sha", - "url" - ] - }, - "parents": { - "type": "array", - "items": { - "type": "object", - "properties": { - "sha": { - "description": "SHA for the commit", - "example": "7638417db6d59f3c431d3e1f261cc637155684cd", - "type": "string" - }, - "url": { - "type": "string", - "format": "uri" - }, - "html_url": { - "type": "string", - "format": "uri" - } + "example": "octocat" }, - "required": [ - "sha", - "url", - "html_url" - ] - } - }, - "verification": { - "type": "object", - "properties": { - "verified": { - "type": "boolean" + "id": { + "type": "integer", + "format": "int64", + "example": 1 }, - "reason": { - "type": "string" + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" }, - "signature": { + "avatar_url": { "type": "string", - "nullable": true + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" }, - "payload": { + "gravatar_id": { "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", "nullable": true }, - "verified_at": { + "url": { "type": "string", - "nullable": true + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" } }, "required": [ - "verified", - "reason", - "signature", - "payload", - "verified_at" + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] - }, - "html_url": { - "type": "string", - "format": "uri" } }, "required": [ - "sha", + "id", "node_id", "url", - "html_url", - "author", - "committer", - "tree", - "message", - "parents", - "verification" + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app", + "assignee" ] }, { - "title": "Timeline Reviewed Event", - "description": "Timeline Reviewed Event", + "title": "State Change Issue Event", + "description": "State Change Issue Event", "type": "object", "properties": { - "event": { - "type": "string" - }, "id": { - "description": "Unique identifier of the review", - "example": 42, "type": "integer" }, "node_id": { - "type": "string", - "example": "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA=" + "type": "string" }, - "user": { + "url": { + "type": "string" + }, + "actor": { "title": "Simple User", "description": "A GitHub user.", "type": "object", @@ -469434,818 +473271,363 @@ "following_url", "gists_url", "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - "body": { - "nullable": true, - "description": "The text of the review.", - "example": "This looks great.", - "type": "string" - }, - "state": { - "type": "string", - "example": "CHANGES_REQUESTED" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80" - }, - "pull_request_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/12" - }, - "_links": { - "type": "object", - "properties": { - "html": { - "type": "object", - "properties": { - "href": { - "type": "string" - } - }, - "required": [ - "href" - ] - }, - "pull_request": { - "type": "object", - "properties": { - "href": { - "type": "string" - } - }, - "required": [ - "href" - ] - } - }, - "required": [ - "html", - "pull_request" - ] - }, - "submitted_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "nullable": true, - "format": "date-time" - }, - "commit_id": { - "description": "A commit SHA for the review.", - "example": "54bb654c9e6025347f57900a4a5c2313a96b8035", - "type": "string" - }, - "body_html": { - "type": "string" - }, - "body_text": { - "type": "string" - }, - "author_association": { - "title": "author_association", - "type": "string", - "example": "OWNER", - "description": "How the author is associated with the repository.", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] - } - }, - "required": [ - "event", - "id", - "node_id", - "user", - "body", - "state", - "commit_id", - "html_url", - "pull_request_url", - "_links", - "author_association" - ] - }, - { - "title": "Timeline Line Commented Event", - "description": "Timeline Line Commented Event", - "type": "object", - "properties": { + }, "event": { "type": "string" }, - "node_id": { + "commit_id": { + "type": "string", + "nullable": true + }, + "commit_url": { + "type": "string", + "nullable": true + }, + "created_at": { "type": "string" }, - "comments": { - "type": "array", - "items": { - "title": "Pull Request Review Comment", - "description": "Pull Request Review Comments are comments on a portion of the Pull Request's diff.", - "type": "object", - "properties": { - "url": { - "description": "URL for the pull request review comment", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1", - "type": "string" - }, - "pull_request_review_id": { - "description": "The ID of the pull request review to which the comment belongs.", - "type": "integer", - "format": "int64", - "example": 42, - "nullable": true - }, - "id": { - "description": "The ID of the pull request review comment.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "description": "The node ID of the pull request review comment.", - "type": "string", - "example": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw" - }, - "diff_hunk": { - "description": "The diff of the line that the comment refers to.", - "type": "string", - "example": "@@ -16,33 +16,40 @@ public class Connection : IConnection..." - }, - "path": { - "description": "The relative path of the file to which the comment applies.", - "example": "config/database.yaml", - "type": "string" - }, - "position": { - "description": "The line index in the diff to which the comment applies. This field is closing down; use `line` instead.", - "example": 1, - "type": "integer" - }, - "original_position": { - "description": "The index of the original line in the diff to which the comment applies. This field is closing down; use `original_line` instead.", - "example": 4, - "type": "integer" - }, - "commit_id": { - "description": "The SHA of the commit to which the comment applies.", - "example": "6dcb09b5b57875f334f61aebed695e2e4193db5e", - "type": "string" - }, - "original_commit_id": { - "description": "The SHA of the original commit to which the comment applies.", - "example": "9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840", - "type": "string" - }, - "in_reply_to_id": { - "description": "The comment ID to reply to.", - "example": 8, - "type": "integer" - }, - "user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "body": { - "description": "The text of the comment.", - "example": "We should probably include a check for null values here.", - "type": "string" - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2011-04-14T16:00:49Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2011-04-14T16:00:49Z" - }, - "html_url": { - "description": "HTML URL for the pull request review comment.", - "type": "string", - "format": "uri", - "example": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1" - }, - "pull_request_url": { - "description": "URL for the pull request that the review comment belongs to.", - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1" - }, - "author_association": { - "title": "author_association", - "type": "string", - "example": "OWNER", - "description": "How the author is associated with the repository.", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "_links": { - "type": "object", - "properties": { - "self": { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1" - } + "performed_via_github_app": { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { + "type": "string", + "example": "MDExOkludGVncmF0aW9uMQ==" + }, + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" }, - "required": [ - "href" - ] - }, - "html": { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1" - } + "email": { + "nullable": true, + "type": "string" }, - "required": [ - "href" - ] - }, - "pull_request": { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1" - } + "login": { + "type": "string", + "example": "octocat" }, - "required": [ - "href" - ] - } - }, - "required": [ - "self", - "html", - "pull_request" - ] - }, - "start_line": { - "type": "integer", - "description": "The first line of the range for a multi-line comment.", - "example": 2, - "nullable": true - }, - "original_start_line": { - "type": "integer", - "description": "The first line of the range for a multi-line comment.", - "example": 2, - "nullable": true - }, - "start_side": { - "type": "string", - "description": "The side of the first line of the range for a multi-line comment.", - "enum": [ - "LEFT", - "RIGHT" - ], - "default": "RIGHT", - "nullable": true - }, - "line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "example": 2, - "type": "integer" - }, - "original_line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "example": 2, - "type": "integer" - }, - "side": { - "description": "The side of the diff to which the comment applies. The side of the last line of the range for a multi-line comment", - "enum": [ - "LEFT", - "RIGHT" - ], - "default": "RIGHT", - "type": "string" - }, - "subject_type": { - "description": "The level at which the comment is targeted, can be a diff line or a file.", - "type": "string", - "enum": [ - "line", - "file" - ] - }, - "reactions": { - "title": "Reaction Rollup", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri" - }, - "total_count": { - "type": "integer" - }, - "+1": { - "type": "integer" - }, - "-1": { - "type": "integer" - }, - "laugh": { - "type": "integer" - }, - "confused": { - "type": "integer" - }, - "heart": { - "type": "integer" - }, - "hooray": { - "type": "integer" + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } }, - "eyes": { - "type": "integer" + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } }, - "rocket": { - "type": "integer" - } + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", + "type": "string" + }, + "description": { + "type": "string", + "example": "The description of the app.", + "nullable": true + }, + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } }, - "body_html": { - "type": "string", - "example": "\"

comment body

\"" + "additionalProperties": { + "type": "string" }, - "body_text": { - "type": "string", - "example": "\"comment body\"" + "example": { + "issues": "read", + "deployments": "write" } }, - "required": [ - "url", - "id", - "node_id", - "pull_request_review_id", - "diff_hunk", - "path", - "commit_id", - "original_commit_id", - "user", - "body", - "created_at", - "updated_at", - "html_url", - "pull_request_url", - "author_association", - "_links" - ] - } - } - } - }, - { - "title": "Timeline Commit Commented Event", - "description": "Timeline Commit Commented Event", - "type": "object", - "properties": { - "event": { - "type": "string" - }, - "node_id": { - "type": "string" - }, - "commit_id": { - "type": "string" - }, - "comments": { - "type": "array", - "items": { - "title": "Commit Comment", - "description": "Commit Comment", - "type": "object", - "properties": { - "html_url": { - "type": "string", - "format": "uri" - }, - "url": { - "type": "string", - "format": "uri" - }, - "id": { - "type": "integer" - }, - "node_id": { - "type": "string" - }, - "body": { - "type": "string" - }, - "path": { - "type": "string", - "nullable": true - }, - "position": { - "type": "integer", - "nullable": true - }, - "line": { - "type": "integer", - "nullable": true - }, - "commit_id": { + "events": { + "description": "The list of events for the GitHub app. Note that the `installation_target`, `security_advisory`, and `meta` events are not included because they are global events and not specific to an installation.", + "example": [ + "label", + "deployment" + ], + "type": "array", + "items": { "type": "string" - }, - "user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "author_association": { - "title": "author_association", - "type": "string", - "example": "OWNER", - "description": "How the author is associated with the repository.", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "reactions": { - "title": "Reaction Rollup", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri" - }, - "total_count": { - "type": "integer" - }, - "+1": { - "type": "integer" - }, - "-1": { - "type": "integer" - }, - "laugh": { - "type": "integer" - }, - "confused": { - "type": "integer" - }, - "heart": { - "type": "integer" - }, - "hooray": { - "type": "integer" - }, - "eyes": { - "type": "integer" - }, - "rocket": { - "type": "integer" - } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] } }, - "required": [ - "url", - "html_url", - "id", - "node_id", - "user", - "position", - "line", - "path", - "commit_id", - "body", - "author_association", - "created_at", - "updated_at" - ] - } + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "example": 5, + "type": "integer" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + }, + "state_reason": { + "type": "string", + "nullable": true } - } + }, + "required": [ + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] }, { - "title": "Timeline Assigned Issue Event", - "description": "Timeline Assigned Issue Event", + "title": "Issue Type Added Issue Event", + "description": "Issue Type Added Issue Event", "type": "object", "properties": { "id": { @@ -470704,132 +474086,44 @@ "events" ] }, - "assignee": { - "title": "Simple User", - "description": "A GitHub user.", + "issue_type": { + "title": "Issue Type", + "description": "The type of issue.", "type": "object", + "nullable": true, "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, "id": { "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" + "description": "The unique identifier of the issue type." }, - "avatar_url": { + "name": { "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" + "description": "The name of the issue type." }, - "gravatar_id": { + "color": { "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" } }, "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" + "name" ] } }, "required": [ + "issue_type", "id", "node_id", "url", @@ -470838,13 +474132,12 @@ "commit_id", "commit_url", "created_at", - "performed_via_github_app", - "assignee" + "performed_via_github_app" ] }, { - "title": "Timeline Unassigned Issue Event", - "description": "Timeline Unassigned Issue Event", + "title": "Issue Type Removed Issue Event", + "description": "Issue Type Removed Issue Event", "type": "object", "properties": { "id": { @@ -471303,132 +474596,44 @@ "events" ] }, - "assignee": { - "title": "Simple User", - "description": "A GitHub user.", + "prev_issue_type": { + "title": "Issue Type", + "description": "The type of issue.", "type": "object", + "nullable": true, "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, "id": { "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" + "description": "The unique identifier of the issue type." }, - "avatar_url": { + "name": { "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" + "description": "The name of the issue type." }, - "gravatar_id": { + "color": { "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" } }, "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" + "name" ] } }, "required": [ + "prev_issue_type", "id", "node_id", "url", @@ -471437,13 +474642,12 @@ "commit_id", "commit_url", "created_at", - "performed_via_github_app", - "assignee" + "performed_via_github_app" ] }, { - "title": "State Change Issue Event", - "description": "State Change Issue Event", + "title": "Issue Type Changed Issue Event", + "description": "Issue Type Changed Issue Event", "type": "object", "properties": { "id": { @@ -471902,12 +475106,80 @@ "events" ] }, - "state_reason": { - "type": "string", - "nullable": true + "issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, + "prev_issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] } }, "required": [ + "issue_type", + "prev_issue_type", "id", "node_id", "url", diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml index 470ba612f0..da6fcc8ca2 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml @@ -1001,7 +1001,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &678 + - &682 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -14028,7 +14028,7 @@ paths: properties: action: type: string - discussion: &771 + discussion: &775 title: Discussion description: A Discussion in a repository. type: object @@ -14766,7 +14766,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &689 + sub_issues_summary: &693 title: Sub-issues Summary type: object properties: @@ -14853,7 +14853,7 @@ paths: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: &584 + properties: &585 pinned_at: type: string format: date-time @@ -14865,7 +14865,7 @@ paths: properties: *20 required: *21 nullable: true - required: &585 + required: &586 - pinned_at - pinned_by nullable: true @@ -14879,7 +14879,7 @@ paths: - created_at - updated_at nullable: true - issue_dependencies_summary: &690 + issue_dependencies_summary: &694 title: Issue Dependencies Summary type: object properties: @@ -14898,7 +14898,7 @@ paths: - total_blocking issue_field_values: type: array - items: &568 + items: &569 title: Issue Field Value description: A value assigned to an issue field type: object @@ -15686,7 +15686,7 @@ paths: type: string release: allOf: - - &618 + - &622 title: Release description: A release. type: object @@ -15757,7 +15757,7 @@ paths: author: *4 assets: type: array - items: &619 + items: &623 title: Release Asset description: Data related to a release. type: object @@ -19526,7 +19526,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &594 + - &598 name: all description: If `true`, show notifications marked as read. in: query @@ -19534,7 +19534,7 @@ paths: schema: type: boolean default: false - - &595 + - &599 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -19544,7 +19544,7 @@ paths: type: boolean default: false - *95 - - &596 + - &600 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -20072,7 +20072,7 @@ paths: - url - subscription_url examples: - default: &597 + default: &601 value: - id: '1' repository: @@ -21953,7 +21953,7 @@ paths: parameters: - *78 - *124 - - &747 + - &751 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 @@ -22065,7 +22065,7 @@ paths: - *124 - *125 - *126 - - &748 + - &752 name: repository description: The repository name to query for usage in the format owner/repository. in: query @@ -22073,7 +22073,7 @@ paths: schema: type: string - *129 - - &749 + - &753 name: sku description: The SKU to query for usage. in: query @@ -29577,12 +29577,12 @@ paths: required: - subject_digests examples: - default: &728 + default: &732 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &729 + withPredicateType: &733 value: subject_digests: - sha256:abc123 @@ -29626,7 +29626,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &730 + default: &734 value: attestations_subject_digests: - sha256:abc: @@ -41634,7 +41634,7 @@ paths: parameters: - *78 - *269 - - &710 + - &714 name: repo_name description: repo_name parameter in: path @@ -42562,7 +42562,7 @@ paths: - nuget - container - *78 - - &711 + - &715 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -42603,7 +42603,7 @@ paths: default: *276 '403': *29 '401': *25 - '400': &713 + '400': &717 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -44811,7 +44811,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &802 + properties: &806 id: type: number description: The unique identifier of the status update. @@ -44859,7 +44859,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &803 + required: &807 - id - node_id - created_at @@ -45288,7 +45288,7 @@ paths: - review_comment - self author_association: *85 - auto_merge: &604 + auto_merge: &608 title: Auto merge description: The status of auto merging a pull request. type: object @@ -45664,7 +45664,7 @@ paths: - updated_at - project_url examples: - default: &734 + default: &738 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -45841,7 +45841,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &735 + items: &739 type: object properties: name: @@ -45878,7 +45878,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &736 + iteration_configuration: &740 type: object description: The configuration for iteration fields. properties: @@ -45928,7 +45928,7 @@ paths: value: name: Due date data_type: date - single_select_field: &737 + single_select_field: &741 summary: Create a single select field value: name: Priority @@ -45955,7 +45955,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &738 + iteration_field: &742 summary: Create an iteration field value: name: Sprint @@ -45981,7 +45981,7 @@ paths: application/json: schema: *297 examples: - text_field: &739 + text_field: &743 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -45990,7 +45990,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-05-15T08:00:00Z' updated_at: '2022-05-15T08:00:00Z' - number_field: &740 + number_field: &744 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -45999,7 +45999,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-01T14:30:00Z' updated_at: '2022-06-01T14:30:00Z' - date_field: &741 + date_field: &745 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -46008,7 +46008,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-10T09:15:00Z' updated_at: '2022-06-10T09:15:00Z' - single_select_field: &742 + single_select_field: &746 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -46042,7 +46042,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &743 + iteration_field: &747 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -46088,7 +46088,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - *293 - - &744 + - &748 name: field_id description: The unique identifier of the field. in: path @@ -46103,7 +46103,7 @@ paths: application/json: schema: *297 examples: - default: &745 + default: &749 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -47300,7 +47300,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &725 + schema: &729 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -47477,7 +47477,7 @@ paths: parameters: - *293 - *78 - - &746 + - &750 name: view_number description: The number that identifies the project view. in: path @@ -49438,7 +49438,7 @@ paths: - *78 - *17 - *19 - - &626 + - &630 name: targets description: | A comma-separated list of rule targets to filter by. @@ -49720,7 +49720,7 @@ paths: - repository_property rules: type: array - items: &627 + items: &631 title: Repository Rule type: object description: A repository rule. @@ -49782,7 +49782,7 @@ paths: type: string enum: - required_linear_history - - &625 + - &629 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -50684,7 +50684,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *78 - - &628 + - &632 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -50699,7 +50699,7 @@ paths: in: query schema: type: string - - &629 + - &633 name: time_period description: |- The time period to filter by. @@ -50715,14 +50715,14 @@ paths: - week - month default: day - - &630 + - &634 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &631 + - &635 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -50735,7 +50735,7 @@ paths: - bypass - all default: all - - &632 + - &636 name: evaluate_status description: |- The evaluate status to filter on. When specified, only rule suites resulting from rulesets with the specified evaluate status will be returned. @@ -50758,7 +50758,7 @@ paths: description: Response content: application/json: - schema: &633 + schema: &637 title: Rule Suites description: Response type: array @@ -50813,7 +50813,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &634 + default: &638 value: - id: 21 actor_id: 12 @@ -50857,7 +50857,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *78 - - &635 + - &639 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -50873,7 +50873,7 @@ paths: description: Response content: application/json: - schema: &636 + schema: &640 title: Rule Suite description: Response type: object @@ -50972,7 +50972,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &637 + default: &641 value: id: 21 actor_id: 12 @@ -51219,7 +51219,7 @@ paths: type: string format: date-time examples: - default: &639 + default: &643 value: - version_id: 3 actor: @@ -51272,7 +51272,7 @@ paths: description: Response content: application/json: - schema: &640 + schema: &644 allOf: - *342 - type: object @@ -51344,7 +51344,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *78 - - &641 + - &645 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -51355,7 +51355,7 @@ paths: enum: - open - resolved - - &642 + - &646 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -51365,7 +51365,7 @@ paths: required: false schema: type: string - - &643 + - &647 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -51376,7 +51376,7 @@ paths: required: false schema: type: string - - &644 + - &648 name: exclude_providers in: query description: |- @@ -51387,7 +51387,7 @@ paths: required: false schema: type: string - - &645 + - &649 name: providers in: query description: |- @@ -51398,7 +51398,7 @@ paths: required: false schema: type: string - - &646 + - &650 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -51407,7 +51407,7 @@ paths: required: false schema: type: string - - &647 + - &651 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -51426,7 +51426,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &648 + - &652 name: sort description: The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. @@ -51441,7 +51441,7 @@ paths: - *62 - *19 - *17 - - &649 + - &653 name: before description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -51451,7 +51451,7 @@ paths: required: false schema: type: string - - &650 + - &654 name: after description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -51461,7 +51461,7 @@ paths: required: false schema: type: string - - &651 + - &655 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -51470,7 +51470,7 @@ paths: required: false schema: type: string - - &652 + - &656 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -51479,7 +51479,7 @@ paths: schema: type: boolean default: false - - &653 + - &657 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -51488,7 +51488,7 @@ paths: schema: type: boolean default: false - - &654 + - &658 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -51497,7 +51497,7 @@ paths: schema: type: boolean default: false - - &655 + - &659 name: is_bypassed in: query description: A boolean value (`true` or `false`) indicating whether to filter @@ -51534,14 +51534,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &656 + state: &660 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &657 + resolution: &661 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -51658,8 +51658,8 @@ paths: pull request. ' - oneOf: &658 - - &660 + oneOf: &662 + - &664 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -51717,7 +51717,7 @@ paths: - blob_url - commit_sha - commit_url - - &661 + - &665 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -51772,7 +51772,7 @@ paths: - page_url - commit_sha - commit_url - - &662 + - &666 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -51792,7 +51792,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &663 + - &667 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -51812,7 +51812,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &664 + - &668 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -51832,7 +51832,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &665 + - &669 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -51846,7 +51846,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &666 + - &670 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -51860,7 +51860,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &667 + - &671 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -51874,7 +51874,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &668 + - &672 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -51894,7 +51894,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &669 + - &673 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -51914,7 +51914,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &670 + - &674 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -51934,7 +51934,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &671 + - &675 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -51954,7 +51954,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &672 + - &676 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -52473,7 +52473,7 @@ paths: application/json: schema: type: array - items: &676 + items: &680 description: A repository security advisory. type: object properties: @@ -52745,7 +52745,7 @@ paths: - private_fork additionalProperties: false examples: - default: &677 + default: &681 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -54655,7 +54655,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &692 + response-if-user-is-a-team-maintainer: &696 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -54720,7 +54720,7 @@ paths: application/json: schema: *353 examples: - response-if-users-membership-with-team-is-now-pending: &693 + response-if-users-membership-with-team-is-now-pending: &697 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -54834,7 +54834,7 @@ paths: description: Alternative response with repository permissions content: application/json: - schema: &694 + schema: &698 title: Team Repository description: A team's access to a repository. type: object @@ -55484,7 +55484,7 @@ paths: type: array items: *210 examples: - response-if-child-teams-exist: &695 + response-if-child-teams-exist: &699 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -61129,7 +61129,7 @@ paths: description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: &765 + properties: &769 url: type: string format: uri @@ -61214,7 +61214,7 @@ paths: nullable: true properties: *83 required: *84 - required: &766 + required: &770 - id - node_id - sha @@ -67286,7 +67286,7 @@ paths: check. type: array items: *93 - deployment: &758 + deployment: &762 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -68198,7 +68198,7 @@ paths: type: string format: date-time nullable: true - head_commit: &786 + head_commit: &790 title: Simple Commit description: A commit. type: object @@ -72683,14 +72683,14 @@ paths: type: integer machines: type: array - items: &700 + items: &704 type: object title: Codespace machine description: A description of the machine powering a codespace. properties: *475 required: *476 examples: - default: &701 + default: &705 value: total_count: 2 machines: @@ -74328,7 +74328,7 @@ paths: type: array items: *487 examples: - default: &611 + default: &615 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -74619,7 +74619,7 @@ paths: type: array items: *491 examples: - default: &603 + default: &607 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -75177,7 +75177,7 @@ paths: application/json: schema: *487 examples: - default: &590 + default: &594 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -75836,7 +75836,7 @@ paths: application/json: schema: type: array - items: &681 + items: &685 title: Status description: The status of a commit. type: object @@ -76805,7 +76805,7 @@ paths: - size - type - url - - &616 + - &620 title: Content File description: Content File type: object @@ -77419,7 +77419,7 @@ paths: items: type: object properties: - placeholder_id: &673 + placeholder_id: &677 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -83463,7 +83463,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &794 + last_response: &798 title: Hook Response type: object properties: @@ -84515,7 +84515,7 @@ paths: parameters: - *354 - *355 - - &723 + - &727 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -85100,7 +85100,7 @@ paths: type: array items: *554 examples: - default: &715 + default: &719 value: - id: 1 repository: @@ -85546,7 +85546,7 @@ paths: type: array items: *88 examples: - default: &567 + default: &568 value: - id: 1 node_id: MDU6SXNzdWUx @@ -85827,7 +85827,7 @@ paths: application/json: schema: *88 examples: - default: &564 + default: &565 value: id: 1 node_id: MDU6SXNzdWUx @@ -86017,7 +86017,7 @@ paths: type: array items: *557 examples: - default: &566 + default: &567 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -86472,7 +86472,7 @@ paths: application/json: schema: type: array - items: &563 + items: &564 title: Issue Event description: Issue Event type: object @@ -86625,6 +86625,35 @@ paths: required: - from - to + issue_type: &563 + title: Issue Type + description: The type of issue. + type: object + nullable: true + properties: + id: + type: integer + description: The unique identifier of the issue type. + name: + type: string + description: The name of the issue type. + color: + type: string + description: The color of the issue type. + enum: + - gray + - blue + - green + - yellow + - orange + - red + - pink + - purple + nullable: true + required: + - id + - name + prev_issue_type: *563 author_association: *85 lock_reason: type: string @@ -86836,7 +86865,7 @@ paths: description: Response content: application/json: - schema: *563 + schema: *564 examples: default: value: @@ -87065,7 +87094,7 @@ paths: parameters: - *354 - *355 - - &565 + - &566 name: issue_number description: The number that identifies the issue. in: path @@ -87081,7 +87110,7 @@ paths: examples: default: summary: Issue - value: *564 + value: *565 pinned_comment: summary: Issue with pinned comment value: @@ -87290,7 +87319,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 requestBody: required: false content: @@ -87415,7 +87444,7 @@ paths: application/json: schema: *88 examples: - default: *564 + default: *565 '422': *15 '503': *122 '403': *29 @@ -87441,7 +87470,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 requestBody: required: false content: @@ -87469,7 +87498,7 @@ paths: application/json: schema: *88 examples: - default: *564 + default: *565 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87487,7 +87516,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 requestBody: content: application/json: @@ -87514,7 +87543,7 @@ paths: application/json: schema: *88 examples: - default: *564 + default: *565 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87538,7 +87567,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 - name: assignee in: path required: true @@ -87580,7 +87609,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 - *95 - *17 - *19 @@ -87593,7 +87622,7 @@ paths: type: array items: *557 examples: - default: *566 + default: *567 headers: Link: *70 '404': *6 @@ -87628,7 +87657,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 requestBody: required: true content: @@ -87689,7 +87718,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 - *17 - *19 responses: @@ -87701,7 +87730,7 @@ paths: type: array items: *88 examples: - default: *567 + default: *568 headers: Link: *70 '301': *358 @@ -87736,7 +87765,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 requestBody: required: true content: @@ -87760,7 +87789,7 @@ paths: application/json: schema: *88 examples: - default: *564 + default: *565 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by @@ -87801,7 +87830,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -87815,7 +87844,7 @@ paths: application/json: schema: *88 examples: - default: *564 + default: *565 '301': *358 '400': *14 '401': *25 @@ -87849,7 +87878,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 - *17 - *19 responses: @@ -87861,7 +87890,7 @@ paths: type: array items: *88 examples: - default: *567 + default: *568 headers: Link: *70 '301': *358 @@ -87885,7 +87914,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 - *17 - *19 responses: @@ -87899,7 +87928,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &571 + - &572 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -87953,7 +87982,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &572 + - &573 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -88089,7 +88118,7 @@ paths: - performed_via_github_app - assignee - assigner - - &573 + - &574 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -88140,7 +88169,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &574 + - &575 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -88191,7 +88220,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &575 + - &576 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -88245,7 +88274,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &576 + - &577 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -88292,7 +88321,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &577 + - &578 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -88339,7 +88368,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &578 + - &579 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -88399,7 +88428,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &579 + - &580 title: Locked Issue Event description: Locked Issue Event type: object @@ -88447,7 +88476,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &580 + - &581 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -88513,7 +88542,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &581 + - &582 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -88579,7 +88608,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &582 + - &583 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -88645,7 +88674,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &583 + - &584 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -88701,6 +88730,143 @@ paths: - commit_url - created_at - performed_via_github_app + - &587 + title: Issue Type Added Issue Event + description: Issue Type Added Issue Event + type: object + properties: + id: + type: integer + node_id: + type: string + url: + type: string + actor: *4 + event: + type: string + commit_id: + type: string + nullable: true + commit_url: + type: string + nullable: true + created_at: + type: string + performed_via_github_app: + title: GitHub app + description: GitHub apps are a new way to extend GitHub. They + can be installed directly on organizations and user accounts + and granted access to specific repositories. They come with + granular permissions and built-in webhooks. GitHub apps + are first class actors within GitHub. + type: object + nullable: true + properties: *83 + required: *84 + issue_type: *563 + required: + - issue_type + - id + - node_id + - url + - actor + - event + - commit_id + - commit_url + - created_at + - performed_via_github_app + - &588 + title: Issue Type Removed Issue Event + description: Issue Type Removed Issue Event + type: object + properties: + id: + type: integer + node_id: + type: string + url: + type: string + actor: *4 + event: + type: string + commit_id: + type: string + nullable: true + commit_url: + type: string + nullable: true + created_at: + type: string + performed_via_github_app: + title: GitHub app + description: GitHub apps are a new way to extend GitHub. They + can be installed directly on organizations and user accounts + and granted access to specific repositories. They come with + granular permissions and built-in webhooks. GitHub apps + are first class actors within GitHub. + type: object + nullable: true + properties: *83 + required: *84 + prev_issue_type: *563 + required: + - prev_issue_type + - id + - node_id + - url + - actor + - event + - commit_id + - commit_url + - created_at + - performed_via_github_app + - &589 + title: Issue Type Changed Issue Event + description: Issue Type Changed Issue Event + type: object + properties: + id: + type: integer + node_id: + type: string + url: + type: string + actor: *4 + event: + type: string + commit_id: + type: string + nullable: true + commit_url: + type: string + nullable: true + created_at: + type: string + performed_via_github_app: + title: GitHub app + description: GitHub apps are a new way to extend GitHub. They + can be installed directly on organizations and user accounts + and granted access to specific repositories. They come with + granular permissions and built-in webhooks. GitHub apps + are first class actors within GitHub. + type: object + nullable: true + properties: *83 + required: *84 + issue_type: *563 + prev_issue_type: *563 + required: + - issue_type + - prev_issue_type + - id + - node_id + - url + - actor + - event + - commit_id + - commit_url + - created_at + - performed_via_github_app examples: default: value: @@ -88755,7 +88921,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 - *17 - *19 responses: @@ -88765,9 +88931,9 @@ paths: application/json: schema: type: array - items: *568 + items: *569 examples: - default: &569 + default: &570 value: - issue_field_id: 1 node_id: IFT_GDKND @@ -88835,7 +89001,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 requestBody: required: true content: @@ -88905,9 +89071,9 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *568 + items: *569 examples: - default: *569 + default: *570 '400': *14 '403': *29 '404': *6 @@ -88945,7 +89111,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 requestBody: required: true content: @@ -89010,9 +89176,9 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *568 + items: *569 examples: - default: *569 + default: *570 '400': *14 '403': *29 '404': *6 @@ -89045,7 +89211,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 - *256 responses: '204': @@ -89073,7 +89239,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 - *17 - *19 responses: @@ -89085,7 +89251,7 @@ paths: type: array items: *87 examples: - default: &570 + default: &571 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -89123,7 +89289,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 requestBody: required: false content: @@ -89168,7 +89334,7 @@ paths: type: array items: *87 examples: - default: *570 + default: *571 '301': *358 '404': *6 '410': *556 @@ -89190,7 +89356,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 requestBody: required: false content: @@ -89252,7 +89418,7 @@ paths: type: array items: *87 examples: - default: *570 + default: *571 '301': *358 '404': *6 '410': *556 @@ -89274,7 +89440,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 responses: '204': description: Response @@ -89301,7 +89467,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 - name: name in: path required: true @@ -89349,7 +89515,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 requestBody: required: false content: @@ -89397,7 +89563,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 responses: '204': description: Response @@ -89429,7 +89595,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 responses: '200': description: Response @@ -89437,7 +89603,7 @@ paths: application/json: schema: *88 examples: - default: *564 + default: *565 '301': *358 '404': *6 '410': *556 @@ -89459,7 +89625,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 - 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. @@ -89511,7 +89677,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 requestBody: required: true content: @@ -89576,7 +89742,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 - *560 responses: '204': @@ -89608,7 +89774,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 requestBody: required: true content: @@ -89632,7 +89798,7 @@ paths: application/json: schema: *88 examples: - default: *564 + default: *565 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -89667,7 +89833,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 - *17 - *19 responses: @@ -89679,7 +89845,7 @@ paths: type: array items: *88 examples: - default: *567 + default: *568 headers: Link: *70 '404': *6 @@ -89713,7 +89879,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 requestBody: required: true content: @@ -89742,7 +89908,7 @@ paths: application/json: schema: *88 examples: - default: *564 + default: *565 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 @@ -89771,7 +89937,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 requestBody: required: true content: @@ -89804,7 +89970,7 @@ paths: application/json: schema: *88 examples: - default: *564 + default: *565 '403': *29 '404': *6 '422': *7 @@ -89828,7 +89994,7 @@ paths: parameters: - *354 - *355 - - *565 + - *566 - *17 - *19 responses: @@ -89843,7 +90009,6 @@ paths: description: Timeline Event type: object anyOf: - - *571 - *572 - *573 - *574 @@ -89856,6 +90021,7 @@ paths: - *581 - *582 - *583 + - *584 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -89916,8 +90082,8 @@ paths: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *584 - required: *585 + properties: *585 + required: *586 nullable: true required: - event @@ -90172,7 +90338,7 @@ paths: type: string comments: type: array - items: &605 + items: &609 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -90521,6 +90687,9 @@ paths: - commit_url - created_at - performed_via_github_app + - *587 + - *588 + - *589 examples: default: value: @@ -90704,7 +90873,7 @@ paths: application/json: schema: type: array - items: &586 + items: &590 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -90807,9 +90976,9 @@ paths: description: Response content: application/json: - schema: *586 + schema: *590 examples: - default: &587 + default: &591 value: id: 1 key: ssh-rsa AAA... @@ -90845,7 +91014,7 @@ paths: parameters: - *354 - *355 - - &588 + - &592 name: key_id description: The unique identifier of the key. in: path @@ -90857,9 +91026,9 @@ paths: description: Response content: application/json: - schema: *586 + schema: *590 examples: - default: *587 + default: *591 '404': *6 x-github: githubCloudOnly: false @@ -90879,7 +91048,7 @@ paths: parameters: - *354 - *355 - - *588 + - *592 responses: '204': description: Response @@ -90912,7 +91081,7 @@ paths: type: array items: *87 examples: - default: *570 + default: *571 headers: Link: *70 '404': *6 @@ -90972,7 +91141,7 @@ paths: application/json: schema: *87 examples: - default: &589 + default: &593 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -91018,7 +91187,7 @@ paths: application/json: schema: *87 examples: - default: *589 + default: *593 '404': *6 x-github: githubCloudOnly: false @@ -91418,7 +91587,7 @@ paths: application/json: schema: *487 examples: - default: *590 + default: *594 '204': description: Response when already merged '404': @@ -91485,7 +91654,7 @@ paths: application/json: schema: type: array - items: &591 + items: &595 title: Milestone description: A collection of related issues and pull requests. type: object @@ -91587,9 +91756,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *595 examples: - default: &592 + default: &596 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -91650,7 +91819,7 @@ paths: parameters: - *354 - *355 - - &593 + - &597 name: milestone_number description: The number that identifies the milestone. in: path @@ -91662,9 +91831,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *595 examples: - default: *592 + default: *596 '404': *6 x-github: githubCloudOnly: false @@ -91683,7 +91852,7 @@ paths: parameters: - *354 - *355 - - *593 + - *597 requestBody: required: false content: @@ -91721,9 +91890,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *595 examples: - default: *592 + default: *596 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91741,7 +91910,7 @@ paths: parameters: - *354 - *355 - - *593 + - *597 responses: '204': description: Response @@ -91764,7 +91933,7 @@ paths: parameters: - *354 - *355 - - *593 + - *597 - *17 - *19 responses: @@ -91776,7 +91945,7 @@ paths: type: array items: *87 examples: - default: *570 + default: *571 headers: Link: *70 x-github: @@ -91797,10 +91966,10 @@ paths: parameters: - *354 - *355 - - *594 - - *595 + - *598 + - *599 - *95 - - *596 + - *600 - *17 - *19 responses: @@ -91812,7 +91981,7 @@ paths: type: array items: *115 examples: - default: *597 + default: *601 headers: Link: *70 x-github: @@ -91902,7 +92071,7 @@ paths: description: Response content: application/json: - schema: &598 + schema: &602 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -92027,7 +92196,7 @@ paths: - custom_404 - public examples: - default: &599 + default: &603 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -92123,9 +92292,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *602 examples: - default: *599 + default: *603 '422': *15 '409': *54 x-github: @@ -92286,7 +92455,7 @@ paths: application/json: schema: type: array - items: &600 + items: &604 title: Page Build description: Page Build type: object @@ -92433,9 +92602,9 @@ paths: description: Response content: application/json: - schema: *600 + schema: *604 examples: - default: &601 + default: &605 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -92495,9 +92664,9 @@ paths: description: Response content: application/json: - schema: *600 + schema: *604 examples: - default: *601 + default: *605 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92625,7 +92794,7 @@ paths: parameters: - *354 - *355 - - &602 + - &606 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -92685,7 +92854,7 @@ paths: parameters: - *354 - *355 - - *602 + - *606 responses: '204': *61 '404': *6 @@ -93220,7 +93389,7 @@ paths: type: array items: *491 examples: - default: *603 + default: *607 headers: Link: *70 '304': *37 @@ -93318,7 +93487,7 @@ paths: description: Response content: application/json: - schema: &607 + schema: &611 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -93518,7 +93687,7 @@ paths: - review_comment - self author_association: *85 - auto_merge: *604 + auto_merge: *608 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -93608,7 +93777,7 @@ paths: - merged_by - review_comments examples: - default: &608 + default: &612 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -94145,9 +94314,9 @@ paths: application/json: schema: type: array - items: *605 + items: *609 examples: - default: &610 + default: &614 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -94232,9 +94401,9 @@ paths: description: Response content: application/json: - schema: *605 + schema: *609 examples: - default: &606 + default: &610 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -94333,9 +94502,9 @@ paths: description: Response content: application/json: - schema: *605 + schema: *609 examples: - default: *606 + default: *610 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94538,7 +94707,7 @@ paths: parameters: - *354 - *355 - - &609 + - &613 name: pull_number description: The number that identifies the pull request. in: path @@ -94551,9 +94720,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *607 + schema: *611 examples: - default: *608 + default: *612 '304': *37 '404': *6 '406': @@ -94590,7 +94759,7 @@ paths: parameters: - *354 - *355 - - *609 + - *613 requestBody: required: false content: @@ -94632,9 +94801,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *611 examples: - default: *608 + default: *612 '422': *15 '403': *29 x-github: @@ -94658,7 +94827,7 @@ paths: parameters: - *354 - *355 - - *609 + - *613 requestBody: required: true content: @@ -94760,7 +94929,7 @@ paths: parameters: - *354 - *355 - - *609 + - *613 - *112 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -94781,9 +94950,9 @@ paths: application/json: schema: type: array - items: *605 + items: *609 examples: - default: *610 + default: *614 headers: Link: *70 x-github: @@ -94818,7 +94987,7 @@ paths: parameters: - *354 - *355 - - *609 + - *613 requestBody: required: true content: @@ -94923,7 +95092,7 @@ paths: description: Response content: application/json: - schema: *605 + schema: *609 examples: example-for-a-multi-line-comment: value: @@ -95013,7 +95182,7 @@ paths: parameters: - *354 - *355 - - *609 + - *613 - *104 requestBody: required: true @@ -95036,7 +95205,7 @@ paths: description: Response content: application/json: - schema: *605 + schema: *609 examples: default: value: @@ -95124,7 +95293,7 @@ paths: parameters: - *354 - *355 - - *609 + - *613 - *17 - *19 responses: @@ -95136,7 +95305,7 @@ paths: type: array items: *487 examples: - default: *611 + default: *615 headers: Link: *70 x-github: @@ -95168,7 +95337,7 @@ paths: parameters: - *354 - *355 - - *609 + - *613 - *17 - *19 responses: @@ -95218,7 +95387,7 @@ paths: parameters: - *354 - *355 - - *609 + - *613 responses: '204': description: Response if pull request has been merged @@ -95243,7 +95412,7 @@ paths: parameters: - *354 - *355 - - *609 + - *613 requestBody: required: false content: @@ -95356,7 +95525,7 @@ paths: parameters: - *354 - *355 - - *609 + - *613 responses: '200': description: Response @@ -95433,7 +95602,7 @@ paths: parameters: - *354 - *355 - - *609 + - *613 requestBody: required: false content: @@ -96008,7 +96177,7 @@ paths: parameters: - *354 - *355 - - *609 + - *613 requestBody: required: true content: @@ -96529,7 +96698,7 @@ paths: parameters: - *354 - *355 - - *609 + - *613 - *17 - *19 responses: @@ -96539,7 +96708,7 @@ paths: application/json: schema: type: array - items: &612 + items: &616 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -96692,7 +96861,7 @@ paths: parameters: - *354 - *355 - - *609 + - *613 requestBody: required: false content: @@ -96778,9 +96947,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *616 examples: - default: &614 + default: &618 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -96845,8 +97014,8 @@ paths: parameters: - *354 - *355 - - *609 - - &613 + - *613 + - &617 name: review_id description: The unique identifier of the review. in: path @@ -96858,9 +97027,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *616 examples: - default: &615 + default: &619 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -96921,8 +97090,8 @@ paths: parameters: - *354 - *355 - - *609 - *613 + - *617 requestBody: required: true content: @@ -96945,7 +97114,7 @@ paths: description: Response content: application/json: - schema: *612 + schema: *616 examples: default: value: @@ -97009,16 +97178,16 @@ paths: parameters: - *354 - *355 - - *609 - *613 + - *617 responses: '200': description: Response content: application/json: - schema: *612 + schema: *616 examples: - default: *614 + default: *618 '422': *7 '404': *6 x-github: @@ -97047,8 +97216,8 @@ paths: parameters: - *354 - *355 - - *609 - *613 + - *617 - *17 - *19 responses: @@ -97285,8 +97454,8 @@ paths: parameters: - *354 - *355 - - *609 - *613 + - *617 requestBody: required: true content: @@ -97314,7 +97483,7 @@ paths: description: Response content: application/json: - schema: *612 + schema: *616 examples: default: value: @@ -97379,8 +97548,8 @@ paths: parameters: - *354 - *355 - - *609 - *613 + - *617 requestBody: required: true content: @@ -97415,9 +97584,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *616 examples: - default: *615 + default: *619 '404': *6 '422': *7 '403': *29 @@ -97441,7 +97610,7 @@ paths: parameters: - *354 - *355 - - *609 + - *613 requestBody: required: false content: @@ -97518,9 +97687,9 @@ paths: description: Response content: application/json: - schema: *616 + schema: *620 examples: - default: &617 + default: &621 value: type: file encoding: base64 @@ -97583,9 +97752,9 @@ paths: description: Response content: application/json: - schema: *616 + schema: *620 examples: - default: *617 + default: *621 '404': *6 '422': *15 x-github: @@ -97618,7 +97787,7 @@ paths: application/json: schema: type: array - items: *618 + items: *622 examples: default: value: @@ -97789,9 +97958,9 @@ paths: description: Response content: application/json: - schema: *618 + schema: *622 examples: - default: &622 + default: &626 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -97898,7 +98067,7 @@ paths: parameters: - *354 - *355 - - &620 + - &624 name: asset_id description: The unique identifier of the asset. in: path @@ -97910,9 +98079,9 @@ paths: description: Response content: application/json: - schema: *619 + schema: *623 examples: - default: &621 + default: &625 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -97965,7 +98134,7 @@ paths: parameters: - *354 - *355 - - *620 + - *624 requestBody: required: false content: @@ -97993,9 +98162,9 @@ paths: description: Response content: application/json: - schema: *619 + schema: *623 examples: - default: *621 + default: *625 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98013,7 +98182,7 @@ paths: parameters: - *354 - *355 - - *620 + - *624 responses: '204': description: Response @@ -98131,9 +98300,9 @@ paths: description: Response content: application/json: - schema: *618 + schema: *622 examples: - default: *622 + default: *626 '404': *6 x-github: githubCloudOnly: false @@ -98165,9 +98334,9 @@ paths: description: Response content: application/json: - schema: *618 + schema: *622 examples: - default: *622 + default: *626 '404': *6 x-github: githubCloudOnly: false @@ -98191,7 +98360,7 @@ paths: parameters: - *354 - *355 - - &623 + - &627 name: release_id description: The unique identifier of the release. in: path @@ -98205,9 +98374,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *618 + schema: *622 examples: - default: *622 + default: *626 '401': description: Unauthorized x-github: @@ -98227,7 +98396,7 @@ paths: parameters: - *354 - *355 - - *623 + - *627 requestBody: required: false content: @@ -98291,9 +98460,9 @@ paths: description: Response content: application/json: - schema: *618 + schema: *622 examples: - default: *622 + default: *626 '404': description: Not Found if the discussion category name is invalid content: @@ -98316,7 +98485,7 @@ paths: parameters: - *354 - *355 - - *623 + - *627 responses: '204': description: Response @@ -98339,7 +98508,7 @@ paths: parameters: - *354 - *355 - - *623 + - *627 - *17 - *19 responses: @@ -98349,7 +98518,7 @@ paths: application/json: schema: type: array - items: *619 + items: *623 examples: default: value: @@ -98432,7 +98601,7 @@ paths: parameters: - *354 - *355 - - *623 + - *627 - name: name in: query required: true @@ -98458,7 +98627,7 @@ paths: description: Response for successful upload content: application/json: - schema: *619 + schema: *623 examples: response-for-successful-upload: value: @@ -98515,7 +98684,7 @@ paths: parameters: - *354 - *355 - - *623 + - *627 - 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 release. @@ -98564,7 +98733,7 @@ paths: parameters: - *354 - *355 - - *623 + - *627 requestBody: required: true content: @@ -98627,7 +98796,7 @@ paths: parameters: - *354 - *355 - - *623 + - *627 - *560 responses: '204': @@ -98671,7 +98840,7 @@ paths: oneOf: - allOf: - *318 - - &624 + - &628 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -98692,67 +98861,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *319 - - *624 + - *628 - allOf: - *320 - - *624 + - *628 - allOf: - *321 - - *624 + - *628 - allOf: - - *625 - - *624 + - *629 + - *628 - allOf: - *322 - - *624 + - *628 - allOf: - *323 - - *624 + - *628 - allOf: - *324 - - *624 + - *628 - allOf: - *325 - - *624 + - *628 - allOf: - *326 - - *624 + - *628 - allOf: - *327 - - *624 + - *628 - allOf: - *328 - - *624 + - *628 - allOf: - *329 - - *624 + - *628 - allOf: - *330 - - *624 + - *628 - allOf: - *331 - - *624 + - *628 - allOf: - *336 - - *624 + - *628 - allOf: - *337 - - *624 + - *628 - allOf: - *338 - - *624 + - *628 - allOf: - *332 - - *624 + - *628 - allOf: - *333 - - *624 + - *628 - allOf: - *334 - - *624 + - *628 - allOf: - *335 - - *624 + - *628 examples: default: value: @@ -98803,7 +98972,7 @@ paths: schema: type: boolean default: true - - *626 + - *630 responses: '200': description: Response @@ -98888,7 +99057,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *627 + items: *631 required: - name - enforcement @@ -98921,7 +99090,7 @@ paths: application/json: schema: *339 examples: - default: &638 + default: &642 value: id: 42 name: super cool ruleset @@ -98971,11 +99140,11 @@ paths: parameters: - *354 - *355 - - *628 - - *629 - - *630 - - *631 - *632 + - *633 + - *634 + - *635 + - *636 - *17 - *19 responses: @@ -98983,9 +99152,9 @@ paths: description: Response content: application/json: - schema: *633 + schema: *637 examples: - default: *634 + default: *638 '404': *6 '500': *55 x-github: @@ -99008,15 +99177,15 @@ paths: parameters: - *354 - *355 - - *635 + - *639 responses: '200': description: Response content: application/json: - schema: *636 + schema: *640 examples: - default: *637 + default: *641 '404': *6 '500': *55 x-github: @@ -99067,7 +99236,7 @@ paths: application/json: schema: *339 examples: - default: *638 + default: *642 '404': *6 '500': *55 put: @@ -99120,7 +99289,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *627 + items: *631 examples: default: value: @@ -99150,7 +99319,7 @@ paths: application/json: schema: *339 examples: - default: *638 + default: *642 '404': *6 '422': *15 '500': *55 @@ -99212,7 +99381,7 @@ paths: type: array items: *342 examples: - default: *639 + default: *643 '404': *6 '500': *55 x-github: @@ -99250,7 +99419,7 @@ paths: description: Response content: application/json: - schema: *640 + schema: *644 examples: default: value: @@ -99307,24 +99476,24 @@ paths: parameters: - *354 - *355 - - *641 - - *642 - - *643 - - *644 - *645 - *646 - *647 - *648 - - *62 - - *19 - - *17 - *649 - *650 - *651 - *652 + - *62 + - *19 + - *17 - *653 - *654 - *655 + - *656 + - *657 + - *658 + - *659 responses: '200': description: Response @@ -99332,7 +99501,7 @@ paths: application/json: schema: type: array - items: &659 + items: &663 type: object properties: number: *188 @@ -99351,8 +99520,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *656 - resolution: *657 + state: *660 + resolution: *661 resolved_at: type: string format: date-time @@ -99458,7 +99627,7 @@ paths: pull request. ' - oneOf: *658 + oneOf: *662 nullable: true has_more_locations: type: boolean @@ -99625,13 +99794,13 @@ paths: - *354 - *355 - *451 - - *654 + - *658 responses: '200': description: Response content: application/json: - schema: *659 + schema: *663 examples: default: value: @@ -99695,8 +99864,8 @@ paths: schema: type: object properties: - state: *656 - resolution: *657 + state: *660 + resolution: *661 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -99740,7 +99909,7 @@ paths: description: Response content: application/json: - schema: *659 + schema: *663 examples: default: value: @@ -99852,7 +100021,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &816 + items: &820 type: object properties: type: @@ -99878,10 +100047,6 @@ paths: example: commit details: oneOf: - - *660 - - *661 - - *662 - - *663 - *664 - *665 - *666 @@ -99891,6 +100056,10 @@ paths: - *670 - *671 - *672 + - *673 + - *674 + - *675 + - *676 examples: default: value: @@ -99985,14 +100154,14 @@ paths: schema: type: object properties: - reason: &674 + reason: &678 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *673 + placeholder_id: *677 required: - reason - placeholder_id @@ -100009,7 +100178,7 @@ paths: schema: type: object properties: - reason: *674 + reason: *678 expire_at: type: string format: date-time @@ -100071,7 +100240,7 @@ paths: properties: incremental_scans: type: array - items: &675 + items: &679 description: Information on a single scan performed by secret scanning on the repository type: object @@ -100102,15 +100271,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *675 + items: *679 backfill_scans: type: array - items: *675 + items: *679 custom_pattern_backfill_scans: type: array items: allOf: - - *675 + - *679 - type: object properties: pattern_name: @@ -100123,7 +100292,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *675 + items: *679 examples: default: value: @@ -100233,9 +100402,9 @@ paths: application/json: schema: type: array - items: *676 + items: *680 examples: - default: *677 + default: *681 '400': *14 '404': *6 x-github: @@ -100419,9 +100588,9 @@ paths: description: Response content: application/json: - schema: *676 + schema: *680 examples: - default: &679 + default: &683 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -100756,7 +100925,7 @@ paths: description: Response content: application/json: - schema: *676 + schema: *680 examples: default: value: @@ -100904,15 +101073,15 @@ paths: parameters: - *354 - *355 - - *678 + - *682 responses: '200': description: Response content: application/json: - schema: *676 + schema: *680 examples: - default: *679 + default: *683 '403': *29 '404': *6 x-github: @@ -100938,7 +101107,7 @@ paths: parameters: - *354 - *355 - - *678 + - *682 requestBody: required: true content: @@ -101097,10 +101266,10 @@ paths: description: Response content: application/json: - schema: *676 + schema: *680 examples: - default: *679 - add_credit: *679 + default: *683 + add_credit: *683 '403': *29 '404': *6 '422': @@ -101140,7 +101309,7 @@ paths: parameters: - *354 - *355 - - *678 + - *682 responses: '202': *39 '400': *14 @@ -101169,7 +101338,7 @@ paths: parameters: - *354 - *355 - - *678 + - *682 responses: '202': description: Response @@ -101313,7 +101482,7 @@ paths: application/json: schema: type: array - items: &680 + items: &684 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -101686,7 +101855,7 @@ paths: application/json: schema: type: array - items: *680 + items: *684 examples: default: value: @@ -101774,7 +101943,7 @@ paths: description: Response content: application/json: - schema: *681 + schema: *685 examples: default: value: @@ -101868,7 +102037,7 @@ paths: description: if you subscribe to the repository content: application/json: - schema: &682 + schema: &686 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -101963,7 +102132,7 @@ paths: description: Response content: application/json: - schema: *682 + schema: *686 examples: default: value: @@ -102170,7 +102339,7 @@ paths: description: Response content: application/json: - schema: &683 + schema: &687 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -102182,7 +102351,7 @@ paths: required: - names examples: - default: &684 + default: &688 value: names: - octocat @@ -102237,9 +102406,9 @@ paths: description: Response content: application/json: - schema: *683 + schema: *687 examples: - default: *684 + default: *688 '404': *6 '422': *7 x-github: @@ -102262,7 +102431,7 @@ paths: parameters: - *354 - *355 - - &685 + - &689 name: per description: The time frame to display results for. in: query @@ -102291,7 +102460,7 @@ paths: example: 128 clones: type: array - items: &686 + items: &690 title: Traffic type: object properties: @@ -102532,7 +102701,7 @@ paths: parameters: - *354 - *355 - - *685 + - *689 responses: '200': description: Response @@ -102551,7 +102720,7 @@ paths: example: 3782 views: type: array - items: *686 + items: *690 required: - uniques - count @@ -103322,7 +103491,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &687 + text_matches: &691 title: Search Result Text Matches type: array items: @@ -103484,7 +103653,7 @@ paths: enum: - author-date - committer-date - - &688 + - &692 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -103612,7 +103781,7 @@ paths: type: number node_id: type: string - text_matches: *687 + text_matches: *691 required: - sha - node_id @@ -103804,7 +103973,7 @@ paths: - interactions - created - updated - - *688 + - *692 - *17 - *19 - name: advanced_search @@ -103918,11 +104087,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *689 - issue_dependencies_summary: *690 + sub_issues_summary: *693 + issue_dependencies_summary: *694 issue_field_values: type: array - items: *568 + items: *569 state: type: string state_reason: @@ -103947,7 +104116,7 @@ paths: type: string format: date-time nullable: true - text_matches: *687 + text_matches: *691 pull_request: type: object properties: @@ -104227,7 +104396,7 @@ paths: enum: - created - updated - - *688 + - *692 - *17 - *19 responses: @@ -104271,7 +104440,7 @@ paths: nullable: true score: type: number - text_matches: *687 + text_matches: *691 required: - id - node_id @@ -104356,7 +104525,7 @@ paths: - forks - help-wanted-issues - updated - - *688 + - *692 - *17 - *19 responses: @@ -104604,7 +104773,7 @@ paths: - admin - pull - push - text_matches: *687 + text_matches: *691 temp_clone_token: type: string allow_merge_commit: @@ -104904,7 +105073,7 @@ paths: type: string format: uri nullable: true - text_matches: *687 + text_matches: *691 related: type: array nullable: true @@ -105095,7 +105264,7 @@ paths: - followers - repositories - joined - - *688 + - *692 - *17 - *19 responses: @@ -105199,7 +105368,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *687 + text_matches: *691 blog: type: string nullable: true @@ -105278,7 +105447,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &691 + - &695 name: team_id description: The unique identifier of the team. in: path @@ -105319,7 +105488,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *691 + - *695 requestBody: required: true content: @@ -105419,7 +105588,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *691 + - *695 responses: '204': description: Response @@ -105448,7 +105617,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *691 + - *695 - *17 - *19 responses: @@ -105486,7 +105655,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *691 + - *695 - name: role description: Filters members returned by their role in the team. in: query @@ -105537,7 +105706,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *691 + - *695 - *74 responses: '204': @@ -105574,7 +105743,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *691 + - *695 - *74 responses: '204': @@ -105614,7 +105783,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *691 + - *695 - *74 responses: '204': @@ -105651,7 +105820,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *691 + - *695 - *74 responses: '200': @@ -105660,7 +105829,7 @@ paths: application/json: schema: *353 examples: - response-if-user-is-a-team-maintainer: *692 + response-if-user-is-a-team-maintainer: *696 '404': *6 x-github: githubCloudOnly: false @@ -105693,7 +105862,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *691 + - *695 - *74 requestBody: required: false @@ -105721,7 +105890,7 @@ paths: application/json: schema: *353 examples: - response-if-users-membership-with-team-is-now-pending: *693 + response-if-users-membership-with-team-is-now-pending: *697 '403': description: Forbidden if team synchronization is set up '422': @@ -105755,7 +105924,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *691 + - *695 - *74 responses: '204': @@ -105783,7 +105952,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *691 + - *695 - *17 - *19 responses: @@ -105825,7 +105994,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *691 + - *695 - *354 - *355 responses: @@ -105833,7 +106002,7 @@ paths: description: Alternative response with extra repository information content: application/json: - schema: *694 + schema: *698 examples: alternative-response-with-extra-repository-information: value: @@ -105983,7 +106152,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *691 + - *695 - *354 - *355 requestBody: @@ -106035,7 +106204,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *691 + - *695 - *354 - *355 responses: @@ -106062,7 +106231,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *691 + - *695 - *17 - *19 responses: @@ -106074,7 +106243,7 @@ paths: type: array items: *210 examples: - response-if-child-teams-exist: *695 + response-if-child-teams-exist: *699 headers: Link: *70 '404': *6 @@ -106107,7 +106276,7 @@ paths: application/json: schema: oneOf: - - &696 + - &700 title: Private User description: Private User type: object @@ -106310,7 +106479,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - &722 + - &726 title: Public User description: Public User type: object @@ -106622,7 +106791,7 @@ paths: description: Response content: application/json: - schema: *696 + schema: *700 examples: default: value: @@ -107020,7 +107189,7 @@ paths: type: integer secrets: type: array - items: &697 + items: &701 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -107136,7 +107305,7 @@ paths: description: Response content: application/json: - schema: *697 + schema: *701 examples: default: value: @@ -107549,7 +107718,7 @@ paths: description: Response content: application/json: - schema: &698 + schema: &702 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -107590,7 +107759,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &699 + default: &703 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -107635,9 +107804,9 @@ paths: description: Response content: application/json: - schema: *698 + schema: *702 examples: - default: *699 + default: *703 '404': *6 x-github: githubCloudOnly: false @@ -107674,9 +107843,9 @@ paths: type: integer machines: type: array - items: *700 + items: *704 examples: - default: *701 + default: *705 '304': *37 '500': *55 '401': *25 @@ -108615,7 +108784,7 @@ paths: type: array items: *275 examples: - default: &712 + default: &716 value: - id: 197 name: hello_docker @@ -108716,7 +108885,7 @@ paths: application/json: schema: type: array - items: &702 + items: &706 title: Email description: Email type: object @@ -108781,9 +108950,9 @@ paths: application/json: schema: type: array - items: *702 + items: *706 examples: - default: &714 + default: &718 value: - email: octocat@github.com verified: true @@ -108858,7 +109027,7 @@ paths: application/json: schema: type: array - items: *702 + items: *706 examples: default: value: @@ -109114,7 +109283,7 @@ paths: application/json: schema: type: array - items: &703 + items: &707 title: GPG Key description: A unique encryption key type: object @@ -109245,7 +109414,7 @@ paths: - subkeys - revoked examples: - default: &732 + default: &736 value: - id: 3 name: Octocat's GPG Key @@ -109330,9 +109499,9 @@ paths: description: Response content: application/json: - schema: *703 + schema: *707 examples: - default: &704 + default: &708 value: id: 3 name: Octocat's GPG Key @@ -109389,7 +109558,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &705 + - &709 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -109401,9 +109570,9 @@ paths: description: Response content: application/json: - schema: *703 + schema: *707 examples: - default: *704 + default: *708 '404': *6 '304': *37 '403': *29 @@ -109426,7 +109595,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *705 + - *709 responses: '204': description: Response @@ -109893,7 +110062,7 @@ paths: application/json: schema: type: array - items: &706 + items: &710 title: Key description: Key type: object @@ -109994,9 +110163,9 @@ paths: description: Response content: application/json: - schema: *706 + schema: *710 examples: - default: &707 + default: &711 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -110029,15 +110198,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *588 + - *592 responses: '200': description: Response content: application/json: - schema: *706 + schema: *710 examples: - default: *707 + default: *711 '404': *6 '304': *37 '403': *29 @@ -110060,7 +110229,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *588 + - *592 responses: '204': description: Response @@ -110093,7 +110262,7 @@ paths: application/json: schema: type: array - items: &708 + items: &712 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -110161,7 +110330,7 @@ paths: - account - plan examples: - default: &709 + default: &713 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -110223,9 +110392,9 @@ paths: application/json: schema: type: array - items: *708 + items: *712 examples: - default: *709 + default: *713 headers: Link: *70 '304': *37 @@ -111234,7 +111403,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *269 - - *710 + - *714 responses: '204': description: Response @@ -111347,7 +111516,7 @@ paths: - docker - nuget - container - - *711 + - *715 - *19 - *17 responses: @@ -111359,8 +111528,8 @@ paths: type: array items: *275 examples: - default: *712 - '400': *713 + default: *716 + '400': *717 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111389,7 +111558,7 @@ paths: application/json: schema: *275 examples: - default: &733 + default: &737 value: id: 40201 name: octo-name @@ -111751,9 +111920,9 @@ paths: application/json: schema: type: array - items: *702 + items: *706 examples: - default: *714 + default: *718 headers: Link: *70 '304': *37 @@ -111866,7 +112035,7 @@ paths: type: array items: *82 examples: - default: &721 + default: &725 summary: Default response value: - id: 1296269 @@ -112213,7 +112382,7 @@ paths: type: array items: *554 examples: - default: *715 + default: *719 headers: Link: *70 '304': *37 @@ -112293,7 +112462,7 @@ paths: application/json: schema: type: array - items: &716 + items: &720 title: Social account description: Social media account type: object @@ -112308,7 +112477,7 @@ paths: - provider - url examples: - default: &717 + default: &721 value: - provider: twitter url: https://twitter.com/github @@ -112370,9 +112539,9 @@ paths: application/json: schema: type: array - items: *716 + items: *720 examples: - default: *717 + default: *721 '422': *15 '304': *37 '404': *6 @@ -112459,7 +112628,7 @@ paths: application/json: schema: type: array - items: &718 + items: &722 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -112479,7 +112648,7 @@ paths: - title - created_at examples: - default: &750 + default: &754 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -112543,9 +112712,9 @@ paths: description: Response content: application/json: - schema: *718 + schema: *722 examples: - default: &719 + default: &723 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -112575,7 +112744,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &720 + - &724 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -112587,9 +112756,9 @@ paths: description: Response content: application/json: - schema: *718 + schema: *722 examples: - default: *719 + default: *723 '404': *6 '304': *37 '403': *29 @@ -112612,7 +112781,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *720 + - *724 responses: '204': description: Response @@ -112641,7 +112810,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &751 + - &755 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -112666,11 +112835,11 @@ paths: type: array items: *82 examples: - default-response: *721 + default-response: *725 application/vnd.github.v3.star+json: schema: type: array - items: &752 + items: &756 title: Starred Repository description: Starred Repository type: object @@ -113039,10 +113208,10 @@ paths: application/json: schema: oneOf: - - *696 - - *722 + - *700 + - *726 examples: - default-response: &726 + default-response: &730 summary: Default response value: login: octocat @@ -113077,7 +113246,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &727 + response-with-git-hub-plan-information: &731 summary: Response with GitHub plan information value: login: octocat @@ -113134,7 +113303,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &724 + - &728 name: user_id description: The unique identifier of the user. in: path @@ -113200,7 +113369,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *723 + - *727 - *17 responses: '200': @@ -113235,7 +113404,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *724 + - *728 - *293 requestBody: required: true @@ -113307,7 +113476,7 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *725 + schema: *729 examples: table_view: summary: Response for creating a table view @@ -113359,11 +113528,11 @@ paths: application/json: schema: oneOf: - - *696 - - *722 + - *700 + - *726 examples: - default-response: *726 - response-with-git-hub-plan-information: *727 + default-response: *730 + response-with-git-hub-plan-information: *731 '404': *6 x-github: githubCloudOnly: false @@ -113413,8 +113582,8 @@ paths: required: - subject_digests examples: - default: *728 - withPredicateType: *729 + default: *732 + withPredicateType: *733 responses: '200': description: Response @@ -113453,7 +113622,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *730 + default: *734 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -113923,7 +114092,7 @@ paths: application/json: schema: *204 examples: - default: &731 + default: &735 summary: Example response for a user copilot space value: id: 42 @@ -114024,7 +114193,7 @@ paths: application/json: schema: *204 examples: - default: *731 + default: *735 '403': *29 '404': *6 x-github: @@ -114147,7 +114316,7 @@ paths: application/json: schema: *204 examples: - default: *731 + default: *735 '403': *29 '404': *6 '422': *15 @@ -114915,7 +115084,7 @@ paths: type: array items: *275 examples: - default: *712 + default: *716 '403': *29 '401': *25 x-github: @@ -115299,9 +115468,9 @@ paths: application/json: schema: type: array - items: *703 + items: *707 examples: - default: *732 + default: *736 headers: Link: *70 x-github: @@ -115529,7 +115698,7 @@ paths: - docker - nuget - container - - *711 + - *715 - *74 - *19 - *17 @@ -115542,10 +115711,10 @@ paths: type: array items: *275 examples: - default: *712 + default: *716 '403': *29 '401': *25 - '400': *713 + '400': *717 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -115575,7 +115744,7 @@ paths: application/json: schema: *275 examples: - default: *733 + default: *737 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -115924,7 +116093,7 @@ paths: type: array items: *297 examples: - default: *734 + default: *738 headers: Link: *70 '304': *37 @@ -115984,7 +116153,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *735 + items: *739 required: - name - data_type @@ -116000,7 +116169,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *736 + iteration_configuration: *740 required: - name - data_type @@ -116022,8 +116191,8 @@ paths: value: name: Due date data_type: date - single_select_field: *737 - iteration_field: *738 + single_select_field: *741 + iteration_field: *742 responses: '201': description: Response @@ -116031,11 +116200,11 @@ paths: application/json: schema: *297 examples: - text_field: *739 - number_field: *740 - date_field: *741 - single_select_field: *742 - iteration_field: *743 + text_field: *743 + number_field: *744 + date_field: *745 + single_select_field: *746 + iteration_field: *747 '304': *37 '403': *29 '401': *25 @@ -116057,7 +116226,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - *293 - - *744 + - *748 - *74 responses: '200': @@ -116066,7 +116235,7 @@ paths: application/json: schema: *297 examples: - default: *745 + default: *749 headers: Link: *70 '304': *37 @@ -116420,7 +116589,7 @@ paths: parameters: - *293 - *74 - - *746 + - *750 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -116959,7 +117128,7 @@ paths: parameters: - *74 - *124 - - *747 + - *751 - *126 responses: '200': @@ -117058,9 +117227,9 @@ paths: - *124 - *125 - *126 - - *748 + - *752 - *129 - - *749 + - *753 responses: '200': description: Response when getting a billing usage summary @@ -117194,9 +117363,9 @@ paths: application/json: schema: type: array - items: *716 + items: *720 examples: - default: *717 + default: *721 headers: Link: *70 x-github: @@ -117226,9 +117395,9 @@ paths: application/json: schema: type: array - items: *718 + items: *722 examples: - default: *750 + default: *754 headers: Link: *70 x-github: @@ -117253,7 +117422,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *74 - - *751 + - *755 - *62 - *17 - *19 @@ -117265,11 +117434,11 @@ paths: schema: anyOf: - type: array - items: *752 + items: *756 - type: array items: *82 examples: - default-response: *721 + default-response: *725 headers: Link: *70 x-github: @@ -117428,7 +117597,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &753 + enterprise: &757 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -117486,7 +117655,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &754 + installation: &758 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -117505,7 +117674,7 @@ x-webhooks: required: - id - node_id - organization: &755 + organization: &759 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -117565,13 +117734,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &756 + repository: &760 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &788 + properties: &792 id: description: Unique identifier of the repository example: 42 @@ -118255,7 +118424,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &789 + required: &793 - archive_url - assignees_url - blobs_url @@ -118406,10 +118575,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -118485,11 +118654,11 @@ x-webhooks: type: string enum: - created - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 - rule: &757 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 + rule: &761 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -118712,11 +118881,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 - rule: *757 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 + rule: *761 sender: *4 required: - action @@ -118899,11 +119068,11 @@ x-webhooks: - everyone required: - from - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 - rule: *757 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 + rule: *761 sender: *4 required: - action @@ -118987,7 +119156,7 @@ x-webhooks: type: string enum: - completed - check_run: &759 + check_run: &763 title: CheckRun description: A check performed on the code of a given code change type: object @@ -119078,7 +119247,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *758 + deployment: *762 details_url: example: https://example.com type: string @@ -119163,10 +119332,10 @@ x-webhooks: - output - app - pull_requests - installation: *754 - enterprise: *753 - organization: *755 - repository: *756 + installation: *758 + enterprise: *757 + organization: *759 + repository: *760 sender: *4 required: - check_run @@ -119557,11 +119726,11 @@ x-webhooks: type: string enum: - created - check_run: *759 - installation: *754 - enterprise: *753 - organization: *755 - repository: *756 + check_run: *763 + installation: *758 + enterprise: *757 + organization: *759 + repository: *760 sender: *4 required: - check_run @@ -119955,11 +120124,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *759 - installation: *754 - enterprise: *753 - organization: *755 - repository: *756 + check_run: *763 + installation: *758 + enterprise: *757 + organization: *759 + repository: *760 requested_action: description: The action requested by the user. type: object @@ -120362,11 +120531,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *759 - installation: *754 - enterprise: *753 - organization: *755 - repository: *756 + check_run: *763 + installation: *758 + enterprise: *757 + organization: *759 + repository: *760 sender: *4 required: - check_run @@ -121336,10 +121505,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -122038,10 +122207,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -122734,10 +122903,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -123048,20 +123217,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &760 + commit_oid: &764 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *753 - installation: *754 - organization: *755 - ref: &761 + enterprise: *757 + installation: *758 + organization: *759 + ref: &765 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *756 + repository: *760 sender: *4 required: - action @@ -123456,12 +123625,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *760 - enterprise: *753 - installation: *754 - organization: *755 - ref: *761 - repository: *756 + commit_oid: *764 + enterprise: *757 + installation: *758 + organization: *759 + ref: *765 + repository: *760 sender: *4 required: - action @@ -123727,12 +123896,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *760 - enterprise: *753 - installation: *754 - organization: *755 - ref: *761 - repository: *756 + commit_oid: *764 + enterprise: *757 + installation: *758 + organization: *759 + ref: *765 + repository: *760 sender: *4 required: - action @@ -124064,12 +124233,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *760 - enterprise: *753 - installation: *754 - organization: *755 - ref: *761 - repository: *756 + commit_oid: *764 + enterprise: *757 + installation: *758 + organization: *759 + ref: *765 + repository: *760 sender: *4 required: - action @@ -124343,16 +124512,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *757 + installation: *758 + organization: *759 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *756 + repository: *760 sender: *4 required: - action @@ -124589,12 +124758,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *760 - enterprise: *753 - installation: *754 - organization: *755 - ref: *761 - repository: *756 + commit_oid: *764 + enterprise: *757 + installation: *758 + organization: *759 + ref: *765 + repository: *760 sender: *4 required: - action @@ -124905,10 +125074,10 @@ x-webhooks: - dismissed_reason - rule - tool - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -125163,10 +125332,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -125246,18 +125415,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *753 - installation: *754 + enterprise: *757 + installation: *758 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *755 - pusher_type: &762 + organization: *759 + pusher_type: &766 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &763 + ref: &767 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -125267,7 +125436,7 @@ x-webhooks: enum: - tag - branch - repository: *756 + repository: *760 sender: *4 required: - ref @@ -125350,9 +125519,9 @@ x-webhooks: enum: - created definition: *305 - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *757 + installation: *758 + organization: *759 sender: *4 required: - action @@ -125437,9 +125606,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *757 + installation: *758 + organization: *759 sender: *4 required: - action @@ -125517,9 +125686,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *305 - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *757 + installation: *758 + organization: *759 sender: *4 required: - action @@ -125597,9 +125766,9 @@ x-webhooks: enum: - updated definition: *305 - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *757 + installation: *758 + organization: *759 sender: *4 required: - action @@ -125676,10 +125845,10 @@ x-webhooks: type: string enum: - updated - enterprise: *753 - installation: *754 - repository: *756 - organization: *755 + enterprise: *757 + installation: *758 + repository: *760 + organization: *759 sender: *4 new_property_values: type: array @@ -125764,18 +125933,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *753 - installation: *754 - organization: *755 - pusher_type: *762 - ref: *763 + enterprise: *757 + installation: *758 + organization: *759 + pusher_type: *766 + ref: *767 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *756 + repository: *760 sender: *4 required: - ref @@ -125856,10 +126025,10 @@ x-webhooks: enum: - assignees_changed alert: *510 - installation: *754 - organization: *755 - enterprise: *753 - repository: *756 + installation: *758 + organization: *759 + enterprise: *757 + repository: *760 sender: *4 required: - action @@ -125940,10 +126109,10 @@ x-webhooks: enum: - auto_dismissed alert: *510 - installation: *754 - organization: *755 - enterprise: *753 - repository: *756 + installation: *758 + organization: *759 + enterprise: *757 + repository: *760 sender: *4 required: - action @@ -126025,10 +126194,10 @@ x-webhooks: enum: - auto_reopened alert: *510 - installation: *754 - organization: *755 - enterprise: *753 - repository: *756 + installation: *758 + organization: *759 + enterprise: *757 + repository: *760 sender: *4 required: - action @@ -126110,10 +126279,10 @@ x-webhooks: enum: - created alert: *510 - installation: *754 - organization: *755 - enterprise: *753 - repository: *756 + installation: *758 + organization: *759 + enterprise: *757 + repository: *760 sender: *4 required: - action @@ -126193,10 +126362,10 @@ x-webhooks: enum: - dismissed alert: *510 - installation: *754 - organization: *755 - enterprise: *753 - repository: *756 + installation: *758 + organization: *759 + enterprise: *757 + repository: *760 sender: *4 required: - action @@ -126276,10 +126445,10 @@ x-webhooks: enum: - fixed alert: *510 - installation: *754 - organization: *755 - enterprise: *753 - repository: *756 + installation: *758 + organization: *759 + enterprise: *757 + repository: *760 sender: *4 required: - action @@ -126360,10 +126529,10 @@ x-webhooks: enum: - reintroduced alert: *510 - installation: *754 - organization: *755 - enterprise: *753 - repository: *756 + installation: *758 + organization: *759 + enterprise: *757 + repository: *760 sender: *4 required: - action @@ -126443,10 +126612,10 @@ x-webhooks: enum: - reopened alert: *510 - installation: *754 - organization: *755 - enterprise: *753 - repository: *756 + installation: *758 + organization: *759 + enterprise: *757 + repository: *760 sender: *4 required: - action @@ -126523,9 +126692,9 @@ x-webhooks: type: string enum: - created - enterprise: *753 - installation: *754 - key: &764 + enterprise: *757 + installation: *758 + key: &768 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -126561,8 +126730,8 @@ x-webhooks: - verified - created_at - read_only - organization: *755 - repository: *756 + organization: *759 + repository: *760 sender: *4 required: - action @@ -126639,11 +126808,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 - installation: *754 - key: *764 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + key: *768 + organization: *759 + repository: *760 sender: *4 required: - action @@ -127199,12 +127368,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 - workflow: &770 + workflow: &774 title: Workflow type: object nullable: true @@ -127945,15 +128114,15 @@ x-webhooks: description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: *765 - required: *766 + properties: *769 + required: *770 nullable: true pull_requests: type: array - items: *607 - repository: *756 - organization: *755 - installation: *754 + items: *611 + repository: *760 + organization: *759 + installation: *758 sender: *4 responses: '200': @@ -128024,7 +128193,7 @@ x-webhooks: type: string enum: - approved - approver: &767 + approver: &771 type: object properties: avatar_url: @@ -128067,11 +128236,11 @@ x-webhooks: type: string comment: type: string - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 - reviewers: &768 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 + reviewers: &772 type: array items: type: object @@ -128150,7 +128319,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &769 + workflow_job_run: &773 type: object properties: conclusion: @@ -128881,18 +129050,18 @@ x-webhooks: type: string enum: - rejected - approver: *767 + approver: *771 comment: type: string - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 - reviewers: *768 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 + reviewers: *772 sender: *4 since: type: string - workflow_job_run: *769 + workflow_job_run: *773 workflow_job_runs: type: array items: @@ -129596,13 +129765,13 @@ x-webhooks: type: string enum: - requested - enterprise: *753 + enterprise: *757 environment: type: string - installation: *754 - organization: *755 - repository: *756 - requestor: &775 + installation: *758 + organization: *759 + repository: *760 + requestor: &779 title: User type: object nullable: true @@ -131491,12 +131660,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 - workflow: *770 + workflow: *774 workflow_run: title: Deployment Workflow Run type: object @@ -132176,7 +132345,7 @@ x-webhooks: type: string enum: - answered - answer: &773 + answer: &777 type: object properties: author_association: @@ -132333,11 +132502,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *771 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + discussion: *775 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -132464,11 +132633,11 @@ x-webhooks: - from required: - category - discussion: *771 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + discussion: *775 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -132551,11 +132720,11 @@ x-webhooks: type: string enum: - closed - discussion: *771 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + discussion: *775 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -132637,7 +132806,7 @@ x-webhooks: type: string enum: - created - comment: &772 + comment: &776 type: object properties: author_association: @@ -132794,11 +132963,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *771 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + discussion: *775 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -132881,12 +133050,12 @@ x-webhooks: type: string enum: - deleted - comment: *772 - discussion: *771 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + comment: *776 + discussion: *775 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -132981,12 +133150,12 @@ x-webhooks: - from required: - body - comment: *772 - discussion: *771 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + comment: *776 + discussion: *775 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -133070,11 +133239,11 @@ x-webhooks: type: string enum: - created - discussion: *771 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + discussion: *775 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -133156,11 +133325,11 @@ x-webhooks: type: string enum: - deleted - discussion: *771 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + discussion: *775 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -133260,11 +133429,11 @@ x-webhooks: type: string required: - from - discussion: *771 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + discussion: *775 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -133346,10 +133515,10 @@ x-webhooks: type: string enum: - labeled - discussion: *771 - enterprise: *753 - installation: *754 - label: &774 + discussion: *775 + enterprise: *757 + installation: *758 + label: &778 title: Label type: object properties: @@ -133381,8 +133550,8 @@ x-webhooks: - color - default - description - organization: *755 - repository: *756 + organization: *759 + repository: *760 sender: *4 required: - action @@ -133465,11 +133634,11 @@ x-webhooks: type: string enum: - locked - discussion: *771 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + discussion: *775 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -133551,11 +133720,11 @@ x-webhooks: type: string enum: - pinned - discussion: *771 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + discussion: *775 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -133637,11 +133806,11 @@ x-webhooks: type: string enum: - reopened - discussion: *771 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + discussion: *775 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -133726,16 +133895,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *771 - new_repository: *756 + new_discussion: *775 + new_repository: *760 required: - new_discussion - new_repository - discussion: *771 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + discussion: *775 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -133818,10 +133987,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *771 - old_answer: *773 - organization: *755 - repository: *756 + discussion: *775 + old_answer: *777 + organization: *759 + repository: *760 sender: *4 required: - action @@ -133903,12 +134072,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *771 - enterprise: *753 - installation: *754 - label: *774 - organization: *755 - repository: *756 + discussion: *775 + enterprise: *757 + installation: *758 + label: *778 + organization: *759 + repository: *760 sender: *4 required: - action @@ -133991,11 +134160,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *771 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + discussion: *775 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -134077,11 +134246,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *771 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + discussion: *775 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -134154,7 +134323,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *753 + enterprise: *757 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -134814,9 +134983,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *754 - organization: *755 - repository: *756 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - forkee @@ -134962,9 +135131,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *757 + installation: *758 + organization: *759 pages: description: The pages that were updated. type: array @@ -135001,7 +135170,7 @@ x-webhooks: - action - sha - html_url - repository: *756 + repository: *760 sender: *4 required: - pages @@ -135077,10 +135246,10 @@ x-webhooks: type: string enum: - created - enterprise: *753 + enterprise: *757 installation: *22 - organization: *755 - repositories: &776 + organization: *759 + repositories: &780 description: An array of repository objects that the installation can access. type: array @@ -135106,8 +135275,8 @@ x-webhooks: - name - full_name - private - repository: *756 - requester: *775 + repository: *760 + requester: *779 sender: *4 required: - action @@ -135182,11 +135351,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 + enterprise: *757 installation: *22 - organization: *755 - repositories: *776 - repository: *756 + organization: *759 + repositories: *780 + repository: *760 requester: nullable: true sender: *4 @@ -135262,11 +135431,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *753 + enterprise: *757 installation: *22 - organization: *755 - repositories: *776 - repository: *756 + organization: *759 + repositories: *780 + repository: *760 requester: nullable: true sender: *4 @@ -135342,10 +135511,10 @@ x-webhooks: type: string enum: - added - enterprise: *753 + enterprise: *757 installation: *22 - organization: *755 - repositories_added: &777 + organization: *759 + repositories_added: &781 description: An array of repository objects, which were added to the installation. type: array @@ -135391,15 +135560,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *756 - repository_selection: &778 + repository: *760 + repository_selection: &782 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *775 + requester: *779 sender: *4 required: - action @@ -135478,10 +135647,10 @@ x-webhooks: type: string enum: - removed - enterprise: *753 + enterprise: *757 installation: *22 - organization: *755 - repositories_added: *777 + organization: *759 + repositories_added: *781 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -135508,9 +135677,9 @@ x-webhooks: - name - full_name - private - repository: *756 - repository_selection: *778 - requester: *775 + repository: *760 + repository_selection: *782 + requester: *779 sender: *4 required: - action @@ -135589,11 +135758,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *753 + enterprise: *757 installation: *22 - organization: *755 - repositories: *776 - repository: *756 + organization: *759 + repositories: *780 + repository: *760 requester: nullable: true sender: *4 @@ -135771,10 +135940,10 @@ x-webhooks: type: string required: - from - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 target_type: type: string @@ -135853,11 +136022,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *753 + enterprise: *757 installation: *22 - organization: *755 - repositories: *776 - repository: *756 + organization: *759 + repositories: *780 + repository: *760 requester: nullable: true sender: *4 @@ -136031,8 +136200,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *584 - required: *585 + properties: *585 + required: *586 nullable: true user: title: User @@ -136117,8 +136286,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *753 - installation: *754 + enterprise: *757 + installation: *758 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -136907,8 +137076,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *689 - issue_dependencies_summary: *690 + sub_issues_summary: *693 + issue_dependencies_summary: *694 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137257,8 +137426,8 @@ x-webhooks: - state - locked - assignee - organization: *755 - repository: *756 + organization: *759 + repository: *760 sender: *4 required: - action @@ -137338,7 +137507,7 @@ x-webhooks: type: string enum: - deleted - comment: &779 + comment: &783 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -137495,8 +137664,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *584 - required: *585 + properties: *585 + required: *586 nullable: true required: - url @@ -137511,8 +137680,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *753 - installation: *754 + enterprise: *757 + installation: *758 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -138297,8 +138466,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *689 - issue_dependencies_summary: *690 + sub_issues_summary: *693 + issue_dependencies_summary: *694 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138649,8 +138818,8 @@ x-webhooks: - state - locked - assignee - organization: *755 - repository: *756 + organization: *759 + repository: *760 sender: *4 required: - action @@ -138730,7 +138899,7 @@ x-webhooks: type: string enum: - edited - changes: &808 + changes: &812 description: The changes to the comment. type: object properties: @@ -138742,9 +138911,9 @@ x-webhooks: type: string required: - from - comment: *779 - enterprise: *753 - installation: *754 + comment: *783 + enterprise: *757 + installation: *758 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -139532,8 +139701,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *689 - issue_dependencies_summary: *690 + sub_issues_summary: *693 + issue_dependencies_summary: *694 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139882,8 +140051,8 @@ x-webhooks: - state - locked - assignee - organization: *755 - repository: *756 + organization: *759 + repository: *760 sender: *4 required: - action @@ -139964,9 +140133,9 @@ x-webhooks: type: string enum: - pinned - comment: *779 - enterprise: *753 - installation: *754 + comment: *783 + enterprise: *757 + installation: *758 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -140756,8 +140925,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *689 - issue_dependencies_summary: *690 + sub_issues_summary: *693 + issue_dependencies_summary: *694 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141108,8 +141277,8 @@ x-webhooks: - state - locked - assignee - organization: *755 - repository: *756 + organization: *759 + repository: *760 sender: *4 required: - action @@ -141189,9 +141358,9 @@ x-webhooks: type: string enum: - unpinned - comment: *779 - enterprise: *753 - installation: *754 + comment: *783 + enterprise: *757 + installation: *758 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -141981,8 +142150,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *689 - issue_dependencies_summary: *690 + sub_issues_summary: *693 + issue_dependencies_summary: *694 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142333,8 +142502,8 @@ x-webhooks: - state - locked - assignee - organization: *755 - repository: *756 + organization: *759 + repository: *760 sender: *4 required: - action @@ -142423,9 +142592,9 @@ x-webhooks: type: number blocking_issue: *88 blocking_issue_repo: *82 - installation: *754 - organization: *755 - repository: *756 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -142514,9 +142683,9 @@ x-webhooks: type: number blocking_issue: *88 blocking_issue_repo: *82 - installation: *754 - organization: *755 - repository: *756 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -142604,9 +142773,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *88 - installation: *754 - organization: *755 - repository: *756 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -142695,9 +142864,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *88 - installation: *754 - organization: *755 - repository: *756 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -142777,10 +142946,10 @@ x-webhooks: type: string enum: - assigned - assignee: *775 - enterprise: *753 - installation: *754 - issue: &780 + assignee: *779 + enterprise: *757 + installation: *758 + issue: &784 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -143572,11 +143741,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *689 - issue_dependencies_summary: *690 + sub_issues_summary: *693 + issue_dependencies_summary: *694 issue_field_values: type: array - items: *568 + items: *569 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143693,8 +143862,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *755 - repository: *756 + organization: *759 + repository: *760 sender: *4 required: - action @@ -143774,8 +143943,8 @@ x-webhooks: type: string enum: - closed - enterprise: *753 - installation: *754 + enterprise: *757 + installation: *758 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -144572,11 +144741,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *689 - issue_dependencies_summary: *690 + sub_issues_summary: *693 + issue_dependencies_summary: *694 issue_field_values: type: array - items: *568 + items: *569 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144828,8 +144997,8 @@ x-webhooks: required: - state - closed_at - organization: *755 - repository: *756 + organization: *759 + repository: *760 sender: *4 required: - action @@ -144908,8 +145077,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 - installation: *754 + enterprise: *757 + installation: *758 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -145697,11 +145866,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *689 - issue_dependencies_summary: *690 + sub_issues_summary: *693 + issue_dependencies_summary: *694 issue_field_values: type: array - items: *568 + items: *569 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145817,8 +145986,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *755 - repository: *756 + organization: *759 + repository: *760 sender: *4 required: - action @@ -145897,8 +146066,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *753 - installation: *754 + enterprise: *757 + installation: *758 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -146708,11 +146877,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *689 - issue_dependencies_summary: *690 + sub_issues_summary: *693 + issue_dependencies_summary: *694 issue_field_values: type: array - items: *568 + items: *569 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146807,7 +146976,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &781 + milestone: &785 title: Milestone description: A collection of related issues and pull requests. type: object @@ -146945,8 +147114,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *755 - repository: *756 + organization: *759 + repository: *760 sender: *4 required: - action @@ -147045,8 +147214,8 @@ x-webhooks: type: string required: - from - enterprise: *753 - installation: *754 + enterprise: *757 + installation: *758 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -147838,11 +148007,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *689 - issue_dependencies_summary: *690 + sub_issues_summary: *693 + issue_dependencies_summary: *694 issue_field_values: type: array - items: *568 + items: *569 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147959,9 +148128,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *774 - organization: *755 - repository: *756 + label: *778 + organization: *759 + repository: *760 sender: *4 required: - action @@ -148041,9 +148210,9 @@ x-webhooks: type: string enum: - field_added - enterprise: *753 - installation: *754 - issue: *780 + enterprise: *757 + installation: *758 + issue: *784 issue_field: type: object description: The issue field whose value was set or updated on the @@ -148197,8 +148366,8 @@ x-webhooks: - id required: - from - organization: *755 - repository: *756 + organization: *759 + repository: *760 sender: *4 required: - action @@ -148278,9 +148447,9 @@ x-webhooks: type: string enum: - field_removed - enterprise: *753 - installation: *754 - issue: *780 + enterprise: *757 + installation: *758 + issue: *784 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -148361,8 +148530,8 @@ x-webhooks: nullable: true required: - id - organization: *755 - repository: *756 + organization: *759 + repository: *760 sender: *4 required: - action @@ -148442,8 +148611,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *753 - installation: *754 + enterprise: *757 + installation: *758 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -149234,11 +149403,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *689 - issue_dependencies_summary: *690 + sub_issues_summary: *693 + issue_dependencies_summary: *694 issue_field_values: type: array - items: *568 + items: *569 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149355,9 +149524,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *774 - organization: *755 - repository: *756 + label: *778 + organization: *759 + repository: *760 sender: *4 required: - action @@ -149437,8 +149606,8 @@ x-webhooks: type: string enum: - locked - enterprise: *753 - installation: *754 + enterprise: *757 + installation: *758 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -150253,11 +150422,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *689 - issue_dependencies_summary: *690 + sub_issues_summary: *693 + issue_dependencies_summary: *694 issue_field_values: type: array - items: *568 + items: *569 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150351,8 +150520,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *755 - repository: *756 + organization: *759 + repository: *760 sender: *4 required: - action @@ -150431,8 +150600,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *753 - installation: *754 + enterprise: *757 + installation: *758 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -151241,11 +151410,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *689 - issue_dependencies_summary: *690 + sub_issues_summary: *693 + issue_dependencies_summary: *694 issue_field_values: type: array - items: *568 + items: *569 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151339,9 +151508,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *781 - organization: *755 - repository: *756 + milestone: *785 + organization: *759 + repository: *760 sender: *4 required: - action @@ -152204,11 +152373,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *689 - issue_dependencies_summary: *690 + sub_issues_summary: *693 + issue_dependencies_summary: *694 issue_field_values: type: array - items: *568 + items: *569 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152789,8 +152958,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *753 - installation: *754 + enterprise: *757 + installation: *758 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -153574,11 +153743,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *689 - issue_dependencies_summary: *690 + sub_issues_summary: *693 + issue_dependencies_summary: *694 issue_field_values: type: array - items: *568 + items: *569 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153702,8 +153871,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *755 - repository: *756 + organization: *759 + repository: *760 sender: *4 required: - action @@ -153783,9 +153952,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *753 - installation: *754 - issue: &782 + enterprise: *757 + installation: *758 + issue: &786 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -154571,11 +154740,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *689 - issue_dependencies_summary: *690 + sub_issues_summary: *693 + issue_dependencies_summary: *694 issue_field_values: type: array - items: *568 + items: *569 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154691,8 +154860,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *755 - repository: *756 + organization: *759 + repository: *760 sender: *4 required: - action @@ -154771,8 +154940,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *753 - installation: *754 + enterprise: *757 + installation: *758 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -155585,11 +155754,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *689 - issue_dependencies_summary: *690 + sub_issues_summary: *693 + issue_dependencies_summary: *694 issue_field_values: type: array - items: *568 + items: *569 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155684,8 +155853,8 @@ x-webhooks: user_view_type: type: string type: *257 - organization: *755 - repository: *756 + organization: *759 + repository: *760 sender: *4 required: - action @@ -156554,11 +156723,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *689 - issue_dependencies_summary: *690 + sub_issues_summary: *693 + issue_dependencies_summary: *694 issue_field_values: type: array - items: *568 + items: *569 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157153,11 +157322,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *753 - installation: *754 - issue: *782 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + issue: *786 + organization: *759 + repository: *760 sender: *4 required: - action @@ -157237,12 +157406,12 @@ x-webhooks: type: string enum: - typed - enterprise: *753 - installation: *754 - issue: *780 + enterprise: *757 + installation: *758 + issue: *784 type: *257 - organization: *755 - repository: *756 + organization: *759 + repository: *760 sender: *4 required: - action @@ -157323,7 +157492,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &811 + assignee: &815 title: User type: object nullable: true @@ -157393,11 +157562,11 @@ x-webhooks: required: - login - id - enterprise: *753 - installation: *754 - issue: *780 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + issue: *784 + organization: *759 + repository: *760 sender: *4 required: - action @@ -157476,12 +157645,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *753 - installation: *754 - issue: *780 - label: *774 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + issue: *784 + label: *778 + organization: *759 + repository: *760 sender: *4 required: - action @@ -157561,8 +157730,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *753 - installation: *754 + enterprise: *757 + installation: *758 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -158375,11 +158544,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *689 - issue_dependencies_summary: *690 + sub_issues_summary: *693 + issue_dependencies_summary: *694 issue_field_values: type: array - items: *568 + items: *569 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158473,8 +158642,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *755 - repository: *756 + organization: *759 + repository: *760 sender: *4 required: - action @@ -158554,11 +158723,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *753 - installation: *754 - issue: *782 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + issue: *786 + organization: *759 + repository: *760 sender: *4 required: - action @@ -158637,12 +158806,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *753 - installation: *754 - issue: *780 + enterprise: *757 + installation: *758 + issue: *784 type: *257 - organization: *755 - repository: *756 + organization: *759 + repository: *760 sender: *4 required: - action @@ -158722,11 +158891,11 @@ x-webhooks: type: string enum: - created - enterprise: *753 - installation: *754 - label: *774 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + label: *778 + organization: *759 + repository: *760 sender: *4 required: - action @@ -158804,11 +158973,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 - installation: *754 - label: *774 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + label: *778 + organization: *759 + repository: *760 sender: *4 required: - action @@ -158918,11 +159087,11 @@ x-webhooks: type: string required: - from - enterprise: *753 - installation: *754 - label: *774 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + label: *778 + organization: *759 + repository: *760 sender: *4 required: - action @@ -159004,9 +159173,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *753 - installation: *754 - marketplace_purchase: &783 + enterprise: *757 + installation: *758 + marketplace_purchase: &787 title: Marketplace Purchase type: object required: @@ -159089,8 +159258,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *755 - previous_marketplace_purchase: &784 + organization: *759 + previous_marketplace_purchase: &788 title: Marketplace Purchase type: object properties: @@ -159170,7 +159339,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *756 + repository: *760 sender: *4 required: - action @@ -159250,10 +159419,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *753 - installation: *754 - marketplace_purchase: *783 - organization: *755 + enterprise: *757 + installation: *758 + marketplace_purchase: *787 + organization: *759 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -159336,7 +159505,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *756 + repository: *760 sender: *4 required: - action @@ -159418,10 +159587,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *753 - installation: *754 - marketplace_purchase: *783 - organization: *755 + enterprise: *757 + installation: *758 + marketplace_purchase: *787 + organization: *759 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -159503,7 +159672,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *756 + repository: *760 sender: *4 required: - action @@ -159584,8 +159753,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *753 - installation: *754 + enterprise: *757 + installation: *758 marketplace_purchase: title: Marketplace Purchase type: object @@ -159667,9 +159836,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *755 - previous_marketplace_purchase: *784 - repository: *756 + organization: *759 + previous_marketplace_purchase: *788 + repository: *760 sender: *4 required: - action @@ -159749,12 +159918,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *753 - installation: *754 - marketplace_purchase: *783 - organization: *755 - previous_marketplace_purchase: *784 - repository: *756 + enterprise: *757 + installation: *758 + marketplace_purchase: *787 + organization: *759 + previous_marketplace_purchase: *788 + repository: *760 sender: *4 required: - action @@ -159856,11 +160025,11 @@ x-webhooks: type: string required: - to - enterprise: *753 - installation: *754 - member: *775 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + member: *779 + organization: *759 + repository: *760 sender: *4 required: - action @@ -159960,11 +160129,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *753 - installation: *754 - member: *775 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + member: *779 + organization: *759 + repository: *760 sender: *4 required: - action @@ -160043,11 +160212,11 @@ x-webhooks: type: string enum: - removed - enterprise: *753 - installation: *754 - member: *775 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + member: *779 + organization: *759 + repository: *760 sender: *4 required: - action @@ -160125,11 +160294,11 @@ x-webhooks: type: string enum: - added - enterprise: *753 - installation: *754 - member: *775 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + member: *779 + organization: *759 + repository: *760 scope: description: The scope of the membership. Currently, can only be `team`. @@ -160205,7 +160374,7 @@ x-webhooks: required: - login - id - team: &785 + team: &789 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -160428,11 +160597,11 @@ x-webhooks: type: string enum: - removed - enterprise: *753 - installation: *754 - member: *775 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + member: *779 + organization: *759 + repository: *760 scope: description: The scope of the membership. Currently, can only be `team`. @@ -160509,7 +160678,7 @@ x-webhooks: required: - login - id - team: *785 + team: *789 required: - action - scope @@ -160591,8 +160760,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *754 - merge_group: &787 + installation: *758 + merge_group: &791 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -160611,15 +160780,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *786 + head_commit: *790 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *755 - repository: *756 + organization: *759 + repository: *760 sender: *4 required: - action @@ -160705,10 +160874,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *754 - merge_group: *787 - organization: *755 - repository: *756 + installation: *758 + merge_group: *791 + organization: *759 + repository: *760 sender: *4 required: - action @@ -160781,7 +160950,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 + enterprise: *757 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -160890,16 +161059,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *754 - organization: *755 + installation: *758 + organization: *759 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *788 - required: *789 + properties: *792 + required: *793 nullable: true sender: *4 required: @@ -160980,11 +161149,11 @@ x-webhooks: type: string enum: - closed - enterprise: *753 - installation: *754 - milestone: *781 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + milestone: *785 + organization: *759 + repository: *760 sender: *4 required: - action @@ -161063,9 +161232,9 @@ x-webhooks: type: string enum: - created - enterprise: *753 - installation: *754 - milestone: &790 + enterprise: *757 + installation: *758 + milestone: &794 title: Milestone description: A collection of related issues and pull requests. type: object @@ -161202,8 +161371,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *755 - repository: *756 + organization: *759 + repository: *760 sender: *4 required: - action @@ -161282,11 +161451,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 - installation: *754 - milestone: *781 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + milestone: *785 + organization: *759 + repository: *760 sender: *4 required: - action @@ -161396,11 +161565,11 @@ x-webhooks: type: string required: - from - enterprise: *753 - installation: *754 - milestone: *781 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + milestone: *785 + organization: *759 + repository: *760 sender: *4 required: - action @@ -161480,11 +161649,11 @@ x-webhooks: type: string enum: - opened - enterprise: *753 - installation: *754 - milestone: *790 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + milestone: *794 + organization: *759 + repository: *760 sender: *4 required: - action @@ -161563,11 +161732,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *775 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + blocked_user: *779 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -161646,11 +161815,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *775 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + blocked_user: *779 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -161729,9 +161898,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 - installation: *754 - membership: &791 + enterprise: *757 + installation: *758 + membership: &795 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -161838,8 +162007,8 @@ x-webhooks: - role - organization_url - user - organization: *755 - repository: *756 + organization: *759 + repository: *760 sender: *4 required: - action @@ -161917,11 +162086,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *753 - installation: *754 - membership: *791 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + membership: *795 + organization: *759 + repository: *760 sender: *4 required: - action @@ -162000,8 +162169,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *753 - installation: *754 + enterprise: *757 + installation: *758 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -162117,10 +162286,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *755 - repository: *756 + organization: *759 + repository: *760 sender: *4 - user: *775 + user: *779 required: - action - invitation @@ -162198,11 +162367,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *753 - installation: *754 - membership: *791 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + membership: *795 + organization: *759 + repository: *760 sender: *4 required: - action @@ -162289,11 +162458,11 @@ x-webhooks: properties: from: type: string - enterprise: *753 - installation: *754 - membership: *791 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + membership: *795 + organization: *759 + repository: *760 sender: *4 required: - action @@ -162370,9 +162539,9 @@ x-webhooks: type: string enum: - published - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *757 + installation: *758 + organization: *759 package: description: Information about the package. type: object @@ -162871,7 +163040,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &792 + items: &796 title: Ruby Gems metadata type: object properties: @@ -162966,7 +163135,7 @@ x-webhooks: - owner - package_version - registry - repository: *756 + repository: *760 sender: *4 required: - action @@ -163042,9 +163211,9 @@ x-webhooks: type: string enum: - updated - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *757 + installation: *758 + organization: *759 package: description: Information about the package. type: object @@ -163397,7 +163566,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *792 + items: *796 source_url: type: string format: uri @@ -163467,7 +163636,7 @@ x-webhooks: - owner - package_version - registry - repository: *756 + repository: *760 sender: *4 required: - action @@ -163643,12 +163812,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *753 + enterprise: *757 id: type: integer - installation: *754 - organization: *755 - repository: *756 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - id @@ -163725,7 +163894,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &793 + personal_access_token_request: &797 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -163871,10 +164040,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *753 - organization: *755 + enterprise: *757 + organization: *759 sender: *4 - installation: *754 + installation: *758 required: - action - personal_access_token_request @@ -163951,11 +164120,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *793 - enterprise: *753 - organization: *755 + personal_access_token_request: *797 + enterprise: *757 + organization: *759 sender: *4 - installation: *754 + installation: *758 required: - action - personal_access_token_request @@ -164031,11 +164200,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *793 - enterprise: *753 - organization: *755 + personal_access_token_request: *797 + enterprise: *757 + organization: *759 sender: *4 - installation: *754 + installation: *758 required: - action - personal_access_token_request @@ -164110,11 +164279,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *793 - organization: *755 - enterprise: *753 + personal_access_token_request: *797 + organization: *759 + enterprise: *757 sender: *4 - installation: *754 + installation: *758 required: - action - personal_access_token_request @@ -164219,7 +164388,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *794 + last_response: *798 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -164251,8 +164420,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *755 - repository: *756 + organization: *759 + repository: *760 sender: *4 zen: description: Random string of GitHub zen. @@ -164497,10 +164666,10 @@ x-webhooks: - from required: - note - enterprise: *753 - installation: *754 - organization: *755 - project_card: &795 + enterprise: *757 + installation: *758 + organization: *759 + project_card: &799 title: Project Card type: object properties: @@ -164619,7 +164788,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *756 + repository: *760 sender: *4 required: - action @@ -164700,11 +164869,11 @@ x-webhooks: type: string enum: - created - enterprise: *753 - installation: *754 - organization: *755 - project_card: *795 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + project_card: *799 + repository: *760 sender: *4 required: - action @@ -164784,9 +164953,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *757 + installation: *758 + organization: *759 project_card: title: Project Card type: object @@ -164914,8 +165083,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *788 - required: *789 + properties: *792 + required: *793 nullable: true sender: *4 required: @@ -165009,11 +165178,11 @@ x-webhooks: - from required: - note - enterprise: *753 - installation: *754 - organization: *755 - project_card: *795 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + project_card: *799 + repository: *760 sender: *4 required: - action @@ -165107,9 +165276,9 @@ x-webhooks: - from required: - column_id - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *757 + installation: *758 + organization: *759 project_card: allOf: - title: Project Card @@ -165299,7 +165468,7 @@ x-webhooks: type: string required: - after_id - repository: *756 + repository: *760 sender: *4 required: - action @@ -165379,10 +165548,10 @@ x-webhooks: type: string enum: - closed - enterprise: *753 - installation: *754 - organization: *755 - project: &797 + enterprise: *757 + installation: *758 + organization: *759 + project: &801 title: Project type: object properties: @@ -165506,7 +165675,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *756 + repository: *760 sender: *4 required: - action @@ -165586,10 +165755,10 @@ x-webhooks: type: string enum: - created - enterprise: *753 - installation: *754 - organization: *755 - project_column: &796 + enterprise: *757 + installation: *758 + organization: *759 + project_column: &800 title: Project Column type: object properties: @@ -165628,7 +165797,7 @@ x-webhooks: - name - created_at - updated_at - repository: *756 + repository: *760 sender: *4 required: - action @@ -165707,18 +165876,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 - installation: *754 - organization: *755 - project_column: *796 + enterprise: *757 + installation: *758 + organization: *759 + project_column: *800 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *788 - required: *789 + properties: *792 + required: *793 nullable: true sender: *4 required: @@ -165808,11 +165977,11 @@ x-webhooks: type: string required: - from - enterprise: *753 - installation: *754 - organization: *755 - project_column: *796 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + project_column: *800 + repository: *760 sender: *4 required: - action @@ -165892,11 +166061,11 @@ x-webhooks: type: string enum: - moved - enterprise: *753 - installation: *754 - organization: *755 - project_column: *796 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + project_column: *800 + repository: *760 sender: *4 required: - action @@ -165976,11 +166145,11 @@ x-webhooks: type: string enum: - created - enterprise: *753 - installation: *754 - organization: *755 - project: *797 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + project: *801 + repository: *760 sender: *4 required: - action @@ -166060,18 +166229,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 - installation: *754 - organization: *755 - project: *797 + enterprise: *757 + installation: *758 + organization: *759 + project: *801 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *788 - required: *789 + properties: *792 + required: *793 nullable: true sender: *4 required: @@ -166173,11 +166342,11 @@ x-webhooks: type: string required: - from - enterprise: *753 - installation: *754 - organization: *755 - project: *797 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + project: *801 + repository: *760 sender: *4 required: - action @@ -166256,11 +166425,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *753 - installation: *754 - organization: *755 - project: *797 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + project: *801 + repository: *760 sender: *4 required: - action @@ -166341,8 +166510,8 @@ x-webhooks: type: string enum: - closed - installation: *754 - organization: *755 + installation: *758 + organization: *759 projects_v2: *291 sender: *4 required: @@ -166424,8 +166593,8 @@ x-webhooks: type: string enum: - created - installation: *754 - organization: *755 + installation: *758 + organization: *759 projects_v2: *291 sender: *4 required: @@ -166507,8 +166676,8 @@ x-webhooks: type: string enum: - deleted - installation: *754 - organization: *755 + installation: *758 + organization: *759 projects_v2: *291 sender: *4 required: @@ -166626,8 +166795,8 @@ x-webhooks: type: string to: type: string - installation: *754 - organization: *755 + installation: *758 + organization: *759 projects_v2: *291 sender: *4 required: @@ -166711,7 +166880,7 @@ x-webhooks: type: string enum: - archived - changes: &801 + changes: &805 type: object properties: archived_at: @@ -166725,9 +166894,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *754 - organization: *755 - projects_v2_item: &798 + installation: *758 + organization: *759 + projects_v2_item: &802 title: Projects v2 Item description: An item belonging to a project type: object @@ -166862,9 +167031,9 @@ x-webhooks: nullable: true to: type: string - installation: *754 - organization: *755 - projects_v2_item: *798 + installation: *758 + organization: *759 + projects_v2_item: *802 sender: *4 required: - action @@ -166946,9 +167115,9 @@ x-webhooks: type: string enum: - created - installation: *754 - organization: *755 - projects_v2_item: *798 + installation: *758 + organization: *759 + projects_v2_item: *802 sender: *4 required: - action @@ -167029,9 +167198,9 @@ x-webhooks: type: string enum: - deleted - installation: *754 - organization: *755 - projects_v2_item: *798 + installation: *758 + organization: *759 + projects_v2_item: *802 sender: *4 required: - action @@ -167137,7 +167306,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &799 + - &803 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -167159,7 +167328,7 @@ x-webhooks: required: - id - name - - &800 + - &804 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -167193,8 +167362,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *799 - - *800 + - *803 + - *804 required: - field_value - type: object @@ -167210,9 +167379,9 @@ x-webhooks: nullable: true required: - body - installation: *754 - organization: *755 - projects_v2_item: *798 + installation: *758 + organization: *759 + projects_v2_item: *802 sender: *4 required: - action @@ -167307,9 +167476,9 @@ x-webhooks: to: type: string nullable: true - installation: *754 - organization: *755 - projects_v2_item: *798 + installation: *758 + organization: *759 + projects_v2_item: *802 sender: *4 required: - action @@ -167392,10 +167561,10 @@ x-webhooks: type: string enum: - restored - changes: *801 - installation: *754 - organization: *755 - projects_v2_item: *798 + changes: *805 + installation: *758 + organization: *759 + projects_v2_item: *802 sender: *4 required: - action @@ -167477,8 +167646,8 @@ x-webhooks: type: string enum: - reopened - installation: *754 - organization: *755 + installation: *758 + organization: *759 projects_v2: *291 sender: *4 required: @@ -167560,14 +167729,14 @@ x-webhooks: type: string enum: - created - installation: *754 - organization: *755 - projects_v2_status_update: &804 + installation: *758 + organization: *759 + projects_v2_status_update: &808 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *802 - required: *803 + properties: *806 + required: *807 sender: *4 required: - action @@ -167648,9 +167817,9 @@ x-webhooks: type: string enum: - deleted - installation: *754 - organization: *755 - projects_v2_status_update: *804 + installation: *758 + organization: *759 + projects_v2_status_update: *808 sender: *4 required: - action @@ -167786,9 +167955,9 @@ x-webhooks: type: string format: date nullable: true - installation: *754 - organization: *755 - projects_v2_status_update: *804 + installation: *758 + organization: *759 + projects_v2_status_update: *808 sender: *4 required: - action @@ -167859,10 +168028,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - repository @@ -167939,13 +168108,13 @@ x-webhooks: type: string enum: - assigned - assignee: *775 - enterprise: *753 - installation: *754 - number: &805 + assignee: *779 + enterprise: *757 + installation: *758 + number: &809 description: The pull request number. type: integer - organization: *755 + organization: *759 pull_request: title: Pull Request type: object @@ -170232,7 +170401,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *756 + repository: *760 sender: *4 required: - action @@ -170314,11 +170483,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *753 - installation: *754 + enterprise: *757 + installation: *758 number: type: integer - organization: *755 + organization: *759 pull_request: title: Pull Request type: object @@ -172600,7 +172769,7 @@ x-webhooks: - draft reason: type: string - repository: *756 + repository: *760 sender: *4 required: - action @@ -172682,11 +172851,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *753 - installation: *754 + enterprise: *757 + installation: *758 number: type: integer - organization: *755 + organization: *759 pull_request: title: Pull Request type: object @@ -174968,7 +175137,7 @@ x-webhooks: - draft reason: type: string - repository: *756 + repository: *760 sender: *4 required: - action @@ -175050,13 +175219,13 @@ x-webhooks: type: string enum: - closed - enterprise: *753 - installation: *754 - number: *805 - organization: *755 - pull_request: &806 + enterprise: *757 + installation: *758 + number: *809 + organization: *759 + pull_request: &810 allOf: - - *607 + - *611 - type: object properties: allow_auto_merge: @@ -175118,7 +175287,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *756 + repository: *760 sender: *4 required: - action @@ -175199,12 +175368,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *753 - installation: *754 - number: *805 - organization: *755 - pull_request: *806 - repository: *756 + enterprise: *757 + installation: *758 + number: *809 + organization: *759 + pull_request: *810 + repository: *760 sender: *4 required: - action @@ -175284,11 +175453,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *753 - milestone: *591 - number: *805 - organization: *755 - pull_request: &807 + enterprise: *757 + milestone: *595 + number: *809 + organization: *759 + pull_request: &811 title: Pull Request type: object properties: @@ -177569,7 +177738,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *756 + repository: *760 sender: *4 required: - action @@ -177648,11 +177817,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *753 - installation: *754 + enterprise: *757 + installation: *758 number: type: integer - organization: *755 + organization: *759 pull_request: title: Pull Request type: object @@ -179952,7 +180121,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *756 + repository: *760 sender: *4 required: - action @@ -180076,12 +180245,12 @@ x-webhooks: type: string required: - from - enterprise: *753 - installation: *754 - number: *805 - organization: *755 - pull_request: *806 - repository: *756 + enterprise: *757 + installation: *758 + number: *809 + organization: *759 + pull_request: *810 + repository: *760 sender: *4 required: - action @@ -180161,11 +180330,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *753 - installation: *754 + enterprise: *757 + installation: *758 number: type: integer - organization: *755 + organization: *759 pull_request: title: Pull Request type: object @@ -182450,7 +182619,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *756 + repository: *760 sender: *4 required: - action @@ -182530,11 +182699,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *753 - installation: *754 - label: *774 - number: *805 - organization: *755 + enterprise: *757 + installation: *758 + label: *778 + number: *809 + organization: *759 pull_request: title: Pull Request type: object @@ -184820,7 +184989,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *756 + repository: *760 sender: *4 required: - action @@ -184901,10 +185070,10 @@ x-webhooks: type: string enum: - locked - enterprise: *753 - installation: *754 - number: *805 - organization: *755 + enterprise: *757 + installation: *758 + number: *809 + organization: *759 pull_request: title: Pull Request type: object @@ -187188,7 +187357,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *756 + repository: *760 sender: *4 required: - action @@ -187268,12 +187437,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *753 - milestone: *591 - number: *805 - organization: *755 - pull_request: *807 - repository: *756 + enterprise: *757 + milestone: *595 + number: *809 + organization: *759 + pull_request: *811 + repository: *760 sender: *4 required: - action @@ -187352,12 +187521,12 @@ x-webhooks: type: string enum: - opened - enterprise: *753 - installation: *754 - number: *805 - organization: *755 - pull_request: *806 - repository: *756 + enterprise: *757 + installation: *758 + number: *809 + organization: *759 + pull_request: *810 + repository: *760 sender: *4 required: - action @@ -187438,12 +187607,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *753 - installation: *754 - number: *805 - organization: *755 - pull_request: *806 - repository: *756 + enterprise: *757 + installation: *758 + number: *809 + organization: *759 + pull_request: *810 + repository: *760 sender: *4 required: - action @@ -187523,12 +187692,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *753 - installation: *754 - number: *805 - organization: *755 - pull_request: *806 - repository: *756 + enterprise: *757 + installation: *758 + number: *809 + organization: *759 + pull_request: *810 + repository: *760 sender: *4 required: - action @@ -187894,9 +188063,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *757 + installation: *758 + organization: *759 pull_request: type: object properties: @@ -190070,7 +190239,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *756 + repository: *760 sender: *4 required: - action @@ -190150,7 +190319,7 @@ x-webhooks: type: string enum: - deleted - comment: &809 + comment: &813 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -190435,9 +190604,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *757 + installation: *758 + organization: *759 pull_request: type: object properties: @@ -192599,7 +192768,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *756 + repository: *760 sender: *4 required: - action @@ -192679,11 +192848,11 @@ x-webhooks: type: string enum: - edited - changes: *808 - comment: *809 - enterprise: *753 - installation: *754 - organization: *755 + changes: *812 + comment: *813 + enterprise: *757 + installation: *758 + organization: *759 pull_request: type: object properties: @@ -194848,7 +195017,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *756 + repository: *760 sender: *4 required: - action @@ -194929,9 +195098,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *757 + installation: *758 + organization: *759 pull_request: title: Simple Pull Request type: object @@ -197108,7 +197277,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *756 + repository: *760 review: description: The review that was affected. type: object @@ -197355,9 +197524,9 @@ x-webhooks: type: string required: - from - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *757 + installation: *758 + organization: *759 pull_request: title: Simple Pull Request type: object @@ -199407,8 +199576,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *756 - review: &810 + repository: *760 + review: &814 description: The review that was affected. type: object properties: @@ -199641,12 +199810,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *753 - installation: *754 + enterprise: *757 + installation: *758 number: description: The pull request number. type: integer - organization: *755 + organization: *759 pull_request: title: Pull Request type: object @@ -201933,7 +202102,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *756 + repository: *760 requested_reviewer: title: User type: object @@ -202017,12 +202186,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *753 - installation: *754 + enterprise: *757 + installation: *758 number: description: The pull request number. type: integer - organization: *755 + organization: *759 pull_request: title: Pull Request type: object @@ -204316,7 +204485,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *756 + repository: *760 requested_team: title: Team description: Groups of organization members that gives permissions @@ -204508,12 +204677,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *753 - installation: *754 + enterprise: *757 + installation: *758 number: description: The pull request number. type: integer - organization: *755 + organization: *759 pull_request: title: Pull Request type: object @@ -206802,7 +206971,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *756 + repository: *760 requested_reviewer: title: User type: object @@ -206887,12 +207056,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *753 - installation: *754 + enterprise: *757 + installation: *758 number: description: The pull request number. type: integer - organization: *755 + organization: *759 pull_request: title: Pull Request type: object @@ -209172,7 +209341,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *756 + repository: *760 requested_team: title: Team description: Groups of organization members that gives permissions @@ -209353,9 +209522,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *757 + installation: *758 + organization: *759 pull_request: title: Simple Pull Request type: object @@ -211534,8 +211703,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *756 - review: *810 + repository: *760 + review: *814 sender: *4 required: - action @@ -211615,9 +211784,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *757 + installation: *758 + organization: *759 pull_request: title: Simple Pull Request type: object @@ -213705,7 +213874,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *756 + repository: *760 sender: *4 thread: type: object @@ -214092,9 +214261,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *757 + installation: *758 + organization: *759 pull_request: title: Simple Pull Request type: object @@ -216168,7 +216337,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *756 + repository: *760 sender: *4 thread: type: object @@ -216558,10 +216727,10 @@ x-webhooks: type: string before: type: string - enterprise: *753 - installation: *754 - number: *805 - organization: *755 + enterprise: *757 + installation: *758 + number: *809 + organization: *759 pull_request: title: Pull Request type: object @@ -218836,7 +219005,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *756 + repository: *760 sender: *4 required: - action @@ -218918,11 +219087,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *811 - enterprise: *753 - installation: *754 - number: *805 - organization: *755 + assignee: *815 + enterprise: *757 + installation: *758 + number: *809 + organization: *759 pull_request: title: Pull Request type: object @@ -221209,7 +221378,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *756 + repository: *760 sender: *4 required: - action @@ -221288,11 +221457,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *753 - installation: *754 - label: *774 - number: *805 - organization: *755 + enterprise: *757 + installation: *758 + label: *778 + number: *809 + organization: *759 pull_request: title: Pull Request type: object @@ -223569,7 +223738,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *756 + repository: *760 sender: *4 required: - action @@ -223650,10 +223819,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *753 - installation: *754 - number: *805 - organization: *755 + enterprise: *757 + installation: *758 + number: *809 + organization: *759 pull_request: title: Pull Request type: object @@ -225922,7 +226091,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *756 + repository: *760 sender: *4 required: - action @@ -226122,7 +226291,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *753 + enterprise: *757 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -226214,8 +226383,8 @@ x-webhooks: - url - author - committer - installation: *754 - organization: *755 + installation: *758 + organization: *759 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -226801,9 +226970,9 @@ x-webhooks: type: string enum: - published - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *757 + installation: *758 + organization: *759 registry_package: type: object properties: @@ -227249,7 +227418,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *792 + items: *796 summary: type: string tag_name: @@ -227303,7 +227472,7 @@ x-webhooks: - owner - package_version - registry - repository: *756 + repository: *760 sender: *4 required: - action @@ -227381,9 +227550,9 @@ x-webhooks: type: string enum: - updated - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *757 + installation: *758 + organization: *759 registry_package: type: object properties: @@ -227691,7 +227860,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *792 + items: *796 summary: type: string tag_name: @@ -227740,7 +227909,7 @@ x-webhooks: - owner - package_version - registry - repository: *756 + repository: *760 sender: *4 required: - action @@ -227817,10 +227986,10 @@ x-webhooks: type: string enum: - created - enterprise: *753 - installation: *754 - organization: *755 - release: &812 + enterprise: *757 + installation: *758 + organization: *759 + release: &816 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -228138,7 +228307,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *756 + repository: *760 sender: *4 required: - action @@ -228215,11 +228384,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 - installation: *754 - organization: *755 - release: *812 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + release: *816 + repository: *760 sender: *4 required: - action @@ -228336,11 +228505,11 @@ x-webhooks: type: boolean required: - to - enterprise: *753 - installation: *754 - organization: *755 - release: *812 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + release: *816 + repository: *760 sender: *4 required: - action @@ -228418,9 +228587,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *757 + installation: *758 + organization: *759 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -228742,7 +228911,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *756 + repository: *760 sender: *4 required: - action @@ -228818,10 +228987,10 @@ x-webhooks: type: string enum: - published - enterprise: *753 - installation: *754 - organization: *755 - release: &813 + enterprise: *757 + installation: *758 + organization: *759 + release: &817 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -229140,7 +229309,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *756 + repository: *760 sender: *4 required: - action @@ -229216,11 +229385,11 @@ x-webhooks: type: string enum: - released - enterprise: *753 - installation: *754 - organization: *755 - release: *812 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + release: *816 + repository: *760 sender: *4 required: - action @@ -229296,11 +229465,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *753 - installation: *754 - organization: *755 - release: *813 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + release: *817 + repository: *760 sender: *4 required: - action @@ -229376,11 +229545,11 @@ x-webhooks: type: string enum: - published - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 - repository_advisory: *676 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 + repository_advisory: *680 sender: *4 required: - action @@ -229456,11 +229625,11 @@ x-webhooks: type: string enum: - reported - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 - repository_advisory: *676 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 + repository_advisory: *680 sender: *4 required: - action @@ -229536,10 +229705,10 @@ x-webhooks: type: string enum: - archived - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -229616,10 +229785,10 @@ x-webhooks: type: string enum: - created - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -229697,10 +229866,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -229784,10 +229953,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -229899,10 +230068,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -229974,10 +230143,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 status: type: string @@ -230058,10 +230227,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -230138,10 +230307,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -230235,10 +230404,10 @@ x-webhooks: - name required: - repository - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -230318,10 +230487,10 @@ x-webhooks: type: string enum: - created - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 repository_ruleset: *339 sender: *4 required: @@ -230400,10 +230569,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 repository_ruleset: *339 sender: *4 required: @@ -230482,10 +230651,10 @@ x-webhooks: type: string enum: - edited - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 repository_ruleset: *339 changes: type: object @@ -230547,16 +230716,16 @@ x-webhooks: properties: added: type: array - items: *627 + items: *631 deleted: type: array - items: *627 + items: *631 updated: type: array items: type: object properties: - rule: *627 + rule: *631 changes: type: object properties: @@ -230790,10 +230959,10 @@ x-webhooks: - from required: - owner - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -230871,10 +231040,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -230952,7 +231121,7 @@ x-webhooks: type: string enum: - create - alert: &814 + alert: &818 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -231074,10 +231243,10 @@ x-webhooks: enum: - auto_dismissed - open - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -231283,10 +231452,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -231364,11 +231533,11 @@ x-webhooks: type: string enum: - reopen - alert: *814 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + alert: *818 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -231567,10 +231736,10 @@ x-webhooks: enum: - fixed - open - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -231648,7 +231817,7 @@ x-webhooks: type: string enum: - assigned - alert: &815 + alert: &819 type: object properties: number: *188 @@ -231791,10 +231960,10 @@ x-webhooks: required: *21 nullable: true assignee: *4 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -231872,11 +232041,11 @@ x-webhooks: type: string enum: - created - alert: *815 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + alert: *819 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -231957,11 +232126,11 @@ x-webhooks: type: string enum: - created - alert: *815 - installation: *754 - location: *816 - organization: *755 - repository: *756 + alert: *819 + installation: *758 + location: *820 + organization: *759 + repository: *760 sender: *4 required: - location @@ -232199,11 +232368,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *815 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + alert: *819 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -232281,11 +232450,11 @@ x-webhooks: type: string enum: - reopened - alert: *815 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + alert: *819 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -232363,11 +232532,11 @@ x-webhooks: type: string enum: - resolved - alert: *815 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + alert: *819 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -232445,12 +232614,12 @@ x-webhooks: type: string enum: - unassigned - alert: *815 + alert: *819 assignee: *4 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -232528,11 +232697,11 @@ x-webhooks: type: string enum: - validated - alert: *815 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + alert: *819 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -232658,10 +232827,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *756 - enterprise: *753 - installation: *754 - organization: *755 + repository: *760 + enterprise: *757 + installation: *758 + organization: *759 sender: *4 required: - action @@ -232739,11 +232908,11 @@ x-webhooks: type: string enum: - published - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 - security_advisory: &817 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 + security_advisory: &821 description: The details of the security advisory, including summary, description, and severity. type: object @@ -232914,11 +233083,11 @@ x-webhooks: type: string enum: - updated - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 - security_advisory: *817 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 + security_advisory: *821 sender: *4 required: - action @@ -232991,10 +233160,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -233167,9 +233336,9 @@ x-webhooks: type: object properties: security_and_analysis: *312 - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *757 + installation: *758 + organization: *759 repository: *357 sender: *4 required: @@ -233248,12 +233417,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 - sponsorship: &818 + sponsorship: &822 type: object properties: created_at: @@ -233554,12 +233723,12 @@ x-webhooks: type: string enum: - created - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 - sponsorship: *818 + sponsorship: *822 required: - action - sponsorship @@ -233647,12 +233816,12 @@ x-webhooks: type: string required: - from - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 - sponsorship: *818 + sponsorship: *822 required: - action - changes @@ -233729,17 +233898,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &819 + effective_date: &823 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 - sponsorship: *818 + sponsorship: *822 required: - action - sponsorship @@ -233813,7 +233982,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &820 + changes: &824 type: object properties: tier: @@ -233857,13 +234026,13 @@ x-webhooks: - from required: - tier - effective_date: *819 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + effective_date: *823 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 - sponsorship: *818 + sponsorship: *822 required: - action - changes @@ -233940,13 +234109,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *820 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + changes: *824 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 - sponsorship: *818 + sponsorship: *822 required: - action - changes @@ -234020,10 +234189,10 @@ x-webhooks: type: string enum: - created - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -234106,10 +234275,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -234529,15 +234698,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *753 + enterprise: *757 id: description: The unique identifier of the status. type: integer - installation: *754 + installation: *758 name: type: string - organization: *755 - repository: *756 + organization: *759 + repository: *760 sender: *4 sha: description: The Commit SHA. @@ -234652,9 +234821,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *88 - installation: *754 - organization: *755 - repository: *756 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -234743,9 +234912,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *88 - installation: *754 - organization: *755 - repository: *756 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -234834,9 +235003,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *88 - installation: *754 - organization: *755 - repository: *756 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -234925,9 +235094,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *88 - installation: *754 - organization: *755 - repository: *756 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -235003,12 +235172,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 - team: &821 + team: &825 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -235231,9 +235400,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *757 + installation: *758 + organization: *759 repository: title: Repository description: A git repository @@ -235691,7 +235860,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *821 + team: *825 required: - action - team @@ -235767,9 +235936,9 @@ x-webhooks: type: string enum: - created - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *757 + installation: *758 + organization: *759 repository: title: Repository description: A git repository @@ -236227,7 +236396,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *821 + team: *825 required: - action - team @@ -236304,9 +236473,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *757 + installation: *758 + organization: *759 repository: title: Repository description: A git repository @@ -236764,7 +236933,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *821 + team: *825 required: - action - team @@ -236908,9 +237077,9 @@ x-webhooks: - from required: - permissions - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *757 + installation: *758 + organization: *759 repository: title: Repository description: A git repository @@ -237368,7 +237537,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *821 + team: *825 required: - action - changes @@ -237446,9 +237615,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *757 + installation: *758 + organization: *759 repository: title: Repository description: A git repository @@ -237906,7 +238075,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *821 + team: *825 required: - action - team @@ -237982,10 +238151,10 @@ x-webhooks: type: string enum: - started - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 required: - action @@ -238058,16 +238227,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *753 + enterprise: *757 inputs: type: object nullable: true additionalProperties: true - installation: *754 - organization: *755 + installation: *758 + organization: *759 ref: type: string - repository: *756 + repository: *760 sender: *4 workflow: type: string @@ -238149,10 +238318,10 @@ x-webhooks: type: string enum: - completed - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 workflow_job: allOf: @@ -238468,10 +238637,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 workflow_job: allOf: @@ -238810,10 +238979,10 @@ x-webhooks: type: string enum: - queued - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 workflow_job: type: object @@ -239027,10 +239196,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 workflow_job: type: object @@ -239246,12 +239415,12 @@ x-webhooks: type: string enum: - completed - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 - workflow: *770 + workflow: *774 workflow_run: title: Workflow Run type: object @@ -240250,12 +240419,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 - workflow: *770 + workflow: *774 workflow_run: title: Workflow Run type: object @@ -241239,12 +241408,12 @@ x-webhooks: type: string enum: - requested - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *757 + installation: *758 + organization: *759 + repository: *760 sender: *4 - workflow: *770 + workflow: *774 workflow_run: title: Workflow Run type: object 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 5e0a21ef8d..6b4fd119ae 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json @@ -412722,6 +412722,76 @@ "to" ] }, + "issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, + "prev_issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, "author_association": { "title": "author_association", "type": "string", @@ -417505,6 +417575,76 @@ "to" ] }, + "issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, + "prev_issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, "author_association": { "title": "author_association", "type": "string", @@ -457337,1635 +457477,1647 @@ "created_at", "performed_via_github_app" ] - } - ] - } - }, - "examples": { - "default": { - "value": [ - { - "id": 1, - "node_id": "MDEwOklzc3VlRXZlbnQx", - "url": "https://api.github.com/repos/octocat/Hello-World/issues/events/1", - "actor": { - "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 - }, - "event": "closed", - "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e", - "commit_url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e", - "created_at": "2011-04-14T16:00:49Z", - "performed_via_github_app": null, - "label": { - "name": "label", - "color": "red" - } - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - }, - "410": { - "description": "Gone", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "issues", - "subcategory": "events" - } - } - }, - "/repos/{owner}/{repo}/issues/{issue_number}/issue-field-values": { - "get": { - "summary": "List issue field values for an issue", - "description": "Lists all issue field values for an issue.", - "tags": [ - "issues" - ], - "operationId": "issues/list-issue-field-values-for-issue", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/issues/issue-field-values#list-issue-field-values-for-an-issue" - }, - "parameters": [ - { - "name": "owner", - "description": "The account owner of the repository. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "repo", - "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "issue_number", - "description": "The number that identifies the issue.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "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).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 30 - } - }, - { - "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Issue Field Value", - "description": "A value assigned to an issue field", - "type": "object", - "properties": { - "issue_field_id": { - "description": "Unique identifier for the issue field.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "IFT_GDKND" - }, - "data_type": { - "description": "The data type of the issue field", - "type": "string", - "enum": [ - "text", - "single_select", - "multi_select", - "number", - "date" - ], - "example": "text" - }, - "value": { - "description": "The value of the issue field", - "anyOf": [ - { - "type": "string", - "example": "Sample text" - }, - { - "type": "number", - "example": 42.5 - }, - { - "type": "integer", - "example": 1 - } - ], - "nullable": true }, - "single_select_option": { - "description": "Details about the selected option (only present for single_select fields)", + { + "title": "Issue Type Added Issue Event", + "description": "Issue Type Added Issue Event", "type": "object", "properties": { "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "example": 1 + "type": "integer" }, - "name": { - "description": "The name of the option", - "type": "string", - "example": "High" + "node_id": { + "type": "string" }, - "color": { - "description": "The color of the option", - "type": "string", - "example": "red" - } - }, - "required": [ - "id", - "name", - "color" - ], - "nullable": true - }, - "multi_select_options": { - "description": "Details about the selected options", - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "name": { - "description": "The name of the option", - "type": "string", - "example": "High" + "url": { + "type": "string" + }, + "actor": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } }, - "color": { - "description": "The color of the option", - "type": "string", - "example": "red" - } + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] }, - "required": [ - "id", - "name", - "color" - ] - }, - "nullable": true - } - }, - "required": [ - "issue_field_id", - "node_id", - "data_type", - "value" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "issue_field_id": 1, - "node_id": "IFT_GDKND", - "data_type": "text", - "value": "DRI" - }, - { - "issue_field_id": 2, - "node_id": "IFSS_SADMS", - "data_type": "single_select", - "value": 1, - "single_select_option": { - "id": 1, - "name": "High", - "color": "red" - } - }, - { - "issue_field_id": 3, - "node_id": "IFN_POINTS", - "data_type": "number", - "value": 42 - }, - { - "issue_field_id": 4, - "node_id": "IFD_DUEDATE", - "data_type": "date", - "value": "2025-12-25" - }, - { - "issue_field_id": 5, - "node_id": "IFMS_LABELS", - "data_type": "multi_select", - "value": "Frontend,Backend", - "multi_select_options": [ - { - "id": 1, - "name": "Frontend", - "color": "blue" - }, - { - "id": 2, - "name": "Backend", - "color": "green" - } - ] - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - }, - "301": { - "description": "Moved permanently", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "410": { - "description": "Gone", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "issues", - "subcategory": "issue-field-values" - } - }, - "post": { - "summary": "Add issue field values to an issue", - "description": "Add custom field values to an issue. You can set values for organization-level issue fields that have been defined for the repository's organization.\nAdding an empty array will clear all existing field values for the issue.\n\nThis endpoint supports the following field data types:\n- **`text`**: String values for text fields\n- **`single_select`**: Option names for single-select fields (must match an existing option name)\n- **`number`**: Numeric values for number fields\n- **`date`**: ISO 8601 date strings for date fields\n\nOnly users with push access to the repository can add issue field values. If you don't have the proper permissions, you'll receive a `403 Forbidden` response.\n\nThis endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api).\"", - "tags": [ - "issues" - ], - "operationId": "issues/add-issue-field-values", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/issues/issue-field-values#add-issue-field-values-to-an-issue" - }, - "parameters": [ - { - "name": "owner", - "description": "The account owner of the repository. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "repo", - "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "issue_number", - "description": "The number that identifies the issue.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "issue_field_values": { - "type": "array", - "description": "An array of issue field values to add to this issue. Each field value must include the field ID and the value to set.", - "items": { - "type": "object", - "properties": { - "field_id": { - "type": "integer", - "description": "The ID of the issue field to set", - "example": 123 - }, - "value": { - "oneOf": [ - { - "type": "string", - "description": "The value to set for text, single_select, or date fields" - }, - { - "type": "number", - "description": "The value to set for number fields" - }, - { - "type": "array", - "items": { - "type": "string" - }, - "description": "The value to set for multi_select fields (array of option names)" - } - ], - "description": "The value to set for the field. The type depends on the field's data type:\n- For text fields: provide a string value\n- For single_select fields: provide the option name as a string (must match an existing option)\n- For number fields: provide a numeric value\n- For multi_select fields: provide an array of option names (must match existing options)\n- For date fields: provide an ISO 8601 date string", - "example": "Critical" - } - }, - "required": [ - "field_id", - "value" - ], - "additionalProperties": false - }, - "maxItems": 25 - } - } - }, - "examples": { - "default": { - "summary": "Add multiple field values", - "value": { - "issue_field_values": [ - { - "field_id": 123, - "value": "Critical" - }, - { - "field_id": 456, - "value": 5 - }, - { - "field_id": 789, - "value": "2024-12-31" - } - ] - } - }, - "single-field": { - "summary": "Add a single field value", - "value": { - "issue_field_values": [ - { - "field_id": 123, - "value": "High Priority" - } - ] - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "description": "The current issue field values for this issue after adding the new values", - "items": { - "title": "Issue Field Value", - "description": "A value assigned to an issue field", - "type": "object", - "properties": { - "issue_field_id": { - "description": "Unique identifier for the issue field.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "IFT_GDKND" - }, - "data_type": { - "description": "The data type of the issue field", - "type": "string", - "enum": [ - "text", - "single_select", - "multi_select", - "number", - "date" - ], - "example": "text" - }, - "value": { - "description": "The value of the issue field", - "anyOf": [ - { - "type": "string", - "example": "Sample text" - }, - { - "type": "number", - "example": 42.5 - }, - { - "type": "integer", - "example": 1 - } - ], - "nullable": true - }, - "single_select_option": { - "description": "Details about the selected option (only present for single_select fields)", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "example": 1 + "event": { + "type": "string" }, - "name": { - "description": "The name of the option", + "commit_id": { "type": "string", - "example": "High" + "nullable": true }, - "color": { - "description": "The color of the option", + "commit_url": { "type": "string", - "example": "red" - } - }, - "required": [ - "id", - "name", - "color" - ], - "nullable": true - }, - "multi_select_options": { - "description": "Details about the selected options", - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "name": { - "description": "The name of the option", - "type": "string", - "example": "High" - }, - "color": { - "description": "The color of the option", - "type": "string", - "example": "red" - } + "nullable": true }, - "required": [ - "id", - "name", - "color" - ] - }, - "nullable": true - } - }, - "required": [ - "issue_field_id", - "node_id", - "data_type", - "value" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "issue_field_id": 1, - "node_id": "IFT_GDKND", - "data_type": "text", - "value": "DRI" - }, - { - "issue_field_id": 2, - "node_id": "IFSS_SADMS", - "data_type": "single_select", - "value": 1, - "single_select_option": { - "id": 1, - "name": "High", - "color": "red" - } - }, - { - "issue_field_id": 3, - "node_id": "IFN_POINTS", - "data_type": "number", - "value": 42 - }, - { - "issue_field_id": 4, - "node_id": "IFD_DUEDATE", - "data_type": "date", - "value": "2025-12-25" - }, - { - "issue_field_id": 5, - "node_id": "IFMS_LABELS", - "data_type": "multi_select", - "value": "Frontend,Backend", - "multi_select_options": [ - { - "id": 1, - "name": "Frontend", - "color": "blue" + "created_at": { + "type": "string" }, - { - "id": 2, - "name": "Backend", - "color": "green" - } - ] - } - ] - } - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - }, - "application/scim+json": { - "schema": { - "title": "Scim Error", - "description": "Scim Error", - "type": "object", - "properties": { - "message": { - "type": "string", - "nullable": true - }, - "documentation_url": { - "type": "string", - "nullable": true - }, - "detail": { - "type": "string", - "nullable": true - }, - "status": { - "type": "integer" - }, - "scimType": { - "type": "string", - "nullable": true - }, - "schemas": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error", - "description": "Validation Error", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", + "performed_via_github_app": { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { + "type": "string", + "example": "MDExOkludGVncmF0aW9uMQ==" + }, + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", + "type": "string" + }, + "description": { + "type": "string", + "example": "The description of the app.", + "nullable": true + }, + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app. Note that the `installation_target`, `security_advisory`, and `meta` events are not included because they are global events and not specific to an installation.", + "example": [ + "label", + "deployment" + ], + "type": "array", + "items": { + "type": "string" + } + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "example": 5, + "type": "integer" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + }, + "issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + } + }, "required": [ - "code" - ], + "issue_type", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + { + "title": "Issue Type Removed Issue Event", + "description": "Issue Type Removed Issue Event", + "type": "object", "properties": { - "resource": { - "type": "string" - }, - "field": { - "type": "string" + "id": { + "type": "integer" }, - "message": { + "node_id": { "type": "string" }, - "code": { + "url": { "type": "string" }, - "index": { - "type": "integer" - }, - "value": { - "oneOf": [ - { + "actor": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { "type": "string", - "nullable": true + "example": "octocat" }, - { + "id": { "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", "nullable": true }, - { - "type": "array", - "nullable": true, - "items": { - "type": "string" - } - } - ] - } - } - } - } - } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "triggersNotification": true, - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "issues", - "subcategory": "issue-field-values" - } - }, - "put": { - "summary": "Set issue field values for an issue", - "description": "Set custom field values for an issue, replacing any existing values. You can set values for organization-level issue fields that have been defined for the repository's organization.\n\nThis endpoint supports the following field data types:\n- **`text`**: String values for text fields\n- **`single_select`**: Option names for single-select fields (must match an existing option name)\n- **`number`**: Numeric values for number fields\n- **`date`**: ISO 8601 date strings for date fields\n\nThis operation will replace all existing field values with the provided ones. If you want to add field values without replacing existing ones, use the `POST` endpoint instead.\n\nOnly users with push access to the repository can set issue field values. If you don't have the proper permissions, you'll receive a `403 Forbidden` response.\n\nThis endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api).\"", - "tags": [ - "issues" - ], - "operationId": "issues/set-issue-field-values", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/issues/issue-field-values#set-issue-field-values-for-an-issue" - }, - "parameters": [ - { - "name": "owner", - "description": "The account owner of the repository. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "repo", - "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "issue_number", - "description": "The number that identifies the issue.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "issue_field_values": { - "type": "array", - "description": "An array of issue field values to set for this issue. Each field value must include the field ID and the value to set. All existing field values will be replaced.", - "items": { - "type": "object", - "properties": { - "field_id": { - "type": "integer", - "description": "The ID of the issue field to set", - "example": 123 - }, - "value": { - "oneOf": [ - { - "type": "string", - "description": "The value to set for text, single_select, or date fields" + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } }, - { - "type": "number", - "description": "The value to set for number fields" - } - ], - "description": "The value to set for the field. The type depends on the field's data type:\n- For text fields: provide a string value\n- For single_select fields: provide the option name as a string (must match an existing option)\n- For number fields: provide a numeric value\n- For date fields: provide an ISO 8601 date string", - "example": "Critical" - } - }, - "required": [ - "field_id", - "value" - ], - "additionalProperties": false - }, - "maxItems": 25 - } - } - }, - "examples": { - "default": { - "summary": "Set multiple field values", - "value": { - "issue_field_values": [ - { - "field_id": 123, - "value": "Critical" - }, - { - "field_id": 456, - "value": 5 - }, - { - "field_id": 789, - "value": "2024-12-31" - } - ] - } - }, - "single-field": { - "summary": "Set a single field value", - "value": { - "issue_field_values": [ - { - "field_id": 123, - "value": "High Priority" - } - ] - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "description": "The current issue field values for this issue after setting the new values", - "items": { - "title": "Issue Field Value", - "description": "A value assigned to an issue field", - "type": "object", - "properties": { - "issue_field_id": { - "description": "Unique identifier for the issue field.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "IFT_GDKND" - }, - "data_type": { - "description": "The data type of the issue field", - "type": "string", - "enum": [ - "text", - "single_select", - "multi_select", - "number", - "date" - ], - "example": "text" - }, - "value": { - "description": "The value of the issue field", - "anyOf": [ - { - "type": "string", - "example": "Sample text" - }, - { - "type": "number", - "example": 42.5 + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] }, - { - "type": "integer", - "example": 1 - } - ], - "nullable": true - }, - "single_select_option": { - "description": "Details about the selected option (only present for single_select fields)", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "example": 1 + "event": { + "type": "string" }, - "name": { - "description": "The name of the option", + "commit_id": { "type": "string", - "example": "High" + "nullable": true }, - "color": { - "description": "The color of the option", + "commit_url": { "type": "string", - "example": "red" - } - }, - "required": [ - "id", - "name", - "color" - ], - "nullable": true - }, - "multi_select_options": { - "description": "Details about the selected options", - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "name": { - "description": "The name of the option", - "type": "string", - "example": "High" - }, - "color": { - "description": "The color of the option", - "type": "string", - "example": "red" - } + "nullable": true }, - "required": [ - "id", - "name", - "color" - ] - }, - "nullable": true - } - }, - "required": [ - "issue_field_id", - "node_id", - "data_type", - "value" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "issue_field_id": 1, - "node_id": "IFT_GDKND", - "data_type": "text", - "value": "DRI" - }, - { - "issue_field_id": 2, - "node_id": "IFSS_SADMS", - "data_type": "single_select", - "value": 1, - "single_select_option": { - "id": 1, - "name": "High", - "color": "red" - } - }, - { - "issue_field_id": 3, - "node_id": "IFN_POINTS", - "data_type": "number", - "value": 42 - }, - { - "issue_field_id": 4, - "node_id": "IFD_DUEDATE", - "data_type": "date", - "value": "2025-12-25" - }, - { - "issue_field_id": 5, - "node_id": "IFMS_LABELS", - "data_type": "multi_select", - "value": "Frontend,Backend", - "multi_select_options": [ - { - "id": 1, - "name": "Frontend", - "color": "blue" + "created_at": { + "type": "string" }, - { - "id": 2, - "name": "Backend", - "color": "green" - } - ] - } - ] - } - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - }, - "application/scim+json": { - "schema": { - "title": "Scim Error", - "description": "Scim Error", - "type": "object", - "properties": { - "message": { - "type": "string", - "nullable": true - }, - "documentation_url": { - "type": "string", - "nullable": true - }, - "detail": { - "type": "string", - "nullable": true - }, - "status": { - "type": "integer" - }, - "scimType": { - "type": "string", - "nullable": true - }, - "schemas": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error", - "description": "Validation Error", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", + "performed_via_github_app": { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { + "type": "string", + "example": "MDExOkludGVncmF0aW9uMQ==" + }, + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", + "type": "string" + }, + "description": { + "type": "string", + "example": "The description of the app.", + "nullable": true + }, + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app. Note that the `installation_target`, `security_advisory`, and `meta` events are not included because they are global events and not specific to an installation.", + "example": [ + "label", + "deployment" + ], + "type": "array", + "items": { + "type": "string" + } + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "example": 5, + "type": "integer" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + }, + "prev_issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + } + }, "required": [ - "code" - ], + "prev_issue_type", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + { + "title": "Issue Type Changed Issue Event", + "description": "Issue Type Changed Issue Event", + "type": "object", "properties": { - "resource": { - "type": "string" - }, - "field": { - "type": "string" + "id": { + "type": "integer" }, - "message": { + "node_id": { "type": "string" }, - "code": { + "url": { "type": "string" }, - "index": { - "type": "integer" - }, - "value": { - "oneOf": [ - { + "actor": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { "type": "string", - "nullable": true + "example": "octocat" }, - { + "id": { "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", "nullable": true }, - { - "type": "array", - "nullable": true, - "items": { - "type": "string" - } - } - ] - } - } - } - } - } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "triggersNotification": true, - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "issues", - "subcategory": "issue-field-values" - } - } - }, - "/repos/{owner}/{repo}/issues/{issue_number}/issue-field-values/{issue_field_id}": { - "delete": { - "summary": "Delete an issue field value from an issue", - "description": "Remove a specific custom field value from an issue.\n\nOnly users with push access to the repository can delete issue field values. If you don't have the proper permissions, you'll receive a `403 Forbidden` response.\n\nIf the specified field does not have a value set on the issue, this operation will return a `404` error.\n\nThis endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api).\"", - "tags": [ - "issues" - ], - "operationId": "issues/delete-issue-field-value", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue" - }, - "parameters": [ - { - "name": "owner", - "description": "The account owner of the repository. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "repo", - "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "issue_number", - "description": "The number that identifies the issue.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "issue_field_id", - "description": "The unique identifier of the issue field.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "204": { - "description": "Issue field value deleted successfully" - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error", - "description": "Validation Error", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "required": [ - "code" - ], - "properties": { - "resource": { - "type": "string" + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] }, - "field": { + "event": { "type": "string" }, - "message": { - "type": "string" + "commit_id": { + "type": "string", + "nullable": true }, - "code": { - "type": "string" + "commit_url": { + "type": "string", + "nullable": true }, - "index": { - "type": "integer" + "created_at": { + "type": "string" }, - "value": { - "oneOf": [ - { + "performed_via_github_app": { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { "type": "string", - "nullable": true + "example": "MDExOkludGVncmF0aW9uMQ==" }, - { - "type": "integer", + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", + "type": "string" + }, + "description": { + "type": "string", + "example": "The description of the app.", "nullable": true }, - { + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app. Note that the `installation_target`, `security_advisory`, and `meta` events are not included because they are global events and not specific to an installation.", + "example": [ + "label", + "deployment" + ], "type": "array", - "nullable": true, "items": { "type": "string" } + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "example": 5, + "type": "integer" } - ] - } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + }, + "issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, + "prev_issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + } + }, + "required": [ + "issue_type", + "prev_issue_type", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + } + ] + } + }, + "examples": { + "default": { + "value": [ + { + "id": 1, + "node_id": "MDEwOklzc3VlRXZlbnQx", + "url": "https://api.github.com/repos/octocat/Hello-World/issues/events/1", + "actor": { + "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 + }, + "event": "closed", + "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "commit_url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e", + "created_at": "2011-04-14T16:00:49Z", + "performed_via_github_app": null, + "label": { + "name": "label", + "color": "red" } } - } + ] } } } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } } }, - "503": { - "description": "Service unavailable", + "410": { + "description": "Gone", "content": { "application/json": { "schema": { + "title": "Basic Error", + "description": "Basic Error", "type": "object", "properties": { - "code": { - "type": "string" - }, "message": { "type": "string" }, "documentation_url": { "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" } } } @@ -458974,25 +459126,24 @@ } }, "x-github": { - "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "issues", - "subcategory": "issue-field-values" + "subcategory": "events" } } }, - "/repos/{owner}/{repo}/issues/{issue_number}/labels": { + "/repos/{owner}/{repo}/issues/{issue_number}/issue-field-values": { "get": { - "summary": "List labels for an issue", - "description": "Lists all labels for an issue.", + "summary": "List issue field values for an issue", + "description": "Lists all issue field values for an issue.", "tags": [ "issues" ], - "operationId": "issues/list-labels-on-issue", + "operationId": "issues/list-issue-field-values-for-issue", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/issues/labels#list-labels-for-an-issue" + "url": "https://docs.github.com/rest/issues/issue-field-values#list-issue-field-values-for-an-issue" }, "parameters": [ { @@ -459049,56 +459200,115 @@ "schema": { "type": "array", "items": { - "title": "Label", - "description": "Color-coded labels help you categorize and filter your issues (just like labels in Gmail).", + "title": "Issue Field Value", + "description": "A value assigned to an issue field", "type": "object", "properties": { - "id": { - "description": "Unique identifier for the label.", + "issue_field_id": { + "description": "Unique identifier for the issue field.", "type": "integer", "format": "int64", - "example": 208045946 + "example": 1 }, "node_id": { "type": "string", - "example": "MDU6TGFiZWwyMDgwNDU5NDY=" + "example": "IFT_GDKND" }, - "url": { - "description": "URL for the label", - "example": "https://api.github.com/repositories/42/labels/bug", + "data_type": { + "description": "The data type of the issue field", "type": "string", - "format": "uri" - }, - "name": { - "description": "The name of the label.", - "example": "bug", - "type": "string" + "enum": [ + "text", + "single_select", + "multi_select", + "number", + "date" + ], + "example": "text" }, - "description": { - "description": "Optional description of the label, such as its purpose.", - "type": "string", - "example": "Something isn't working", + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "example": "Sample text" + }, + { + "type": "number", + "example": 42.5 + }, + { + "type": "integer", + "example": 1 + } + ], "nullable": true }, - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "example": "FFFFFF", - "type": "string" + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the option", + "type": "string", + "example": "High" + }, + "color": { + "description": "The color of the option", + "type": "string", + "example": "red" + } + }, + "required": [ + "id", + "name", + "color" + ], + "nullable": true }, - "default": { - "description": "Whether this label comes by default in a new repository.", - "type": "boolean", - "example": true + "multi_select_options": { + "description": "Details about the selected options", + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the option", + "type": "string", + "example": "High" + }, + "color": { + "description": "The color of the option", + "type": "string", + "example": "red" + } + }, + "required": [ + "id", + "name", + "color" + ] + }, + "nullable": true } }, "required": [ - "id", + "issue_field_id", "node_id", - "url", - "name", - "description", - "color", - "default" + "data_type", + "value" ] } }, @@ -459106,22 +459316,51 @@ "default": { "value": [ { - "id": 208045946, - "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", - "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug", - "name": "bug", - "description": "Something isn't working", - "color": "f29513", - "default": true + "issue_field_id": 1, + "node_id": "IFT_GDKND", + "data_type": "text", + "value": "DRI" }, { - "id": 208045947, - "node_id": "MDU6TGFiZWwyMDgwNDU5NDc=", - "url": "https://api.github.com/repos/octocat/Hello-World/labels/enhancement", - "name": "enhancement", - "description": "New feature or request", - "color": "a2eeef", - "default": false + "issue_field_id": 2, + "node_id": "IFSS_SADMS", + "data_type": "single_select", + "value": 1, + "single_select_option": { + "id": 1, + "name": "High", + "color": "red" + } + }, + { + "issue_field_id": 3, + "node_id": "IFN_POINTS", + "data_type": "number", + "value": 42 + }, + { + "issue_field_id": 4, + "node_id": "IFD_DUEDATE", + "data_type": "date", + "value": "2025-12-25" + }, + { + "issue_field_id": 5, + "node_id": "IFMS_LABELS", + "data_type": "multi_select", + "value": "Frontend,Backend", + "multi_select_options": [ + { + "id": 1, + "name": "Frontend", + "color": "blue" + }, + { + "id": 2, + "name": "Backend", + "color": "green" + } + ] } ] } @@ -459220,19 +459459,19 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "issues", - "subcategory": "labels" + "subcategory": "issue-field-values" } }, "post": { - "summary": "Add labels to an issue", - "description": "Adds labels to an issue.", + "summary": "Add issue field values to an issue", + "description": "Add custom field values to an issue. You can set values for organization-level issue fields that have been defined for the repository's organization.\nAdding an empty array will clear all existing field values for the issue.\n\nThis endpoint supports the following field data types:\n- **`text`**: String values for text fields\n- **`single_select`**: Option names for single-select fields (must match an existing option name)\n- **`number`**: Numeric values for number fields\n- **`date`**: ISO 8601 date strings for date fields\n\nOnly users with push access to the repository can add issue field values. If you don't have the proper permissions, you'll receive a `403 Forbidden` response.\n\nThis endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api).\"", "tags": [ "issues" ], - "operationId": "issues/add-labels", + "operationId": "issues/add-issue-field-values", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/issues/labels#add-labels-to-an-issue" + "url": "https://docs.github.com/rest/issues/issue-field-values#add-issue-field-values-to-an-issue" }, "parameters": [ { @@ -459264,52 +459503,83 @@ } ], "requestBody": { - "required": false, + "required": true, "content": { "application/json": { "schema": { - "oneOf": [ - { - "type": "object", - "properties": { - "labels": { - "type": "array", - "minItems": 1, - "description": "The names of the labels to add to the issue's existing labels. You can also pass an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. To replace all of the labels for an issue, use \"[Set labels for an issue](https://docs.github.com/rest/issues/labels#set-labels-for-an-issue).\"", - "items": { - "type": "string" - } - } - } - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { + "type": "object", + "properties": { + "issue_field_values": { "type": "array", + "description": "An array of issue field values to add to this issue. Each field value must include the field ID and the value to set.", "items": { "type": "object", "properties": { - "name": { - "type": "string" + "field_id": { + "type": "integer", + "description": "The ID of the issue field to set", + "example": 123 + }, + "value": { + "oneOf": [ + { + "type": "string", + "description": "The value to set for text, single_select, or date fields" + }, + { + "type": "number", + "description": "The value to set for number fields" + }, + { + "type": "array", + "items": { + "type": "string" + }, + "description": "The value to set for multi_select fields (array of option names)" + } + ], + "description": "The value to set for the field. The type depends on the field's data type:\n- For text fields: provide a string value\n- For single_select fields: provide the option name as a string (must match an existing option)\n- For number fields: provide a numeric value\n- For multi_select fields: provide an array of option names (must match existing options)\n- For date fields: provide an ISO 8601 date string", + "example": "Critical" } }, "required": [ - "name" - ] - } + "field_id", + "value" + ], + "additionalProperties": false + }, + "maxItems": 25 } - ] + } }, "examples": { "default": { + "summary": "Add multiple field values", "value": { - "labels": [ - "bug", - "enhancement" + "issue_field_values": [ + { + "field_id": 123, + "value": "Critical" + }, + { + "field_id": 456, + "value": 5 + }, + { + "field_id": 789, + "value": "2024-12-31" + } + ] + } + }, + "single-field": { + "summary": "Add a single field value", + "value": { + "issue_field_values": [ + { + "field_id": 123, + "value": "High Priority" + } ] } } @@ -459324,57 +459594,117 @@ "application/json": { "schema": { "type": "array", + "description": "The current issue field values for this issue after adding the new values", "items": { - "title": "Label", - "description": "Color-coded labels help you categorize and filter your issues (just like labels in Gmail).", + "title": "Issue Field Value", + "description": "A value assigned to an issue field", "type": "object", "properties": { - "id": { - "description": "Unique identifier for the label.", + "issue_field_id": { + "description": "Unique identifier for the issue field.", "type": "integer", "format": "int64", - "example": 208045946 + "example": 1 }, "node_id": { "type": "string", - "example": "MDU6TGFiZWwyMDgwNDU5NDY=" + "example": "IFT_GDKND" }, - "url": { - "description": "URL for the label", - "example": "https://api.github.com/repositories/42/labels/bug", + "data_type": { + "description": "The data type of the issue field", "type": "string", - "format": "uri" - }, - "name": { - "description": "The name of the label.", - "example": "bug", - "type": "string" + "enum": [ + "text", + "single_select", + "multi_select", + "number", + "date" + ], + "example": "text" }, - "description": { - "description": "Optional description of the label, such as its purpose.", - "type": "string", - "example": "Something isn't working", + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "example": "Sample text" + }, + { + "type": "number", + "example": 42.5 + }, + { + "type": "integer", + "example": 1 + } + ], "nullable": true }, - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "example": "FFFFFF", - "type": "string" + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the option", + "type": "string", + "example": "High" + }, + "color": { + "description": "The color of the option", + "type": "string", + "example": "red" + } + }, + "required": [ + "id", + "name", + "color" + ], + "nullable": true }, - "default": { - "description": "Whether this label comes by default in a new repository.", - "type": "boolean", - "example": true + "multi_select_options": { + "description": "Details about the selected options", + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the option", + "type": "string", + "example": "High" + }, + "color": { + "description": "The color of the option", + "type": "string", + "example": "red" + } + }, + "required": [ + "id", + "name", + "color" + ] + }, + "nullable": true } }, "required": [ - "id", + "issue_field_id", "node_id", - "url", - "name", - "description", - "color", - "default" + "data_type", + "value" ] } }, @@ -459382,22 +459712,51 @@ "default": { "value": [ { - "id": 208045946, - "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", - "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug", - "name": "bug", - "description": "Something isn't working", - "color": "f29513", - "default": true + "issue_field_id": 1, + "node_id": "IFT_GDKND", + "data_type": "text", + "value": "DRI" }, { - "id": 208045947, - "node_id": "MDU6TGFiZWwyMDgwNDU5NDc=", - "url": "https://api.github.com/repos/octocat/Hello-World/labels/enhancement", - "name": "enhancement", - "description": "New feature or request", - "color": "a2eeef", - "default": false + "issue_field_id": 2, + "node_id": "IFSS_SADMS", + "data_type": "single_select", + "value": 1, + "single_select_option": { + "id": 1, + "name": "High", + "color": "red" + } + }, + { + "issue_field_id": 3, + "node_id": "IFN_POINTS", + "data_type": "number", + "value": 42 + }, + { + "issue_field_id": 4, + "node_id": "IFD_DUEDATE", + "data_type": "date", + "value": "2025-12-25" + }, + { + "issue_field_id": 5, + "node_id": "IFMS_LABELS", + "data_type": "multi_select", + "value": "Frontend,Backend", + "multi_select_options": [ + { + "id": 1, + "name": "Frontend", + "color": "blue" + }, + { + "id": 2, + "name": "Backend", + "color": "green" + } + ] } ] } @@ -459405,8 +459764,8 @@ } } }, - "301": { - "description": "Moved permanently", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -459428,11 +459787,45 @@ } } } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } } } }, - "404": { - "description": "Resource not found", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -459457,8 +459850,8 @@ } } }, - "410": { - "description": "Gone", + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -459551,25 +459944,47 @@ } } } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } } }, "x-github": { + "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "issues", - "subcategory": "labels" + "subcategory": "issue-field-values" } }, "put": { - "summary": "Set labels for an issue", - "description": "Removes any previous labels and sets the new labels for an issue.", + "summary": "Set issue field values for an issue", + "description": "Set custom field values for an issue, replacing any existing values. You can set values for organization-level issue fields that have been defined for the repository's organization.\n\nThis endpoint supports the following field data types:\n- **`text`**: String values for text fields\n- **`single_select`**: Option names for single-select fields (must match an existing option name)\n- **`number`**: Numeric values for number fields\n- **`date`**: ISO 8601 date strings for date fields\n\nThis operation will replace all existing field values with the provided ones. If you want to add field values without replacing existing ones, use the `POST` endpoint instead.\n\nOnly users with push access to the repository can set issue field values. If you don't have the proper permissions, you'll receive a `403 Forbidden` response.\n\nThis endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api).\"", "tags": [ "issues" ], - "operationId": "issues/set-labels", + "operationId": "issues/set-issue-field-values", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/issues/labels#set-labels-for-an-issue" + "url": "https://docs.github.com/rest/issues/issue-field-values#set-issue-field-values-for-an-issue" }, "parameters": [ { @@ -459601,77 +460016,76 @@ } ], "requestBody": { - "required": false, + "required": true, "content": { "application/json": { "schema": { - "oneOf": [ - { - "type": "object", - "properties": { - "labels": { - "type": "array", - "minItems": 1, - "description": "The names of the labels to set for the issue. The labels you set replace any existing labels. You can pass an empty array to remove all labels. Alternatively, you can pass a single label as a `string` or an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. You can also add labels to the existing labels for an issue. For more information, see \"[Add labels to an issue](https://docs.github.com/rest/issues/labels#add-labels-to-an-issue).\"", - "items": { - "type": "string" - } - } - } - }, - { - "type": "array", - "minItems": 1, - "items": { - "type": "string" - } - }, - { - "type": "object", - "properties": { - "labels": { - "type": "array", - "minItems": 1, - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - } - }, - "required": [ - "name" - ] - } - } - } - }, - { + "type": "object", + "properties": { + "issue_field_values": { "type": "array", - "minItems": 1, + "description": "An array of issue field values to set for this issue. Each field value must include the field ID and the value to set. All existing field values will be replaced.", "items": { "type": "object", "properties": { - "name": { - "type": "string" + "field_id": { + "type": "integer", + "description": "The ID of the issue field to set", + "example": 123 + }, + "value": { + "oneOf": [ + { + "type": "string", + "description": "The value to set for text, single_select, or date fields" + }, + { + "type": "number", + "description": "The value to set for number fields" + } + ], + "description": "The value to set for the field. The type depends on the field's data type:\n- For text fields: provide a string value\n- For single_select fields: provide the option name as a string (must match an existing option)\n- For number fields: provide a numeric value\n- For date fields: provide an ISO 8601 date string", + "example": "Critical" } }, "required": [ - "name" - ] - } - }, - { - "type": "string" + "field_id", + "value" + ], + "additionalProperties": false + }, + "maxItems": 25 } - ] + } }, "examples": { "default": { + "summary": "Set multiple field values", "value": { - "labels": [ - "bug", - "enhancement" + "issue_field_values": [ + { + "field_id": 123, + "value": "Critical" + }, + { + "field_id": 456, + "value": 5 + }, + { + "field_id": 789, + "value": "2024-12-31" + } + ] + } + }, + "single-field": { + "summary": "Set a single field value", + "value": { + "issue_field_values": [ + { + "field_id": 123, + "value": "High Priority" + } ] } } @@ -459686,57 +460100,117 @@ "application/json": { "schema": { "type": "array", + "description": "The current issue field values for this issue after setting the new values", "items": { - "title": "Label", - "description": "Color-coded labels help you categorize and filter your issues (just like labels in Gmail).", + "title": "Issue Field Value", + "description": "A value assigned to an issue field", "type": "object", "properties": { - "id": { - "description": "Unique identifier for the label.", + "issue_field_id": { + "description": "Unique identifier for the issue field.", "type": "integer", "format": "int64", - "example": 208045946 + "example": 1 }, "node_id": { "type": "string", - "example": "MDU6TGFiZWwyMDgwNDU5NDY=" + "example": "IFT_GDKND" }, - "url": { - "description": "URL for the label", - "example": "https://api.github.com/repositories/42/labels/bug", + "data_type": { + "description": "The data type of the issue field", "type": "string", - "format": "uri" - }, - "name": { - "description": "The name of the label.", - "example": "bug", - "type": "string" + "enum": [ + "text", + "single_select", + "multi_select", + "number", + "date" + ], + "example": "text" }, - "description": { - "description": "Optional description of the label, such as its purpose.", - "type": "string", - "example": "Something isn't working", + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "example": "Sample text" + }, + { + "type": "number", + "example": 42.5 + }, + { + "type": "integer", + "example": 1 + } + ], "nullable": true }, - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "example": "FFFFFF", - "type": "string" + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the option", + "type": "string", + "example": "High" + }, + "color": { + "description": "The color of the option", + "type": "string", + "example": "red" + } + }, + "required": [ + "id", + "name", + "color" + ], + "nullable": true }, - "default": { - "description": "Whether this label comes by default in a new repository.", - "type": "boolean", - "example": true + "multi_select_options": { + "description": "Details about the selected options", + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the option", + "type": "string", + "example": "High" + }, + "color": { + "description": "The color of the option", + "type": "string", + "example": "red" + } + }, + "required": [ + "id", + "name", + "color" + ] + }, + "nullable": true } }, "required": [ - "id", + "issue_field_id", "node_id", - "url", - "name", - "description", - "color", - "default" + "data_type", + "value" ] } }, @@ -459744,22 +460218,51 @@ "default": { "value": [ { - "id": 208045946, - "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", - "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug", - "name": "bug", - "description": "Something isn't working", - "color": "f29513", - "default": true + "issue_field_id": 1, + "node_id": "IFT_GDKND", + "data_type": "text", + "value": "DRI" }, { - "id": 208045947, - "node_id": "MDU6TGFiZWwyMDgwNDU5NDc=", - "url": "https://api.github.com/repos/octocat/Hello-World/labels/enhancement", - "name": "enhancement", - "description": "New feature or request", - "color": "a2eeef", - "default": false + "issue_field_id": 2, + "node_id": "IFSS_SADMS", + "data_type": "single_select", + "value": 1, + "single_select_option": { + "id": 1, + "name": "High", + "color": "red" + } + }, + { + "issue_field_id": 3, + "node_id": "IFN_POINTS", + "data_type": "number", + "value": 42 + }, + { + "issue_field_id": 4, + "node_id": "IFD_DUEDATE", + "data_type": "date", + "value": "2025-12-25" + }, + { + "issue_field_id": 5, + "node_id": "IFMS_LABELS", + "data_type": "multi_select", + "value": "Frontend,Backend", + "multi_select_options": [ + { + "id": 1, + "name": "Frontend", + "color": "blue" + }, + { + "id": 2, + "name": "Backend", + "color": "green" + } + ] } ] } @@ -459767,8 +460270,8 @@ } } }, - "301": { - "description": "Moved permanently", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -459790,13 +460293,47 @@ } } } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { "schema": { "title": "Basic Error", "description": "Basic Error", @@ -459819,8 +460356,8 @@ } } }, - "410": { - "description": "Gone", + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -459913,25 +460450,49 @@ } } } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } } }, "x-github": { + "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "issues", - "subcategory": "labels" + "subcategory": "issue-field-values" } - }, + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/issue-field-values/{issue_field_id}": { "delete": { - "summary": "Remove all labels from an issue", - "description": "Removes all labels from an issue.", + "summary": "Delete an issue field value from an issue", + "description": "Remove a specific custom field value from an issue.\n\nOnly users with push access to the repository can delete issue field values. If you don't have the proper permissions, you'll receive a `403 Forbidden` response.\n\nIf the specified field does not have a value set on the issue, this operation will return a `404` error.\n\nThis endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api).\"", "tags": [ "issues" ], - "operationId": "issues/remove-all-labels", + "operationId": "issues/delete-issue-field-value", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue" + "url": "https://docs.github.com/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue" }, "parameters": [ { @@ -459960,14 +460521,23 @@ "schema": { "type": "integer" } + }, + { + "name": "issue_field_id", + "description": "The unique identifier of the issue field.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } } ], "responses": { "204": { - "description": "Response" + "description": "Issue field value deleted successfully" }, - "301": { - "description": "Moved permanently", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -460018,14 +460588,18 @@ } } }, - "410": { - "description": "Gone", + "422": { + "description": "Validation failed, or the endpoint has been spammed.", "content": { "application/json": { "schema": { - "title": "Basic Error", - "description": "Basic Error", + "title": "Validation Error", + "description": "Validation Error", "type": "object", + "required": [ + "message", + "documentation_url" + ], "properties": { "message": { "type": "string" @@ -460033,10 +460607,70 @@ "documentation_url": { "type": "string" }, - "url": { + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { "type": "string" }, - "status": { + "message": { + "type": "string" + }, + "documentation_url": { "type": "string" } } @@ -460046,24 +460680,25 @@ } }, "x-github": { + "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "issues", - "subcategory": "labels" + "subcategory": "issue-field-values" } } }, - "/repos/{owner}/{repo}/issues/{issue_number}/labels/{name}": { - "delete": { - "summary": "Remove a label from an issue", - "description": "Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist.", + "/repos/{owner}/{repo}/issues/{issue_number}/labels": { + "get": { + "summary": "List labels for an issue", + "description": "Lists all labels for an issue.", "tags": [ "issues" ], - "operationId": "issues/remove-label", + "operationId": "issues/list-labels-on-issue", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue" + "url": "https://docs.github.com/rest/issues/labels#list-labels-for-an-issue" }, "parameters": [ { @@ -460094,11 +460729,21 @@ } }, { - "name": "name", - "in": "path", - "required": true, + "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).\"", + "in": "query", "schema": { - "type": "string" + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 } } ], @@ -460174,11 +460819,28 @@ "description": "Something isn't working", "color": "f29513", "default": true + }, + { + "id": 208045947, + "node_id": "MDU6TGFiZWwyMDgwNDU5NDc=", + "url": "https://api.github.com/repos/octocat/Hello-World/labels/enhancement", + "name": "enhancement", + "description": "New feature or request", + "color": "a2eeef", + "default": false } ] } } } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } } }, "301": { @@ -460266,19 +460928,17 @@ "category": "issues", "subcategory": "labels" } - } - }, - "/repos/{owner}/{repo}/issues/{issue_number}/lock": { - "put": { - "summary": "Lock an issue", - "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method).\"", + }, + "post": { + "summary": "Add labels to an issue", + "description": "Adds labels to an issue.", "tags": [ "issues" ], - "operationId": "issues/lock", + "operationId": "issues/add-labels", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/issues/issues#lock-an-issue" + "url": "https://docs.github.com/rest/issues/labels#add-labels-to-an-issue" }, "parameters": [ { @@ -460314,26 +460974,49 @@ "content": { "application/json": { "schema": { - "type": "object", - "nullable": true, - "properties": { - "lock_reason": { - "type": "string", - "description": "The reason for locking the issue or pull request conversation. Lock will fail if you don't use one of these reasons: \n * `off-topic` \n * `too heated` \n * `resolved` \n * `spam`", - "enum": [ - "off-topic", - "too heated", - "resolved", - "spam" - ] + "oneOf": [ + { + "type": "object", + "properties": { + "labels": { + "type": "array", + "minItems": 1, + "description": "The names of the labels to add to the issue's existing labels. You can also pass an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. To replace all of the labels for an issue, use \"[Set labels for an issue](https://docs.github.com/rest/issues/labels#set-labels-for-an-issue).\"", + "items": { + "type": "string" + } + } + } + }, + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ] + } } - } + ] }, "examples": { "default": { - "summary": "Example of locking an issue as off-topic", "value": { - "lock_reason": "off-topic" + "labels": [ + "bug", + "enhancement" + ] } } } @@ -460341,11 +461024,95 @@ } }, "responses": { - "204": { - "description": "Response" + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Label", + "description": "Color-coded labels help you categorize and filter your issues (just like labels in Gmail).", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the label.", + "type": "integer", + "format": "int64", + "example": 208045946 + }, + "node_id": { + "type": "string", + "example": "MDU6TGFiZWwyMDgwNDU5NDY=" + }, + "url": { + "description": "URL for the label", + "example": "https://api.github.com/repositories/42/labels/bug", + "type": "string", + "format": "uri" + }, + "name": { + "description": "The name of the label.", + "example": "bug", + "type": "string" + }, + "description": { + "description": "Optional description of the label, such as its purpose.", + "type": "string", + "example": "Something isn't working", + "nullable": true + }, + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "example": "FFFFFF", + "type": "string" + }, + "default": { + "description": "Whether this label comes by default in a new repository.", + "type": "boolean", + "example": true + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "description", + "color", + "default" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "id": 208045946, + "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", + "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug", + "name": "bug", + "description": "Something isn't working", + "color": "f29513", + "default": true + }, + { + "id": 208045947, + "node_id": "MDU6TGFiZWwyMDgwNDU5NDc=", + "url": "https://api.github.com/repos/octocat/Hello-World/labels/enhancement", + "name": "enhancement", + "description": "New feature or request", + "color": "a2eeef", + "default": false + } + ] + } + } + } + } }, - "403": { - "description": "Forbidden", + "301": { + "description": "Moved permanently", "content": { "application/json": { "schema": { @@ -460370,8 +461137,8 @@ } } }, - "410": { - "description": "Gone", + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -460396,8 +461163,8 @@ } } }, - "404": { - "description": "Resource not found", + "410": { + "description": "Gone", "content": { "application/json": { "schema": { @@ -460496,19 +461263,19 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "issues", - "subcategory": "issues" + "subcategory": "labels" } }, - "delete": { - "summary": "Unlock an issue", - "description": "Users with push access can unlock an issue's conversation.", + "put": { + "summary": "Set labels for an issue", + "description": "Removes any previous labels and sets the new labels for an issue.", "tags": [ "issues" ], - "operationId": "issues/unlock", + "operationId": "issues/set-labels", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/issues/issues#unlock-an-issue" + "url": "https://docs.github.com/rest/issues/labels#set-labels-for-an-issue" }, "parameters": [ { @@ -460539,52 +461306,241 @@ } } ], - "responses": { - "204": { - "description": "Response" - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "object", + "properties": { + "labels": { + "type": "array", + "minItems": 1, + "description": "The names of the labels to set for the issue. The labels you set replace any existing labels. You can pass an empty array to remove all labels. Alternatively, you can pass a single label as a `string` or an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. You can also add labels to the existing labels for an issue. For more information, see \"[Add labels to an issue](https://docs.github.com/rest/issues/labels#add-labels-to-an-issue).\"", + "items": { + "type": "string" + } + } + } + }, + { + "type": "array", + "minItems": 1, + "items": { "type": "string" } + }, + { + "type": "object", + "properties": { + "labels": { + "type": "array", + "minItems": 1, + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ] + } + } + } + }, + { + "type": "array", + "minItems": 1, + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ] + } + }, + { + "type": "string" + } + ] + }, + "examples": { + "default": { + "value": { + "labels": [ + "bug", + "enhancement" + ] } } } } - }, - "404": { - "description": "Resource not found", + } + }, + "responses": { + "200": { + "description": "Response", "content": { "application/json": { "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { + "type": "array", + "items": { + "title": "Label", + "description": "Color-coded labels help you categorize and filter your issues (just like labels in Gmail).", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the label.", + "type": "integer", + "format": "int64", + "example": 208045946 + }, + "node_id": { + "type": "string", + "example": "MDU6TGFiZWwyMDgwNDU5NDY=" + }, + "url": { + "description": "URL for the label", + "example": "https://api.github.com/repositories/42/labels/bug", + "type": "string", + "format": "uri" + }, + "name": { + "description": "The name of the label.", + "example": "bug", + "type": "string" + }, + "description": { + "description": "Optional description of the label, such as its purpose.", + "type": "string", + "example": "Something isn't working", + "nullable": true + }, + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "example": "FFFFFF", + "type": "string" + }, + "default": { + "description": "Whether this label comes by default in a new repository.", + "type": "boolean", + "example": true + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "description", + "color", + "default" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "id": 208045946, + "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", + "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug", + "name": "bug", + "description": "Something isn't working", + "color": "f29513", + "default": true + }, + { + "id": 208045947, + "node_id": "MDU6TGFiZWwyMDgwNDU5NDc=", + "url": "https://api.github.com/repos/octocat/Hello-World/labels/enhancement", + "name": "enhancement", + "description": "New feature or request", + "color": "a2eeef", + "default": false + } + ] + } + } + } + } + }, + "301": { + "description": "Moved permanently", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "410": { + "description": "Gone", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { "type": "string" }, "status": { @@ -460594,27 +461550,94 @@ } } } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "issues", - "subcategory": "issues" + "subcategory": "labels" } - } - }, - "/repos/{owner}/{repo}/issues/{issue_number}/parent": { - "get": { - "summary": "Get parent issue", - "description": "You can use the REST API to get the parent issue of a sub-issue.\n\nThis endpoint supports the following custom media types. For more information, see [Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + }, + "delete": { + "summary": "Remove all labels from an issue", + "description": "Removes all labels from an issue.", "tags": [ "issues" ], - "operationId": "issues/get-parent", + "operationId": "issues/remove-all-labels", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/issues/sub-issues#get-parent-issue" + "url": "https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue" }, "parameters": [ { @@ -460646,277 +461669,960 @@ } ], "responses": { - "200": { - "description": "Response", + "204": { + "description": "Response" + }, + "301": { + "description": "Moved permanently", "content": { "application/json": { "schema": { - "title": "Issue", - "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", + "title": "Basic Error", + "description": "Basic Error", "type": "object", "properties": { - "id": { - "type": "integer", - "format": "int64" + "message": { + "type": "string" }, - "node_id": { + "documentation_url": { "type": "string" }, "url": { - "description": "URL for the issue", - "example": "https://api.github.com/repositories/42/issues/1", - "type": "string", - "format": "uri" + "type": "string" }, - "repository_url": { - "type": "string", - "format": "uri" + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" }, - "labels_url": { + "documentation_url": { "type": "string" }, - "comments_url": { - "type": "string", - "format": "uri" + "url": { + "type": "string" }, - "events_url": { - "type": "string", - "format": "uri" + "status": { + "type": "string" + } + } + } + } + } + }, + "410": { + "description": "Gone", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" }, - "html_url": { - "type": "string", - "format": "uri" + "documentation_url": { + "type": "string" }, - "number": { - "description": "Number uniquely identifying the issue within its repository", - "example": 42, - "type": "integer" + "url": { + "type": "string" }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "example": "open", + "status": { "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "issues", + "subcategory": "labels" + } + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/labels/{name}": { + "delete": { + "summary": "Remove a label from an issue", + "description": "Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist.", + "tags": [ + "issues" + ], + "operationId": "issues/remove-label", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "issue_number", + "description": "The number that identifies the issue.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "name", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Label", + "description": "Color-coded labels help you categorize and filter your issues (just like labels in Gmail).", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the label.", + "type": "integer", + "format": "int64", + "example": 208045946 + }, + "node_id": { + "type": "string", + "example": "MDU6TGFiZWwyMDgwNDU5NDY=" + }, + "url": { + "description": "URL for the label", + "example": "https://api.github.com/repositories/42/labels/bug", + "type": "string", + "format": "uri" + }, + "name": { + "description": "The name of the label.", + "example": "bug", + "type": "string" + }, + "description": { + "description": "Optional description of the label, such as its purpose.", + "type": "string", + "example": "Something isn't working", + "nullable": true + }, + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "example": "FFFFFF", + "type": "string" + }, + "default": { + "description": "Whether this label comes by default in a new repository.", + "type": "boolean", + "example": true + } }, - "state_reason": { - "description": "The reason for the current state", - "example": "not_planned", - "type": "string", - "nullable": true, - "enum": [ - "completed", - "reopened", - "not_planned", - "duplicate" - ] + "required": [ + "id", + "node_id", + "url", + "name", + "description", + "color", + "default" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "id": 208045946, + "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", + "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug", + "name": "bug", + "description": "Something isn't working", + "color": "f29513", + "default": true + } + ] + } + } + } + } + }, + "301": { + "description": "Moved permanently", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" }, - "title": { - "description": "Title of the issue", - "example": "Widget creation fails in Safari on OS X 10.8", + "documentation_url": { "type": "string" }, - "body": { - "description": "Contents of the issue", - "example": "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?", - "type": "string", - "nullable": true + "url": { + "type": "string" }, - "user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" }, - "labels": { - "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", - "example": [ - "bug", - "registration" - ], + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "410": { + "description": "Gone", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "issues", + "subcategory": "labels" + } + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/lock": { + "put": { + "summary": "Lock an issue", + "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method).\"", + "tags": [ + "issues" + ], + "operationId": "issues/lock", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/issues/issues#lock-an-issue" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "issue_number", + "description": "The number that identifies the issue.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "type": "object", + "nullable": true, + "properties": { + "lock_reason": { + "type": "string", + "description": "The reason for locking the issue or pull request conversation. Lock will fail if you don't use one of these reasons: \n * `off-topic` \n * `too heated` \n * `resolved` \n * `spam`", + "enum": [ + "off-topic", + "too heated", + "resolved", + "spam" + ] + } + } + }, + "examples": { + "default": { + "summary": "Example of locking an issue as off-topic", + "value": { + "lock_reason": "off-topic" + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "410": { + "description": "Gone", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { "type": "array", "items": { - "oneOf": [ - { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { "type": "string" }, - { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "node_id": { - "type": "string" - }, - "url": { - "type": "string", - "format": "uri" - }, - "name": { - "type": "string" - }, - "description": { + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { "type": "string", "nullable": true }, - "color": { - "type": "string", + { + "type": "integer", "nullable": true }, - "default": { - "type": "boolean" + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } } - } + ] } - ] + } } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "issues", + "subcategory": "issues" + } + }, + "delete": { + "summary": "Unlock an issue", + "description": "Users with push access can unlock an issue's conversation.", + "tags": [ + "issues" + ], + "operationId": "issues/unlock", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/issues/issues#unlock-an-issue" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "issue_number", + "description": "The number that identifies the issue.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" }, - "assignee": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "issues", + "subcategory": "issues" + } + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/parent": { + "get": { + "summary": "Get parent issue", + "description": "You can use the REST API to get the parent issue of a sub-issue.\n\nThis endpoint supports the following custom media types. For more information, see [Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "tags": [ + "issues" + ], + "operationId": "issues/get-parent", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/issues/sub-issues#get-parent-issue" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "issue_number", + "description": "The number that identifies the issue.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Issue", + "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the issue", + "example": "https://api.github.com/repositories/42/issues/1", + "type": "string", + "format": "uri" + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "labels_url": { + "type": "string" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "number": { + "description": "Number uniquely identifying the issue within its repository", + "example": 42, + "type": "integer" + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "example": "open", + "type": "string" + }, + "state_reason": { + "description": "The reason for the current state", + "example": "not_planned", + "type": "string", + "nullable": true, + "enum": [ + "completed", + "reopened", + "not_planned", + "duplicate" + ] + }, + "title": { + "description": "Title of the issue", + "example": "Widget creation fails in Safari on OS X 10.8", + "type": "string" + }, + "body": { + "description": "Contents of the issue", + "example": "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?", + "type": "string", + "nullable": true + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "labels": { + "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", + "example": [ + "bug", + "registration" + ], + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + }, + "color": { + "type": "string", + "nullable": true + }, + "default": { + "type": "boolean" + } + } + } + ] + } + }, + "assignee": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { "type": "string", "format": "uri", "example": "https://github.com/images/error/octocat_happy.gif" @@ -490179,632 +491885,2763 @@ "events" ] }, - "reactions": { - "title": "Reaction Rollup", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri" - }, - "total_count": { - "type": "integer" - }, - "+1": { - "type": "integer" - }, - "-1": { - "type": "integer" - }, - "laugh": { - "type": "integer" - }, - "confused": { - "type": "integer" - }, - "heart": { - "type": "integer" - }, - "hooray": { - "type": "integer" - }, - "eyes": { - "type": "integer" - }, - "rocket": { - "type": "integer" - } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "pin": { + "title": "Pinned Issue Comment", + "description": "Context around who pinned an issue comment and when it was pinned.", + "type": "object", + "properties": { + "pinned_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-14T16:00:49Z" + }, + "pinned_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + } + }, + "required": [ + "pinned_at", + "pinned_by" + ], + "nullable": true + } + }, + "required": [ + "id", + "node_id", + "html_url", + "issue_url", + "user", + "url", + "created_at", + "updated_at" + ], + "nullable": true + }, + "issue_dependencies_summary": { + "title": "Issue Dependencies Summary", + "type": "object", + "properties": { + "blocked_by": { + "type": "integer" + }, + "blocking": { + "type": "integer" + }, + "total_blocked_by": { + "type": "integer" + }, + "total_blocking": { + "type": "integer" + } + }, + "required": [ + "blocked_by", + "blocking", + "total_blocked_by", + "total_blocking" + ] + }, + "issue_field_values": { + "type": "array", + "items": { + "title": "Issue Field Value", + "description": "A value assigned to an issue field", + "type": "object", + "properties": { + "issue_field_id": { + "description": "Unique identifier for the issue field.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "IFT_GDKND" + }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": [ + "text", + "single_select", + "multi_select", + "number", + "date" + ], + "example": "text" + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "example": "Sample text" + }, + { + "type": "number", + "example": 42.5 + }, + { + "type": "integer", + "example": 1 + } + ], + "nullable": true + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the option", + "type": "string", + "example": "High" + }, + "color": { + "description": "The color of the option", + "type": "string", + "example": "red" + } + }, + "required": [ + "id", + "name", + "color" + ], + "nullable": true + }, + "multi_select_options": { + "description": "Details about the selected options", + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the option", + "type": "string", + "example": "High" + }, + "color": { + "description": "The color of the option", + "type": "string", + "example": "red" + } + }, + "required": [ + "id", + "name", + "color" + ] + }, + "nullable": true + } + }, + "required": [ + "issue_field_id", + "node_id", + "data_type", + "value" + ] + } + } + }, + "required": [ + "assignee", + "closed_at", + "comments", + "comments_url", + "events_url", + "html_url", + "id", + "node_id", + "labels", + "labels_url", + "milestone", + "number", + "repository_url", + "state", + "locked", + "title", + "url", + "user", + "created_at", + "updated_at" + ], + "x-github-breaking-changes": [ + { + "changeset": "deprecate_beta_media_type", + "patch": { + "properties": { + "pull_request": { + "type": "object", + "properties": { + "merged_at": { + "nullable": false + }, + "diff_url": { + "nullable": false + }, + "html_url": { + "nullable": false + }, + "patch_url": { + "nullable": false + }, + "url": { + "nullable": false + } + } + } + } + }, + "version": "2026-03-10" + }, + { + "changeset": "remove_singular_assignee_from_issues_and_pull_requests", + "patch": { + "properties": { + "assignee": null + }, + "required": [ + "closed_at", + "comments", + "comments_url", + "events_url", + "html_url", + "id", + "node_id", + "labels", + "labels_url", + "milestone", + "number", + "repository_url", + "state", + "locked", + "title", + "url", + "user", + "created_at", + "updated_at" + ] + }, + "version": "2026-03-10" + } + ] + } + } + } + }, + "required": [ + "event", + "created_at", + "updated_at", + "source" + ] + }, + { + "title": "Timeline Committed Event", + "description": "Timeline Committed Event", + "type": "object", + "properties": { + "event": { + "type": "string" + }, + "sha": { + "description": "SHA for the commit", + "example": "7638417db6d59f3c431d3e1f261cc637155684cd", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "author": { + "description": "Identifying information for the git-user", + "type": "object", + "properties": { + "date": { + "description": "Timestamp of the commit", + "example": "2014-08-09T08:02:04+12:00", + "format": "date-time", + "type": "string" + }, + "email": { + "type": "string", + "description": "Git email address of the user", + "example": "monalisa.octocat@example.com" + }, + "name": { + "description": "Name of the git user", + "example": "Monalisa Octocat", + "type": "string" + } + }, + "required": [ + "email", + "name", + "date" + ] + }, + "committer": { + "description": "Identifying information for the git-user", + "type": "object", + "properties": { + "date": { + "description": "Timestamp of the commit", + "example": "2014-08-09T08:02:04+12:00", + "format": "date-time", + "type": "string" + }, + "email": { + "type": "string", + "description": "Git email address of the user", + "example": "monalisa.octocat@example.com" + }, + "name": { + "description": "Name of the git user", + "example": "Monalisa Octocat", + "type": "string" + } + }, + "required": [ + "email", + "name", + "date" + ] + }, + "message": { + "description": "Message describing the purpose of the commit", + "example": "Fix #42", + "type": "string" + }, + "tree": { + "type": "object", + "properties": { + "sha": { + "description": "SHA for the commit", + "example": "7638417db6d59f3c431d3e1f261cc637155684cd", + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "sha", + "url" + ] + }, + "parents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "sha": { + "description": "SHA for the commit", + "example": "7638417db6d59f3c431d3e1f261cc637155684cd", + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "sha", + "url", + "html_url" + ] + } + }, + "verification": { + "type": "object", + "properties": { + "verified": { + "type": "boolean" + }, + "reason": { + "type": "string" + }, + "signature": { + "type": "string", + "nullable": true + }, + "payload": { + "type": "string", + "nullable": true + }, + "verified_at": { + "type": "string", + "nullable": true + } + }, + "required": [ + "verified", + "reason", + "signature", + "payload", + "verified_at" + ] + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "sha", + "node_id", + "url", + "html_url", + "author", + "committer", + "tree", + "message", + "parents", + "verification" + ] + }, + { + "title": "Timeline Reviewed Event", + "description": "Timeline Reviewed Event", + "type": "object", + "properties": { + "event": { + "type": "string" + }, + "id": { + "description": "Unique identifier of the review", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA=" + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "body": { + "nullable": true, + "description": "The text of the review.", + "example": "This looks great.", + "type": "string" + }, + "state": { + "type": "string", + "example": "CHANGES_REQUESTED" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80" + }, + "pull_request_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/12" + }, + "_links": { + "type": "object", + "properties": { + "html": { + "type": "object", + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ] + }, + "pull_request": { + "type": "object", + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ] + } + }, + "required": [ + "html", + "pull_request" + ] + }, + "submitted_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time" + }, + "commit_id": { + "description": "A commit SHA for the review.", + "example": "54bb654c9e6025347f57900a4a5c2313a96b8035", + "type": "string" + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "author_association": { + "title": "author_association", + "type": "string", + "example": "OWNER", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + } + }, + "required": [ + "event", + "id", + "node_id", + "user", + "body", + "state", + "commit_id", + "html_url", + "pull_request_url", + "_links", + "author_association" + ] + }, + { + "title": "Timeline Line Commented Event", + "description": "Timeline Line Commented Event", + "type": "object", + "properties": { + "event": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "comments": { + "type": "array", + "items": { + "title": "Pull Request Review Comment", + "description": "Pull Request Review Comments are comments on a portion of the Pull Request's diff.", + "type": "object", + "properties": { + "url": { + "description": "URL for the pull request review comment", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1", + "type": "string" + }, + "pull_request_review_id": { + "description": "The ID of the pull request review to which the comment belongs.", + "type": "integer", + "format": "int64", + "example": 42, + "nullable": true + }, + "id": { + "description": "The ID of the pull request review comment.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "description": "The node ID of the pull request review comment.", + "type": "string", + "example": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw" + }, + "diff_hunk": { + "description": "The diff of the line that the comment refers to.", + "type": "string", + "example": "@@ -16,33 +16,40 @@ public class Connection : IConnection..." + }, + "path": { + "description": "The relative path of the file to which the comment applies.", + "example": "config/database.yaml", + "type": "string" + }, + "position": { + "description": "The line index in the diff to which the comment applies. This field is closing down; use `line` instead.", + "example": 1, + "type": "integer" + }, + "original_position": { + "description": "The index of the original line in the diff to which the comment applies. This field is closing down; use `original_line` instead.", + "example": 4, + "type": "integer" + }, + "commit_id": { + "description": "The SHA of the commit to which the comment applies.", + "example": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "type": "string" + }, + "original_commit_id": { + "description": "The SHA of the original commit to which the comment applies.", + "example": "9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840", + "type": "string" + }, + "in_reply_to_id": { + "description": "The comment ID to reply to.", + "example": 8, + "type": "integer" + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "body": { + "description": "The text of the comment.", + "example": "We should probably include a check for null values here.", + "type": "string" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-14T16:00:49Z" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-14T16:00:49Z" + }, + "html_url": { + "description": "HTML URL for the pull request review comment.", + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1" + }, + "pull_request_url": { + "description": "URL for the pull request that the review comment belongs to.", + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1" + }, + "author_association": { + "title": "author_association", + "type": "string", + "example": "OWNER", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + "_links": { + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1" + } + }, + "required": [ + "href" + ] + }, + "html": { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1" + } + }, + "required": [ + "href" + ] + }, + "pull_request": { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1" + } + }, + "required": [ + "href" + ] + } + }, + "required": [ + "self", + "html", + "pull_request" + ] + }, + "start_line": { + "type": "integer", + "description": "The first line of the range for a multi-line comment.", + "example": 2, + "nullable": true + }, + "original_start_line": { + "type": "integer", + "description": "The first line of the range for a multi-line comment.", + "example": 2, + "nullable": true + }, + "start_side": { + "type": "string", + "description": "The side of the first line of the range for a multi-line comment.", + "enum": [ + "LEFT", + "RIGHT" + ], + "default": "RIGHT", + "nullable": true + }, + "line": { + "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", + "example": 2, + "type": "integer" + }, + "original_line": { + "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", + "example": 2, + "type": "integer" + }, + "side": { + "description": "The side of the diff to which the comment applies. The side of the last line of the range for a multi-line comment", + "enum": [ + "LEFT", + "RIGHT" + ], + "default": "RIGHT", + "type": "string" + }, + "subject_type": { + "description": "The level at which the comment is targeted, can be a diff line or a file.", + "type": "string", + "enum": [ + "line", + "file" + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "body_html": { + "type": "string", + "example": "\"

comment body

\"" + }, + "body_text": { + "type": "string", + "example": "\"comment body\"" + } + }, + "required": [ + "url", + "id", + "node_id", + "pull_request_review_id", + "diff_hunk", + "path", + "commit_id", + "original_commit_id", + "user", + "body", + "created_at", + "updated_at", + "html_url", + "pull_request_url", + "author_association", + "_links" + ] + } + } + } + }, + { + "title": "Timeline Commit Commented Event", + "description": "Timeline Commit Commented Event", + "type": "object", + "properties": { + "event": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "commit_id": { + "type": "string" + }, + "comments": { + "type": "array", + "items": { + "title": "Commit Comment", + "description": "Commit Comment", + "type": "object", + "properties": { + "html_url": { + "type": "string", + "format": "uri" + }, + "url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "body": { + "type": "string" + }, + "path": { + "type": "string", + "nullable": true + }, + "position": { + "type": "integer", + "nullable": true + }, + "line": { + "type": "integer", + "nullable": true + }, + "commit_id": { + "type": "string" + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "author_association": { + "title": "author_association", + "type": "string", + "example": "OWNER", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + } + }, + "required": [ + "url", + "html_url", + "id", + "node_id", + "user", + "position", + "line", + "path", + "commit_id", + "body", + "author_association", + "created_at", + "updated_at" + ] + } + } + } + }, + { + "title": "Timeline Assigned Issue Event", + "description": "Timeline Assigned Issue Event", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "actor": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": "string", + "nullable": true + }, + "commit_url": { + "type": "string", + "nullable": true + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { + "type": "string", + "example": "MDExOkludGVncmF0aW9uMQ==" + }, + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", + "type": "string" + }, + "description": { + "type": "string", + "example": "The description of the app.", + "nullable": true + }, + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app. Note that the `installation_target`, `security_advisory`, and `meta` events are not included because they are global events and not specific to an installation.", + "example": [ + "label", + "deployment" + ], + "type": "array", + "items": { + "type": "string" + } + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "example": 5, + "type": "integer" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + }, + "assignee": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "required": [ + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app", + "assignee" + ] + }, + { + "title": "Timeline Unassigned Issue Event", + "description": "Timeline Unassigned Issue Event", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "actor": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": "string", + "nullable": true + }, + "commit_url": { + "type": "string", + "nullable": true + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { + "type": "string", + "example": "MDExOkludGVncmF0aW9uMQ==" + }, + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" }, - "pin": { - "title": "Pinned Issue Comment", - "description": "Context around who pinned an issue comment and when it was pinned.", - "type": "object", - "properties": { - "pinned_at": { - "type": "string", - "format": "date-time", - "example": "2011-04-14T16:00:49Z" - }, - "pinned_by": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - } - }, - "required": [ - "pinned_at", - "pinned_by" - ], + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" } }, "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", "id", "node_id", - "html_url", - "issue_url", - "user", - "url", - "created_at", - "updated_at" - ], - "nullable": true + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] }, - "issue_dependencies_summary": { - "title": "Issue Dependencies Summary", + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", "type": "object", "properties": { - "blocked_by": { - "type": "integer" - }, - "blocking": { - "type": "integer" + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true }, - "total_blocked_by": { - "type": "integer" + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" }, - "total_blocking": { - "type": "integer" - } - }, - "required": [ - "blocked_by", - "blocking", - "total_blocked_by", - "total_blocking" - ] - }, - "issue_field_values": { - "type": "array", - "items": { - "title": "Issue Field Value", - "description": "A value assigned to an issue field", - "type": "object", - "properties": { - "issue_field_id": { - "description": "Unique identifier for the issue field.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "IFT_GDKND" - }, - "data_type": { - "description": "The data type of the issue field", - "type": "string", - "enum": [ - "text", - "single_select", - "multi_select", - "number", - "date" - ], - "example": "text" - }, - "value": { - "description": "The value of the issue field", - "anyOf": [ - { - "type": "string", - "example": "Sample text" - }, - { - "type": "number", - "example": 42.5 - }, - { - "type": "integer", - "example": 1 - } - ], - "nullable": true - }, - "single_select_option": { - "description": "Details about the selected option (only present for single_select fields)", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "name": { - "description": "The name of the option", - "type": "string", - "example": "High" - }, - "color": { - "description": "The color of the option", - "type": "string", - "example": "red" - } - }, - "required": [ - "id", - "name", - "color" - ], - "nullable": true - }, - "multi_select_options": { - "description": "Details about the selected options", - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "name": { - "description": "The name of the option", - "type": "string", - "example": "High" - }, - "color": { - "description": "The color of the option", - "type": "string", - "example": "red" - } - }, - "required": [ - "id", - "name", - "color" - ] - }, - "nullable": true - } + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" }, - "required": [ - "issue_field_id", - "node_id", - "data_type", - "value" - ] - } - } - }, - "required": [ - "assignee", - "closed_at", - "comments", - "comments_url", - "events_url", - "html_url", - "id", - "node_id", - "labels", - "labels_url", - "milestone", - "number", - "repository_url", - "state", - "locked", - "title", - "url", - "user", - "created_at", - "updated_at" - ], - "x-github-breaking-changes": [ - { - "changeset": "deprecate_beta_media_type", - "patch": { - "properties": { - "pull_request": { - "type": "object", - "properties": { - "merged_at": { - "nullable": false - }, - "diff_url": { - "nullable": false - }, - "html_url": { - "nullable": false - }, - "patch_url": { - "nullable": false - }, - "url": { - "nullable": false - } - } - } - } - }, - "version": "2026-03-10" - }, - { - "changeset": "remove_singular_assignee_from_issues_and_pull_requests", - "patch": { - "properties": { - "assignee": null + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" }, - "required": [ - "closed_at", - "comments", - "comments_url", - "events_url", - "html_url", - "id", - "node_id", - "labels", - "labels_url", - "milestone", - "number", - "repository_url", - "state", - "locked", - "title", - "url", - "user", - "created_at", - "updated_at" - ] + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } }, - "version": "2026-03-10" + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] } ] - } - } - } - }, - "required": [ - "event", - "created_at", - "updated_at", - "source" - ] - }, - { - "title": "Timeline Committed Event", - "description": "Timeline Committed Event", - "type": "object", - "properties": { - "event": { - "type": "string" - }, - "sha": { - "description": "SHA for the commit", - "example": "7638417db6d59f3c431d3e1f261cc637155684cd", - "type": "string" - }, - "node_id": { - "type": "string" - }, - "url": { - "type": "string", - "format": "uri" - }, - "author": { - "description": "Identifying information for the git-user", - "type": "object", - "properties": { - "date": { - "description": "Timestamp of the commit", - "example": "2014-08-09T08:02:04+12:00", - "format": "date-time", + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", "type": "string" }, - "email": { + "description": { "type": "string", - "description": "Git email address of the user", - "example": "monalisa.octocat@example.com" + "example": "The description of the app.", + "nullable": true }, - "name": { - "description": "Name of the git user", - "example": "Monalisa Octocat", - "type": "string" - } - }, - "required": [ - "email", - "name", - "date" - ] - }, - "committer": { - "description": "Identifying information for the git-user", - "type": "object", - "properties": { - "date": { - "description": "Timestamp of the commit", - "example": "2014-08-09T08:02:04+12:00", + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", "format": "date-time", - "type": "string" + "example": "2017-07-08T16:18:44-04:00" }, - "email": { + "updated_at": { "type": "string", - "description": "Git email address of the user", - "example": "monalisa.octocat@example.com" + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" }, - "name": { - "description": "Name of the git user", - "example": "Monalisa Octocat", - "type": "string" + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app. Note that the `installation_target`, `security_advisory`, and `meta` events are not included because they are global events and not specific to an installation.", + "example": [ + "label", + "deployment" + ], + "type": "array", + "items": { + "type": "string" + } + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "example": 5, + "type": "integer" } }, "required": [ - "email", + "id", + "node_id", + "owner", "name", - "date" + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" ] }, - "message": { - "description": "Message describing the purpose of the commit", - "example": "Fix #42", - "type": "string" - }, - "tree": { + "assignee": { + "title": "Simple User", + "description": "A GitHub user.", "type": "object", "properties": { - "sha": { - "description": "SHA for the commit", - "example": "7638417db6d59f3c431d3e1f261cc637155684cd", + "name": { + "nullable": true, "type": "string" }, - "url": { + "email": { + "nullable": true, + "type": "string" + }, + "login": { "type": "string", - "format": "uri" - } - }, - "required": [ - "sha", - "url" - ] - }, - "parents": { - "type": "array", - "items": { - "type": "object", - "properties": { - "sha": { - "description": "SHA for the commit", - "example": "7638417db6d59f3c431d3e1f261cc637155684cd", - "type": "string" - }, - "url": { - "type": "string", - "format": "uri" - }, - "html_url": { - "type": "string", - "format": "uri" - } + "example": "octocat" }, - "required": [ - "sha", - "url", - "html_url" - ] - } - }, - "verification": { - "type": "object", - "properties": { - "verified": { - "type": "boolean" + "id": { + "type": "integer", + "format": "int64", + "example": 1 }, - "reason": { - "type": "string" + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" }, - "signature": { + "avatar_url": { "type": "string", - "nullable": true + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" }, - "payload": { + "gravatar_id": { "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", "nullable": true }, - "verified_at": { + "url": { "type": "string", - "nullable": true + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" } }, "required": [ - "verified", - "reason", - "signature", - "payload", - "verified_at" + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] - }, - "html_url": { - "type": "string", - "format": "uri" } }, "required": [ - "sha", + "id", "node_id", "url", - "html_url", - "author", - "committer", - "tree", - "message", - "parents", - "verification" + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app", + "assignee" ] }, { - "title": "Timeline Reviewed Event", - "description": "Timeline Reviewed Event", + "title": "State Change Issue Event", + "description": "State Change Issue Event", "type": "object", "properties": { - "event": { - "type": "string" - }, "id": { - "description": "Unique identifier of the review", - "example": 42, "type": "integer" }, "node_id": { - "type": "string", - "example": "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA=" + "type": "string" }, - "user": { + "url": { + "type": "string" + }, + "actor": { "title": "Simple User", "description": "A GitHub user.", "type": "object", @@ -490914,818 +494751,363 @@ "following_url", "gists_url", "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - "body": { - "nullable": true, - "description": "The text of the review.", - "example": "This looks great.", - "type": "string" - }, - "state": { - "type": "string", - "example": "CHANGES_REQUESTED" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80" - }, - "pull_request_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/12" - }, - "_links": { - "type": "object", - "properties": { - "html": { - "type": "object", - "properties": { - "href": { - "type": "string" - } - }, - "required": [ - "href" - ] - }, - "pull_request": { - "type": "object", - "properties": { - "href": { - "type": "string" - } - }, - "required": [ - "href" - ] - } - }, - "required": [ - "html", - "pull_request" - ] - }, - "submitted_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "nullable": true, - "format": "date-time" - }, - "commit_id": { - "description": "A commit SHA for the review.", - "example": "54bb654c9e6025347f57900a4a5c2313a96b8035", - "type": "string" - }, - "body_html": { - "type": "string" - }, - "body_text": { - "type": "string" - }, - "author_association": { - "title": "author_association", - "type": "string", - "example": "OWNER", - "description": "How the author is associated with the repository.", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] - } - }, - "required": [ - "event", - "id", - "node_id", - "user", - "body", - "state", - "commit_id", - "html_url", - "pull_request_url", - "_links", - "author_association" - ] - }, - { - "title": "Timeline Line Commented Event", - "description": "Timeline Line Commented Event", - "type": "object", - "properties": { + }, "event": { "type": "string" }, - "node_id": { + "commit_id": { + "type": "string", + "nullable": true + }, + "commit_url": { + "type": "string", + "nullable": true + }, + "created_at": { "type": "string" }, - "comments": { - "type": "array", - "items": { - "title": "Pull Request Review Comment", - "description": "Pull Request Review Comments are comments on a portion of the Pull Request's diff.", - "type": "object", - "properties": { - "url": { - "description": "URL for the pull request review comment", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1", - "type": "string" - }, - "pull_request_review_id": { - "description": "The ID of the pull request review to which the comment belongs.", - "type": "integer", - "format": "int64", - "example": 42, - "nullable": true - }, - "id": { - "description": "The ID of the pull request review comment.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "description": "The node ID of the pull request review comment.", - "type": "string", - "example": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw" - }, - "diff_hunk": { - "description": "The diff of the line that the comment refers to.", - "type": "string", - "example": "@@ -16,33 +16,40 @@ public class Connection : IConnection..." - }, - "path": { - "description": "The relative path of the file to which the comment applies.", - "example": "config/database.yaml", - "type": "string" - }, - "position": { - "description": "The line index in the diff to which the comment applies. This field is closing down; use `line` instead.", - "example": 1, - "type": "integer" - }, - "original_position": { - "description": "The index of the original line in the diff to which the comment applies. This field is closing down; use `original_line` instead.", - "example": 4, - "type": "integer" - }, - "commit_id": { - "description": "The SHA of the commit to which the comment applies.", - "example": "6dcb09b5b57875f334f61aebed695e2e4193db5e", - "type": "string" - }, - "original_commit_id": { - "description": "The SHA of the original commit to which the comment applies.", - "example": "9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840", - "type": "string" - }, - "in_reply_to_id": { - "description": "The comment ID to reply to.", - "example": 8, - "type": "integer" - }, - "user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "body": { - "description": "The text of the comment.", - "example": "We should probably include a check for null values here.", - "type": "string" - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2011-04-14T16:00:49Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2011-04-14T16:00:49Z" - }, - "html_url": { - "description": "HTML URL for the pull request review comment.", - "type": "string", - "format": "uri", - "example": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1" - }, - "pull_request_url": { - "description": "URL for the pull request that the review comment belongs to.", - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1" - }, - "author_association": { - "title": "author_association", - "type": "string", - "example": "OWNER", - "description": "How the author is associated with the repository.", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "_links": { - "type": "object", - "properties": { - "self": { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1" - } + "performed_via_github_app": { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { + "type": "string", + "example": "MDExOkludGVncmF0aW9uMQ==" + }, + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" }, - "required": [ - "href" - ] - }, - "html": { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1" - } + "email": { + "nullable": true, + "type": "string" }, - "required": [ - "href" - ] - }, - "pull_request": { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1" - } + "login": { + "type": "string", + "example": "octocat" }, - "required": [ - "href" - ] - } - }, - "required": [ - "self", - "html", - "pull_request" - ] - }, - "start_line": { - "type": "integer", - "description": "The first line of the range for a multi-line comment.", - "example": 2, - "nullable": true - }, - "original_start_line": { - "type": "integer", - "description": "The first line of the range for a multi-line comment.", - "example": 2, - "nullable": true - }, - "start_side": { - "type": "string", - "description": "The side of the first line of the range for a multi-line comment.", - "enum": [ - "LEFT", - "RIGHT" - ], - "default": "RIGHT", - "nullable": true - }, - "line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "example": 2, - "type": "integer" - }, - "original_line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "example": 2, - "type": "integer" - }, - "side": { - "description": "The side of the diff to which the comment applies. The side of the last line of the range for a multi-line comment", - "enum": [ - "LEFT", - "RIGHT" - ], - "default": "RIGHT", - "type": "string" - }, - "subject_type": { - "description": "The level at which the comment is targeted, can be a diff line or a file.", - "type": "string", - "enum": [ - "line", - "file" - ] - }, - "reactions": { - "title": "Reaction Rollup", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri" - }, - "total_count": { - "type": "integer" - }, - "+1": { - "type": "integer" - }, - "-1": { - "type": "integer" - }, - "laugh": { - "type": "integer" - }, - "confused": { - "type": "integer" - }, - "heart": { - "type": "integer" - }, - "hooray": { - "type": "integer" + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } }, - "eyes": { - "type": "integer" + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } }, - "rocket": { - "type": "integer" - } + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", + "type": "string" + }, + "description": { + "type": "string", + "example": "The description of the app.", + "nullable": true + }, + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } }, - "body_html": { - "type": "string", - "example": "\"

comment body

\"" + "additionalProperties": { + "type": "string" }, - "body_text": { - "type": "string", - "example": "\"comment body\"" + "example": { + "issues": "read", + "deployments": "write" } }, - "required": [ - "url", - "id", - "node_id", - "pull_request_review_id", - "diff_hunk", - "path", - "commit_id", - "original_commit_id", - "user", - "body", - "created_at", - "updated_at", - "html_url", - "pull_request_url", - "author_association", - "_links" - ] - } - } - } - }, - { - "title": "Timeline Commit Commented Event", - "description": "Timeline Commit Commented Event", - "type": "object", - "properties": { - "event": { - "type": "string" - }, - "node_id": { - "type": "string" - }, - "commit_id": { - "type": "string" - }, - "comments": { - "type": "array", - "items": { - "title": "Commit Comment", - "description": "Commit Comment", - "type": "object", - "properties": { - "html_url": { - "type": "string", - "format": "uri" - }, - "url": { - "type": "string", - "format": "uri" - }, - "id": { - "type": "integer" - }, - "node_id": { - "type": "string" - }, - "body": { - "type": "string" - }, - "path": { - "type": "string", - "nullable": true - }, - "position": { - "type": "integer", - "nullable": true - }, - "line": { - "type": "integer", - "nullable": true - }, - "commit_id": { + "events": { + "description": "The list of events for the GitHub app. Note that the `installation_target`, `security_advisory`, and `meta` events are not included because they are global events and not specific to an installation.", + "example": [ + "label", + "deployment" + ], + "type": "array", + "items": { "type": "string" - }, - "user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "author_association": { - "title": "author_association", - "type": "string", - "example": "OWNER", - "description": "How the author is associated with the repository.", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "reactions": { - "title": "Reaction Rollup", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri" - }, - "total_count": { - "type": "integer" - }, - "+1": { - "type": "integer" - }, - "-1": { - "type": "integer" - }, - "laugh": { - "type": "integer" - }, - "confused": { - "type": "integer" - }, - "heart": { - "type": "integer" - }, - "hooray": { - "type": "integer" - }, - "eyes": { - "type": "integer" - }, - "rocket": { - "type": "integer" - } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] } }, - "required": [ - "url", - "html_url", - "id", - "node_id", - "user", - "position", - "line", - "path", - "commit_id", - "body", - "author_association", - "created_at", - "updated_at" - ] - } + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "example": 5, + "type": "integer" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + }, + "state_reason": { + "type": "string", + "nullable": true } - } + }, + "required": [ + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] }, { - "title": "Timeline Assigned Issue Event", - "description": "Timeline Assigned Issue Event", + "title": "Issue Type Added Issue Event", + "description": "Issue Type Added Issue Event", "type": "object", "properties": { "id": { @@ -492184,132 +495566,44 @@ "events" ] }, - "assignee": { - "title": "Simple User", - "description": "A GitHub user.", + "issue_type": { + "title": "Issue Type", + "description": "The type of issue.", "type": "object", + "nullable": true, "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, "id": { "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" + "description": "The unique identifier of the issue type." }, - "avatar_url": { + "name": { "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" + "description": "The name of the issue type." }, - "gravatar_id": { + "color": { "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" } }, "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" + "name" ] } }, "required": [ + "issue_type", "id", "node_id", "url", @@ -492318,13 +495612,12 @@ "commit_id", "commit_url", "created_at", - "performed_via_github_app", - "assignee" + "performed_via_github_app" ] }, { - "title": "Timeline Unassigned Issue Event", - "description": "Timeline Unassigned Issue Event", + "title": "Issue Type Removed Issue Event", + "description": "Issue Type Removed Issue Event", "type": "object", "properties": { "id": { @@ -492783,132 +496076,44 @@ "events" ] }, - "assignee": { - "title": "Simple User", - "description": "A GitHub user.", + "prev_issue_type": { + "title": "Issue Type", + "description": "The type of issue.", "type": "object", + "nullable": true, "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, "id": { "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" + "description": "The unique identifier of the issue type." }, - "avatar_url": { + "name": { "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" + "description": "The name of the issue type." }, - "gravatar_id": { + "color": { "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" } }, "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" + "name" ] } }, "required": [ + "prev_issue_type", "id", "node_id", "url", @@ -492917,13 +496122,12 @@ "commit_id", "commit_url", "created_at", - "performed_via_github_app", - "assignee" + "performed_via_github_app" ] }, { - "title": "State Change Issue Event", - "description": "State Change Issue Event", + "title": "Issue Type Changed Issue Event", + "description": "Issue Type Changed Issue Event", "type": "object", "properties": { "id": { @@ -493382,12 +496586,80 @@ "events" ] }, - "state_reason": { - "type": "string", - "nullable": true + "issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, + "prev_issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] } }, "required": [ + "issue_type", + "prev_issue_type", "id", "node_id", "url", 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 e3bb723403..c41b2180e8 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml @@ -1081,7 +1081,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &681 + - &685 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -14271,7 +14271,7 @@ paths: properties: action: type: string - discussion: &774 + discussion: &778 title: Discussion description: A Discussion in a repository. type: object @@ -15016,7 +15016,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &692 + sub_issues_summary: &696 title: Sub-issues Summary type: object properties: @@ -15103,7 +15103,7 @@ paths: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: &587 + properties: &588 pinned_at: type: string format: date-time @@ -15115,7 +15115,7 @@ paths: properties: *20 required: *21 nullable: true - required: &588 + required: &589 - pinned_at - pinned_by nullable: true @@ -15129,7 +15129,7 @@ paths: - created_at - updated_at nullable: true - issue_dependencies_summary: &693 + issue_dependencies_summary: &697 title: Issue Dependencies Summary type: object properties: @@ -15148,7 +15148,7 @@ paths: - total_blocking issue_field_values: type: array - items: &571 + items: &572 title: Issue Field Value description: A value assigned to an issue field type: object @@ -15980,7 +15980,7 @@ paths: type: string release: allOf: - - &621 + - &625 title: Release description: A release. type: object @@ -16051,7 +16051,7 @@ paths: author: *4 assets: type: array - items: &622 + items: &626 title: Release Asset description: Data related to a release. type: object @@ -16671,7 +16671,7 @@ paths: url: type: string format: uri - user: &699 + user: &703 title: Public User description: Public User type: object @@ -20089,7 +20089,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &597 + - &601 name: all description: If `true`, show notifications marked as read. in: query @@ -20097,7 +20097,7 @@ paths: schema: type: boolean default: false - - &598 + - &602 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -20107,7 +20107,7 @@ paths: type: boolean default: false - *95 - - &599 + - &603 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -20643,7 +20643,7 @@ paths: - url - subscription_url examples: - default: &600 + default: &604 value: - id: '1' repository: @@ -22524,7 +22524,7 @@ paths: parameters: - *78 - *124 - - &750 + - &754 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 @@ -22636,7 +22636,7 @@ paths: - *124 - *125 - *126 - - &751 + - &755 name: repository description: The repository name to query for usage in the format owner/repository. in: query @@ -22644,7 +22644,7 @@ paths: schema: type: string - *129 - - &752 + - &756 name: sku description: The SKU to query for usage. in: query @@ -30185,12 +30185,12 @@ paths: required: - subject_digests examples: - default: &731 + default: &735 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &732 + withPredicateType: &736 value: subject_digests: - sha256:abc123 @@ -30248,7 +30248,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &733 + default: &737 value: attestations_subject_digests: - sha256:abc: @@ -42334,7 +42334,7 @@ paths: parameters: - *78 - *270 - - &714 + - &718 name: repo_name description: repo_name parameter in: path @@ -43393,7 +43393,7 @@ paths: - nuget - container - *78 - - &715 + - &719 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -43434,7 +43434,7 @@ paths: default: *277 '403': *29 '401': *25 - '400': &717 + '400': &721 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -45531,7 +45531,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &806 + properties: &810 id: type: number description: The unique identifier of the status update. @@ -45579,7 +45579,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &807 + required: &811 - id - node_id - created_at @@ -46019,7 +46019,7 @@ paths: - review_comment - self author_association: *85 - auto_merge: &607 + auto_merge: &611 title: Auto merge description: The status of auto merging a pull request. type: object @@ -46469,7 +46469,7 @@ paths: - updated_at - project_url examples: - default: &737 + default: &741 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -46646,7 +46646,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &738 + items: &742 type: object properties: name: @@ -46683,7 +46683,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &739 + iteration_configuration: &743 type: object description: The configuration for iteration fields. properties: @@ -46733,7 +46733,7 @@ paths: value: name: Due date data_type: date - single_select_field: &740 + single_select_field: &744 summary: Create a single select field value: name: Priority @@ -46760,7 +46760,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &741 + iteration_field: &745 summary: Create an iteration field value: name: Sprint @@ -46786,7 +46786,7 @@ paths: application/json: schema: *298 examples: - text_field: &742 + text_field: &746 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -46795,7 +46795,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-05-15T08:00:00Z' updated_at: '2022-05-15T08:00:00Z' - number_field: &743 + number_field: &747 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -46804,7 +46804,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-01T14:30:00Z' updated_at: '2022-06-01T14:30:00Z' - date_field: &744 + date_field: &748 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -46813,7 +46813,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-10T09:15:00Z' updated_at: '2022-06-10T09:15:00Z' - single_select_field: &745 + single_select_field: &749 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -46847,7 +46847,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &746 + iteration_field: &750 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -46893,7 +46893,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - *294 - - &747 + - &751 name: field_id description: The unique identifier of the field. in: path @@ -46908,7 +46908,7 @@ paths: application/json: schema: *298 examples: - default: &748 + default: &752 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -48105,7 +48105,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &728 + schema: &732 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -48282,7 +48282,7 @@ paths: parameters: - *294 - *78 - - &749 + - &753 name: view_number description: The number that identifies the project view. in: path @@ -50273,7 +50273,7 @@ paths: - *78 - *17 - *19 - - &629 + - &633 name: targets description: | A comma-separated list of rule targets to filter by. @@ -50555,7 +50555,7 @@ paths: - repository_property rules: type: array - items: &630 + items: &634 title: Repository Rule type: object description: A repository rule. @@ -50617,7 +50617,7 @@ paths: type: string enum: - required_linear_history - - &628 + - &632 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -51519,7 +51519,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *78 - - &631 + - &635 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -51534,7 +51534,7 @@ paths: in: query schema: type: string - - &632 + - &636 name: time_period description: |- The time period to filter by. @@ -51550,14 +51550,14 @@ paths: - week - month default: day - - &633 + - &637 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &634 + - &638 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -51570,7 +51570,7 @@ paths: - bypass - all default: all - - &635 + - &639 name: evaluate_status description: |- The evaluate status to filter on. When specified, only rule suites resulting from rulesets with the specified evaluate status will be returned. @@ -51593,7 +51593,7 @@ paths: description: Response content: application/json: - schema: &636 + schema: &640 title: Rule Suites description: Response type: array @@ -51648,7 +51648,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &637 + default: &641 value: - id: 21 actor_id: 12 @@ -51692,7 +51692,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *78 - - &638 + - &642 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -51708,7 +51708,7 @@ paths: description: Response content: application/json: - schema: &639 + schema: &643 title: Rule Suite description: Response type: object @@ -51807,7 +51807,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &640 + default: &644 value: id: 21 actor_id: 12 @@ -52054,7 +52054,7 @@ paths: type: string format: date-time examples: - default: &642 + default: &646 value: - version_id: 3 actor: @@ -52107,7 +52107,7 @@ paths: description: Response content: application/json: - schema: &643 + schema: &647 allOf: - *344 - type: object @@ -52179,7 +52179,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *78 - - &644 + - &648 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -52190,7 +52190,7 @@ paths: enum: - open - resolved - - &645 + - &649 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -52200,7 +52200,7 @@ paths: required: false schema: type: string - - &646 + - &650 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -52211,7 +52211,7 @@ paths: required: false schema: type: string - - &647 + - &651 name: exclude_providers in: query description: |- @@ -52222,7 +52222,7 @@ paths: required: false schema: type: string - - &648 + - &652 name: providers in: query description: |- @@ -52233,7 +52233,7 @@ paths: required: false schema: type: string - - &649 + - &653 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -52242,7 +52242,7 @@ paths: required: false schema: type: string - - &650 + - &654 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -52261,7 +52261,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &651 + - &655 name: sort description: The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. @@ -52276,7 +52276,7 @@ paths: - *62 - *19 - *17 - - &652 + - &656 name: before description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -52286,7 +52286,7 @@ paths: required: false schema: type: string - - &653 + - &657 name: after description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -52296,7 +52296,7 @@ paths: required: false schema: type: string - - &654 + - &658 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -52305,7 +52305,7 @@ paths: required: false schema: type: string - - &655 + - &659 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -52314,7 +52314,7 @@ paths: schema: type: boolean default: false - - &656 + - &660 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -52323,7 +52323,7 @@ paths: schema: type: boolean default: false - - &657 + - &661 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -52332,7 +52332,7 @@ paths: schema: type: boolean default: false - - &658 + - &662 name: is_bypassed in: query description: A boolean value (`true` or `false`) indicating whether to filter @@ -52369,14 +52369,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &659 + state: &663 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &660 + resolution: &664 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -52493,8 +52493,8 @@ paths: pull request. ' - oneOf: &661 - - &663 + oneOf: &665 + - &667 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -52552,7 +52552,7 @@ paths: - blob_url - commit_sha - commit_url - - &664 + - &668 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -52607,7 +52607,7 @@ paths: - page_url - commit_sha - commit_url - - &665 + - &669 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -52627,7 +52627,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &666 + - &670 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -52647,7 +52647,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &667 + - &671 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -52667,7 +52667,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &668 + - &672 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -52681,7 +52681,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &669 + - &673 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -52695,7 +52695,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &670 + - &674 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -52709,7 +52709,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &671 + - &675 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -52729,7 +52729,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &672 + - &676 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -52749,7 +52749,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &673 + - &677 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -52769,7 +52769,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &674 + - &678 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -52789,7 +52789,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &675 + - &679 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -53308,7 +53308,7 @@ paths: application/json: schema: type: array - items: &679 + items: &683 description: A repository security advisory. type: object properties: @@ -53631,7 +53631,7 @@ paths: - private_fork version: '2026-03-10' examples: - default: &680 + default: &684 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -55560,7 +55560,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &695 + response-if-user-is-a-team-maintainer: &699 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -55625,7 +55625,7 @@ paths: application/json: schema: *355 examples: - response-if-users-membership-with-team-is-now-pending: &696 + response-if-users-membership-with-team-is-now-pending: &700 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -55739,7 +55739,7 @@ paths: description: Alternative response with repository permissions content: application/json: - schema: &697 + schema: &701 title: Team Repository description: A team's access to a repository. type: object @@ -56481,7 +56481,7 @@ paths: type: array items: *210 examples: - response-if-child-teams-exist: &698 + response-if-child-teams-exist: &702 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -62154,7 +62154,7 @@ paths: description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: &768 + properties: &772 url: type: string format: uri @@ -62239,7 +62239,7 @@ paths: nullable: true properties: *83 required: *84 - required: &769 + required: &773 - id - node_id - sha @@ -68359,7 +68359,7 @@ paths: check. type: array items: *93 - deployment: &761 + deployment: &765 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -69271,7 +69271,7 @@ paths: type: string format: date-time nullable: true - head_commit: &789 + head_commit: &793 title: Simple Commit description: A commit. type: object @@ -73775,14 +73775,14 @@ paths: type: integer machines: type: array - items: &704 + items: &708 type: object title: Codespace machine description: A description of the machine powering a codespace. properties: *477 required: *478 examples: - default: &705 + default: &709 value: total_count: 2 machines: @@ -75420,7 +75420,7 @@ paths: type: array items: *489 examples: - default: &614 + default: &618 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -75711,7 +75711,7 @@ paths: type: array items: *493 examples: - default: &606 + default: &610 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -76269,7 +76269,7 @@ paths: application/json: schema: *489 examples: - default: &593 + default: &597 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -76928,7 +76928,7 @@ paths: application/json: schema: type: array - items: &684 + items: &688 title: Status description: The status of a commit. type: object @@ -77897,7 +77897,7 @@ paths: - size - type - url - - &619 + - &623 title: Content File description: Content File type: object @@ -78541,7 +78541,7 @@ paths: items: type: object properties: - placeholder_id: &676 + placeholder_id: &680 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -84585,7 +84585,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &798 + last_response: &802 title: Hook Response type: object properties: @@ -85637,7 +85637,7 @@ paths: parameters: - *356 - *357 - - &726 + - &730 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -86222,7 +86222,7 @@ paths: type: array items: *556 examples: - default: &719 + default: &723 value: - id: 1 repository: @@ -86668,7 +86668,7 @@ paths: type: array items: *88 examples: - default: &570 + default: &571 value: - id: 1 node_id: MDU6SXNzdWUx @@ -86956,7 +86956,7 @@ paths: application/json: schema: *88 examples: - default: &567 + default: &568 value: id: 1 node_id: MDU6SXNzdWUx @@ -87181,7 +87181,7 @@ paths: type: array items: *559 examples: - default: &569 + default: &570 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -87636,7 +87636,7 @@ paths: application/json: schema: type: array - items: &566 + items: &567 title: Issue Event description: Issue Event type: object @@ -87790,6 +87790,35 @@ paths: required: - from - to + issue_type: &566 + title: Issue Type + description: The type of issue. + type: object + nullable: true + properties: + id: + type: integer + description: The unique identifier of the issue type. + name: + type: string + description: The name of the issue type. + color: + type: string + description: The color of the issue type. + enum: + - gray + - blue + - green + - yellow + - orange + - red + - pink + - purple + nullable: true + required: + - id + - name + prev_issue_type: *566 author_association: *85 lock_reason: type: string @@ -88001,7 +88030,7 @@ paths: description: Response content: application/json: - schema: *566 + schema: *567 examples: default: value: @@ -88230,7 +88259,7 @@ paths: parameters: - *356 - *357 - - &568 + - &569 name: issue_number description: The number that identifies the issue. in: path @@ -88246,7 +88275,7 @@ paths: examples: default: summary: Issue - value: *567 + value: *568 pinned_comment: summary: Issue with pinned comment value: @@ -88480,7 +88509,7 @@ paths: parameters: - *356 - *357 - - *568 + - *569 requestBody: required: false content: @@ -88610,7 +88639,7 @@ paths: application/json: schema: *88 examples: - default: *567 + default: *568 '422': *15 '503': *122 '403': *29 @@ -88646,7 +88675,7 @@ paths: parameters: - *356 - *357 - - *568 + - *569 requestBody: required: false content: @@ -88674,7 +88703,7 @@ paths: application/json: schema: *88 examples: - default: *567 + default: *568 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88692,7 +88721,7 @@ paths: parameters: - *356 - *357 - - *568 + - *569 requestBody: content: application/json: @@ -88719,7 +88748,7 @@ paths: application/json: schema: *88 examples: - default: *567 + default: *568 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88743,7 +88772,7 @@ paths: parameters: - *356 - *357 - - *568 + - *569 - name: assignee in: path required: true @@ -88785,7 +88814,7 @@ paths: parameters: - *356 - *357 - - *568 + - *569 - *95 - *17 - *19 @@ -88798,7 +88827,7 @@ paths: type: array items: *559 examples: - default: *569 + default: *570 headers: Link: *70 '404': *6 @@ -88833,7 +88862,7 @@ paths: parameters: - *356 - *357 - - *568 + - *569 requestBody: required: true content: @@ -88894,7 +88923,7 @@ paths: parameters: - *356 - *357 - - *568 + - *569 - *17 - *19 responses: @@ -88906,7 +88935,7 @@ paths: type: array items: *88 examples: - default: *570 + default: *571 headers: Link: *70 '301': *360 @@ -88941,7 +88970,7 @@ paths: parameters: - *356 - *357 - - *568 + - *569 requestBody: required: true content: @@ -88965,7 +88994,7 @@ paths: application/json: schema: *88 examples: - default: *567 + default: *568 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by @@ -89006,7 +89035,7 @@ paths: parameters: - *356 - *357 - - *568 + - *569 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -89020,7 +89049,7 @@ paths: application/json: schema: *88 examples: - default: *567 + default: *568 '301': *360 '400': *14 '401': *25 @@ -89054,7 +89083,7 @@ paths: parameters: - *356 - *357 - - *568 + - *569 - *17 - *19 responses: @@ -89066,7 +89095,7 @@ paths: type: array items: *88 examples: - default: *570 + default: *571 headers: Link: *70 '301': *360 @@ -89090,7 +89119,7 @@ paths: parameters: - *356 - *357 - - *568 + - *569 - *17 - *19 responses: @@ -89104,7 +89133,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &574 + - &575 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -89158,7 +89187,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &575 + - &576 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -89294,7 +89323,7 @@ paths: - performed_via_github_app - assignee - assigner - - &576 + - &577 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -89345,7 +89374,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &577 + - &578 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -89396,7 +89425,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &578 + - &579 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -89450,7 +89479,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &579 + - &580 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -89497,7 +89526,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &580 + - &581 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -89544,7 +89573,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &581 + - &582 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -89604,7 +89633,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &582 + - &583 title: Locked Issue Event description: Locked Issue Event type: object @@ -89652,7 +89681,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &583 + - &584 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -89718,7 +89747,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &584 + - &585 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -89784,7 +89813,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &585 + - &586 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -89850,7 +89879,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &586 + - &587 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -89906,6 +89935,143 @@ paths: - commit_url - created_at - performed_via_github_app + - &590 + title: Issue Type Added Issue Event + description: Issue Type Added Issue Event + type: object + properties: + id: + type: integer + node_id: + type: string + url: + type: string + actor: *4 + event: + type: string + commit_id: + type: string + nullable: true + commit_url: + type: string + nullable: true + created_at: + type: string + performed_via_github_app: + title: GitHub app + description: GitHub apps are a new way to extend GitHub. They + can be installed directly on organizations and user accounts + and granted access to specific repositories. They come with + granular permissions and built-in webhooks. GitHub apps + are first class actors within GitHub. + type: object + nullable: true + properties: *83 + required: *84 + issue_type: *566 + required: + - issue_type + - id + - node_id + - url + - actor + - event + - commit_id + - commit_url + - created_at + - performed_via_github_app + - &591 + title: Issue Type Removed Issue Event + description: Issue Type Removed Issue Event + type: object + properties: + id: + type: integer + node_id: + type: string + url: + type: string + actor: *4 + event: + type: string + commit_id: + type: string + nullable: true + commit_url: + type: string + nullable: true + created_at: + type: string + performed_via_github_app: + title: GitHub app + description: GitHub apps are a new way to extend GitHub. They + can be installed directly on organizations and user accounts + and granted access to specific repositories. They come with + granular permissions and built-in webhooks. GitHub apps + are first class actors within GitHub. + type: object + nullable: true + properties: *83 + required: *84 + prev_issue_type: *566 + required: + - prev_issue_type + - id + - node_id + - url + - actor + - event + - commit_id + - commit_url + - created_at + - performed_via_github_app + - &592 + title: Issue Type Changed Issue Event + description: Issue Type Changed Issue Event + type: object + properties: + id: + type: integer + node_id: + type: string + url: + type: string + actor: *4 + event: + type: string + commit_id: + type: string + nullable: true + commit_url: + type: string + nullable: true + created_at: + type: string + performed_via_github_app: + title: GitHub app + description: GitHub apps are a new way to extend GitHub. They + can be installed directly on organizations and user accounts + and granted access to specific repositories. They come with + granular permissions and built-in webhooks. GitHub apps + are first class actors within GitHub. + type: object + nullable: true + properties: *83 + required: *84 + issue_type: *566 + prev_issue_type: *566 + required: + - issue_type + - prev_issue_type + - id + - node_id + - url + - actor + - event + - commit_id + - commit_url + - created_at + - performed_via_github_app examples: default: value: @@ -89960,7 +90126,7 @@ paths: parameters: - *356 - *357 - - *568 + - *569 - *17 - *19 responses: @@ -89970,9 +90136,9 @@ paths: application/json: schema: type: array - items: *571 + items: *572 examples: - default: &572 + default: &573 value: - issue_field_id: 1 node_id: IFT_GDKND @@ -90040,7 +90206,7 @@ paths: parameters: - *356 - *357 - - *568 + - *569 requestBody: required: true content: @@ -90110,9 +90276,9 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *571 + items: *572 examples: - default: *572 + default: *573 '400': *14 '403': *29 '404': *6 @@ -90150,7 +90316,7 @@ paths: parameters: - *356 - *357 - - *568 + - *569 requestBody: required: true content: @@ -90215,9 +90381,9 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *571 + items: *572 examples: - default: *572 + default: *573 '400': *14 '403': *29 '404': *6 @@ -90250,7 +90416,7 @@ paths: parameters: - *356 - *357 - - *568 + - *569 - *257 responses: '204': @@ -90278,7 +90444,7 @@ paths: parameters: - *356 - *357 - - *568 + - *569 - *17 - *19 responses: @@ -90290,7 +90456,7 @@ paths: type: array items: *87 examples: - default: &573 + default: &574 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -90328,7 +90494,7 @@ paths: parameters: - *356 - *357 - - *568 + - *569 requestBody: required: false content: @@ -90373,7 +90539,7 @@ paths: type: array items: *87 examples: - default: *573 + default: *574 '301': *360 '404': *6 '410': *558 @@ -90395,7 +90561,7 @@ paths: parameters: - *356 - *357 - - *568 + - *569 requestBody: required: false content: @@ -90457,7 +90623,7 @@ paths: type: array items: *87 examples: - default: *573 + default: *574 '301': *360 '404': *6 '410': *558 @@ -90479,7 +90645,7 @@ paths: parameters: - *356 - *357 - - *568 + - *569 responses: '204': description: Response @@ -90506,7 +90672,7 @@ paths: parameters: - *356 - *357 - - *568 + - *569 - name: name in: path required: true @@ -90554,7 +90720,7 @@ paths: parameters: - *356 - *357 - - *568 + - *569 requestBody: required: false content: @@ -90602,7 +90768,7 @@ paths: parameters: - *356 - *357 - - *568 + - *569 responses: '204': description: Response @@ -90634,7 +90800,7 @@ paths: parameters: - *356 - *357 - - *568 + - *569 responses: '200': description: Response @@ -90642,7 +90808,7 @@ paths: application/json: schema: *88 examples: - default: *567 + default: *568 '301': *360 '404': *6 '410': *558 @@ -90664,7 +90830,7 @@ paths: parameters: - *356 - *357 - - *568 + - *569 - 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. @@ -90716,7 +90882,7 @@ paths: parameters: - *356 - *357 - - *568 + - *569 requestBody: required: true content: @@ -90781,7 +90947,7 @@ paths: parameters: - *356 - *357 - - *568 + - *569 - *562 responses: '204': @@ -90813,7 +90979,7 @@ paths: parameters: - *356 - *357 - - *568 + - *569 requestBody: required: true content: @@ -90837,7 +91003,7 @@ paths: application/json: schema: *88 examples: - default: *567 + default: *568 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -90872,7 +91038,7 @@ paths: parameters: - *356 - *357 - - *568 + - *569 - *17 - *19 responses: @@ -90884,7 +91050,7 @@ paths: type: array items: *88 examples: - default: *570 + default: *571 headers: Link: *70 '404': *6 @@ -90918,7 +91084,7 @@ paths: parameters: - *356 - *357 - - *568 + - *569 requestBody: required: true content: @@ -90947,7 +91113,7 @@ paths: application/json: schema: *88 examples: - default: *567 + default: *568 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 @@ -90976,7 +91142,7 @@ paths: parameters: - *356 - *357 - - *568 + - *569 requestBody: required: true content: @@ -91009,7 +91175,7 @@ paths: application/json: schema: *88 examples: - default: *567 + default: *568 '403': *29 '404': *6 '422': *7 @@ -91033,7 +91199,7 @@ paths: parameters: - *356 - *357 - - *568 + - *569 - *17 - *19 responses: @@ -91048,7 +91214,6 @@ paths: description: Timeline Event type: object anyOf: - - *574 - *575 - *576 - *577 @@ -91061,6 +91226,7 @@ paths: - *584 - *585 - *586 + - *587 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -91121,8 +91287,8 @@ paths: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *587 - required: *588 + properties: *588 + required: *589 nullable: true required: - event @@ -91377,7 +91543,7 @@ paths: type: string comments: type: array - items: &608 + items: &612 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -91726,6 +91892,9 @@ paths: - commit_url - created_at - performed_via_github_app + - *590 + - *591 + - *592 examples: default: value: @@ -91909,7 +92078,7 @@ paths: application/json: schema: type: array - items: &589 + items: &593 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -92012,9 +92181,9 @@ paths: description: Response content: application/json: - schema: *589 + schema: *593 examples: - default: &590 + default: &594 value: id: 1 key: ssh-rsa AAA... @@ -92050,7 +92219,7 @@ paths: parameters: - *356 - *357 - - &591 + - &595 name: key_id description: The unique identifier of the key. in: path @@ -92062,9 +92231,9 @@ paths: description: Response content: application/json: - schema: *589 + schema: *593 examples: - default: *590 + default: *594 '404': *6 x-github: githubCloudOnly: false @@ -92084,7 +92253,7 @@ paths: parameters: - *356 - *357 - - *591 + - *595 responses: '204': description: Response @@ -92117,7 +92286,7 @@ paths: type: array items: *87 examples: - default: *573 + default: *574 headers: Link: *70 '404': *6 @@ -92177,7 +92346,7 @@ paths: application/json: schema: *87 examples: - default: &592 + default: &596 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -92223,7 +92392,7 @@ paths: application/json: schema: *87 examples: - default: *592 + default: *596 '404': *6 x-github: githubCloudOnly: false @@ -92623,7 +92792,7 @@ paths: application/json: schema: *489 examples: - default: *593 + default: *597 '204': description: Response when already merged '404': @@ -92690,7 +92859,7 @@ paths: application/json: schema: type: array - items: &594 + items: &598 title: Milestone description: A collection of related issues and pull requests. type: object @@ -92792,9 +92961,9 @@ paths: description: Response content: application/json: - schema: *594 + schema: *598 examples: - default: &595 + default: &599 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -92855,7 +93024,7 @@ paths: parameters: - *356 - *357 - - &596 + - &600 name: milestone_number description: The number that identifies the milestone. in: path @@ -92867,9 +93036,9 @@ paths: description: Response content: application/json: - schema: *594 + schema: *598 examples: - default: *595 + default: *599 '404': *6 x-github: githubCloudOnly: false @@ -92888,7 +93057,7 @@ paths: parameters: - *356 - *357 - - *596 + - *600 requestBody: required: false content: @@ -92926,9 +93095,9 @@ paths: description: Response content: application/json: - schema: *594 + schema: *598 examples: - default: *595 + default: *599 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92946,7 +93115,7 @@ paths: parameters: - *356 - *357 - - *596 + - *600 responses: '204': description: Response @@ -92969,7 +93138,7 @@ paths: parameters: - *356 - *357 - - *596 + - *600 - *17 - *19 responses: @@ -92981,7 +93150,7 @@ paths: type: array items: *87 examples: - default: *573 + default: *574 headers: Link: *70 x-github: @@ -93002,10 +93171,10 @@ paths: parameters: - *356 - *357 - - *597 - - *598 + - *601 + - *602 - *95 - - *599 + - *603 - *17 - *19 responses: @@ -93017,7 +93186,7 @@ paths: type: array items: *115 examples: - default: *600 + default: *604 headers: Link: *70 x-github: @@ -93107,7 +93276,7 @@ paths: description: Response content: application/json: - schema: &601 + schema: &605 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -93232,7 +93401,7 @@ paths: - custom_404 - public examples: - default: &602 + default: &606 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -93328,9 +93497,9 @@ paths: description: Response content: application/json: - schema: *601 + schema: *605 examples: - default: *602 + default: *606 '422': *15 '409': *54 x-github: @@ -93491,7 +93660,7 @@ paths: application/json: schema: type: array - items: &603 + items: &607 title: Page Build description: Page Build type: object @@ -93638,9 +93807,9 @@ paths: description: Response content: application/json: - schema: *603 + schema: *607 examples: - default: &604 + default: &608 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -93700,9 +93869,9 @@ paths: description: Response content: application/json: - schema: *603 + schema: *607 examples: - default: *604 + default: *608 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93830,7 +93999,7 @@ paths: parameters: - *356 - *357 - - &605 + - &609 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -93890,7 +94059,7 @@ paths: parameters: - *356 - *357 - - *605 + - *609 responses: '204': *61 '404': *6 @@ -94425,7 +94594,7 @@ paths: type: array items: *493 examples: - default: *606 + default: *610 headers: Link: *70 '304': *37 @@ -94523,7 +94692,7 @@ paths: description: Response content: application/json: - schema: &610 + schema: &614 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -94734,7 +94903,7 @@ paths: - review_comment - self author_association: *85 - auto_merge: *607 + auto_merge: *611 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -94920,7 +95089,7 @@ paths: - review_comments version: '2026-03-10' examples: - default: &611 + default: &615 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -95488,9 +95657,9 @@ paths: application/json: schema: type: array - items: *608 + items: *612 examples: - default: &613 + default: &617 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -95575,9 +95744,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *612 examples: - default: &609 + default: &613 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -95676,9 +95845,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *612 examples: - default: *609 + default: *613 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95881,7 +96050,7 @@ paths: parameters: - *356 - *357 - - &612 + - &616 name: pull_number description: The number that identifies the pull request. in: path @@ -95894,9 +96063,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *610 + schema: *614 examples: - default: *611 + default: *615 '304': *37 '404': *6 '406': @@ -95933,7 +96102,7 @@ paths: parameters: - *356 - *357 - - *612 + - *616 requestBody: required: false content: @@ -95975,9 +96144,9 @@ paths: description: Response content: application/json: - schema: *610 + schema: *614 examples: - default: *611 + default: *615 '422': *15 '403': *29 x-github: @@ -96001,7 +96170,7 @@ paths: parameters: - *356 - *357 - - *612 + - *616 requestBody: required: true content: @@ -96103,7 +96272,7 @@ paths: parameters: - *356 - *357 - - *612 + - *616 - *112 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -96124,9 +96293,9 @@ paths: application/json: schema: type: array - items: *608 + items: *612 examples: - default: *613 + default: *617 headers: Link: *70 x-github: @@ -96161,7 +96330,7 @@ paths: parameters: - *356 - *357 - - *612 + - *616 requestBody: required: true content: @@ -96266,7 +96435,7 @@ paths: description: Response content: application/json: - schema: *608 + schema: *612 examples: example-for-a-multi-line-comment: value: @@ -96356,7 +96525,7 @@ paths: parameters: - *356 - *357 - - *612 + - *616 - *104 requestBody: required: true @@ -96379,7 +96548,7 @@ paths: description: Response content: application/json: - schema: *608 + schema: *612 examples: default: value: @@ -96467,7 +96636,7 @@ paths: parameters: - *356 - *357 - - *612 + - *616 - *17 - *19 responses: @@ -96479,7 +96648,7 @@ paths: type: array items: *489 examples: - default: *614 + default: *618 headers: Link: *70 x-github: @@ -96511,7 +96680,7 @@ paths: parameters: - *356 - *357 - - *612 + - *616 - *17 - *19 responses: @@ -96561,7 +96730,7 @@ paths: parameters: - *356 - *357 - - *612 + - *616 responses: '204': description: Response if pull request has been merged @@ -96586,7 +96755,7 @@ paths: parameters: - *356 - *357 - - *612 + - *616 requestBody: required: false content: @@ -96699,7 +96868,7 @@ paths: parameters: - *356 - *357 - - *612 + - *616 responses: '200': description: Response @@ -96776,7 +96945,7 @@ paths: parameters: - *356 - *357 - - *612 + - *616 requestBody: required: false content: @@ -97351,7 +97520,7 @@ paths: parameters: - *356 - *357 - - *612 + - *616 requestBody: required: true content: @@ -97903,7 +98072,7 @@ paths: parameters: - *356 - *357 - - *612 + - *616 - *17 - *19 responses: @@ -97913,7 +98082,7 @@ paths: application/json: schema: type: array - items: &615 + items: &619 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -98066,7 +98235,7 @@ paths: parameters: - *356 - *357 - - *612 + - *616 requestBody: required: false content: @@ -98152,9 +98321,9 @@ paths: description: Response content: application/json: - schema: *615 + schema: *619 examples: - default: &617 + default: &621 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -98219,8 +98388,8 @@ paths: parameters: - *356 - *357 - - *612 - - &616 + - *616 + - &620 name: review_id description: The unique identifier of the review. in: path @@ -98232,9 +98401,9 @@ paths: description: Response content: application/json: - schema: *615 + schema: *619 examples: - default: &618 + default: &622 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -98295,8 +98464,8 @@ paths: parameters: - *356 - *357 - - *612 - *616 + - *620 requestBody: required: true content: @@ -98319,7 +98488,7 @@ paths: description: Response content: application/json: - schema: *615 + schema: *619 examples: default: value: @@ -98383,16 +98552,16 @@ paths: parameters: - *356 - *357 - - *612 - *616 + - *620 responses: '200': description: Response content: application/json: - schema: *615 + schema: *619 examples: - default: *617 + default: *621 '422': *7 '404': *6 x-github: @@ -98421,8 +98590,8 @@ paths: parameters: - *356 - *357 - - *612 - *616 + - *620 - *17 - *19 responses: @@ -98659,8 +98828,8 @@ paths: parameters: - *356 - *357 - - *612 - *616 + - *620 requestBody: required: true content: @@ -98688,7 +98857,7 @@ paths: description: Response content: application/json: - schema: *615 + schema: *619 examples: default: value: @@ -98753,8 +98922,8 @@ paths: parameters: - *356 - *357 - - *612 - *616 + - *620 requestBody: required: true content: @@ -98789,9 +98958,9 @@ paths: description: Response content: application/json: - schema: *615 + schema: *619 examples: - default: *618 + default: *622 '404': *6 '422': *7 '403': *29 @@ -98815,7 +98984,7 @@ paths: parameters: - *356 - *357 - - *612 + - *616 requestBody: required: false content: @@ -98892,9 +99061,9 @@ paths: description: Response content: application/json: - schema: *619 + schema: *623 examples: - default: &620 + default: &624 value: type: file encoding: base64 @@ -98957,9 +99126,9 @@ paths: description: Response content: application/json: - schema: *619 + schema: *623 examples: - default: *620 + default: *624 '404': *6 '422': *15 x-github: @@ -98992,7 +99161,7 @@ paths: application/json: schema: type: array - items: *621 + items: *625 examples: default: value: @@ -99163,9 +99332,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *625 examples: - default: &625 + default: &629 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -99272,7 +99441,7 @@ paths: parameters: - *356 - *357 - - &623 + - &627 name: asset_id description: The unique identifier of the asset. in: path @@ -99284,9 +99453,9 @@ paths: description: Response content: application/json: - schema: *622 + schema: *626 examples: - default: &624 + default: &628 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -99339,7 +99508,7 @@ paths: parameters: - *356 - *357 - - *623 + - *627 requestBody: required: false content: @@ -99367,9 +99536,9 @@ paths: description: Response content: application/json: - schema: *622 + schema: *626 examples: - default: *624 + default: *628 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99387,7 +99556,7 @@ paths: parameters: - *356 - *357 - - *623 + - *627 responses: '204': description: Response @@ -99505,9 +99674,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *625 examples: - default: *625 + default: *629 '404': *6 x-github: githubCloudOnly: false @@ -99539,9 +99708,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *625 examples: - default: *625 + default: *629 '404': *6 x-github: githubCloudOnly: false @@ -99565,7 +99734,7 @@ paths: parameters: - *356 - *357 - - &626 + - &630 name: release_id description: The unique identifier of the release. in: path @@ -99579,9 +99748,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *621 + schema: *625 examples: - default: *625 + default: *629 '401': description: Unauthorized x-github: @@ -99601,7 +99770,7 @@ paths: parameters: - *356 - *357 - - *626 + - *630 requestBody: required: false content: @@ -99665,9 +99834,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *625 examples: - default: *625 + default: *629 '404': description: Not Found if the discussion category name is invalid content: @@ -99690,7 +99859,7 @@ paths: parameters: - *356 - *357 - - *626 + - *630 responses: '204': description: Response @@ -99713,7 +99882,7 @@ paths: parameters: - *356 - *357 - - *626 + - *630 - *17 - *19 responses: @@ -99723,7 +99892,7 @@ paths: application/json: schema: type: array - items: *622 + items: *626 examples: default: value: @@ -99806,7 +99975,7 @@ paths: parameters: - *356 - *357 - - *626 + - *630 - name: name in: query required: true @@ -99832,7 +100001,7 @@ paths: description: Response for successful upload content: application/json: - schema: *622 + schema: *626 examples: response-for-successful-upload: value: @@ -99889,7 +100058,7 @@ paths: parameters: - *356 - *357 - - *626 + - *630 - 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 release. @@ -99938,7 +100107,7 @@ paths: parameters: - *356 - *357 - - *626 + - *630 requestBody: required: true content: @@ -100001,7 +100170,7 @@ paths: parameters: - *356 - *357 - - *626 + - *630 - *562 responses: '204': @@ -100045,7 +100214,7 @@ paths: oneOf: - allOf: - *320 - - &627 + - &631 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -100066,67 +100235,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *321 - - *627 + - *631 - allOf: - *322 - - *627 + - *631 - allOf: - *323 - - *627 + - *631 - allOf: - - *628 - - *627 + - *632 + - *631 - allOf: - *324 - - *627 + - *631 - allOf: - *325 - - *627 + - *631 - allOf: - *326 - - *627 + - *631 - allOf: - *327 - - *627 + - *631 - allOf: - *328 - - *627 + - *631 - allOf: - *329 - - *627 + - *631 - allOf: - *330 - - *627 + - *631 - allOf: - *331 - - *627 + - *631 - allOf: - *332 - - *627 + - *631 - allOf: - *333 - - *627 + - *631 - allOf: - *338 - - *627 + - *631 - allOf: - *339 - - *627 + - *631 - allOf: - *340 - - *627 + - *631 - allOf: - *334 - - *627 + - *631 - allOf: - *335 - - *627 + - *631 - allOf: - *336 - - *627 + - *631 - allOf: - *337 - - *627 + - *631 examples: default: value: @@ -100177,7 +100346,7 @@ paths: schema: type: boolean default: true - - *629 + - *633 responses: '200': description: Response @@ -100262,7 +100431,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *630 + items: *634 required: - name - enforcement @@ -100295,7 +100464,7 @@ paths: application/json: schema: *341 examples: - default: &641 + default: &645 value: id: 42 name: super cool ruleset @@ -100345,11 +100514,11 @@ paths: parameters: - *356 - *357 - - *631 - - *632 - - *633 - - *634 - *635 + - *636 + - *637 + - *638 + - *639 - *17 - *19 responses: @@ -100357,9 +100526,9 @@ paths: description: Response content: application/json: - schema: *636 + schema: *640 examples: - default: *637 + default: *641 '404': *6 '500': *55 x-github: @@ -100382,15 +100551,15 @@ paths: parameters: - *356 - *357 - - *638 + - *642 responses: '200': description: Response content: application/json: - schema: *639 + schema: *643 examples: - default: *640 + default: *644 '404': *6 '500': *55 x-github: @@ -100441,7 +100610,7 @@ paths: application/json: schema: *341 examples: - default: *641 + default: *645 '404': *6 '500': *55 put: @@ -100494,7 +100663,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *630 + items: *634 examples: default: value: @@ -100524,7 +100693,7 @@ paths: application/json: schema: *341 examples: - default: *641 + default: *645 '404': *6 '422': *15 '500': *55 @@ -100586,7 +100755,7 @@ paths: type: array items: *344 examples: - default: *642 + default: *646 '404': *6 '500': *55 x-github: @@ -100624,7 +100793,7 @@ paths: description: Response content: application/json: - schema: *643 + schema: *647 examples: default: value: @@ -100681,24 +100850,24 @@ paths: parameters: - *356 - *357 - - *644 - - *645 - - *646 - - *647 - *648 - *649 - *650 - *651 - - *62 - - *19 - - *17 - *652 - *653 - *654 - *655 + - *62 + - *19 + - *17 - *656 - *657 - *658 + - *659 + - *660 + - *661 + - *662 responses: '200': description: Response @@ -100706,7 +100875,7 @@ paths: application/json: schema: type: array - items: &662 + items: &666 type: object properties: number: *188 @@ -100725,8 +100894,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *659 - resolution: *660 + state: *663 + resolution: *664 resolved_at: type: string format: date-time @@ -100832,7 +101001,7 @@ paths: pull request. ' - oneOf: *661 + oneOf: *665 nullable: true has_more_locations: type: boolean @@ -100999,13 +101168,13 @@ paths: - *356 - *357 - *453 - - *657 + - *661 responses: '200': description: Response content: application/json: - schema: *662 + schema: *666 examples: default: value: @@ -101069,8 +101238,8 @@ paths: schema: type: object properties: - state: *659 - resolution: *660 + state: *663 + resolution: *664 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -101114,7 +101283,7 @@ paths: description: Response content: application/json: - schema: *662 + schema: *666 examples: default: value: @@ -101226,7 +101395,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &820 + items: &824 type: object properties: type: @@ -101252,10 +101421,6 @@ paths: example: commit details: oneOf: - - *663 - - *664 - - *665 - - *666 - *667 - *668 - *669 @@ -101265,6 +101430,10 @@ paths: - *673 - *674 - *675 + - *676 + - *677 + - *678 + - *679 examples: default: value: @@ -101359,14 +101528,14 @@ paths: schema: type: object properties: - reason: &677 + reason: &681 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *676 + placeholder_id: *680 required: - reason - placeholder_id @@ -101383,7 +101552,7 @@ paths: schema: type: object properties: - reason: *677 + reason: *681 expire_at: type: string format: date-time @@ -101445,7 +101614,7 @@ paths: properties: incremental_scans: type: array - items: &678 + items: &682 description: Information on a single scan performed by secret scanning on the repository type: object @@ -101476,15 +101645,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *678 + items: *682 backfill_scans: type: array - items: *678 + items: *682 custom_pattern_backfill_scans: type: array items: allOf: - - *678 + - *682 - type: object properties: pattern_name: @@ -101497,7 +101666,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *678 + items: *682 examples: default: value: @@ -101607,9 +101776,9 @@ paths: application/json: schema: type: array - items: *679 + items: *683 examples: - default: *680 + default: *684 '400': *14 '404': *6 x-github: @@ -101793,9 +101962,9 @@ paths: description: Response content: application/json: - schema: *679 + schema: *683 examples: - default: &682 + default: &686 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -102139,7 +102308,7 @@ paths: description: Response content: application/json: - schema: *679 + schema: *683 examples: default: value: @@ -102294,15 +102463,15 @@ paths: parameters: - *356 - *357 - - *681 + - *685 responses: '200': description: Response content: application/json: - schema: *679 + schema: *683 examples: - default: *682 + default: *686 '403': *29 '404': *6 x-github: @@ -102328,7 +102497,7 @@ paths: parameters: - *356 - *357 - - *681 + - *685 requestBody: required: true content: @@ -102487,10 +102656,10 @@ paths: description: Response content: application/json: - schema: *679 + schema: *683 examples: - default: *682 - add_credit: *682 + default: *686 + add_credit: *686 '403': *29 '404': *6 '422': @@ -102530,7 +102699,7 @@ paths: parameters: - *356 - *357 - - *681 + - *685 responses: '202': *39 '400': *14 @@ -102559,7 +102728,7 @@ paths: parameters: - *356 - *357 - - *681 + - *685 responses: '202': description: Response @@ -102703,7 +102872,7 @@ paths: application/json: schema: type: array - items: &683 + items: &687 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -103076,7 +103245,7 @@ paths: application/json: schema: type: array - items: *683 + items: *687 examples: default: value: @@ -103164,7 +103333,7 @@ paths: description: Response content: application/json: - schema: *684 + schema: *688 examples: default: value: @@ -103258,7 +103427,7 @@ paths: description: if you subscribe to the repository content: application/json: - schema: &685 + schema: &689 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -103353,7 +103522,7 @@ paths: description: Response content: application/json: - schema: *685 + schema: *689 examples: default: value: @@ -103560,7 +103729,7 @@ paths: description: Response content: application/json: - schema: &686 + schema: &690 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -103572,7 +103741,7 @@ paths: required: - names examples: - default: &687 + default: &691 value: names: - octocat @@ -103627,9 +103796,9 @@ paths: description: Response content: application/json: - schema: *686 + schema: *690 examples: - default: *687 + default: *691 '404': *6 '422': *7 x-github: @@ -103652,7 +103821,7 @@ paths: parameters: - *356 - *357 - - &688 + - &692 name: per description: The time frame to display results for. in: query @@ -103681,7 +103850,7 @@ paths: example: 128 clones: type: array - items: &689 + items: &693 title: Traffic type: object properties: @@ -103922,7 +104091,7 @@ paths: parameters: - *356 - *357 - - *688 + - *692 responses: '200': description: Response @@ -103941,7 +104110,7 @@ paths: example: 3782 views: type: array - items: *689 + items: *693 required: - uniques - count @@ -104719,7 +104888,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &690 + text_matches: &694 title: Search Result Text Matches type: array items: @@ -104881,7 +105050,7 @@ paths: enum: - author-date - committer-date - - &691 + - &695 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -105009,7 +105178,7 @@ paths: type: number node_id: type: string - text_matches: *690 + text_matches: *694 required: - sha - node_id @@ -105201,7 +105370,7 @@ paths: - interactions - created - updated - - *691 + - *695 - *17 - *19 - name: advanced_search @@ -105315,11 +105484,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *692 - issue_dependencies_summary: *693 + sub_issues_summary: *696 + issue_dependencies_summary: *697 issue_field_values: type: array - items: *571 + items: *572 state: type: string state_reason: @@ -105351,7 +105520,7 @@ paths: type: string format: date-time nullable: true - text_matches: *690 + text_matches: *694 pull_request: type: object properties: @@ -105667,7 +105836,7 @@ paths: enum: - created - updated - - *691 + - *695 - *17 - *19 responses: @@ -105711,7 +105880,7 @@ paths: nullable: true score: type: number - text_matches: *690 + text_matches: *694 required: - id - node_id @@ -105796,7 +105965,7 @@ paths: - forks - help-wanted-issues - updated - - *691 + - *695 - *17 - *19 responses: @@ -106044,7 +106213,7 @@ paths: - admin - pull - push - text_matches: *690 + text_matches: *694 temp_clone_token: type: string allow_merge_commit: @@ -106344,7 +106513,7 @@ paths: type: string format: uri nullable: true - text_matches: *690 + text_matches: *694 related: type: array nullable: true @@ -106535,7 +106704,7 @@ paths: - followers - repositories - joined - - *691 + - *695 - *17 - *19 responses: @@ -106639,7 +106808,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *690 + text_matches: *694 blog: type: string nullable: true @@ -106718,7 +106887,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &694 + - &698 name: team_id description: The unique identifier of the team. in: path @@ -106759,7 +106928,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *694 + - *698 requestBody: required: true content: @@ -106859,7 +107028,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *694 + - *698 responses: '204': description: Response @@ -106888,7 +107057,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *694 + - *698 - *17 - *19 responses: @@ -106926,7 +107095,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *694 + - *698 - name: role description: Filters members returned by their role in the team. in: query @@ -106977,7 +107146,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *694 + - *698 - *74 responses: '204': @@ -107014,7 +107183,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *694 + - *698 - *74 responses: '204': @@ -107054,7 +107223,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *694 + - *698 - *74 responses: '204': @@ -107091,7 +107260,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *694 + - *698 - *74 responses: '200': @@ -107100,7 +107269,7 @@ paths: application/json: schema: *355 examples: - response-if-user-is-a-team-maintainer: *695 + response-if-user-is-a-team-maintainer: *699 '404': *6 x-github: githubCloudOnly: false @@ -107133,7 +107302,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *694 + - *698 - *74 requestBody: required: false @@ -107161,7 +107330,7 @@ paths: application/json: schema: *355 examples: - response-if-users-membership-with-team-is-now-pending: *696 + response-if-users-membership-with-team-is-now-pending: *700 '403': description: Forbidden if team synchronization is set up '422': @@ -107195,7 +107364,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *694 + - *698 - *74 responses: '204': @@ -107223,7 +107392,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *694 + - *698 - *17 - *19 responses: @@ -107265,7 +107434,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *694 + - *698 - *356 - *357 responses: @@ -107273,7 +107442,7 @@ paths: description: Alternative response with extra repository information content: application/json: - schema: *697 + schema: *701 examples: alternative-response-with-extra-repository-information: value: @@ -107430,7 +107599,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *694 + - *698 - *356 - *357 requestBody: @@ -107482,7 +107651,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *694 + - *698 - *356 - *357 responses: @@ -107509,7 +107678,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *694 + - *698 - *17 - *19 responses: @@ -107521,7 +107690,7 @@ paths: type: array items: *210 examples: - response-if-child-teams-exist: *698 + response-if-child-teams-exist: *702 headers: Link: *70 '404': *6 @@ -107554,7 +107723,7 @@ paths: application/json: schema: oneOf: - - &700 + - &704 title: Private User description: Private User type: object @@ -107757,7 +107926,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *699 + - *703 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -107910,7 +108079,7 @@ paths: description: Response content: application/json: - schema: *700 + schema: *704 examples: default: value: @@ -108308,7 +108477,7 @@ paths: type: integer secrets: type: array - items: &701 + items: &705 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -108424,7 +108593,7 @@ paths: description: Response content: application/json: - schema: *701 + schema: *705 examples: default: value: @@ -108837,7 +109006,7 @@ paths: description: Response content: application/json: - schema: &702 + schema: &706 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -108878,7 +109047,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &703 + default: &707 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -108923,9 +109092,9 @@ paths: description: Response content: application/json: - schema: *702 + schema: *706 examples: - default: *703 + default: *707 '404': *6 x-github: githubCloudOnly: false @@ -108962,9 +109131,9 @@ paths: type: integer machines: type: array - items: *704 + items: *708 examples: - default: *705 + default: *709 '304': *37 '500': *55 '401': *25 @@ -109903,7 +110072,7 @@ paths: type: array items: *276 examples: - default: &716 + default: &720 value: - id: 197 name: hello_docker @@ -110004,7 +110173,7 @@ paths: application/json: schema: type: array - items: &706 + items: &710 title: Email description: Email type: object @@ -110069,9 +110238,9 @@ paths: application/json: schema: type: array - items: *706 + items: *710 examples: - default: &718 + default: &722 value: - email: octocat@github.com verified: true @@ -110146,7 +110315,7 @@ paths: application/json: schema: type: array - items: *706 + items: *710 examples: default: value: @@ -110402,7 +110571,7 @@ paths: application/json: schema: type: array - items: &707 + items: &711 title: GPG Key description: A unique encryption key type: object @@ -110533,7 +110702,7 @@ paths: - subkeys - revoked examples: - default: &735 + default: &739 value: - id: 3 name: Octocat's GPG Key @@ -110618,9 +110787,9 @@ paths: description: Response content: application/json: - schema: *707 + schema: *711 examples: - default: &708 + default: &712 value: id: 3 name: Octocat's GPG Key @@ -110677,7 +110846,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &709 + - &713 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -110689,9 +110858,9 @@ paths: description: Response content: application/json: - schema: *707 + schema: *711 examples: - default: *708 + default: *712 '404': *6 '304': *37 '403': *29 @@ -110714,7 +110883,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *709 + - *713 responses: '204': description: Response @@ -111181,7 +111350,7 @@ paths: application/json: schema: type: array - items: &710 + items: &714 title: Key description: Key type: object @@ -111282,9 +111451,9 @@ paths: description: Response content: application/json: - schema: *710 + schema: *714 examples: - default: &711 + default: &715 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -111317,15 +111486,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *591 + - *595 responses: '200': description: Response content: application/json: - schema: *710 + schema: *714 examples: - default: *711 + default: *715 '404': *6 '304': *37 '403': *29 @@ -111348,7 +111517,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *591 + - *595 responses: '204': description: Response @@ -111381,7 +111550,7 @@ paths: application/json: schema: type: array - items: &712 + items: &716 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -111449,7 +111618,7 @@ paths: - account - plan examples: - default: &713 + default: &717 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -111511,9 +111680,9 @@ paths: application/json: schema: type: array - items: *712 + items: *716 examples: - default: *713 + default: *717 headers: Link: *70 '304': *37 @@ -112522,7 +112691,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *270 - - *714 + - *718 responses: '204': description: Response @@ -112655,7 +112824,7 @@ paths: - docker - nuget - container - - *715 + - *719 - *19 - *17 responses: @@ -112667,8 +112836,8 @@ paths: type: array items: *276 examples: - default: *716 - '400': *717 + default: *720 + '400': *721 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -112697,7 +112866,7 @@ paths: application/json: schema: *276 examples: - default: &736 + default: &740 value: id: 40201 name: octo-name @@ -113059,9 +113228,9 @@ paths: application/json: schema: type: array - items: *706 + items: *710 examples: - default: *718 + default: *722 headers: Link: *70 '304': *37 @@ -113174,7 +113343,7 @@ paths: type: array items: *82 examples: - default: &725 + default: &729 summary: Default response value: - id: 1296269 @@ -113526,7 +113695,7 @@ paths: type: array items: *556 examples: - default: *719 + default: *723 headers: Link: *70 '304': *37 @@ -113611,7 +113780,7 @@ paths: application/json: schema: type: array - items: &720 + items: &724 title: Social account description: Social media account type: object @@ -113626,7 +113795,7 @@ paths: - provider - url examples: - default: &721 + default: &725 value: - provider: twitter url: https://twitter.com/github @@ -113688,9 +113857,9 @@ paths: application/json: schema: type: array - items: *720 + items: *724 examples: - default: *721 + default: *725 '422': *15 '304': *37 '404': *6 @@ -113777,7 +113946,7 @@ paths: application/json: schema: type: array - items: &722 + items: &726 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -113797,7 +113966,7 @@ paths: - title - created_at examples: - default: &753 + default: &757 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -113861,9 +114030,9 @@ paths: description: Response content: application/json: - schema: *722 + schema: *726 examples: - default: &723 + default: &727 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -113893,7 +114062,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &724 + - &728 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -113905,9 +114074,9 @@ paths: description: Response content: application/json: - schema: *722 + schema: *726 examples: - default: *723 + default: *727 '404': *6 '304': *37 '403': *29 @@ -113930,7 +114099,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *724 + - *728 responses: '204': description: Response @@ -113959,7 +114128,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &754 + - &758 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -113984,11 +114153,11 @@ paths: type: array items: *82 examples: - default-response: *725 + default-response: *729 application/vnd.github.v3.star+json: schema: type: array - items: &755 + items: &759 title: Starred Repository description: Starred Repository type: object @@ -114357,10 +114526,10 @@ paths: application/json: schema: oneOf: - - *700 - - *699 + - *704 + - *703 examples: - default-response: &729 + default-response: &733 summary: Default response value: login: octocat @@ -114395,7 +114564,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &730 + response-with-git-hub-plan-information: &734 summary: Response with GitHub plan information value: login: octocat @@ -114452,7 +114621,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &727 + - &731 name: user_id description: The unique identifier of the user. in: path @@ -114518,7 +114687,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *726 + - *730 - *17 responses: '200': @@ -114553,7 +114722,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *727 + - *731 - *294 requestBody: required: true @@ -114625,7 +114794,7 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *728 + schema: *732 examples: table_view: summary: Response for creating a table view @@ -114677,11 +114846,11 @@ paths: application/json: schema: oneOf: - - *700 - - *699 + - *704 + - *703 examples: - default-response: *729 - response-with-git-hub-plan-information: *730 + default-response: *733 + response-with-git-hub-plan-information: *734 '404': *6 x-github: githubCloudOnly: false @@ -114731,8 +114900,8 @@ paths: required: - subject_digests examples: - default: *731 - withPredicateType: *732 + default: *735 + withPredicateType: *736 responses: '200': description: Response @@ -114785,7 +114954,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *733 + default: *737 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -115300,7 +115469,7 @@ paths: application/json: schema: *204 examples: - default: &734 + default: &738 summary: Example response for a user copilot space value: id: 42 @@ -115401,7 +115570,7 @@ paths: application/json: schema: *204 examples: - default: *734 + default: *738 '403': *29 '404': *6 x-github: @@ -115524,7 +115693,7 @@ paths: application/json: schema: *204 examples: - default: *734 + default: *738 '403': *29 '404': *6 '422': *15 @@ -116292,7 +116461,7 @@ paths: type: array items: *276 examples: - default: *716 + default: *720 '403': *29 '401': *25 x-github: @@ -116676,9 +116845,9 @@ paths: application/json: schema: type: array - items: *707 + items: *711 examples: - default: *735 + default: *739 headers: Link: *70 x-github: @@ -116906,7 +117075,7 @@ paths: - docker - nuget - container - - *715 + - *719 - *74 - *19 - *17 @@ -116919,10 +117088,10 @@ paths: type: array items: *276 examples: - default: *716 + default: *720 '403': *29 '401': *25 - '400': *717 + '400': *721 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -116952,7 +117121,7 @@ paths: application/json: schema: *276 examples: - default: *736 + default: *740 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -117301,7 +117470,7 @@ paths: type: array items: *298 examples: - default: *737 + default: *741 headers: Link: *70 '304': *37 @@ -117361,7 +117530,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *738 + items: *742 required: - name - data_type @@ -117377,7 +117546,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *739 + iteration_configuration: *743 required: - name - data_type @@ -117399,8 +117568,8 @@ paths: value: name: Due date data_type: date - single_select_field: *740 - iteration_field: *741 + single_select_field: *744 + iteration_field: *745 responses: '201': description: Response @@ -117408,11 +117577,11 @@ paths: application/json: schema: *298 examples: - text_field: *742 - number_field: *743 - date_field: *744 - single_select_field: *745 - iteration_field: *746 + text_field: *746 + number_field: *747 + date_field: *748 + single_select_field: *749 + iteration_field: *750 '304': *37 '403': *29 '401': *25 @@ -117434,7 +117603,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - *294 - - *747 + - *751 - *74 responses: '200': @@ -117443,7 +117612,7 @@ paths: application/json: schema: *298 examples: - default: *748 + default: *752 headers: Link: *70 '304': *37 @@ -117797,7 +117966,7 @@ paths: parameters: - *294 - *74 - - *749 + - *753 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -118336,7 +118505,7 @@ paths: parameters: - *74 - *124 - - *750 + - *754 - *126 responses: '200': @@ -118435,9 +118604,9 @@ paths: - *124 - *125 - *126 - - *751 + - *755 - *129 - - *752 + - *756 responses: '200': description: Response when getting a billing usage summary @@ -118571,9 +118740,9 @@ paths: application/json: schema: type: array - items: *720 + items: *724 examples: - default: *721 + default: *725 headers: Link: *70 x-github: @@ -118603,9 +118772,9 @@ paths: application/json: schema: type: array - items: *722 + items: *726 examples: - default: *753 + default: *757 headers: Link: *70 x-github: @@ -118630,7 +118799,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *74 - - *754 + - *758 - *62 - *17 - *19 @@ -118642,11 +118811,11 @@ paths: schema: anyOf: - type: array - items: *755 + items: *759 - type: array items: *82 examples: - default-response: *725 + default-response: *729 headers: Link: *70 x-github: @@ -118805,7 +118974,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &756 + enterprise: &760 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -118863,7 +119032,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &757 + installation: &761 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -118882,7 +119051,7 @@ x-webhooks: required: - id - node_id - organization: &758 + organization: &762 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -118942,13 +119111,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &759 + repository: &763 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &791 + properties: &795 id: description: Unique identifier of the repository example: 42 @@ -119643,7 +119812,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &792 + required: &796 - archive_url - assignees_url - blobs_url @@ -119717,7 +119886,7 @@ x-webhooks: - watchers_count - created_at - updated_at - x-github-breaking-changes: &793 + x-github-breaking-changes: &797 - changeset: remove_use_squash_pr_title_as_default patch: properties: @@ -119808,10 +119977,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 required: - action @@ -119887,11 +120056,11 @@ x-webhooks: type: string enum: - created - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 - rule: &760 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 + rule: &764 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -120114,11 +120283,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 - rule: *760 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 + rule: *764 sender: *4 required: - action @@ -120301,11 +120470,11 @@ x-webhooks: - everyone required: - from - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 - rule: *760 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 + rule: *764 sender: *4 required: - action @@ -120389,7 +120558,7 @@ x-webhooks: type: string enum: - completed - check_run: &762 + check_run: &766 title: CheckRun description: A check performed on the code of a given code change type: object @@ -120480,7 +120649,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *761 + deployment: *765 details_url: example: https://example.com type: string @@ -120565,10 +120734,10 @@ x-webhooks: - output - app - pull_requests - installation: *757 - enterprise: *756 - organization: *758 - repository: *759 + installation: *761 + enterprise: *760 + organization: *762 + repository: *763 sender: *4 required: - check_run @@ -120959,11 +121128,11 @@ x-webhooks: type: string enum: - created - check_run: *762 - installation: *757 - enterprise: *756 - organization: *758 - repository: *759 + check_run: *766 + installation: *761 + enterprise: *760 + organization: *762 + repository: *763 sender: *4 required: - check_run @@ -121357,11 +121526,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *762 - installation: *757 - enterprise: *756 - organization: *758 - repository: *759 + check_run: *766 + installation: *761 + enterprise: *760 + organization: *762 + repository: *763 requested_action: description: The action requested by the user. type: object @@ -121764,11 +121933,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *762 - installation: *757 - enterprise: *756 - organization: *758 - repository: *759 + check_run: *766 + installation: *761 + enterprise: *760 + organization: *762 + repository: *763 sender: *4 required: - check_run @@ -122738,10 +122907,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 required: - action @@ -123440,10 +123609,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 required: - action @@ -124136,10 +124305,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 required: - action @@ -124450,20 +124619,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &763 + commit_oid: &767 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *756 - installation: *757 - organization: *758 - ref: &764 + enterprise: *760 + installation: *761 + organization: *762 + ref: &768 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *759 + repository: *763 sender: *4 required: - action @@ -124858,12 +125027,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *763 - enterprise: *756 - installation: *757 - organization: *758 - ref: *764 - repository: *759 + commit_oid: *767 + enterprise: *760 + installation: *761 + organization: *762 + ref: *768 + repository: *763 sender: *4 required: - action @@ -125129,12 +125298,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *763 - enterprise: *756 - installation: *757 - organization: *758 - ref: *764 - repository: *759 + commit_oid: *767 + enterprise: *760 + installation: *761 + organization: *762 + ref: *768 + repository: *763 sender: *4 required: - action @@ -125466,12 +125635,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *763 - enterprise: *756 - installation: *757 - organization: *758 - ref: *764 - repository: *759 + commit_oid: *767 + enterprise: *760 + installation: *761 + organization: *762 + ref: *768 + repository: *763 sender: *4 required: - action @@ -125745,16 +125914,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *760 + installation: *761 + organization: *762 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *759 + repository: *763 sender: *4 required: - action @@ -125991,12 +126160,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *763 - enterprise: *756 - installation: *757 - organization: *758 - ref: *764 - repository: *759 + commit_oid: *767 + enterprise: *760 + installation: *761 + organization: *762 + ref: *768 + repository: *763 sender: *4 required: - action @@ -126307,10 +126476,10 @@ x-webhooks: - dismissed_reason - rule - tool - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 required: - action @@ -126565,10 +126734,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 required: - action @@ -126648,18 +126817,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *756 - installation: *757 + enterprise: *760 + installation: *761 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *758 - pusher_type: &765 + organization: *762 + pusher_type: &769 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &766 + ref: &770 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -126669,7 +126838,7 @@ x-webhooks: enum: - tag - branch - repository: *759 + repository: *763 sender: *4 required: - ref @@ -126752,9 +126921,9 @@ x-webhooks: enum: - created definition: *306 - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *760 + installation: *761 + organization: *762 sender: *4 required: - action @@ -126839,9 +127008,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *760 + installation: *761 + organization: *762 sender: *4 required: - action @@ -126919,9 +127088,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *306 - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *760 + installation: *761 + organization: *762 sender: *4 required: - action @@ -126999,9 +127168,9 @@ x-webhooks: enum: - updated definition: *306 - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *760 + installation: *761 + organization: *762 sender: *4 required: - action @@ -127078,10 +127247,10 @@ x-webhooks: type: string enum: - updated - enterprise: *756 - installation: *757 - repository: *759 - organization: *758 + enterprise: *760 + installation: *761 + repository: *763 + organization: *762 sender: *4 new_property_values: type: array @@ -127166,18 +127335,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *756 - installation: *757 - organization: *758 - pusher_type: *765 - ref: *766 + enterprise: *760 + installation: *761 + organization: *762 + pusher_type: *769 + ref: *770 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *759 + repository: *763 sender: *4 required: - ref @@ -127258,10 +127427,10 @@ x-webhooks: enum: - assignees_changed alert: *512 - installation: *757 - organization: *758 - enterprise: *756 - repository: *759 + installation: *761 + organization: *762 + enterprise: *760 + repository: *763 sender: *4 required: - action @@ -127342,10 +127511,10 @@ x-webhooks: enum: - auto_dismissed alert: *512 - installation: *757 - organization: *758 - enterprise: *756 - repository: *759 + installation: *761 + organization: *762 + enterprise: *760 + repository: *763 sender: *4 required: - action @@ -127427,10 +127596,10 @@ x-webhooks: enum: - auto_reopened alert: *512 - installation: *757 - organization: *758 - enterprise: *756 - repository: *759 + installation: *761 + organization: *762 + enterprise: *760 + repository: *763 sender: *4 required: - action @@ -127512,10 +127681,10 @@ x-webhooks: enum: - created alert: *512 - installation: *757 - organization: *758 - enterprise: *756 - repository: *759 + installation: *761 + organization: *762 + enterprise: *760 + repository: *763 sender: *4 required: - action @@ -127595,10 +127764,10 @@ x-webhooks: enum: - dismissed alert: *512 - installation: *757 - organization: *758 - enterprise: *756 - repository: *759 + installation: *761 + organization: *762 + enterprise: *760 + repository: *763 sender: *4 required: - action @@ -127678,10 +127847,10 @@ x-webhooks: enum: - fixed alert: *512 - installation: *757 - organization: *758 - enterprise: *756 - repository: *759 + installation: *761 + organization: *762 + enterprise: *760 + repository: *763 sender: *4 required: - action @@ -127762,10 +127931,10 @@ x-webhooks: enum: - reintroduced alert: *512 - installation: *757 - organization: *758 - enterprise: *756 - repository: *759 + installation: *761 + organization: *762 + enterprise: *760 + repository: *763 sender: *4 required: - action @@ -127845,10 +128014,10 @@ x-webhooks: enum: - reopened alert: *512 - installation: *757 - organization: *758 - enterprise: *756 - repository: *759 + installation: *761 + organization: *762 + enterprise: *760 + repository: *763 sender: *4 required: - action @@ -127925,9 +128094,9 @@ x-webhooks: type: string enum: - created - enterprise: *756 - installation: *757 - key: &767 + enterprise: *760 + installation: *761 + key: &771 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -127963,8 +128132,8 @@ x-webhooks: - verified - created_at - read_only - organization: *758 - repository: *759 + organization: *762 + repository: *763 sender: *4 required: - action @@ -128041,11 +128210,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *756 - installation: *757 - key: *767 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + key: *771 + organization: *762 + repository: *763 sender: *4 required: - action @@ -128601,12 +128770,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 - workflow: &773 + workflow: &777 title: Workflow type: object nullable: true @@ -129347,15 +129516,15 @@ x-webhooks: description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: *768 - required: *769 + properties: *772 + required: *773 nullable: true pull_requests: type: array - items: *610 - repository: *759 - organization: *758 - installation: *757 + items: *614 + repository: *763 + organization: *762 + installation: *761 sender: *4 responses: '200': @@ -129426,7 +129595,7 @@ x-webhooks: type: string enum: - approved - approver: &770 + approver: &774 type: object properties: avatar_url: @@ -129469,11 +129638,11 @@ x-webhooks: type: string comment: type: string - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 - reviewers: &771 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 + reviewers: &775 type: array items: type: object @@ -129552,7 +129721,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &772 + workflow_job_run: &776 type: object properties: conclusion: @@ -130283,18 +130452,18 @@ x-webhooks: type: string enum: - rejected - approver: *770 + approver: *774 comment: type: string - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 - reviewers: *771 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 + reviewers: *775 sender: *4 since: type: string - workflow_job_run: *772 + workflow_job_run: *776 workflow_job_runs: type: array items: @@ -130998,13 +131167,13 @@ x-webhooks: type: string enum: - requested - enterprise: *756 + enterprise: *760 environment: type: string - installation: *757 - organization: *758 - repository: *759 - requestor: &778 + installation: *761 + organization: *762 + repository: *763 + requestor: &782 title: User type: object nullable: true @@ -132893,12 +133062,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 - workflow: *773 + workflow: *777 workflow_run: title: Deployment Workflow Run type: object @@ -133578,7 +133747,7 @@ x-webhooks: type: string enum: - answered - answer: &776 + answer: &780 type: object properties: author_association: @@ -133735,11 +133904,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *774 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + discussion: *778 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 required: - action @@ -133866,11 +134035,11 @@ x-webhooks: - from required: - category - discussion: *774 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + discussion: *778 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 required: - action @@ -133953,11 +134122,11 @@ x-webhooks: type: string enum: - closed - discussion: *774 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + discussion: *778 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 required: - action @@ -134039,7 +134208,7 @@ x-webhooks: type: string enum: - created - comment: &775 + comment: &779 type: object properties: author_association: @@ -134196,11 +134365,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *774 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + discussion: *778 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 required: - action @@ -134283,12 +134452,12 @@ x-webhooks: type: string enum: - deleted - comment: *775 - discussion: *774 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + comment: *779 + discussion: *778 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 required: - action @@ -134383,12 +134552,12 @@ x-webhooks: - from required: - body - comment: *775 - discussion: *774 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + comment: *779 + discussion: *778 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 required: - action @@ -134472,11 +134641,11 @@ x-webhooks: type: string enum: - created - discussion: *774 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + discussion: *778 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 required: - action @@ -134558,11 +134727,11 @@ x-webhooks: type: string enum: - deleted - discussion: *774 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + discussion: *778 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 required: - action @@ -134662,11 +134831,11 @@ x-webhooks: type: string required: - from - discussion: *774 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + discussion: *778 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 required: - action @@ -134748,10 +134917,10 @@ x-webhooks: type: string enum: - labeled - discussion: *774 - enterprise: *756 - installation: *757 - label: &777 + discussion: *778 + enterprise: *760 + installation: *761 + label: &781 title: Label type: object properties: @@ -134783,8 +134952,8 @@ x-webhooks: - color - default - description - organization: *758 - repository: *759 + organization: *762 + repository: *763 sender: *4 required: - action @@ -134867,11 +135036,11 @@ x-webhooks: type: string enum: - locked - discussion: *774 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + discussion: *778 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 required: - action @@ -134953,11 +135122,11 @@ x-webhooks: type: string enum: - pinned - discussion: *774 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + discussion: *778 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 required: - action @@ -135039,11 +135208,11 @@ x-webhooks: type: string enum: - reopened - discussion: *774 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + discussion: *778 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 required: - action @@ -135128,16 +135297,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *774 - new_repository: *759 + new_discussion: *778 + new_repository: *763 required: - new_discussion - new_repository - discussion: *774 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + discussion: *778 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 required: - action @@ -135220,10 +135389,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *774 - old_answer: *776 - organization: *758 - repository: *759 + discussion: *778 + old_answer: *780 + organization: *762 + repository: *763 sender: *4 required: - action @@ -135305,12 +135474,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *774 - enterprise: *756 - installation: *757 - label: *777 - organization: *758 - repository: *759 + discussion: *778 + enterprise: *760 + installation: *761 + label: *781 + organization: *762 + repository: *763 sender: *4 required: - action @@ -135393,11 +135562,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *774 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + discussion: *778 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 required: - action @@ -135479,11 +135648,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *774 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + discussion: *778 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 required: - action @@ -135556,7 +135725,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *756 + enterprise: *760 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -136216,9 +136385,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *757 - organization: *758 - repository: *759 + installation: *761 + organization: *762 + repository: *763 sender: *4 required: - forkee @@ -136364,9 +136533,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *760 + installation: *761 + organization: *762 pages: description: The pages that were updated. type: array @@ -136403,7 +136572,7 @@ x-webhooks: - action - sha - html_url - repository: *759 + repository: *763 sender: *4 required: - pages @@ -136479,10 +136648,10 @@ x-webhooks: type: string enum: - created - enterprise: *756 + enterprise: *760 installation: *22 - organization: *758 - repositories: &779 + organization: *762 + repositories: &783 description: An array of repository objects that the installation can access. type: array @@ -136508,8 +136677,8 @@ x-webhooks: - name - full_name - private - repository: *759 - requester: *778 + repository: *763 + requester: *782 sender: *4 required: - action @@ -136584,11 +136753,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *756 + enterprise: *760 installation: *22 - organization: *758 - repositories: *779 - repository: *759 + organization: *762 + repositories: *783 + repository: *763 requester: nullable: true sender: *4 @@ -136664,11 +136833,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *756 + enterprise: *760 installation: *22 - organization: *758 - repositories: *779 - repository: *759 + organization: *762 + repositories: *783 + repository: *763 requester: nullable: true sender: *4 @@ -136744,10 +136913,10 @@ x-webhooks: type: string enum: - added - enterprise: *756 + enterprise: *760 installation: *22 - organization: *758 - repositories_added: &780 + organization: *762 + repositories_added: &784 description: An array of repository objects, which were added to the installation. type: array @@ -136793,15 +136962,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *759 - repository_selection: &781 + repository: *763 + repository_selection: &785 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *778 + requester: *782 sender: *4 required: - action @@ -136880,10 +137049,10 @@ x-webhooks: type: string enum: - removed - enterprise: *756 + enterprise: *760 installation: *22 - organization: *758 - repositories_added: *780 + organization: *762 + repositories_added: *784 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -136910,9 +137079,9 @@ x-webhooks: - name - full_name - private - repository: *759 - repository_selection: *781 - requester: *778 + repository: *763 + repository_selection: *785 + requester: *782 sender: *4 required: - action @@ -136991,11 +137160,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *756 + enterprise: *760 installation: *22 - organization: *758 - repositories: *779 - repository: *759 + organization: *762 + repositories: *783 + repository: *763 requester: nullable: true sender: *4 @@ -137173,10 +137342,10 @@ x-webhooks: type: string required: - from - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 target_type: type: string @@ -137255,11 +137424,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *756 + enterprise: *760 installation: *22 - organization: *758 - repositories: *779 - repository: *759 + organization: *762 + repositories: *783 + repository: *763 requester: nullable: true sender: *4 @@ -137433,8 +137602,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *587 - required: *588 + properties: *588 + required: *589 nullable: true user: title: User @@ -137519,8 +137688,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *756 - installation: *757 + enterprise: *760 + installation: *761 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -138309,8 +138478,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *692 - issue_dependencies_summary: *693 + sub_issues_summary: *696 + issue_dependencies_summary: *697 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138659,8 +138828,8 @@ x-webhooks: - state - locked - assignee - organization: *758 - repository: *759 + organization: *762 + repository: *763 sender: *4 required: - action @@ -138740,7 +138909,7 @@ x-webhooks: type: string enum: - deleted - comment: &782 + comment: &786 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -138897,8 +139066,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *587 - required: *588 + properties: *588 + required: *589 nullable: true required: - url @@ -138913,8 +139082,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *756 - installation: *757 + enterprise: *760 + installation: *761 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -139699,8 +139868,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *692 - issue_dependencies_summary: *693 + sub_issues_summary: *696 + issue_dependencies_summary: *697 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140051,8 +140220,8 @@ x-webhooks: - state - locked - assignee - organization: *758 - repository: *759 + organization: *762 + repository: *763 sender: *4 required: - action @@ -140132,7 +140301,7 @@ x-webhooks: type: string enum: - edited - changes: &812 + changes: &816 description: The changes to the comment. type: object properties: @@ -140144,9 +140313,9 @@ x-webhooks: type: string required: - from - comment: *782 - enterprise: *756 - installation: *757 + comment: *786 + enterprise: *760 + installation: *761 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -140934,8 +141103,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *692 - issue_dependencies_summary: *693 + sub_issues_summary: *696 + issue_dependencies_summary: *697 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141284,8 +141453,8 @@ x-webhooks: - state - locked - assignee - organization: *758 - repository: *759 + organization: *762 + repository: *763 sender: *4 required: - action @@ -141366,9 +141535,9 @@ x-webhooks: type: string enum: - pinned - comment: *782 - enterprise: *756 - installation: *757 + comment: *786 + enterprise: *760 + installation: *761 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -142158,8 +142327,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *692 - issue_dependencies_summary: *693 + sub_issues_summary: *696 + issue_dependencies_summary: *697 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142510,8 +142679,8 @@ x-webhooks: - state - locked - assignee - organization: *758 - repository: *759 + organization: *762 + repository: *763 sender: *4 required: - action @@ -142591,9 +142760,9 @@ x-webhooks: type: string enum: - unpinned - comment: *782 - enterprise: *756 - installation: *757 + comment: *786 + enterprise: *760 + installation: *761 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -143383,8 +143552,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *692 - issue_dependencies_summary: *693 + sub_issues_summary: *696 + issue_dependencies_summary: *697 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143735,8 +143904,8 @@ x-webhooks: - state - locked - assignee - organization: *758 - repository: *759 + organization: *762 + repository: *763 sender: *4 required: - action @@ -143825,9 +143994,9 @@ x-webhooks: type: number blocking_issue: *88 blocking_issue_repo: *82 - installation: *757 - organization: *758 - repository: *759 + installation: *761 + organization: *762 + repository: *763 sender: *4 required: - action @@ -143916,9 +144085,9 @@ x-webhooks: type: number blocking_issue: *88 blocking_issue_repo: *82 - installation: *757 - organization: *758 - repository: *759 + installation: *761 + organization: *762 + repository: *763 sender: *4 required: - action @@ -144006,9 +144175,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *88 - installation: *757 - organization: *758 - repository: *759 + installation: *761 + organization: *762 + repository: *763 sender: *4 required: - action @@ -144097,9 +144266,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *88 - installation: *757 - organization: *758 - repository: *759 + installation: *761 + organization: *762 + repository: *763 sender: *4 required: - action @@ -144179,10 +144348,10 @@ x-webhooks: type: string enum: - assigned - assignee: *778 - enterprise: *756 - installation: *757 - issue: &783 + assignee: *782 + enterprise: *760 + installation: *761 + issue: &787 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -144974,11 +145143,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *692 - issue_dependencies_summary: *693 + sub_issues_summary: *696 + issue_dependencies_summary: *697 issue_field_values: type: array - items: *571 + items: *572 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145095,8 +145264,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *758 - repository: *759 + organization: *762 + repository: *763 sender: *4 required: - action @@ -145176,8 +145345,8 @@ x-webhooks: type: string enum: - closed - enterprise: *756 - installation: *757 + enterprise: *760 + installation: *761 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -145974,11 +146143,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *692 - issue_dependencies_summary: *693 + sub_issues_summary: *696 + issue_dependencies_summary: *697 issue_field_values: type: array - items: *571 + items: *572 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146230,8 +146399,8 @@ x-webhooks: required: - state - closed_at - organization: *758 - repository: *759 + organization: *762 + repository: *763 sender: *4 required: - action @@ -146310,8 +146479,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *756 - installation: *757 + enterprise: *760 + installation: *761 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -147099,11 +147268,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *692 - issue_dependencies_summary: *693 + sub_issues_summary: *696 + issue_dependencies_summary: *697 issue_field_values: type: array - items: *571 + items: *572 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147219,8 +147388,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *758 - repository: *759 + organization: *762 + repository: *763 sender: *4 required: - action @@ -147299,8 +147468,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *756 - installation: *757 + enterprise: *760 + installation: *761 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -148110,11 +148279,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *692 - issue_dependencies_summary: *693 + sub_issues_summary: *696 + issue_dependencies_summary: *697 issue_field_values: type: array - items: *571 + items: *572 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148209,7 +148378,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &784 + milestone: &788 title: Milestone description: A collection of related issues and pull requests. type: object @@ -148347,8 +148516,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *758 - repository: *759 + organization: *762 + repository: *763 sender: *4 required: - action @@ -148447,8 +148616,8 @@ x-webhooks: type: string required: - from - enterprise: *756 - installation: *757 + enterprise: *760 + installation: *761 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -149240,11 +149409,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *692 - issue_dependencies_summary: *693 + sub_issues_summary: *696 + issue_dependencies_summary: *697 issue_field_values: type: array - items: *571 + items: *572 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149361,9 +149530,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *777 - organization: *758 - repository: *759 + label: *781 + organization: *762 + repository: *763 sender: *4 required: - action @@ -149443,9 +149612,9 @@ x-webhooks: type: string enum: - field_added - enterprise: *756 - installation: *757 - issue: *783 + enterprise: *760 + installation: *761 + issue: *787 issue_field: type: object description: The issue field whose value was set or updated on the @@ -149599,8 +149768,8 @@ x-webhooks: - id required: - from - organization: *758 - repository: *759 + organization: *762 + repository: *763 sender: *4 required: - action @@ -149680,9 +149849,9 @@ x-webhooks: type: string enum: - field_removed - enterprise: *756 - installation: *757 - issue: *783 + enterprise: *760 + installation: *761 + issue: *787 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -149763,8 +149932,8 @@ x-webhooks: nullable: true required: - id - organization: *758 - repository: *759 + organization: *762 + repository: *763 sender: *4 required: - action @@ -149844,8 +150013,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *756 - installation: *757 + enterprise: *760 + installation: *761 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -150636,11 +150805,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *692 - issue_dependencies_summary: *693 + sub_issues_summary: *696 + issue_dependencies_summary: *697 issue_field_values: type: array - items: *571 + items: *572 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150757,9 +150926,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *777 - organization: *758 - repository: *759 + label: *781 + organization: *762 + repository: *763 sender: *4 required: - action @@ -150839,8 +151008,8 @@ x-webhooks: type: string enum: - locked - enterprise: *756 - installation: *757 + enterprise: *760 + installation: *761 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -151655,11 +151824,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *692 - issue_dependencies_summary: *693 + sub_issues_summary: *696 + issue_dependencies_summary: *697 issue_field_values: type: array - items: *571 + items: *572 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151753,8 +151922,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *758 - repository: *759 + organization: *762 + repository: *763 sender: *4 required: - action @@ -151833,8 +152002,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *756 - installation: *757 + enterprise: *760 + installation: *761 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -152643,11 +152812,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *692 - issue_dependencies_summary: *693 + sub_issues_summary: *696 + issue_dependencies_summary: *697 issue_field_values: type: array - items: *571 + items: *572 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152741,9 +152910,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *784 - organization: *758 - repository: *759 + milestone: *788 + organization: *762 + repository: *763 sender: *4 required: - action @@ -153606,11 +153775,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *692 - issue_dependencies_summary: *693 + sub_issues_summary: *696 + issue_dependencies_summary: *697 issue_field_values: type: array - items: *571 + items: *572 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154191,8 +154360,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *756 - installation: *757 + enterprise: *760 + installation: *761 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -154976,11 +155145,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *692 - issue_dependencies_summary: *693 + sub_issues_summary: *696 + issue_dependencies_summary: *697 issue_field_values: type: array - items: *571 + items: *572 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155104,8 +155273,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *758 - repository: *759 + organization: *762 + repository: *763 sender: *4 required: - action @@ -155185,9 +155354,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *756 - installation: *757 - issue: &785 + enterprise: *760 + installation: *761 + issue: &789 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -155973,11 +156142,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *692 - issue_dependencies_summary: *693 + sub_issues_summary: *696 + issue_dependencies_summary: *697 issue_field_values: type: array - items: *571 + items: *572 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156093,8 +156262,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *758 - repository: *759 + organization: *762 + repository: *763 sender: *4 required: - action @@ -156173,8 +156342,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *756 - installation: *757 + enterprise: *760 + installation: *761 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -156987,11 +157156,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *692 - issue_dependencies_summary: *693 + sub_issues_summary: *696 + issue_dependencies_summary: *697 issue_field_values: type: array - items: *571 + items: *572 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157086,8 +157255,8 @@ x-webhooks: user_view_type: type: string type: *258 - organization: *758 - repository: *759 + organization: *762 + repository: *763 sender: *4 required: - action @@ -157956,11 +158125,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *692 - issue_dependencies_summary: *693 + sub_issues_summary: *696 + issue_dependencies_summary: *697 issue_field_values: type: array - items: *571 + items: *572 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158555,11 +158724,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *756 - installation: *757 - issue: *785 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + issue: *789 + organization: *762 + repository: *763 sender: *4 required: - action @@ -158639,12 +158808,12 @@ x-webhooks: type: string enum: - typed - enterprise: *756 - installation: *757 - issue: *783 + enterprise: *760 + installation: *761 + issue: *787 type: *258 - organization: *758 - repository: *759 + organization: *762 + repository: *763 sender: *4 required: - action @@ -158725,7 +158894,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &815 + assignee: &819 title: User type: object nullable: true @@ -158795,11 +158964,11 @@ x-webhooks: required: - login - id - enterprise: *756 - installation: *757 - issue: *783 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + issue: *787 + organization: *762 + repository: *763 sender: *4 required: - action @@ -158878,12 +159047,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *756 - installation: *757 - issue: *783 - label: *777 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + issue: *787 + label: *781 + organization: *762 + repository: *763 sender: *4 required: - action @@ -158963,8 +159132,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *756 - installation: *757 + enterprise: *760 + installation: *761 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -159777,11 +159946,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *692 - issue_dependencies_summary: *693 + sub_issues_summary: *696 + issue_dependencies_summary: *697 issue_field_values: type: array - items: *571 + items: *572 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159875,8 +160044,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *758 - repository: *759 + organization: *762 + repository: *763 sender: *4 required: - action @@ -159956,11 +160125,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *756 - installation: *757 - issue: *785 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + issue: *789 + organization: *762 + repository: *763 sender: *4 required: - action @@ -160039,12 +160208,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *756 - installation: *757 - issue: *783 + enterprise: *760 + installation: *761 + issue: *787 type: *258 - organization: *758 - repository: *759 + organization: *762 + repository: *763 sender: *4 required: - action @@ -160124,11 +160293,11 @@ x-webhooks: type: string enum: - created - enterprise: *756 - installation: *757 - label: *777 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + label: *781 + organization: *762 + repository: *763 sender: *4 required: - action @@ -160206,11 +160375,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *756 - installation: *757 - label: *777 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + label: *781 + organization: *762 + repository: *763 sender: *4 required: - action @@ -160320,11 +160489,11 @@ x-webhooks: type: string required: - from - enterprise: *756 - installation: *757 - label: *777 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + label: *781 + organization: *762 + repository: *763 sender: *4 required: - action @@ -160406,9 +160575,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *756 - installation: *757 - marketplace_purchase: &786 + enterprise: *760 + installation: *761 + marketplace_purchase: &790 title: Marketplace Purchase type: object required: @@ -160491,8 +160660,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *758 - previous_marketplace_purchase: &787 + organization: *762 + previous_marketplace_purchase: &791 title: Marketplace Purchase type: object properties: @@ -160572,7 +160741,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *759 + repository: *763 sender: *4 required: - action @@ -160652,10 +160821,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *756 - installation: *757 - marketplace_purchase: *786 - organization: *758 + enterprise: *760 + installation: *761 + marketplace_purchase: *790 + organization: *762 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -160738,7 +160907,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *759 + repository: *763 sender: *4 required: - action @@ -160820,10 +160989,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *756 - installation: *757 - marketplace_purchase: *786 - organization: *758 + enterprise: *760 + installation: *761 + marketplace_purchase: *790 + organization: *762 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -160905,7 +161074,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *759 + repository: *763 sender: *4 required: - action @@ -160986,8 +161155,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *756 - installation: *757 + enterprise: *760 + installation: *761 marketplace_purchase: title: Marketplace Purchase type: object @@ -161069,9 +161238,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *758 - previous_marketplace_purchase: *787 - repository: *759 + organization: *762 + previous_marketplace_purchase: *791 + repository: *763 sender: *4 required: - action @@ -161151,12 +161320,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *756 - installation: *757 - marketplace_purchase: *786 - organization: *758 - previous_marketplace_purchase: *787 - repository: *759 + enterprise: *760 + installation: *761 + marketplace_purchase: *790 + organization: *762 + previous_marketplace_purchase: *791 + repository: *763 sender: *4 required: - action @@ -161258,11 +161427,11 @@ x-webhooks: type: string required: - to - enterprise: *756 - installation: *757 - member: *778 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + member: *782 + organization: *762 + repository: *763 sender: *4 required: - action @@ -161362,11 +161531,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *756 - installation: *757 - member: *778 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + member: *782 + organization: *762 + repository: *763 sender: *4 required: - action @@ -161445,11 +161614,11 @@ x-webhooks: type: string enum: - removed - enterprise: *756 - installation: *757 - member: *778 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + member: *782 + organization: *762 + repository: *763 sender: *4 required: - action @@ -161527,11 +161696,11 @@ x-webhooks: type: string enum: - added - enterprise: *756 - installation: *757 - member: *778 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + member: *782 + organization: *762 + repository: *763 scope: description: The scope of the membership. Currently, can only be `team`. @@ -161607,7 +161776,7 @@ x-webhooks: required: - login - id - team: &788 + team: &792 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -161830,11 +161999,11 @@ x-webhooks: type: string enum: - removed - enterprise: *756 - installation: *757 - member: *778 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + member: *782 + organization: *762 + repository: *763 scope: description: The scope of the membership. Currently, can only be `team`. @@ -161911,7 +162080,7 @@ x-webhooks: required: - login - id - team: *788 + team: *792 required: - action - scope @@ -161993,8 +162162,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *757 - merge_group: &790 + installation: *761 + merge_group: &794 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -162013,15 +162182,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *789 + head_commit: *793 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *758 - repository: *759 + organization: *762 + repository: *763 sender: *4 required: - action @@ -162107,10 +162276,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *757 - merge_group: *790 - organization: *758 - repository: *759 + installation: *761 + merge_group: *794 + organization: *762 + repository: *763 sender: *4 required: - action @@ -162183,7 +162352,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *756 + enterprise: *760 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -162292,17 +162461,17 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *757 - organization: *758 + installation: *761 + organization: *762 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *791 - required: *792 - x-github-breaking-changes: *793 + properties: *795 + required: *796 + x-github-breaking-changes: *797 nullable: true sender: *4 required: @@ -162383,11 +162552,11 @@ x-webhooks: type: string enum: - closed - enterprise: *756 - installation: *757 - milestone: *784 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + milestone: *788 + organization: *762 + repository: *763 sender: *4 required: - action @@ -162466,9 +162635,9 @@ x-webhooks: type: string enum: - created - enterprise: *756 - installation: *757 - milestone: &794 + enterprise: *760 + installation: *761 + milestone: &798 title: Milestone description: A collection of related issues and pull requests. type: object @@ -162605,8 +162774,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *758 - repository: *759 + organization: *762 + repository: *763 sender: *4 required: - action @@ -162685,11 +162854,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *756 - installation: *757 - milestone: *784 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + milestone: *788 + organization: *762 + repository: *763 sender: *4 required: - action @@ -162799,11 +162968,11 @@ x-webhooks: type: string required: - from - enterprise: *756 - installation: *757 - milestone: *784 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + milestone: *788 + organization: *762 + repository: *763 sender: *4 required: - action @@ -162883,11 +163052,11 @@ x-webhooks: type: string enum: - opened - enterprise: *756 - installation: *757 - milestone: *794 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + milestone: *798 + organization: *762 + repository: *763 sender: *4 required: - action @@ -162966,11 +163135,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *778 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + blocked_user: *782 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 required: - action @@ -163049,11 +163218,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *778 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + blocked_user: *782 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 required: - action @@ -163132,9 +163301,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *756 - installation: *757 - membership: &795 + enterprise: *760 + installation: *761 + membership: &799 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -163241,8 +163410,8 @@ x-webhooks: - role - organization_url - user - organization: *758 - repository: *759 + organization: *762 + repository: *763 sender: *4 required: - action @@ -163320,11 +163489,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *756 - installation: *757 - membership: *795 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + membership: *799 + organization: *762 + repository: *763 sender: *4 required: - action @@ -163403,8 +163572,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *756 - installation: *757 + enterprise: *760 + installation: *761 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -163520,10 +163689,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *758 - repository: *759 + organization: *762 + repository: *763 sender: *4 - user: *778 + user: *782 required: - action - invitation @@ -163601,11 +163770,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *756 - installation: *757 - membership: *795 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + membership: *799 + organization: *762 + repository: *763 sender: *4 required: - action @@ -163692,11 +163861,11 @@ x-webhooks: properties: from: type: string - enterprise: *756 - installation: *757 - membership: *795 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + membership: *799 + organization: *762 + repository: *763 sender: *4 required: - action @@ -163773,9 +163942,9 @@ x-webhooks: type: string enum: - published - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *760 + installation: *761 + organization: *762 package: description: Information about the package. type: object @@ -164274,7 +164443,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &796 + items: &800 title: Ruby Gems metadata type: object properties: @@ -164369,7 +164538,7 @@ x-webhooks: - owner - package_version - registry - repository: *759 + repository: *763 sender: *4 required: - action @@ -164445,9 +164614,9 @@ x-webhooks: type: string enum: - updated - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *760 + installation: *761 + organization: *762 package: description: Information about the package. type: object @@ -164800,7 +164969,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *796 + items: *800 source_url: type: string format: uri @@ -164870,7 +165039,7 @@ x-webhooks: - owner - package_version - registry - repository: *759 + repository: *763 sender: *4 required: - action @@ -165046,12 +165215,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *756 + enterprise: *760 id: type: integer - installation: *757 - organization: *758 - repository: *759 + installation: *761 + organization: *762 + repository: *763 sender: *4 required: - id @@ -165128,7 +165297,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &797 + personal_access_token_request: &801 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -165274,10 +165443,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *756 - organization: *758 + enterprise: *760 + organization: *762 sender: *4 - installation: *757 + installation: *761 required: - action - personal_access_token_request @@ -165354,11 +165523,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *797 - enterprise: *756 - organization: *758 + personal_access_token_request: *801 + enterprise: *760 + organization: *762 sender: *4 - installation: *757 + installation: *761 required: - action - personal_access_token_request @@ -165434,11 +165603,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *797 - enterprise: *756 - organization: *758 + personal_access_token_request: *801 + enterprise: *760 + organization: *762 sender: *4 - installation: *757 + installation: *761 required: - action - personal_access_token_request @@ -165513,11 +165682,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *797 - organization: *758 - enterprise: *756 + personal_access_token_request: *801 + organization: *762 + enterprise: *760 sender: *4 - installation: *757 + installation: *761 required: - action - personal_access_token_request @@ -165622,7 +165791,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *798 + last_response: *802 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -165654,8 +165823,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *758 - repository: *759 + organization: *762 + repository: *763 sender: *4 zen: description: Random string of GitHub zen. @@ -165900,10 +166069,10 @@ x-webhooks: - from required: - note - enterprise: *756 - installation: *757 - organization: *758 - project_card: &799 + enterprise: *760 + installation: *761 + organization: *762 + project_card: &803 title: Project Card type: object properties: @@ -166022,7 +166191,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *759 + repository: *763 sender: *4 required: - action @@ -166103,11 +166272,11 @@ x-webhooks: type: string enum: - created - enterprise: *756 - installation: *757 - organization: *758 - project_card: *799 - repository: *759 + enterprise: *760 + installation: *761 + organization: *762 + project_card: *803 + repository: *763 sender: *4 required: - action @@ -166187,9 +166356,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *760 + installation: *761 + organization: *762 project_card: title: Project Card type: object @@ -166317,9 +166486,9 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *791 - required: *792 - x-github-breaking-changes: *793 + properties: *795 + required: *796 + x-github-breaking-changes: *797 nullable: true sender: *4 required: @@ -166413,11 +166582,11 @@ x-webhooks: - from required: - note - enterprise: *756 - installation: *757 - organization: *758 - project_card: *799 - repository: *759 + enterprise: *760 + installation: *761 + organization: *762 + project_card: *803 + repository: *763 sender: *4 required: - action @@ -166511,9 +166680,9 @@ x-webhooks: - from required: - column_id - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *760 + installation: *761 + organization: *762 project_card: allOf: - title: Project Card @@ -166703,7 +166872,7 @@ x-webhooks: type: string required: - after_id - repository: *759 + repository: *763 sender: *4 required: - action @@ -166783,10 +166952,10 @@ x-webhooks: type: string enum: - closed - enterprise: *756 - installation: *757 - organization: *758 - project: &801 + enterprise: *760 + installation: *761 + organization: *762 + project: &805 title: Project type: object properties: @@ -166910,7 +167079,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *759 + repository: *763 sender: *4 required: - action @@ -166990,10 +167159,10 @@ x-webhooks: type: string enum: - created - enterprise: *756 - installation: *757 - organization: *758 - project_column: &800 + enterprise: *760 + installation: *761 + organization: *762 + project_column: &804 title: Project Column type: object properties: @@ -167032,7 +167201,7 @@ x-webhooks: - name - created_at - updated_at - repository: *759 + repository: *763 sender: *4 required: - action @@ -167111,19 +167280,19 @@ x-webhooks: type: string enum: - deleted - enterprise: *756 - installation: *757 - organization: *758 - project_column: *800 + enterprise: *760 + installation: *761 + organization: *762 + project_column: *804 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *791 - required: *792 - x-github-breaking-changes: *793 + properties: *795 + required: *796 + x-github-breaking-changes: *797 nullable: true sender: *4 required: @@ -167213,11 +167382,11 @@ x-webhooks: type: string required: - from - enterprise: *756 - installation: *757 - organization: *758 - project_column: *800 - repository: *759 + enterprise: *760 + installation: *761 + organization: *762 + project_column: *804 + repository: *763 sender: *4 required: - action @@ -167297,11 +167466,11 @@ x-webhooks: type: string enum: - moved - enterprise: *756 - installation: *757 - organization: *758 - project_column: *800 - repository: *759 + enterprise: *760 + installation: *761 + organization: *762 + project_column: *804 + repository: *763 sender: *4 required: - action @@ -167381,11 +167550,11 @@ x-webhooks: type: string enum: - created - enterprise: *756 - installation: *757 - organization: *758 - project: *801 - repository: *759 + enterprise: *760 + installation: *761 + organization: *762 + project: *805 + repository: *763 sender: *4 required: - action @@ -167465,19 +167634,19 @@ x-webhooks: type: string enum: - deleted - enterprise: *756 - installation: *757 - organization: *758 - project: *801 + enterprise: *760 + installation: *761 + organization: *762 + project: *805 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *791 - required: *792 - x-github-breaking-changes: *793 + properties: *795 + required: *796 + x-github-breaking-changes: *797 nullable: true sender: *4 required: @@ -167579,11 +167748,11 @@ x-webhooks: type: string required: - from - enterprise: *756 - installation: *757 - organization: *758 - project: *801 - repository: *759 + enterprise: *760 + installation: *761 + organization: *762 + project: *805 + repository: *763 sender: *4 required: - action @@ -167662,11 +167831,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *756 - installation: *757 - organization: *758 - project: *801 - repository: *759 + enterprise: *760 + installation: *761 + organization: *762 + project: *805 + repository: *763 sender: *4 required: - action @@ -167747,8 +167916,8 @@ x-webhooks: type: string enum: - closed - installation: *757 - organization: *758 + installation: *761 + organization: *762 projects_v2: *292 sender: *4 required: @@ -167830,8 +167999,8 @@ x-webhooks: type: string enum: - created - installation: *757 - organization: *758 + installation: *761 + organization: *762 projects_v2: *292 sender: *4 required: @@ -167913,8 +168082,8 @@ x-webhooks: type: string enum: - deleted - installation: *757 - organization: *758 + installation: *761 + organization: *762 projects_v2: *292 sender: *4 required: @@ -168032,8 +168201,8 @@ x-webhooks: type: string to: type: string - installation: *757 - organization: *758 + installation: *761 + organization: *762 projects_v2: *292 sender: *4 required: @@ -168117,7 +168286,7 @@ x-webhooks: type: string enum: - archived - changes: &805 + changes: &809 type: object properties: archived_at: @@ -168131,9 +168300,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *757 - organization: *758 - projects_v2_item: &802 + installation: *761 + organization: *762 + projects_v2_item: &806 title: Projects v2 Item description: An item belonging to a project type: object @@ -168268,9 +168437,9 @@ x-webhooks: nullable: true to: type: string - installation: *757 - organization: *758 - projects_v2_item: *802 + installation: *761 + organization: *762 + projects_v2_item: *806 sender: *4 required: - action @@ -168352,9 +168521,9 @@ x-webhooks: type: string enum: - created - installation: *757 - organization: *758 - projects_v2_item: *802 + installation: *761 + organization: *762 + projects_v2_item: *806 sender: *4 required: - action @@ -168435,9 +168604,9 @@ x-webhooks: type: string enum: - deleted - installation: *757 - organization: *758 - projects_v2_item: *802 + installation: *761 + organization: *762 + projects_v2_item: *806 sender: *4 required: - action @@ -168543,7 +168712,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &803 + - &807 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -168565,7 +168734,7 @@ x-webhooks: required: - id - name - - &804 + - &808 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -168599,8 +168768,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *803 - - *804 + - *807 + - *808 required: - field_value - type: object @@ -168616,9 +168785,9 @@ x-webhooks: nullable: true required: - body - installation: *757 - organization: *758 - projects_v2_item: *802 + installation: *761 + organization: *762 + projects_v2_item: *806 sender: *4 required: - action @@ -168713,9 +168882,9 @@ x-webhooks: to: type: string nullable: true - installation: *757 - organization: *758 - projects_v2_item: *802 + installation: *761 + organization: *762 + projects_v2_item: *806 sender: *4 required: - action @@ -168798,10 +168967,10 @@ x-webhooks: type: string enum: - restored - changes: *805 - installation: *757 - organization: *758 - projects_v2_item: *802 + changes: *809 + installation: *761 + organization: *762 + projects_v2_item: *806 sender: *4 required: - action @@ -168883,8 +169052,8 @@ x-webhooks: type: string enum: - reopened - installation: *757 - organization: *758 + installation: *761 + organization: *762 projects_v2: *292 sender: *4 required: @@ -168966,14 +169135,14 @@ x-webhooks: type: string enum: - created - installation: *757 - organization: *758 - projects_v2_status_update: &808 + installation: *761 + organization: *762 + projects_v2_status_update: &812 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *806 - required: *807 + properties: *810 + required: *811 sender: *4 required: - action @@ -169054,9 +169223,9 @@ x-webhooks: type: string enum: - deleted - installation: *757 - organization: *758 - projects_v2_status_update: *808 + installation: *761 + organization: *762 + projects_v2_status_update: *812 sender: *4 required: - action @@ -169192,9 +169361,9 @@ x-webhooks: type: string format: date nullable: true - installation: *757 - organization: *758 - projects_v2_status_update: *808 + installation: *761 + organization: *762 + projects_v2_status_update: *812 sender: *4 required: - action @@ -169265,10 +169434,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 required: - repository @@ -169345,13 +169514,13 @@ x-webhooks: type: string enum: - assigned - assignee: *778 - enterprise: *756 - installation: *757 - number: &809 + assignee: *782 + enterprise: *760 + installation: *761 + number: &813 description: The pull request number. type: integer - organization: *758 + organization: *762 pull_request: title: Pull Request type: object @@ -171656,7 +171825,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *759 + repository: *763 sender: *4 required: - action @@ -171753,11 +171922,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *756 - installation: *757 + enterprise: *760 + installation: *761 number: type: integer - organization: *758 + organization: *762 pull_request: title: Pull Request type: object @@ -174057,7 +174226,7 @@ x-webhooks: - draft reason: type: string - repository: *759 + repository: *763 sender: *4 required: - action @@ -174154,11 +174323,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *756 - installation: *757 + enterprise: *760 + installation: *761 number: type: integer - organization: *758 + organization: *762 pull_request: title: Pull Request type: object @@ -176458,7 +176627,7 @@ x-webhooks: - draft reason: type: string - repository: *759 + repository: *763 sender: *4 required: - action @@ -176555,13 +176724,13 @@ x-webhooks: type: string enum: - closed - enterprise: *756 - installation: *757 - number: *809 - organization: *758 - pull_request: &810 + enterprise: *760 + installation: *761 + number: *813 + organization: *762 + pull_request: &814 allOf: - - *610 + - *614 - type: object properties: allow_auto_merge: @@ -176623,7 +176792,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *759 + repository: *763 sender: *4 required: - action @@ -176704,12 +176873,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *756 - installation: *757 - number: *809 - organization: *758 - pull_request: *810 - repository: *759 + enterprise: *760 + installation: *761 + number: *813 + organization: *762 + pull_request: *814 + repository: *763 sender: *4 required: - action @@ -176789,11 +176958,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *756 - milestone: *594 - number: *809 - organization: *758 - pull_request: &811 + enterprise: *760 + milestone: *598 + number: *813 + organization: *762 + pull_request: &815 title: Pull Request type: object properties: @@ -179120,7 +179289,7 @@ x-webhooks: - active_lock_reason - draft version: '2026-03-10' - repository: *759 + repository: *763 sender: *4 required: - action @@ -179199,11 +179368,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *756 - installation: *757 + enterprise: *760 + installation: *761 number: type: integer - organization: *758 + organization: *762 pull_request: title: Pull Request type: object @@ -181507,7 +181676,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *759 + repository: *763 sender: *4 required: - action @@ -181639,12 +181808,12 @@ x-webhooks: type: string required: - from - enterprise: *756 - installation: *757 - number: *809 - organization: *758 - pull_request: *810 - repository: *759 + enterprise: *760 + installation: *761 + number: *813 + organization: *762 + pull_request: *814 + repository: *763 sender: *4 required: - action @@ -181724,11 +181893,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *756 - installation: *757 + enterprise: *760 + installation: *761 number: type: integer - organization: *758 + organization: *762 pull_request: title: Pull Request type: object @@ -184017,7 +184186,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *759 + repository: *763 sender: *4 required: - action @@ -184105,11 +184274,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *756 - installation: *757 - label: *777 - number: *809 - organization: *758 + enterprise: *760 + installation: *761 + label: *781 + number: *813 + organization: *762 pull_request: title: Pull Request type: object @@ -186413,7 +186582,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *759 + repository: *763 sender: *4 required: - action @@ -186509,10 +186678,10 @@ x-webhooks: type: string enum: - locked - enterprise: *756 - installation: *757 - number: *809 - organization: *758 + enterprise: *760 + installation: *761 + number: *813 + organization: *762 pull_request: title: Pull Request type: object @@ -188814,7 +188983,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *759 + repository: *763 sender: *4 required: - action @@ -188909,12 +189078,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *756 - milestone: *594 - number: *809 - organization: *758 - pull_request: *811 - repository: *759 + enterprise: *760 + milestone: *598 + number: *813 + organization: *762 + pull_request: *815 + repository: *763 sender: *4 required: - action @@ -188993,12 +189162,12 @@ x-webhooks: type: string enum: - opened - enterprise: *756 - installation: *757 - number: *809 - organization: *758 - pull_request: *810 - repository: *759 + enterprise: *760 + installation: *761 + number: *813 + organization: *762 + pull_request: *814 + repository: *763 sender: *4 required: - action @@ -189079,12 +189248,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *756 - installation: *757 - number: *809 - organization: *758 - pull_request: *810 - repository: *759 + enterprise: *760 + installation: *761 + number: *813 + organization: *762 + pull_request: *814 + repository: *763 sender: *4 required: - action @@ -189164,12 +189333,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *756 - installation: *757 - number: *809 - organization: *758 - pull_request: *810 - repository: *759 + enterprise: *760 + installation: *761 + number: *813 + organization: *762 + pull_request: *814 + repository: *763 sender: *4 required: - action @@ -189535,9 +189704,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *760 + installation: *761 + organization: *762 pull_request: type: object properties: @@ -191729,7 +191898,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *759 + repository: *763 sender: *4 required: - action @@ -191824,7 +191993,7 @@ x-webhooks: type: string enum: - deleted - comment: &813 + comment: &817 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -192109,9 +192278,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *760 + installation: *761 + organization: *762 pull_request: type: object properties: @@ -194291,7 +194460,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *759 + repository: *763 sender: *4 required: - action @@ -194386,11 +194555,11 @@ x-webhooks: type: string enum: - edited - changes: *812 - comment: *813 - enterprise: *756 - installation: *757 - organization: *758 + changes: *816 + comment: *817 + enterprise: *760 + installation: *761 + organization: *762 pull_request: type: object properties: @@ -196573,7 +196742,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *759 + repository: *763 sender: *4 required: - action @@ -196669,9 +196838,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *760 + installation: *761 + organization: *762 pull_request: title: Simple Pull Request type: object @@ -198866,7 +199035,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *759 + repository: *763 review: description: The review that was affected. type: object @@ -199128,9 +199297,9 @@ x-webhooks: type: string required: - from - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *760 + installation: *761 + organization: *762 pull_request: title: Simple Pull Request type: object @@ -201184,8 +201353,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *759 - review: &814 + repository: *763 + review: &818 description: The review that was affected. type: object properties: @@ -201426,12 +201595,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *756 - installation: *757 + enterprise: *760 + installation: *761 number: description: The pull request number. type: integer - organization: *758 + organization: *762 pull_request: title: Pull Request type: object @@ -203736,7 +203905,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *759 + repository: *763 requested_reviewer: title: User type: object @@ -203820,12 +203989,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *756 - installation: *757 + enterprise: *760 + installation: *761 number: description: The pull request number. type: integer - organization: *758 + organization: *762 pull_request: title: Pull Request type: object @@ -206137,7 +206306,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *759 + repository: *763 requested_team: title: Team description: Groups of organization members that gives permissions @@ -206352,12 +206521,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *756 - installation: *757 + enterprise: *760 + installation: *761 number: description: The pull request number. type: integer - organization: *758 + organization: *762 pull_request: title: Pull Request type: object @@ -208664,7 +208833,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *759 + repository: *763 requested_reviewer: title: User type: object @@ -208749,12 +208918,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *756 - installation: *757 + enterprise: *760 + installation: *761 number: description: The pull request number. type: integer - organization: *758 + organization: *762 pull_request: title: Pull Request type: object @@ -211052,7 +211221,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *759 + repository: *763 requested_team: title: Team description: Groups of organization members that gives permissions @@ -211256,9 +211425,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *760 + installation: *761 + organization: *762 pull_request: title: Simple Pull Request type: object @@ -213455,8 +213624,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *759 - review: *814 + repository: *763 + review: *818 sender: *4 required: - action @@ -213551,9 +213720,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *760 + installation: *761 + organization: *762 pull_request: title: Simple Pull Request type: object @@ -215645,7 +215814,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *759 + repository: *763 sender: *4 thread: type: object @@ -216040,9 +216209,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *760 + installation: *761 + organization: *762 pull_request: title: Simple Pull Request type: object @@ -218120,7 +218289,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *759 + repository: *763 sender: *4 thread: type: object @@ -218518,10 +218687,10 @@ x-webhooks: type: string before: type: string - enterprise: *756 - installation: *757 - number: *809 - organization: *758 + enterprise: *760 + installation: *761 + number: *813 + organization: *762 pull_request: title: Pull Request type: object @@ -220814,7 +220983,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *759 + repository: *763 sender: *4 required: - action @@ -220911,11 +221080,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *815 - enterprise: *756 - installation: *757 - number: *809 - organization: *758 + assignee: *819 + enterprise: *760 + installation: *761 + number: *813 + organization: *762 pull_request: title: Pull Request type: object @@ -223220,7 +223389,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *759 + repository: *763 sender: *4 required: - action @@ -223314,11 +223483,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *756 - installation: *757 - label: *777 - number: *809 - organization: *758 + enterprise: *760 + installation: *761 + label: *781 + number: *813 + organization: *762 pull_request: title: Pull Request type: object @@ -225613,7 +225782,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *759 + repository: *763 sender: *4 required: - action @@ -225709,10 +225878,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *756 - installation: *757 - number: *809 - organization: *758 + enterprise: *760 + installation: *761 + number: *813 + organization: *762 pull_request: title: Pull Request type: object @@ -227999,7 +228168,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *759 + repository: *763 sender: *4 required: - action @@ -228214,7 +228383,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *756 + enterprise: *760 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -228306,8 +228475,8 @@ x-webhooks: - url - author - committer - installation: *757 - organization: *758 + installation: *761 + organization: *762 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -228893,9 +229062,9 @@ x-webhooks: type: string enum: - published - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *760 + installation: *761 + organization: *762 registry_package: type: object properties: @@ -229341,7 +229510,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *796 + items: *800 summary: type: string tag_name: @@ -229395,7 +229564,7 @@ x-webhooks: - owner - package_version - registry - repository: *759 + repository: *763 sender: *4 required: - action @@ -229473,9 +229642,9 @@ x-webhooks: type: string enum: - updated - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *760 + installation: *761 + organization: *762 registry_package: type: object properties: @@ -229783,7 +229952,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *796 + items: *800 summary: type: string tag_name: @@ -229832,7 +230001,7 @@ x-webhooks: - owner - package_version - registry - repository: *759 + repository: *763 sender: *4 required: - action @@ -229909,10 +230078,10 @@ x-webhooks: type: string enum: - created - enterprise: *756 - installation: *757 - organization: *758 - release: &816 + enterprise: *760 + installation: *761 + organization: *762 + release: &820 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -230230,7 +230399,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *759 + repository: *763 sender: *4 required: - action @@ -230307,11 +230476,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *756 - installation: *757 - organization: *758 - release: *816 - repository: *759 + enterprise: *760 + installation: *761 + organization: *762 + release: *820 + repository: *763 sender: *4 required: - action @@ -230428,11 +230597,11 @@ x-webhooks: type: boolean required: - to - enterprise: *756 - installation: *757 - organization: *758 - release: *816 - repository: *759 + enterprise: *760 + installation: *761 + organization: *762 + release: *820 + repository: *763 sender: *4 required: - action @@ -230510,9 +230679,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *760 + installation: *761 + organization: *762 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -230834,7 +231003,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *759 + repository: *763 sender: *4 required: - action @@ -230910,10 +231079,10 @@ x-webhooks: type: string enum: - published - enterprise: *756 - installation: *757 - organization: *758 - release: &817 + enterprise: *760 + installation: *761 + organization: *762 + release: &821 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -231232,7 +231401,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *759 + repository: *763 sender: *4 required: - action @@ -231308,11 +231477,11 @@ x-webhooks: type: string enum: - released - enterprise: *756 - installation: *757 - organization: *758 - release: *816 - repository: *759 + enterprise: *760 + installation: *761 + organization: *762 + release: *820 + repository: *763 sender: *4 required: - action @@ -231388,11 +231557,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *756 - installation: *757 - organization: *758 - release: *817 - repository: *759 + enterprise: *760 + installation: *761 + organization: *762 + release: *821 + repository: *763 sender: *4 required: - action @@ -231468,11 +231637,11 @@ x-webhooks: type: string enum: - published - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 - repository_advisory: *679 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 + repository_advisory: *683 sender: *4 required: - action @@ -231548,11 +231717,11 @@ x-webhooks: type: string enum: - reported - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 - repository_advisory: *679 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 + repository_advisory: *683 sender: *4 required: - action @@ -231628,10 +231797,10 @@ x-webhooks: type: string enum: - archived - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 required: - action @@ -231708,10 +231877,10 @@ x-webhooks: type: string enum: - created - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 required: - action @@ -231789,10 +231958,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 required: - action @@ -231876,10 +232045,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 required: - action @@ -231991,10 +232160,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 required: - action @@ -232066,10 +232235,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 status: type: string @@ -232150,10 +232319,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 required: - action @@ -232230,10 +232399,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 required: - action @@ -232327,10 +232496,10 @@ x-webhooks: - name required: - repository - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 required: - action @@ -232410,10 +232579,10 @@ x-webhooks: type: string enum: - created - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 repository_ruleset: *341 sender: *4 required: @@ -232492,10 +232661,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 repository_ruleset: *341 sender: *4 required: @@ -232574,10 +232743,10 @@ x-webhooks: type: string enum: - edited - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 repository_ruleset: *341 changes: type: object @@ -232639,16 +232808,16 @@ x-webhooks: properties: added: type: array - items: *630 + items: *634 deleted: type: array - items: *630 + items: *634 updated: type: array items: type: object properties: - rule: *630 + rule: *634 changes: type: object properties: @@ -232882,10 +233051,10 @@ x-webhooks: - from required: - owner - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 required: - action @@ -232963,10 +233132,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 required: - action @@ -233044,7 +233213,7 @@ x-webhooks: type: string enum: - create - alert: &818 + alert: &822 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -233166,10 +233335,10 @@ x-webhooks: enum: - auto_dismissed - open - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 required: - action @@ -233375,10 +233544,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 required: - action @@ -233456,11 +233625,11 @@ x-webhooks: type: string enum: - reopen - alert: *818 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + alert: *822 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 required: - action @@ -233659,10 +233828,10 @@ x-webhooks: enum: - fixed - open - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 required: - action @@ -233740,7 +233909,7 @@ x-webhooks: type: string enum: - assigned - alert: &819 + alert: &823 type: object properties: number: *188 @@ -233883,10 +234052,10 @@ x-webhooks: required: *21 nullable: true assignee: *4 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 required: - action @@ -233964,11 +234133,11 @@ x-webhooks: type: string enum: - created - alert: *819 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + alert: *823 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 required: - action @@ -234049,11 +234218,11 @@ x-webhooks: type: string enum: - created - alert: *819 - installation: *757 - location: *820 - organization: *758 - repository: *759 + alert: *823 + installation: *761 + location: *824 + organization: *762 + repository: *763 sender: *4 required: - location @@ -234291,11 +234460,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *819 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + alert: *823 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 required: - action @@ -234373,11 +234542,11 @@ x-webhooks: type: string enum: - reopened - alert: *819 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + alert: *823 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 required: - action @@ -234455,11 +234624,11 @@ x-webhooks: type: string enum: - resolved - alert: *819 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + alert: *823 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 required: - action @@ -234537,12 +234706,12 @@ x-webhooks: type: string enum: - unassigned - alert: *819 + alert: *823 assignee: *4 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 required: - action @@ -234620,11 +234789,11 @@ x-webhooks: type: string enum: - validated - alert: *819 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + alert: *823 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 required: - action @@ -234750,10 +234919,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *759 - enterprise: *756 - installation: *757 - organization: *758 + repository: *763 + enterprise: *760 + installation: *761 + organization: *762 sender: *4 required: - action @@ -234831,11 +235000,11 @@ x-webhooks: type: string enum: - published - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 - security_advisory: &821 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 + security_advisory: &825 description: The details of the security advisory, including summary, description, and severity. type: object @@ -235036,11 +235205,11 @@ x-webhooks: type: string enum: - updated - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 - security_advisory: *821 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 + security_advisory: *825 sender: *4 required: - action @@ -235113,10 +235282,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -235309,9 +235478,9 @@ x-webhooks: type: object properties: security_and_analysis: *314 - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *760 + installation: *761 + organization: *762 repository: *359 sender: *4 required: @@ -235390,12 +235559,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 - sponsorship: &822 + sponsorship: &826 type: object properties: created_at: @@ -235696,12 +235865,12 @@ x-webhooks: type: string enum: - created - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 - sponsorship: *822 + sponsorship: *826 required: - action - sponsorship @@ -235789,12 +235958,12 @@ x-webhooks: type: string required: - from - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 - sponsorship: *822 + sponsorship: *826 required: - action - changes @@ -235871,17 +236040,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &823 + effective_date: &827 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 - sponsorship: *822 + sponsorship: *826 required: - action - sponsorship @@ -235955,7 +236124,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &824 + changes: &828 type: object properties: tier: @@ -235999,13 +236168,13 @@ x-webhooks: - from required: - tier - effective_date: *823 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + effective_date: *827 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 - sponsorship: *822 + sponsorship: *826 required: - action - changes @@ -236082,13 +236251,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *824 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + changes: *828 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 - sponsorship: *822 + sponsorship: *826 required: - action - changes @@ -236162,10 +236331,10 @@ x-webhooks: type: string enum: - created - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -236248,10 +236417,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -236671,15 +236840,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *756 + enterprise: *760 id: description: The unique identifier of the status. type: integer - installation: *757 + installation: *761 name: type: string - organization: *758 - repository: *759 + organization: *762 + repository: *763 sender: *4 sha: description: The Commit SHA. @@ -236794,9 +236963,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *88 - installation: *757 - organization: *758 - repository: *759 + installation: *761 + organization: *762 + repository: *763 sender: *4 required: - action @@ -236885,9 +237054,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *88 - installation: *757 - organization: *758 - repository: *759 + installation: *761 + organization: *762 + repository: *763 sender: *4 required: - action @@ -236976,9 +237145,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *88 - installation: *757 - organization: *758 - repository: *759 + installation: *761 + organization: *762 + repository: *763 sender: *4 required: - action @@ -237067,9 +237236,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *88 - installation: *757 - organization: *758 - repository: *759 + installation: *761 + organization: *762 + repository: *763 sender: *4 required: - action @@ -237145,12 +237314,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 - team: &825 + team: &829 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -237373,9 +237542,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *760 + installation: *761 + organization: *762 repository: title: Repository description: A git repository @@ -237833,7 +238002,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *825 + team: *829 required: - action - team @@ -237909,9 +238078,9 @@ x-webhooks: type: string enum: - created - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *760 + installation: *761 + organization: *762 repository: title: Repository description: A git repository @@ -238369,7 +238538,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *825 + team: *829 required: - action - team @@ -238446,9 +238615,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *760 + installation: *761 + organization: *762 repository: title: Repository description: A git repository @@ -238906,7 +239075,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *825 + team: *829 required: - action - team @@ -239050,9 +239219,9 @@ x-webhooks: - from required: - permissions - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *760 + installation: *761 + organization: *762 repository: title: Repository description: A git repository @@ -239510,7 +239679,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *825 + team: *829 required: - action - changes @@ -239588,9 +239757,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *760 + installation: *761 + organization: *762 repository: title: Repository description: A git repository @@ -240048,7 +240217,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *825 + team: *829 required: - action - team @@ -240124,10 +240293,10 @@ x-webhooks: type: string enum: - started - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 required: - action @@ -240200,16 +240369,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *756 + enterprise: *760 inputs: type: object nullable: true additionalProperties: true - installation: *757 - organization: *758 + installation: *761 + organization: *762 ref: type: string - repository: *759 + repository: *763 sender: *4 workflow: type: string @@ -240291,10 +240460,10 @@ x-webhooks: type: string enum: - completed - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 workflow_job: allOf: @@ -240610,10 +240779,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 workflow_job: allOf: @@ -240952,10 +241121,10 @@ x-webhooks: type: string enum: - queued - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 workflow_job: type: object @@ -241169,10 +241338,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 workflow_job: type: object @@ -241388,12 +241557,12 @@ x-webhooks: type: string enum: - completed - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 - workflow: *773 + workflow: *777 workflow_run: title: Workflow Run type: object @@ -242392,12 +242561,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 - workflow: *773 + workflow: *777 workflow_run: title: Workflow Run type: object @@ -243381,12 +243550,12 @@ x-webhooks: type: string enum: - requested - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *760 + installation: *761 + organization: *762 + repository: *763 sender: *4 - workflow: *773 + workflow: *777 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json index 4b18b2a806..b9bfec6853 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -463300,6 +463300,76 @@ "to" ] }, + "issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, + "prev_issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, "author_association": { "title": "author_association", "type": "string", @@ -467920,6 +467990,76 @@ "to" ] }, + "issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, + "prev_issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, "author_association": { "title": "author_association", "type": "string", @@ -506345,1635 +506485,1647 @@ "created_at", "performed_via_github_app" ] - } - ] - } - }, - "examples": { - "default": { - "value": [ - { - "id": 1, - "node_id": "MDEwOklzc3VlRXZlbnQx", - "url": "https://api.github.com/repos/octocat/Hello-World/issues/events/1", - "actor": { - "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 - }, - "event": "closed", - "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e", - "commit_url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e", - "created_at": "2011-04-14T16:00:49Z", - "performed_via_github_app": null, - "label": { - "name": "label", - "color": "red" - } - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - }, - "410": { - "description": "Gone", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "issues", - "subcategory": "events" - } - } - }, - "/repos/{owner}/{repo}/issues/{issue_number}/issue-field-values": { - "get": { - "summary": "List issue field values for an issue", - "description": "Lists all issue field values for an issue.", - "tags": [ - "issues" - ], - "operationId": "issues/list-issue-field-values-for-issue", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#list-issue-field-values-for-an-issue" - }, - "parameters": [ - { - "name": "owner", - "description": "The account owner of the repository. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "repo", - "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "issue_number", - "description": "The number that identifies the issue.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 30 - } - }, - { - "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Issue Field Value", - "description": "A value assigned to an issue field", - "type": "object", - "properties": { - "issue_field_id": { - "description": "Unique identifier for the issue field.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "IFT_GDKND" - }, - "data_type": { - "description": "The data type of the issue field", - "type": "string", - "enum": [ - "text", - "single_select", - "multi_select", - "number", - "date" - ], - "example": "text" - }, - "value": { - "description": "The value of the issue field", - "anyOf": [ - { - "type": "string", - "example": "Sample text" - }, - { - "type": "number", - "example": 42.5 - }, - { - "type": "integer", - "example": 1 - } - ], - "nullable": true }, - "single_select_option": { - "description": "Details about the selected option (only present for single_select fields)", + { + "title": "Issue Type Added Issue Event", + "description": "Issue Type Added Issue Event", "type": "object", "properties": { "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "example": 1 + "type": "integer" }, - "name": { - "description": "The name of the option", - "type": "string", - "example": "High" + "node_id": { + "type": "string" }, - "color": { - "description": "The color of the option", - "type": "string", - "example": "red" - } - }, - "required": [ - "id", - "name", - "color" - ], - "nullable": true - }, - "multi_select_options": { - "description": "Details about the selected options", - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "name": { - "description": "The name of the option", - "type": "string", - "example": "High" + "url": { + "type": "string" + }, + "actor": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } }, - "color": { - "description": "The color of the option", - "type": "string", - "example": "red" - } + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] }, - "required": [ - "id", - "name", - "color" - ] - }, - "nullable": true - } - }, - "required": [ - "issue_field_id", - "node_id", - "data_type", - "value" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "issue_field_id": 1, - "node_id": "IFT_GDKND", - "data_type": "text", - "value": "DRI" - }, - { - "issue_field_id": 2, - "node_id": "IFSS_SADMS", - "data_type": "single_select", - "value": 1, - "single_select_option": { - "id": 1, - "name": "High", - "color": "red" - } - }, - { - "issue_field_id": 3, - "node_id": "IFN_POINTS", - "data_type": "number", - "value": 42 - }, - { - "issue_field_id": 4, - "node_id": "IFD_DUEDATE", - "data_type": "date", - "value": "2025-12-25" - }, - { - "issue_field_id": 5, - "node_id": "IFMS_LABELS", - "data_type": "multi_select", - "value": "Frontend,Backend", - "multi_select_options": [ - { - "id": 1, - "name": "Frontend", - "color": "blue" - }, - { - "id": 2, - "name": "Backend", - "color": "green" - } - ] - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - }, - "301": { - "description": "Moved permanently", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "410": { - "description": "Gone", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "issues", - "subcategory": "issue-field-values" - } - }, - "post": { - "summary": "Add issue field values to an issue", - "description": "Add custom field values to an issue. You can set values for organization-level issue fields that have been defined for the repository's organization.\nAdding an empty array will clear all existing field values for the issue.\n\nThis endpoint supports the following field data types:\n- **`text`**: String values for text fields\n- **`single_select`**: Option names for single-select fields (must match an existing option name)\n- **`number`**: Numeric values for number fields\n- **`date`**: ISO 8601 date strings for date fields\n\nOnly users with push access to the repository can add issue field values. If you don't have the proper permissions, you'll receive a `403 Forbidden` response.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-cloud@latest/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest/rest/guides/best-practices-for-using-the-rest-api).\"", - "tags": [ - "issues" - ], - "operationId": "issues/add-issue-field-values", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#add-issue-field-values-to-an-issue" - }, - "parameters": [ - { - "name": "owner", - "description": "The account owner of the repository. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "repo", - "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "issue_number", - "description": "The number that identifies the issue.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "issue_field_values": { - "type": "array", - "description": "An array of issue field values to add to this issue. Each field value must include the field ID and the value to set.", - "items": { - "type": "object", - "properties": { - "field_id": { - "type": "integer", - "description": "The ID of the issue field to set", - "example": 123 - }, - "value": { - "oneOf": [ - { - "type": "string", - "description": "The value to set for text, single_select, or date fields" - }, - { - "type": "number", - "description": "The value to set for number fields" - }, - { - "type": "array", - "items": { - "type": "string" - }, - "description": "The value to set for multi_select fields (array of option names)" - } - ], - "description": "The value to set for the field. The type depends on the field's data type:\n- For text fields: provide a string value\n- For single_select fields: provide the option name as a string (must match an existing option)\n- For number fields: provide a numeric value\n- For multi_select fields: provide an array of option names (must match existing options)\n- For date fields: provide an ISO 8601 date string", - "example": "Critical" - } - }, - "required": [ - "field_id", - "value" - ], - "additionalProperties": false - }, - "maxItems": 25 - } - } - }, - "examples": { - "default": { - "summary": "Add multiple field values", - "value": { - "issue_field_values": [ - { - "field_id": 123, - "value": "Critical" - }, - { - "field_id": 456, - "value": 5 - }, - { - "field_id": 789, - "value": "2024-12-31" - } - ] - } - }, - "single-field": { - "summary": "Add a single field value", - "value": { - "issue_field_values": [ - { - "field_id": 123, - "value": "High Priority" - } - ] - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "description": "The current issue field values for this issue after adding the new values", - "items": { - "title": "Issue Field Value", - "description": "A value assigned to an issue field", - "type": "object", - "properties": { - "issue_field_id": { - "description": "Unique identifier for the issue field.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "IFT_GDKND" - }, - "data_type": { - "description": "The data type of the issue field", - "type": "string", - "enum": [ - "text", - "single_select", - "multi_select", - "number", - "date" - ], - "example": "text" - }, - "value": { - "description": "The value of the issue field", - "anyOf": [ - { - "type": "string", - "example": "Sample text" - }, - { - "type": "number", - "example": 42.5 - }, - { - "type": "integer", - "example": 1 - } - ], - "nullable": true - }, - "single_select_option": { - "description": "Details about the selected option (only present for single_select fields)", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "example": 1 + "event": { + "type": "string" }, - "name": { - "description": "The name of the option", + "commit_id": { "type": "string", - "example": "High" + "nullable": true }, - "color": { - "description": "The color of the option", + "commit_url": { "type": "string", - "example": "red" - } - }, - "required": [ - "id", - "name", - "color" - ], - "nullable": true - }, - "multi_select_options": { - "description": "Details about the selected options", - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "name": { - "description": "The name of the option", - "type": "string", - "example": "High" - }, - "color": { - "description": "The color of the option", - "type": "string", - "example": "red" - } + "nullable": true }, - "required": [ - "id", - "name", - "color" - ] - }, - "nullable": true - } - }, - "required": [ - "issue_field_id", - "node_id", - "data_type", - "value" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "issue_field_id": 1, - "node_id": "IFT_GDKND", - "data_type": "text", - "value": "DRI" - }, - { - "issue_field_id": 2, - "node_id": "IFSS_SADMS", - "data_type": "single_select", - "value": 1, - "single_select_option": { - "id": 1, - "name": "High", - "color": "red" - } - }, - { - "issue_field_id": 3, - "node_id": "IFN_POINTS", - "data_type": "number", - "value": 42 - }, - { - "issue_field_id": 4, - "node_id": "IFD_DUEDATE", - "data_type": "date", - "value": "2025-12-25" - }, - { - "issue_field_id": 5, - "node_id": "IFMS_LABELS", - "data_type": "multi_select", - "value": "Frontend,Backend", - "multi_select_options": [ - { - "id": 1, - "name": "Frontend", - "color": "blue" + "created_at": { + "type": "string" }, - { - "id": 2, - "name": "Backend", - "color": "green" - } - ] - } - ] - } - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - }, - "application/scim+json": { - "schema": { - "title": "Scim Error", - "description": "Scim Error", - "type": "object", - "properties": { - "message": { - "type": "string", - "nullable": true - }, - "documentation_url": { - "type": "string", - "nullable": true - }, - "detail": { - "type": "string", - "nullable": true - }, - "status": { - "type": "integer" - }, - "scimType": { - "type": "string", - "nullable": true - }, - "schemas": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error", - "description": "Validation Error", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", + "performed_via_github_app": { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { + "type": "string", + "example": "MDExOkludGVncmF0aW9uMQ==" + }, + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", + "type": "string" + }, + "description": { + "type": "string", + "example": "The description of the app.", + "nullable": true + }, + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app. Note that the `installation_target`, `security_advisory`, and `meta` events are not included because they are global events and not specific to an installation.", + "example": [ + "label", + "deployment" + ], + "type": "array", + "items": { + "type": "string" + } + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "example": 5, + "type": "integer" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + }, + "issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + } + }, "required": [ - "code" - ], + "issue_type", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + { + "title": "Issue Type Removed Issue Event", + "description": "Issue Type Removed Issue Event", + "type": "object", "properties": { - "resource": { - "type": "string" - }, - "field": { - "type": "string" + "id": { + "type": "integer" }, - "message": { + "node_id": { "type": "string" }, - "code": { + "url": { "type": "string" }, - "index": { - "type": "integer" - }, - "value": { - "oneOf": [ - { + "actor": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { "type": "string", - "nullable": true + "example": "octocat" }, - { + "id": { "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", "nullable": true }, - { - "type": "array", - "nullable": true, - "items": { - "type": "string" - } - } - ] - } - } - } - } - } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "triggersNotification": true, - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "issues", - "subcategory": "issue-field-values" - } - }, - "put": { - "summary": "Set issue field values for an issue", - "description": "Set custom field values for an issue, replacing any existing values. You can set values for organization-level issue fields that have been defined for the repository's organization.\n\nThis endpoint supports the following field data types:\n- **`text`**: String values for text fields\n- **`single_select`**: Option names for single-select fields (must match an existing option name)\n- **`number`**: Numeric values for number fields\n- **`date`**: ISO 8601 date strings for date fields\n\nThis operation will replace all existing field values with the provided ones. If you want to add field values without replacing existing ones, use the `POST` endpoint instead.\n\nOnly users with push access to the repository can set issue field values. If you don't have the proper permissions, you'll receive a `403 Forbidden` response.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-cloud@latest/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest/rest/guides/best-practices-for-using-the-rest-api).\"", - "tags": [ - "issues" - ], - "operationId": "issues/set-issue-field-values", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#set-issue-field-values-for-an-issue" - }, - "parameters": [ - { - "name": "owner", - "description": "The account owner of the repository. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "repo", - "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "issue_number", - "description": "The number that identifies the issue.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "issue_field_values": { - "type": "array", - "description": "An array of issue field values to set for this issue. Each field value must include the field ID and the value to set. All existing field values will be replaced.", - "items": { - "type": "object", - "properties": { - "field_id": { - "type": "integer", - "description": "The ID of the issue field to set", - "example": 123 - }, - "value": { - "oneOf": [ - { - "type": "string", - "description": "The value to set for text, single_select, or date fields" + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } }, - { - "type": "number", - "description": "The value to set for number fields" - } - ], - "description": "The value to set for the field. The type depends on the field's data type:\n- For text fields: provide a string value\n- For single_select fields: provide the option name as a string (must match an existing option)\n- For number fields: provide a numeric value\n- For date fields: provide an ISO 8601 date string", - "example": "Critical" - } - }, - "required": [ - "field_id", - "value" - ], - "additionalProperties": false - }, - "maxItems": 25 - } - } - }, - "examples": { - "default": { - "summary": "Set multiple field values", - "value": { - "issue_field_values": [ - { - "field_id": 123, - "value": "Critical" - }, - { - "field_id": 456, - "value": 5 - }, - { - "field_id": 789, - "value": "2024-12-31" - } - ] - } - }, - "single-field": { - "summary": "Set a single field value", - "value": { - "issue_field_values": [ - { - "field_id": 123, - "value": "High Priority" - } - ] - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "description": "The current issue field values for this issue after setting the new values", - "items": { - "title": "Issue Field Value", - "description": "A value assigned to an issue field", - "type": "object", - "properties": { - "issue_field_id": { - "description": "Unique identifier for the issue field.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "IFT_GDKND" - }, - "data_type": { - "description": "The data type of the issue field", - "type": "string", - "enum": [ - "text", - "single_select", - "multi_select", - "number", - "date" - ], - "example": "text" - }, - "value": { - "description": "The value of the issue field", - "anyOf": [ - { - "type": "string", - "example": "Sample text" - }, - { - "type": "number", - "example": 42.5 + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] }, - { - "type": "integer", - "example": 1 - } - ], - "nullable": true - }, - "single_select_option": { - "description": "Details about the selected option (only present for single_select fields)", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "example": 1 + "event": { + "type": "string" }, - "name": { - "description": "The name of the option", + "commit_id": { "type": "string", - "example": "High" + "nullable": true }, - "color": { - "description": "The color of the option", + "commit_url": { "type": "string", - "example": "red" - } - }, - "required": [ - "id", - "name", - "color" - ], - "nullable": true - }, - "multi_select_options": { - "description": "Details about the selected options", - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "name": { - "description": "The name of the option", - "type": "string", - "example": "High" - }, - "color": { - "description": "The color of the option", - "type": "string", - "example": "red" - } + "nullable": true }, - "required": [ - "id", - "name", - "color" - ] - }, - "nullable": true - } - }, - "required": [ - "issue_field_id", - "node_id", - "data_type", - "value" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "issue_field_id": 1, - "node_id": "IFT_GDKND", - "data_type": "text", - "value": "DRI" - }, - { - "issue_field_id": 2, - "node_id": "IFSS_SADMS", - "data_type": "single_select", - "value": 1, - "single_select_option": { - "id": 1, - "name": "High", - "color": "red" - } - }, - { - "issue_field_id": 3, - "node_id": "IFN_POINTS", - "data_type": "number", - "value": 42 - }, - { - "issue_field_id": 4, - "node_id": "IFD_DUEDATE", - "data_type": "date", - "value": "2025-12-25" - }, - { - "issue_field_id": 5, - "node_id": "IFMS_LABELS", - "data_type": "multi_select", - "value": "Frontend,Backend", - "multi_select_options": [ - { - "id": 1, - "name": "Frontend", - "color": "blue" + "created_at": { + "type": "string" }, - { - "id": 2, - "name": "Backend", - "color": "green" - } - ] - } - ] - } - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - }, - "application/scim+json": { - "schema": { - "title": "Scim Error", - "description": "Scim Error", - "type": "object", - "properties": { - "message": { - "type": "string", - "nullable": true - }, - "documentation_url": { - "type": "string", - "nullable": true - }, - "detail": { - "type": "string", - "nullable": true - }, - "status": { - "type": "integer" - }, - "scimType": { - "type": "string", - "nullable": true - }, - "schemas": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error", - "description": "Validation Error", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", + "performed_via_github_app": { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { + "type": "string", + "example": "MDExOkludGVncmF0aW9uMQ==" + }, + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", + "type": "string" + }, + "description": { + "type": "string", + "example": "The description of the app.", + "nullable": true + }, + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app. Note that the `installation_target`, `security_advisory`, and `meta` events are not included because they are global events and not specific to an installation.", + "example": [ + "label", + "deployment" + ], + "type": "array", + "items": { + "type": "string" + } + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "example": 5, + "type": "integer" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + }, + "prev_issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + } + }, "required": [ - "code" - ], + "prev_issue_type", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + { + "title": "Issue Type Changed Issue Event", + "description": "Issue Type Changed Issue Event", + "type": "object", "properties": { - "resource": { - "type": "string" - }, - "field": { - "type": "string" + "id": { + "type": "integer" }, - "message": { + "node_id": { "type": "string" }, - "code": { + "url": { "type": "string" }, - "index": { - "type": "integer" - }, - "value": { - "oneOf": [ - { + "actor": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { "type": "string", - "nullable": true + "example": "octocat" }, - { + "id": { "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", "nullable": true }, - { - "type": "array", - "nullable": true, - "items": { - "type": "string" - } - } - ] - } - } - } - } - } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "triggersNotification": true, - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "issues", - "subcategory": "issue-field-values" - } - } - }, - "/repos/{owner}/{repo}/issues/{issue_number}/issue-field-values/{issue_field_id}": { - "delete": { - "summary": "Delete an issue field value from an issue", - "description": "Remove a specific custom field value from an issue.\n\nOnly users with push access to the repository can delete issue field values. If you don't have the proper permissions, you'll receive a `403 Forbidden` response.\n\nIf the specified field does not have a value set on the issue, this operation will return a `404` error.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-cloud@latest/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest/rest/guides/best-practices-for-using-the-rest-api).\"", - "tags": [ - "issues" - ], - "operationId": "issues/delete-issue-field-value", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue" - }, - "parameters": [ - { - "name": "owner", - "description": "The account owner of the repository. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "repo", - "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "issue_number", - "description": "The number that identifies the issue.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "issue_field_id", - "description": "The unique identifier of the issue field.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "204": { - "description": "Issue field value deleted successfully" - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error", - "description": "Validation Error", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "required": [ - "code" - ], - "properties": { - "resource": { - "type": "string" + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] }, - "field": { + "event": { "type": "string" }, - "message": { - "type": "string" + "commit_id": { + "type": "string", + "nullable": true }, - "code": { - "type": "string" + "commit_url": { + "type": "string", + "nullable": true }, - "index": { - "type": "integer" + "created_at": { + "type": "string" }, - "value": { - "oneOf": [ - { + "performed_via_github_app": { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { "type": "string", - "nullable": true + "example": "MDExOkludGVncmF0aW9uMQ==" }, - { - "type": "integer", + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", + "type": "string" + }, + "description": { + "type": "string", + "example": "The description of the app.", "nullable": true }, - { + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app. Note that the `installation_target`, `security_advisory`, and `meta` events are not included because they are global events and not specific to an installation.", + "example": [ + "label", + "deployment" + ], "type": "array", - "nullable": true, "items": { "type": "string" } + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "example": 5, + "type": "integer" } - ] - } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + }, + "issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, + "prev_issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + } + }, + "required": [ + "issue_type", + "prev_issue_type", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + } + ] + } + }, + "examples": { + "default": { + "value": [ + { + "id": 1, + "node_id": "MDEwOklzc3VlRXZlbnQx", + "url": "https://api.github.com/repos/octocat/Hello-World/issues/events/1", + "actor": { + "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 + }, + "event": "closed", + "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "commit_url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e", + "created_at": "2011-04-14T16:00:49Z", + "performed_via_github_app": null, + "label": { + "name": "label", + "color": "red" } } - } + ] } } } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } } }, - "503": { - "description": "Service unavailable", + "410": { + "description": "Gone", "content": { "application/json": { "schema": { + "title": "Basic Error", + "description": "Basic Error", "type": "object", "properties": { - "code": { - "type": "string" - }, "message": { "type": "string" }, "documentation_url": { "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" } } } @@ -507982,25 +508134,24 @@ } }, "x-github": { - "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "issues", - "subcategory": "issue-field-values" + "subcategory": "events" } } }, - "/repos/{owner}/{repo}/issues/{issue_number}/labels": { + "/repos/{owner}/{repo}/issues/{issue_number}/issue-field-values": { "get": { - "summary": "List labels for an issue", - "description": "Lists all labels for an issue.", + "summary": "List issue field values for an issue", + "description": "Lists all issue field values for an issue.", "tags": [ "issues" ], - "operationId": "issues/list-labels-on-issue", + "operationId": "issues/list-issue-field-values-for-issue", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-an-issue" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#list-issue-field-values-for-an-issue" }, "parameters": [ { @@ -508057,56 +508208,115 @@ "schema": { "type": "array", "items": { - "title": "Label", - "description": "Color-coded labels help you categorize and filter your issues (just like labels in Gmail).", + "title": "Issue Field Value", + "description": "A value assigned to an issue field", "type": "object", "properties": { - "id": { - "description": "Unique identifier for the label.", + "issue_field_id": { + "description": "Unique identifier for the issue field.", "type": "integer", "format": "int64", - "example": 208045946 + "example": 1 }, "node_id": { "type": "string", - "example": "MDU6TGFiZWwyMDgwNDU5NDY=" + "example": "IFT_GDKND" }, - "url": { - "description": "URL for the label", - "example": "https://api.github.com/repositories/42/labels/bug", + "data_type": { + "description": "The data type of the issue field", "type": "string", - "format": "uri" - }, - "name": { - "description": "The name of the label.", - "example": "bug", - "type": "string" + "enum": [ + "text", + "single_select", + "multi_select", + "number", + "date" + ], + "example": "text" }, - "description": { - "description": "Optional description of the label, such as its purpose.", - "type": "string", - "example": "Something isn't working", + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "example": "Sample text" + }, + { + "type": "number", + "example": 42.5 + }, + { + "type": "integer", + "example": 1 + } + ], "nullable": true }, - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "example": "FFFFFF", - "type": "string" + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the option", + "type": "string", + "example": "High" + }, + "color": { + "description": "The color of the option", + "type": "string", + "example": "red" + } + }, + "required": [ + "id", + "name", + "color" + ], + "nullable": true }, - "default": { - "description": "Whether this label comes by default in a new repository.", - "type": "boolean", - "example": true + "multi_select_options": { + "description": "Details about the selected options", + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the option", + "type": "string", + "example": "High" + }, + "color": { + "description": "The color of the option", + "type": "string", + "example": "red" + } + }, + "required": [ + "id", + "name", + "color" + ] + }, + "nullable": true } }, "required": [ - "id", + "issue_field_id", "node_id", - "url", - "name", - "description", - "color", - "default" + "data_type", + "value" ] } }, @@ -508114,22 +508324,51 @@ "default": { "value": [ { - "id": 208045946, - "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", - "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug", - "name": "bug", - "description": "Something isn't working", - "color": "f29513", - "default": true + "issue_field_id": 1, + "node_id": "IFT_GDKND", + "data_type": "text", + "value": "DRI" }, { - "id": 208045947, - "node_id": "MDU6TGFiZWwyMDgwNDU5NDc=", - "url": "https://api.github.com/repos/octocat/Hello-World/labels/enhancement", - "name": "enhancement", - "description": "New feature or request", - "color": "a2eeef", - "default": false + "issue_field_id": 2, + "node_id": "IFSS_SADMS", + "data_type": "single_select", + "value": 1, + "single_select_option": { + "id": 1, + "name": "High", + "color": "red" + } + }, + { + "issue_field_id": 3, + "node_id": "IFN_POINTS", + "data_type": "number", + "value": 42 + }, + { + "issue_field_id": 4, + "node_id": "IFD_DUEDATE", + "data_type": "date", + "value": "2025-12-25" + }, + { + "issue_field_id": 5, + "node_id": "IFMS_LABELS", + "data_type": "multi_select", + "value": "Frontend,Backend", + "multi_select_options": [ + { + "id": 1, + "name": "Frontend", + "color": "blue" + }, + { + "id": 2, + "name": "Backend", + "color": "green" + } + ] } ] } @@ -508228,19 +508467,19 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "issues", - "subcategory": "labels" + "subcategory": "issue-field-values" } }, "post": { - "summary": "Add labels to an issue", - "description": "Adds labels to an issue.", + "summary": "Add issue field values to an issue", + "description": "Add custom field values to an issue. You can set values for organization-level issue fields that have been defined for the repository's organization.\nAdding an empty array will clear all existing field values for the issue.\n\nThis endpoint supports the following field data types:\n- **`text`**: String values for text fields\n- **`single_select`**: Option names for single-select fields (must match an existing option name)\n- **`number`**: Numeric values for number fields\n- **`date`**: ISO 8601 date strings for date fields\n\nOnly users with push access to the repository can add issue field values. If you don't have the proper permissions, you'll receive a `403 Forbidden` response.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-cloud@latest/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest/rest/guides/best-practices-for-using-the-rest-api).\"", "tags": [ "issues" ], - "operationId": "issues/add-labels", + "operationId": "issues/add-issue-field-values", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#add-labels-to-an-issue" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#add-issue-field-values-to-an-issue" }, "parameters": [ { @@ -508272,52 +508511,83 @@ } ], "requestBody": { - "required": false, + "required": true, "content": { "application/json": { "schema": { - "oneOf": [ - { - "type": "object", - "properties": { - "labels": { - "type": "array", - "minItems": 1, - "description": "The names of the labels to add to the issue's existing labels. You can also pass an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. To replace all of the labels for an issue, use \"[Set labels for an issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#set-labels-for-an-issue).\"", - "items": { - "type": "string" - } - } - } - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { + "type": "object", + "properties": { + "issue_field_values": { "type": "array", + "description": "An array of issue field values to add to this issue. Each field value must include the field ID and the value to set.", "items": { "type": "object", "properties": { - "name": { - "type": "string" + "field_id": { + "type": "integer", + "description": "The ID of the issue field to set", + "example": 123 + }, + "value": { + "oneOf": [ + { + "type": "string", + "description": "The value to set for text, single_select, or date fields" + }, + { + "type": "number", + "description": "The value to set for number fields" + }, + { + "type": "array", + "items": { + "type": "string" + }, + "description": "The value to set for multi_select fields (array of option names)" + } + ], + "description": "The value to set for the field. The type depends on the field's data type:\n- For text fields: provide a string value\n- For single_select fields: provide the option name as a string (must match an existing option)\n- For number fields: provide a numeric value\n- For multi_select fields: provide an array of option names (must match existing options)\n- For date fields: provide an ISO 8601 date string", + "example": "Critical" } }, "required": [ - "name" - ] - } + "field_id", + "value" + ], + "additionalProperties": false + }, + "maxItems": 25 } - ] + } }, "examples": { "default": { + "summary": "Add multiple field values", "value": { - "labels": [ - "bug", - "enhancement" + "issue_field_values": [ + { + "field_id": 123, + "value": "Critical" + }, + { + "field_id": 456, + "value": 5 + }, + { + "field_id": 789, + "value": "2024-12-31" + } + ] + } + }, + "single-field": { + "summary": "Add a single field value", + "value": { + "issue_field_values": [ + { + "field_id": 123, + "value": "High Priority" + } ] } } @@ -508332,57 +508602,117 @@ "application/json": { "schema": { "type": "array", + "description": "The current issue field values for this issue after adding the new values", "items": { - "title": "Label", - "description": "Color-coded labels help you categorize and filter your issues (just like labels in Gmail).", + "title": "Issue Field Value", + "description": "A value assigned to an issue field", "type": "object", "properties": { - "id": { - "description": "Unique identifier for the label.", + "issue_field_id": { + "description": "Unique identifier for the issue field.", "type": "integer", "format": "int64", - "example": 208045946 + "example": 1 }, "node_id": { "type": "string", - "example": "MDU6TGFiZWwyMDgwNDU5NDY=" + "example": "IFT_GDKND" }, - "url": { - "description": "URL for the label", - "example": "https://api.github.com/repositories/42/labels/bug", + "data_type": { + "description": "The data type of the issue field", "type": "string", - "format": "uri" - }, - "name": { - "description": "The name of the label.", - "example": "bug", - "type": "string" + "enum": [ + "text", + "single_select", + "multi_select", + "number", + "date" + ], + "example": "text" }, - "description": { - "description": "Optional description of the label, such as its purpose.", - "type": "string", - "example": "Something isn't working", + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "example": "Sample text" + }, + { + "type": "number", + "example": 42.5 + }, + { + "type": "integer", + "example": 1 + } + ], "nullable": true }, - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "example": "FFFFFF", - "type": "string" + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the option", + "type": "string", + "example": "High" + }, + "color": { + "description": "The color of the option", + "type": "string", + "example": "red" + } + }, + "required": [ + "id", + "name", + "color" + ], + "nullable": true }, - "default": { - "description": "Whether this label comes by default in a new repository.", - "type": "boolean", - "example": true + "multi_select_options": { + "description": "Details about the selected options", + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the option", + "type": "string", + "example": "High" + }, + "color": { + "description": "The color of the option", + "type": "string", + "example": "red" + } + }, + "required": [ + "id", + "name", + "color" + ] + }, + "nullable": true } }, "required": [ - "id", + "issue_field_id", "node_id", - "url", - "name", - "description", - "color", - "default" + "data_type", + "value" ] } }, @@ -508390,22 +508720,51 @@ "default": { "value": [ { - "id": 208045946, - "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", - "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug", - "name": "bug", - "description": "Something isn't working", - "color": "f29513", - "default": true + "issue_field_id": 1, + "node_id": "IFT_GDKND", + "data_type": "text", + "value": "DRI" }, { - "id": 208045947, - "node_id": "MDU6TGFiZWwyMDgwNDU5NDc=", - "url": "https://api.github.com/repos/octocat/Hello-World/labels/enhancement", - "name": "enhancement", - "description": "New feature or request", - "color": "a2eeef", - "default": false + "issue_field_id": 2, + "node_id": "IFSS_SADMS", + "data_type": "single_select", + "value": 1, + "single_select_option": { + "id": 1, + "name": "High", + "color": "red" + } + }, + { + "issue_field_id": 3, + "node_id": "IFN_POINTS", + "data_type": "number", + "value": 42 + }, + { + "issue_field_id": 4, + "node_id": "IFD_DUEDATE", + "data_type": "date", + "value": "2025-12-25" + }, + { + "issue_field_id": 5, + "node_id": "IFMS_LABELS", + "data_type": "multi_select", + "value": "Frontend,Backend", + "multi_select_options": [ + { + "id": 1, + "name": "Frontend", + "color": "blue" + }, + { + "id": 2, + "name": "Backend", + "color": "green" + } + ] } ] } @@ -508413,8 +508772,8 @@ } } }, - "301": { - "description": "Moved permanently", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -508436,11 +508795,45 @@ } } } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } } } }, - "404": { - "description": "Resource not found", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -508465,8 +508858,8 @@ } } }, - "410": { - "description": "Gone", + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -508559,25 +508952,47 @@ } } } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } } }, "x-github": { + "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "issues", - "subcategory": "labels" + "subcategory": "issue-field-values" } }, "put": { - "summary": "Set labels for an issue", - "description": "Removes any previous labels and sets the new labels for an issue.", + "summary": "Set issue field values for an issue", + "description": "Set custom field values for an issue, replacing any existing values. You can set values for organization-level issue fields that have been defined for the repository's organization.\n\nThis endpoint supports the following field data types:\n- **`text`**: String values for text fields\n- **`single_select`**: Option names for single-select fields (must match an existing option name)\n- **`number`**: Numeric values for number fields\n- **`date`**: ISO 8601 date strings for date fields\n\nThis operation will replace all existing field values with the provided ones. If you want to add field values without replacing existing ones, use the `POST` endpoint instead.\n\nOnly users with push access to the repository can set issue field values. If you don't have the proper permissions, you'll receive a `403 Forbidden` response.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-cloud@latest/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest/rest/guides/best-practices-for-using-the-rest-api).\"", "tags": [ "issues" ], - "operationId": "issues/set-labels", + "operationId": "issues/set-issue-field-values", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#set-labels-for-an-issue" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#set-issue-field-values-for-an-issue" }, "parameters": [ { @@ -508609,77 +509024,76 @@ } ], "requestBody": { - "required": false, + "required": true, "content": { "application/json": { "schema": { - "oneOf": [ - { - "type": "object", - "properties": { - "labels": { - "type": "array", - "minItems": 1, - "description": "The names of the labels to set for the issue. The labels you set replace any existing labels. You can pass an empty array to remove all labels. Alternatively, you can pass a single label as a `string` or an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. You can also add labels to the existing labels for an issue. For more information, see \"[Add labels to an issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#add-labels-to-an-issue).\"", - "items": { - "type": "string" - } - } - } - }, - { - "type": "array", - "minItems": 1, - "items": { - "type": "string" - } - }, - { - "type": "object", - "properties": { - "labels": { - "type": "array", - "minItems": 1, - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - } - }, - "required": [ - "name" - ] - } - } - } - }, - { + "type": "object", + "properties": { + "issue_field_values": { "type": "array", - "minItems": 1, + "description": "An array of issue field values to set for this issue. Each field value must include the field ID and the value to set. All existing field values will be replaced.", "items": { "type": "object", "properties": { - "name": { - "type": "string" + "field_id": { + "type": "integer", + "description": "The ID of the issue field to set", + "example": 123 + }, + "value": { + "oneOf": [ + { + "type": "string", + "description": "The value to set for text, single_select, or date fields" + }, + { + "type": "number", + "description": "The value to set for number fields" + } + ], + "description": "The value to set for the field. The type depends on the field's data type:\n- For text fields: provide a string value\n- For single_select fields: provide the option name as a string (must match an existing option)\n- For number fields: provide a numeric value\n- For date fields: provide an ISO 8601 date string", + "example": "Critical" } }, "required": [ - "name" - ] - } - }, - { - "type": "string" + "field_id", + "value" + ], + "additionalProperties": false + }, + "maxItems": 25 } - ] + } }, "examples": { "default": { + "summary": "Set multiple field values", "value": { - "labels": [ - "bug", - "enhancement" + "issue_field_values": [ + { + "field_id": 123, + "value": "Critical" + }, + { + "field_id": 456, + "value": 5 + }, + { + "field_id": 789, + "value": "2024-12-31" + } + ] + } + }, + "single-field": { + "summary": "Set a single field value", + "value": { + "issue_field_values": [ + { + "field_id": 123, + "value": "High Priority" + } ] } } @@ -508694,57 +509108,117 @@ "application/json": { "schema": { "type": "array", + "description": "The current issue field values for this issue after setting the new values", "items": { - "title": "Label", - "description": "Color-coded labels help you categorize and filter your issues (just like labels in Gmail).", + "title": "Issue Field Value", + "description": "A value assigned to an issue field", "type": "object", "properties": { - "id": { - "description": "Unique identifier for the label.", + "issue_field_id": { + "description": "Unique identifier for the issue field.", "type": "integer", "format": "int64", - "example": 208045946 + "example": 1 }, "node_id": { "type": "string", - "example": "MDU6TGFiZWwyMDgwNDU5NDY=" + "example": "IFT_GDKND" }, - "url": { - "description": "URL for the label", - "example": "https://api.github.com/repositories/42/labels/bug", + "data_type": { + "description": "The data type of the issue field", "type": "string", - "format": "uri" - }, - "name": { - "description": "The name of the label.", - "example": "bug", - "type": "string" + "enum": [ + "text", + "single_select", + "multi_select", + "number", + "date" + ], + "example": "text" }, - "description": { - "description": "Optional description of the label, such as its purpose.", - "type": "string", - "example": "Something isn't working", + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "example": "Sample text" + }, + { + "type": "number", + "example": 42.5 + }, + { + "type": "integer", + "example": 1 + } + ], "nullable": true }, - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "example": "FFFFFF", - "type": "string" + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the option", + "type": "string", + "example": "High" + }, + "color": { + "description": "The color of the option", + "type": "string", + "example": "red" + } + }, + "required": [ + "id", + "name", + "color" + ], + "nullable": true }, - "default": { - "description": "Whether this label comes by default in a new repository.", - "type": "boolean", - "example": true + "multi_select_options": { + "description": "Details about the selected options", + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the option", + "type": "string", + "example": "High" + }, + "color": { + "description": "The color of the option", + "type": "string", + "example": "red" + } + }, + "required": [ + "id", + "name", + "color" + ] + }, + "nullable": true } }, "required": [ - "id", + "issue_field_id", "node_id", - "url", - "name", - "description", - "color", - "default" + "data_type", + "value" ] } }, @@ -508752,22 +509226,51 @@ "default": { "value": [ { - "id": 208045946, - "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", - "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug", - "name": "bug", - "description": "Something isn't working", - "color": "f29513", - "default": true + "issue_field_id": 1, + "node_id": "IFT_GDKND", + "data_type": "text", + "value": "DRI" }, { - "id": 208045947, - "node_id": "MDU6TGFiZWwyMDgwNDU5NDc=", - "url": "https://api.github.com/repos/octocat/Hello-World/labels/enhancement", - "name": "enhancement", - "description": "New feature or request", - "color": "a2eeef", - "default": false + "issue_field_id": 2, + "node_id": "IFSS_SADMS", + "data_type": "single_select", + "value": 1, + "single_select_option": { + "id": 1, + "name": "High", + "color": "red" + } + }, + { + "issue_field_id": 3, + "node_id": "IFN_POINTS", + "data_type": "number", + "value": 42 + }, + { + "issue_field_id": 4, + "node_id": "IFD_DUEDATE", + "data_type": "date", + "value": "2025-12-25" + }, + { + "issue_field_id": 5, + "node_id": "IFMS_LABELS", + "data_type": "multi_select", + "value": "Frontend,Backend", + "multi_select_options": [ + { + "id": 1, + "name": "Frontend", + "color": "blue" + }, + { + "id": 2, + "name": "Backend", + "color": "green" + } + ] } ] } @@ -508775,8 +509278,8 @@ } } }, - "301": { - "description": "Moved permanently", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -508798,13 +509301,47 @@ } } } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { "schema": { "title": "Basic Error", "description": "Basic Error", @@ -508827,8 +509364,8 @@ } } }, - "410": { - "description": "Gone", + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -508921,25 +509458,49 @@ } } } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } } }, "x-github": { + "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "issues", - "subcategory": "labels" + "subcategory": "issue-field-values" } - }, + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/issue-field-values/{issue_field_id}": { "delete": { - "summary": "Remove all labels from an issue", - "description": "Removes all labels from an issue.", + "summary": "Delete an issue field value from an issue", + "description": "Remove a specific custom field value from an issue.\n\nOnly users with push access to the repository can delete issue field values. If you don't have the proper permissions, you'll receive a `403 Forbidden` response.\n\nIf the specified field does not have a value set on the issue, this operation will return a `404` error.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-cloud@latest/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest/rest/guides/best-practices-for-using-the-rest-api).\"", "tags": [ "issues" ], - "operationId": "issues/remove-all-labels", + "operationId": "issues/delete-issue-field-value", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#remove-all-labels-from-an-issue" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue" }, "parameters": [ { @@ -508968,14 +509529,23 @@ "schema": { "type": "integer" } + }, + { + "name": "issue_field_id", + "description": "The unique identifier of the issue field.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } } ], "responses": { "204": { - "description": "Response" + "description": "Issue field value deleted successfully" }, - "301": { - "description": "Moved permanently", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -509026,14 +509596,18 @@ } } }, - "410": { - "description": "Gone", + "422": { + "description": "Validation failed, or the endpoint has been spammed.", "content": { "application/json": { "schema": { - "title": "Basic Error", - "description": "Basic Error", + "title": "Validation Error", + "description": "Validation Error", "type": "object", + "required": [ + "message", + "documentation_url" + ], "properties": { "message": { "type": "string" @@ -509041,10 +509615,70 @@ "documentation_url": { "type": "string" }, - "url": { + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { "type": "string" }, - "status": { + "message": { + "type": "string" + }, + "documentation_url": { "type": "string" } } @@ -509054,24 +509688,25 @@ } }, "x-github": { + "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "issues", - "subcategory": "labels" + "subcategory": "issue-field-values" } } }, - "/repos/{owner}/{repo}/issues/{issue_number}/labels/{name}": { - "delete": { - "summary": "Remove a label from an issue", - "description": "Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist.", + "/repos/{owner}/{repo}/issues/{issue_number}/labels": { + "get": { + "summary": "List labels for an issue", + "description": "Lists all labels for an issue.", "tags": [ "issues" ], - "operationId": "issues/remove-label", + "operationId": "issues/list-labels-on-issue", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#remove-a-label-from-an-issue" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-an-issue" }, "parameters": [ { @@ -509102,11 +509737,21 @@ } }, { - "name": "name", - "in": "path", - "required": true, + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", "schema": { - "type": "string" + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 } } ], @@ -509182,11 +509827,28 @@ "description": "Something isn't working", "color": "f29513", "default": true + }, + { + "id": 208045947, + "node_id": "MDU6TGFiZWwyMDgwNDU5NDc=", + "url": "https://api.github.com/repos/octocat/Hello-World/labels/enhancement", + "name": "enhancement", + "description": "New feature or request", + "color": "a2eeef", + "default": false } ] } } } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } } }, "301": { @@ -509274,19 +509936,17 @@ "category": "issues", "subcategory": "labels" } - } - }, - "/repos/{owner}/{repo}/issues/{issue_number}/lock": { - "put": { - "summary": "Lock an issue", - "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP method](https://docs.github.com/enterprise-cloud@latest/rest/guides/getting-started-with-the-rest-api#http-method).\"", + }, + "post": { + "summary": "Add labels to an issue", + "description": "Adds labels to an issue.", "tags": [ "issues" ], - "operationId": "issues/lock", + "operationId": "issues/add-labels", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#lock-an-issue" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#add-labels-to-an-issue" }, "parameters": [ { @@ -509322,26 +509982,49 @@ "content": { "application/json": { "schema": { - "type": "object", - "nullable": true, - "properties": { - "lock_reason": { - "type": "string", - "description": "The reason for locking the issue or pull request conversation. Lock will fail if you don't use one of these reasons: \n * `off-topic` \n * `too heated` \n * `resolved` \n * `spam`", - "enum": [ - "off-topic", - "too heated", - "resolved", - "spam" - ] + "oneOf": [ + { + "type": "object", + "properties": { + "labels": { + "type": "array", + "minItems": 1, + "description": "The names of the labels to add to the issue's existing labels. You can also pass an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. To replace all of the labels for an issue, use \"[Set labels for an issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#set-labels-for-an-issue).\"", + "items": { + "type": "string" + } + } + } + }, + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ] + } } - } + ] }, "examples": { "default": { - "summary": "Example of locking an issue as off-topic", "value": { - "lock_reason": "off-topic" + "labels": [ + "bug", + "enhancement" + ] } } } @@ -509349,11 +510032,95 @@ } }, "responses": { - "204": { - "description": "Response" + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Label", + "description": "Color-coded labels help you categorize and filter your issues (just like labels in Gmail).", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the label.", + "type": "integer", + "format": "int64", + "example": 208045946 + }, + "node_id": { + "type": "string", + "example": "MDU6TGFiZWwyMDgwNDU5NDY=" + }, + "url": { + "description": "URL for the label", + "example": "https://api.github.com/repositories/42/labels/bug", + "type": "string", + "format": "uri" + }, + "name": { + "description": "The name of the label.", + "example": "bug", + "type": "string" + }, + "description": { + "description": "Optional description of the label, such as its purpose.", + "type": "string", + "example": "Something isn't working", + "nullable": true + }, + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "example": "FFFFFF", + "type": "string" + }, + "default": { + "description": "Whether this label comes by default in a new repository.", + "type": "boolean", + "example": true + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "description", + "color", + "default" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "id": 208045946, + "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", + "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug", + "name": "bug", + "description": "Something isn't working", + "color": "f29513", + "default": true + }, + { + "id": 208045947, + "node_id": "MDU6TGFiZWwyMDgwNDU5NDc=", + "url": "https://api.github.com/repos/octocat/Hello-World/labels/enhancement", + "name": "enhancement", + "description": "New feature or request", + "color": "a2eeef", + "default": false + } + ] + } + } + } + } }, - "403": { - "description": "Forbidden", + "301": { + "description": "Moved permanently", "content": { "application/json": { "schema": { @@ -509378,8 +510145,8 @@ } } }, - "410": { - "description": "Gone", + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -509404,8 +510171,8 @@ } } }, - "404": { - "description": "Resource not found", + "410": { + "description": "Gone", "content": { "application/json": { "schema": { @@ -509504,19 +510271,19 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "issues", - "subcategory": "issues" + "subcategory": "labels" } }, - "delete": { - "summary": "Unlock an issue", - "description": "Users with push access can unlock an issue's conversation.", + "put": { + "summary": "Set labels for an issue", + "description": "Removes any previous labels and sets the new labels for an issue.", "tags": [ "issues" ], - "operationId": "issues/unlock", + "operationId": "issues/set-labels", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#unlock-an-issue" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#set-labels-for-an-issue" }, "parameters": [ { @@ -509547,52 +510314,241 @@ } } ], - "responses": { - "204": { - "description": "Response" - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "object", + "properties": { + "labels": { + "type": "array", + "minItems": 1, + "description": "The names of the labels to set for the issue. The labels you set replace any existing labels. You can pass an empty array to remove all labels. Alternatively, you can pass a single label as a `string` or an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. You can also add labels to the existing labels for an issue. For more information, see \"[Add labels to an issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#add-labels-to-an-issue).\"", + "items": { + "type": "string" + } + } + } + }, + { + "type": "array", + "minItems": 1, + "items": { "type": "string" } + }, + { + "type": "object", + "properties": { + "labels": { + "type": "array", + "minItems": 1, + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ] + } + } + } + }, + { + "type": "array", + "minItems": 1, + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ] + } + }, + { + "type": "string" + } + ] + }, + "examples": { + "default": { + "value": { + "labels": [ + "bug", + "enhancement" + ] } } } } - }, - "404": { - "description": "Resource not found", + } + }, + "responses": { + "200": { + "description": "Response", "content": { "application/json": { "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { + "type": "array", + "items": { + "title": "Label", + "description": "Color-coded labels help you categorize and filter your issues (just like labels in Gmail).", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the label.", + "type": "integer", + "format": "int64", + "example": 208045946 + }, + "node_id": { + "type": "string", + "example": "MDU6TGFiZWwyMDgwNDU5NDY=" + }, + "url": { + "description": "URL for the label", + "example": "https://api.github.com/repositories/42/labels/bug", + "type": "string", + "format": "uri" + }, + "name": { + "description": "The name of the label.", + "example": "bug", + "type": "string" + }, + "description": { + "description": "Optional description of the label, such as its purpose.", + "type": "string", + "example": "Something isn't working", + "nullable": true + }, + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "example": "FFFFFF", + "type": "string" + }, + "default": { + "description": "Whether this label comes by default in a new repository.", + "type": "boolean", + "example": true + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "description", + "color", + "default" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "id": 208045946, + "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", + "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug", + "name": "bug", + "description": "Something isn't working", + "color": "f29513", + "default": true + }, + { + "id": 208045947, + "node_id": "MDU6TGFiZWwyMDgwNDU5NDc=", + "url": "https://api.github.com/repos/octocat/Hello-World/labels/enhancement", + "name": "enhancement", + "description": "New feature or request", + "color": "a2eeef", + "default": false + } + ] + } + } + } + } + }, + "301": { + "description": "Moved permanently", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "410": { + "description": "Gone", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { "type": "string" }, "status": { @@ -509602,27 +510558,94 @@ } } } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "issues", - "subcategory": "issues" + "subcategory": "labels" } - } - }, - "/repos/{owner}/{repo}/issues/{issue_number}/parent": { - "get": { - "summary": "Get parent issue", - "description": "You can use the REST API to get the parent issue of a sub-issue.\n\nThis endpoint supports the following custom media types. For more information, see [Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + }, + "delete": { + "summary": "Remove all labels from an issue", + "description": "Removes all labels from an issue.", "tags": [ "issues" ], - "operationId": "issues/get-parent", + "operationId": "issues/remove-all-labels", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#get-parent-issue" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#remove-all-labels-from-an-issue" }, "parameters": [ { @@ -509654,277 +510677,960 @@ } ], "responses": { - "200": { - "description": "Response", + "204": { + "description": "Response" + }, + "301": { + "description": "Moved permanently", "content": { "application/json": { "schema": { - "title": "Issue", - "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", + "title": "Basic Error", + "description": "Basic Error", "type": "object", "properties": { - "id": { - "type": "integer", - "format": "int64" + "message": { + "type": "string" }, - "node_id": { + "documentation_url": { "type": "string" }, "url": { - "description": "URL for the issue", - "example": "https://api.github.com/repositories/42/issues/1", - "type": "string", - "format": "uri" + "type": "string" }, - "repository_url": { - "type": "string", - "format": "uri" + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" }, - "labels_url": { + "documentation_url": { "type": "string" }, - "comments_url": { - "type": "string", - "format": "uri" + "url": { + "type": "string" }, - "events_url": { - "type": "string", - "format": "uri" + "status": { + "type": "string" + } + } + } + } + } + }, + "410": { + "description": "Gone", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" }, - "html_url": { - "type": "string", - "format": "uri" + "documentation_url": { + "type": "string" }, - "number": { - "description": "Number uniquely identifying the issue within its repository", - "example": 42, - "type": "integer" + "url": { + "type": "string" }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "example": "open", + "status": { "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "issues", + "subcategory": "labels" + } + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/labels/{name}": { + "delete": { + "summary": "Remove a label from an issue", + "description": "Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist.", + "tags": [ + "issues" + ], + "operationId": "issues/remove-label", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#remove-a-label-from-an-issue" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "issue_number", + "description": "The number that identifies the issue.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "name", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Label", + "description": "Color-coded labels help you categorize and filter your issues (just like labels in Gmail).", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the label.", + "type": "integer", + "format": "int64", + "example": 208045946 + }, + "node_id": { + "type": "string", + "example": "MDU6TGFiZWwyMDgwNDU5NDY=" + }, + "url": { + "description": "URL for the label", + "example": "https://api.github.com/repositories/42/labels/bug", + "type": "string", + "format": "uri" + }, + "name": { + "description": "The name of the label.", + "example": "bug", + "type": "string" + }, + "description": { + "description": "Optional description of the label, such as its purpose.", + "type": "string", + "example": "Something isn't working", + "nullable": true + }, + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "example": "FFFFFF", + "type": "string" + }, + "default": { + "description": "Whether this label comes by default in a new repository.", + "type": "boolean", + "example": true + } }, - "state_reason": { - "description": "The reason for the current state", - "example": "not_planned", - "type": "string", - "nullable": true, - "enum": [ - "completed", - "reopened", - "not_planned", - "duplicate" - ] + "required": [ + "id", + "node_id", + "url", + "name", + "description", + "color", + "default" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "id": 208045946, + "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", + "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug", + "name": "bug", + "description": "Something isn't working", + "color": "f29513", + "default": true + } + ] + } + } + } + } + }, + "301": { + "description": "Moved permanently", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" }, - "title": { - "description": "Title of the issue", - "example": "Widget creation fails in Safari on OS X 10.8", + "documentation_url": { "type": "string" }, - "body": { - "description": "Contents of the issue", - "example": "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?", - "type": "string", - "nullable": true + "url": { + "type": "string" }, - "user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" }, - "labels": { - "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", - "example": [ - "bug", - "registration" - ], + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "410": { + "description": "Gone", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "issues", + "subcategory": "labels" + } + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/lock": { + "put": { + "summary": "Lock an issue", + "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP method](https://docs.github.com/enterprise-cloud@latest/rest/guides/getting-started-with-the-rest-api#http-method).\"", + "tags": [ + "issues" + ], + "operationId": "issues/lock", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#lock-an-issue" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "issue_number", + "description": "The number that identifies the issue.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "type": "object", + "nullable": true, + "properties": { + "lock_reason": { + "type": "string", + "description": "The reason for locking the issue or pull request conversation. Lock will fail if you don't use one of these reasons: \n * `off-topic` \n * `too heated` \n * `resolved` \n * `spam`", + "enum": [ + "off-topic", + "too heated", + "resolved", + "spam" + ] + } + } + }, + "examples": { + "default": { + "summary": "Example of locking an issue as off-topic", + "value": { + "lock_reason": "off-topic" + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "410": { + "description": "Gone", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { "type": "array", "items": { - "oneOf": [ - { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { "type": "string" }, - { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "node_id": { - "type": "string" - }, - "url": { - "type": "string", - "format": "uri" - }, - "name": { - "type": "string" - }, - "description": { + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { "type": "string", "nullable": true }, - "color": { - "type": "string", + { + "type": "integer", "nullable": true }, - "default": { - "type": "boolean" + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } } - } + ] } - ] + } } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "issues", + "subcategory": "issues" + } + }, + "delete": { + "summary": "Unlock an issue", + "description": "Users with push access can unlock an issue's conversation.", + "tags": [ + "issues" + ], + "operationId": "issues/unlock", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#unlock-an-issue" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "issue_number", + "description": "The number that identifies the issue.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" }, - "assignee": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "issues", + "subcategory": "issues" + } + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/parent": { + "get": { + "summary": "Get parent issue", + "description": "You can use the REST API to get the parent issue of a sub-issue.\n\nThis endpoint supports the following custom media types. For more information, see [Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "tags": [ + "issues" + ], + "operationId": "issues/get-parent", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#get-parent-issue" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "issue_number", + "description": "The number that identifies the issue.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Issue", + "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the issue", + "example": "https://api.github.com/repositories/42/issues/1", + "type": "string", + "format": "uri" + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "labels_url": { + "type": "string" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "number": { + "description": "Number uniquely identifying the issue within its repository", + "example": 42, + "type": "integer" + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "example": "open", + "type": "string" + }, + "state_reason": { + "description": "The reason for the current state", + "example": "not_planned", + "type": "string", + "nullable": true, + "enum": [ + "completed", + "reopened", + "not_planned", + "duplicate" + ] + }, + "title": { + "description": "Title of the issue", + "example": "Widget creation fails in Safari on OS X 10.8", + "type": "string" + }, + "body": { + "description": "Contents of the issue", + "example": "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?", + "type": "string", + "nullable": true + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "labels": { + "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", + "example": [ + "bug", + "registration" + ], + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + }, + "color": { + "type": "string", + "nullable": true + }, + "default": { + "type": "boolean" + } + } + } + ] + } + }, + "assignee": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { "type": "string", "format": "uri", "example": "https://github.com/images/error/octocat_happy.gif" @@ -538221,572 +539927,2703 @@ "events" ] }, - "reactions": { - "title": "Reaction Rollup", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri" - }, - "total_count": { - "type": "integer" - }, - "+1": { - "type": "integer" - }, - "-1": { - "type": "integer" - }, - "laugh": { - "type": "integer" - }, - "confused": { - "type": "integer" - }, - "heart": { - "type": "integer" - }, - "hooray": { - "type": "integer" - }, - "eyes": { - "type": "integer" - }, - "rocket": { - "type": "integer" - } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "pin": { + "title": "Pinned Issue Comment", + "description": "Context around who pinned an issue comment and when it was pinned.", + "type": "object", + "properties": { + "pinned_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-14T16:00:49Z" + }, + "pinned_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + } + }, + "required": [ + "pinned_at", + "pinned_by" + ], + "nullable": true + } + }, + "required": [ + "id", + "node_id", + "html_url", + "issue_url", + "user", + "url", + "created_at", + "updated_at" + ], + "nullable": true + }, + "issue_dependencies_summary": { + "title": "Issue Dependencies Summary", + "type": "object", + "properties": { + "blocked_by": { + "type": "integer" + }, + "blocking": { + "type": "integer" + }, + "total_blocked_by": { + "type": "integer" + }, + "total_blocking": { + "type": "integer" + } + }, + "required": [ + "blocked_by", + "blocking", + "total_blocked_by", + "total_blocking" + ] + }, + "issue_field_values": { + "type": "array", + "items": { + "title": "Issue Field Value", + "description": "A value assigned to an issue field", + "type": "object", + "properties": { + "issue_field_id": { + "description": "Unique identifier for the issue field.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "IFT_GDKND" + }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": [ + "text", + "single_select", + "multi_select", + "number", + "date" + ], + "example": "text" + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "example": "Sample text" + }, + { + "type": "number", + "example": 42.5 + }, + { + "type": "integer", + "example": 1 + } + ], + "nullable": true + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the option", + "type": "string", + "example": "High" + }, + "color": { + "description": "The color of the option", + "type": "string", + "example": "red" + } + }, + "required": [ + "id", + "name", + "color" + ], + "nullable": true + }, + "multi_select_options": { + "description": "Details about the selected options", + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the option", + "type": "string", + "example": "High" + }, + "color": { + "description": "The color of the option", + "type": "string", + "example": "red" + } + }, + "required": [ + "id", + "name", + "color" + ] + }, + "nullable": true + } + }, + "required": [ + "issue_field_id", + "node_id", + "data_type", + "value" + ] + } + } + }, + "required": [ + "assignee", + "closed_at", + "comments", + "comments_url", + "events_url", + "html_url", + "id", + "node_id", + "labels", + "labels_url", + "milestone", + "number", + "repository_url", + "state", + "locked", + "title", + "url", + "user", + "created_at", + "updated_at" + ] + } + } + } + }, + "required": [ + "event", + "created_at", + "updated_at", + "source" + ] + }, + { + "title": "Timeline Committed Event", + "description": "Timeline Committed Event", + "type": "object", + "properties": { + "event": { + "type": "string" + }, + "sha": { + "description": "SHA for the commit", + "example": "7638417db6d59f3c431d3e1f261cc637155684cd", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "author": { + "description": "Identifying information for the git-user", + "type": "object", + "properties": { + "date": { + "description": "Timestamp of the commit", + "example": "2014-08-09T08:02:04+12:00", + "format": "date-time", + "type": "string" + }, + "email": { + "type": "string", + "description": "Git email address of the user", + "example": "monalisa.octocat@example.com" + }, + "name": { + "description": "Name of the git user", + "example": "Monalisa Octocat", + "type": "string" + } + }, + "required": [ + "email", + "name", + "date" + ] + }, + "committer": { + "description": "Identifying information for the git-user", + "type": "object", + "properties": { + "date": { + "description": "Timestamp of the commit", + "example": "2014-08-09T08:02:04+12:00", + "format": "date-time", + "type": "string" + }, + "email": { + "type": "string", + "description": "Git email address of the user", + "example": "monalisa.octocat@example.com" + }, + "name": { + "description": "Name of the git user", + "example": "Monalisa Octocat", + "type": "string" + } + }, + "required": [ + "email", + "name", + "date" + ] + }, + "message": { + "description": "Message describing the purpose of the commit", + "example": "Fix #42", + "type": "string" + }, + "tree": { + "type": "object", + "properties": { + "sha": { + "description": "SHA for the commit", + "example": "7638417db6d59f3c431d3e1f261cc637155684cd", + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "sha", + "url" + ] + }, + "parents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "sha": { + "description": "SHA for the commit", + "example": "7638417db6d59f3c431d3e1f261cc637155684cd", + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "sha", + "url", + "html_url" + ] + } + }, + "verification": { + "type": "object", + "properties": { + "verified": { + "type": "boolean" + }, + "reason": { + "type": "string" + }, + "signature": { + "type": "string", + "nullable": true + }, + "payload": { + "type": "string", + "nullable": true + }, + "verified_at": { + "type": "string", + "nullable": true + } + }, + "required": [ + "verified", + "reason", + "signature", + "payload", + "verified_at" + ] + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "sha", + "node_id", + "url", + "html_url", + "author", + "committer", + "tree", + "message", + "parents", + "verification" + ] + }, + { + "title": "Timeline Reviewed Event", + "description": "Timeline Reviewed Event", + "type": "object", + "properties": { + "event": { + "type": "string" + }, + "id": { + "description": "Unique identifier of the review", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA=" + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "body": { + "nullable": true, + "description": "The text of the review.", + "example": "This looks great.", + "type": "string" + }, + "state": { + "type": "string", + "example": "CHANGES_REQUESTED" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80" + }, + "pull_request_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/12" + }, + "_links": { + "type": "object", + "properties": { + "html": { + "type": "object", + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ] + }, + "pull_request": { + "type": "object", + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ] + } + }, + "required": [ + "html", + "pull_request" + ] + }, + "submitted_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time" + }, + "commit_id": { + "description": "A commit SHA for the review.", + "example": "54bb654c9e6025347f57900a4a5c2313a96b8035", + "type": "string" + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "author_association": { + "title": "author_association", + "type": "string", + "example": "OWNER", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + } + }, + "required": [ + "event", + "id", + "node_id", + "user", + "body", + "state", + "commit_id", + "html_url", + "pull_request_url", + "_links", + "author_association" + ] + }, + { + "title": "Timeline Line Commented Event", + "description": "Timeline Line Commented Event", + "type": "object", + "properties": { + "event": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "comments": { + "type": "array", + "items": { + "title": "Pull Request Review Comment", + "description": "Pull Request Review Comments are comments on a portion of the Pull Request's diff.", + "type": "object", + "properties": { + "url": { + "description": "URL for the pull request review comment", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1", + "type": "string" + }, + "pull_request_review_id": { + "description": "The ID of the pull request review to which the comment belongs.", + "type": "integer", + "format": "int64", + "example": 42, + "nullable": true + }, + "id": { + "description": "The ID of the pull request review comment.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "description": "The node ID of the pull request review comment.", + "type": "string", + "example": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw" + }, + "diff_hunk": { + "description": "The diff of the line that the comment refers to.", + "type": "string", + "example": "@@ -16,33 +16,40 @@ public class Connection : IConnection..." + }, + "path": { + "description": "The relative path of the file to which the comment applies.", + "example": "config/database.yaml", + "type": "string" + }, + "position": { + "description": "The line index in the diff to which the comment applies. This field is closing down; use `line` instead.", + "example": 1, + "type": "integer" + }, + "original_position": { + "description": "The index of the original line in the diff to which the comment applies. This field is closing down; use `original_line` instead.", + "example": 4, + "type": "integer" + }, + "commit_id": { + "description": "The SHA of the commit to which the comment applies.", + "example": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "type": "string" + }, + "original_commit_id": { + "description": "The SHA of the original commit to which the comment applies.", + "example": "9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840", + "type": "string" + }, + "in_reply_to_id": { + "description": "The comment ID to reply to.", + "example": 8, + "type": "integer" + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "body": { + "description": "The text of the comment.", + "example": "We should probably include a check for null values here.", + "type": "string" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-14T16:00:49Z" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-14T16:00:49Z" + }, + "html_url": { + "description": "HTML URL for the pull request review comment.", + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1" + }, + "pull_request_url": { + "description": "URL for the pull request that the review comment belongs to.", + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1" + }, + "author_association": { + "title": "author_association", + "type": "string", + "example": "OWNER", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + "_links": { + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1" + } + }, + "required": [ + "href" + ] + }, + "html": { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1" + } + }, + "required": [ + "href" + ] + }, + "pull_request": { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1" + } + }, + "required": [ + "href" + ] + } + }, + "required": [ + "self", + "html", + "pull_request" + ] + }, + "start_line": { + "type": "integer", + "description": "The first line of the range for a multi-line comment.", + "example": 2, + "nullable": true + }, + "original_start_line": { + "type": "integer", + "description": "The first line of the range for a multi-line comment.", + "example": 2, + "nullable": true + }, + "start_side": { + "type": "string", + "description": "The side of the first line of the range for a multi-line comment.", + "enum": [ + "LEFT", + "RIGHT" + ], + "default": "RIGHT", + "nullable": true + }, + "line": { + "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", + "example": 2, + "type": "integer" + }, + "original_line": { + "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", + "example": 2, + "type": "integer" + }, + "side": { + "description": "The side of the diff to which the comment applies. The side of the last line of the range for a multi-line comment", + "enum": [ + "LEFT", + "RIGHT" + ], + "default": "RIGHT", + "type": "string" + }, + "subject_type": { + "description": "The level at which the comment is targeted, can be a diff line or a file.", + "type": "string", + "enum": [ + "line", + "file" + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "body_html": { + "type": "string", + "example": "\"

comment body

\"" + }, + "body_text": { + "type": "string", + "example": "\"comment body\"" + } + }, + "required": [ + "url", + "id", + "node_id", + "pull_request_review_id", + "diff_hunk", + "path", + "commit_id", + "original_commit_id", + "user", + "body", + "created_at", + "updated_at", + "html_url", + "pull_request_url", + "author_association", + "_links" + ] + } + } + } + }, + { + "title": "Timeline Commit Commented Event", + "description": "Timeline Commit Commented Event", + "type": "object", + "properties": { + "event": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "commit_id": { + "type": "string" + }, + "comments": { + "type": "array", + "items": { + "title": "Commit Comment", + "description": "Commit Comment", + "type": "object", + "properties": { + "html_url": { + "type": "string", + "format": "uri" + }, + "url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "body": { + "type": "string" + }, + "path": { + "type": "string", + "nullable": true + }, + "position": { + "type": "integer", + "nullable": true + }, + "line": { + "type": "integer", + "nullable": true + }, + "commit_id": { + "type": "string" + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "author_association": { + "title": "author_association", + "type": "string", + "example": "OWNER", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + } + }, + "required": [ + "url", + "html_url", + "id", + "node_id", + "user", + "position", + "line", + "path", + "commit_id", + "body", + "author_association", + "created_at", + "updated_at" + ] + } + } + } + }, + { + "title": "Timeline Assigned Issue Event", + "description": "Timeline Assigned Issue Event", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "actor": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": "string", + "nullable": true + }, + "commit_url": { + "type": "string", + "nullable": true + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { + "type": "string", + "example": "MDExOkludGVncmF0aW9uMQ==" + }, + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", + "type": "string" + }, + "description": { + "type": "string", + "example": "The description of the app.", + "nullable": true + }, + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app. Note that the `installation_target`, `security_advisory`, and `meta` events are not included because they are global events and not specific to an installation.", + "example": [ + "label", + "deployment" + ], + "type": "array", + "items": { + "type": "string" + } + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "example": 5, + "type": "integer" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + }, + "assignee": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "required": [ + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app", + "assignee" + ] + }, + { + "title": "Timeline Unassigned Issue Event", + "description": "Timeline Unassigned Issue Event", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "actor": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": "string", + "nullable": true + }, + "commit_url": { + "type": "string", + "nullable": true + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { + "type": "string", + "example": "MDExOkludGVncmF0aW9uMQ==" + }, + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" }, - "pin": { - "title": "Pinned Issue Comment", - "description": "Context around who pinned an issue comment and when it was pinned.", - "type": "object", - "properties": { - "pinned_at": { - "type": "string", - "format": "date-time", - "example": "2011-04-14T16:00:49Z" - }, - "pinned_by": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - } - }, - "required": [ - "pinned_at", - "pinned_by" - ], + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" } }, "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", "id", "node_id", - "html_url", - "issue_url", - "user", - "url", - "created_at", - "updated_at" - ], - "nullable": true + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] }, - "issue_dependencies_summary": { - "title": "Issue Dependencies Summary", + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", "type": "object", "properties": { - "blocked_by": { - "type": "integer" + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true }, - "blocking": { - "type": "integer" + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" }, - "total_blocked_by": { - "type": "integer" + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" }, - "total_blocking": { + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, "type": "integer" - } - }, - "required": [ - "blocked_by", - "blocking", - "total_blocked_by", - "total_blocking" - ] - }, - "issue_field_values": { - "type": "array", - "items": { - "title": "Issue Field Value", - "description": "A value assigned to an issue field", - "type": "object", - "properties": { - "issue_field_id": { - "description": "Unique identifier for the issue field.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "IFT_GDKND" - }, - "data_type": { - "description": "The data type of the issue field", - "type": "string", - "enum": [ - "text", - "single_select", - "multi_select", - "number", - "date" - ], - "example": "text" - }, - "value": { - "description": "The value of the issue field", - "anyOf": [ - { - "type": "string", - "example": "Sample text" - }, - { - "type": "number", - "example": 42.5 - }, - { - "type": "integer", - "example": 1 - } - ], - "nullable": true - }, - "single_select_option": { - "description": "Details about the selected option (only present for single_select fields)", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "name": { - "description": "The name of the option", - "type": "string", - "example": "High" - }, - "color": { - "description": "The color of the option", - "type": "string", - "example": "red" - } - }, - "required": [ - "id", - "name", - "color" - ], - "nullable": true - }, - "multi_select_options": { - "description": "Details about the selected options", - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "name": { - "description": "The name of the option", - "type": "string", - "example": "High" - }, - "color": { - "description": "The color of the option", - "type": "string", - "example": "red" - } - }, - "required": [ - "id", - "name", - "color" - ] - }, - "nullable": true - } }, - "required": [ - "issue_field_id", - "node_id", - "data_type", - "value" - ] - } + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] } - }, - "required": [ - "assignee", - "closed_at", - "comments", - "comments_url", - "events_url", - "html_url", - "id", - "node_id", - "labels", - "labels_url", - "milestone", - "number", - "repository_url", - "state", - "locked", - "title", - "url", - "user", - "created_at", - "updated_at" ] - } - } - } - }, - "required": [ - "event", - "created_at", - "updated_at", - "source" - ] - }, - { - "title": "Timeline Committed Event", - "description": "Timeline Committed Event", - "type": "object", - "properties": { - "event": { - "type": "string" - }, - "sha": { - "description": "SHA for the commit", - "example": "7638417db6d59f3c431d3e1f261cc637155684cd", - "type": "string" - }, - "node_id": { - "type": "string" - }, - "url": { - "type": "string", - "format": "uri" - }, - "author": { - "description": "Identifying information for the git-user", - "type": "object", - "properties": { - "date": { - "description": "Timestamp of the commit", - "example": "2014-08-09T08:02:04+12:00", - "format": "date-time", + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", "type": "string" }, - "email": { + "description": { "type": "string", - "description": "Git email address of the user", - "example": "monalisa.octocat@example.com" + "example": "The description of the app.", + "nullable": true }, - "name": { - "description": "Name of the git user", - "example": "Monalisa Octocat", - "type": "string" - } - }, - "required": [ - "email", - "name", - "date" - ] - }, - "committer": { - "description": "Identifying information for the git-user", - "type": "object", - "properties": { - "date": { - "description": "Timestamp of the commit", - "example": "2014-08-09T08:02:04+12:00", + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", "format": "date-time", - "type": "string" + "example": "2017-07-08T16:18:44-04:00" }, - "email": { + "updated_at": { "type": "string", - "description": "Git email address of the user", - "example": "monalisa.octocat@example.com" + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" }, - "name": { - "description": "Name of the git user", - "example": "Monalisa Octocat", - "type": "string" + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app. Note that the `installation_target`, `security_advisory`, and `meta` events are not included because they are global events and not specific to an installation.", + "example": [ + "label", + "deployment" + ], + "type": "array", + "items": { + "type": "string" + } + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "example": 5, + "type": "integer" } }, "required": [ - "email", + "id", + "node_id", + "owner", "name", - "date" + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" ] }, - "message": { - "description": "Message describing the purpose of the commit", - "example": "Fix #42", - "type": "string" - }, - "tree": { + "assignee": { + "title": "Simple User", + "description": "A GitHub user.", "type": "object", "properties": { - "sha": { - "description": "SHA for the commit", - "example": "7638417db6d59f3c431d3e1f261cc637155684cd", + "name": { + "nullable": true, "type": "string" }, - "url": { + "email": { + "nullable": true, + "type": "string" + }, + "login": { "type": "string", - "format": "uri" - } - }, - "required": [ - "sha", - "url" - ] - }, - "parents": { - "type": "array", - "items": { - "type": "object", - "properties": { - "sha": { - "description": "SHA for the commit", - "example": "7638417db6d59f3c431d3e1f261cc637155684cd", - "type": "string" - }, - "url": { - "type": "string", - "format": "uri" - }, - "html_url": { - "type": "string", - "format": "uri" - } + "example": "octocat" }, - "required": [ - "sha", - "url", - "html_url" - ] - } - }, - "verification": { - "type": "object", - "properties": { - "verified": { - "type": "boolean" + "id": { + "type": "integer", + "format": "int64", + "example": 1 }, - "reason": { - "type": "string" + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" }, - "signature": { + "avatar_url": { "type": "string", - "nullable": true + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" }, - "payload": { + "gravatar_id": { "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", "nullable": true }, - "verified_at": { + "url": { "type": "string", - "nullable": true + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" } }, "required": [ - "verified", - "reason", - "signature", - "payload", - "verified_at" + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] - }, - "html_url": { - "type": "string", - "format": "uri" } }, "required": [ - "sha", + "id", "node_id", "url", - "html_url", - "author", - "committer", - "tree", - "message", - "parents", - "verification" + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app", + "assignee" ] }, { - "title": "Timeline Reviewed Event", - "description": "Timeline Reviewed Event", + "title": "State Change Issue Event", + "description": "State Change Issue Event", "type": "object", "properties": { - "event": { - "type": "string" - }, "id": { - "description": "Unique identifier of the review", - "example": 42, "type": "integer" }, "node_id": { - "type": "string", - "example": "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA=" + "type": "string" }, - "user": { + "url": { + "type": "string" + }, + "actor": { "title": "Simple User", "description": "A GitHub user.", "type": "object", @@ -538896,818 +542733,363 @@ "following_url", "gists_url", "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - "body": { - "nullable": true, - "description": "The text of the review.", - "example": "This looks great.", - "type": "string" - }, - "state": { - "type": "string", - "example": "CHANGES_REQUESTED" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80" - }, - "pull_request_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/12" - }, - "_links": { - "type": "object", - "properties": { - "html": { - "type": "object", - "properties": { - "href": { - "type": "string" - } - }, - "required": [ - "href" - ] - }, - "pull_request": { - "type": "object", - "properties": { - "href": { - "type": "string" - } - }, - "required": [ - "href" - ] - } - }, - "required": [ - "html", - "pull_request" - ] - }, - "submitted_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "nullable": true, - "format": "date-time" - }, - "commit_id": { - "description": "A commit SHA for the review.", - "example": "54bb654c9e6025347f57900a4a5c2313a96b8035", - "type": "string" - }, - "body_html": { - "type": "string" - }, - "body_text": { - "type": "string" - }, - "author_association": { - "title": "author_association", - "type": "string", - "example": "OWNER", - "description": "How the author is associated with the repository.", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] - } - }, - "required": [ - "event", - "id", - "node_id", - "user", - "body", - "state", - "commit_id", - "html_url", - "pull_request_url", - "_links", - "author_association" - ] - }, - { - "title": "Timeline Line Commented Event", - "description": "Timeline Line Commented Event", - "type": "object", - "properties": { + }, "event": { "type": "string" }, - "node_id": { + "commit_id": { + "type": "string", + "nullable": true + }, + "commit_url": { + "type": "string", + "nullable": true + }, + "created_at": { "type": "string" }, - "comments": { - "type": "array", - "items": { - "title": "Pull Request Review Comment", - "description": "Pull Request Review Comments are comments on a portion of the Pull Request's diff.", - "type": "object", - "properties": { - "url": { - "description": "URL for the pull request review comment", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1", - "type": "string" - }, - "pull_request_review_id": { - "description": "The ID of the pull request review to which the comment belongs.", - "type": "integer", - "format": "int64", - "example": 42, - "nullable": true - }, - "id": { - "description": "The ID of the pull request review comment.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "description": "The node ID of the pull request review comment.", - "type": "string", - "example": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw" - }, - "diff_hunk": { - "description": "The diff of the line that the comment refers to.", - "type": "string", - "example": "@@ -16,33 +16,40 @@ public class Connection : IConnection..." - }, - "path": { - "description": "The relative path of the file to which the comment applies.", - "example": "config/database.yaml", - "type": "string" - }, - "position": { - "description": "The line index in the diff to which the comment applies. This field is closing down; use `line` instead.", - "example": 1, - "type": "integer" - }, - "original_position": { - "description": "The index of the original line in the diff to which the comment applies. This field is closing down; use `original_line` instead.", - "example": 4, - "type": "integer" - }, - "commit_id": { - "description": "The SHA of the commit to which the comment applies.", - "example": "6dcb09b5b57875f334f61aebed695e2e4193db5e", - "type": "string" - }, - "original_commit_id": { - "description": "The SHA of the original commit to which the comment applies.", - "example": "9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840", - "type": "string" - }, - "in_reply_to_id": { - "description": "The comment ID to reply to.", - "example": 8, - "type": "integer" - }, - "user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "body": { - "description": "The text of the comment.", - "example": "We should probably include a check for null values here.", - "type": "string" - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2011-04-14T16:00:49Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2011-04-14T16:00:49Z" - }, - "html_url": { - "description": "HTML URL for the pull request review comment.", - "type": "string", - "format": "uri", - "example": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1" - }, - "pull_request_url": { - "description": "URL for the pull request that the review comment belongs to.", - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1" - }, - "author_association": { - "title": "author_association", - "type": "string", - "example": "OWNER", - "description": "How the author is associated with the repository.", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "_links": { - "type": "object", - "properties": { - "self": { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1" - } + "performed_via_github_app": { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { + "type": "string", + "example": "MDExOkludGVncmF0aW9uMQ==" + }, + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" }, - "required": [ - "href" - ] - }, - "html": { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1" - } + "email": { + "nullable": true, + "type": "string" }, - "required": [ - "href" - ] - }, - "pull_request": { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1" - } + "login": { + "type": "string", + "example": "octocat" }, - "required": [ - "href" - ] - } - }, - "required": [ - "self", - "html", - "pull_request" - ] - }, - "start_line": { - "type": "integer", - "description": "The first line of the range for a multi-line comment.", - "example": 2, - "nullable": true - }, - "original_start_line": { - "type": "integer", - "description": "The first line of the range for a multi-line comment.", - "example": 2, - "nullable": true - }, - "start_side": { - "type": "string", - "description": "The side of the first line of the range for a multi-line comment.", - "enum": [ - "LEFT", - "RIGHT" - ], - "default": "RIGHT", - "nullable": true - }, - "line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "example": 2, - "type": "integer" - }, - "original_line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "example": 2, - "type": "integer" - }, - "side": { - "description": "The side of the diff to which the comment applies. The side of the last line of the range for a multi-line comment", - "enum": [ - "LEFT", - "RIGHT" - ], - "default": "RIGHT", - "type": "string" - }, - "subject_type": { - "description": "The level at which the comment is targeted, can be a diff line or a file.", - "type": "string", - "enum": [ - "line", - "file" - ] - }, - "reactions": { - "title": "Reaction Rollup", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri" - }, - "total_count": { - "type": "integer" - }, - "+1": { - "type": "integer" - }, - "-1": { - "type": "integer" - }, - "laugh": { - "type": "integer" - }, - "confused": { - "type": "integer" - }, - "heart": { - "type": "integer" - }, - "hooray": { - "type": "integer" + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } }, - "eyes": { - "type": "integer" + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } }, - "rocket": { - "type": "integer" - } + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", + "type": "string" + }, + "description": { + "type": "string", + "example": "The description of the app.", + "nullable": true + }, + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } }, - "body_html": { - "type": "string", - "example": "\"

comment body

\"" + "additionalProperties": { + "type": "string" }, - "body_text": { - "type": "string", - "example": "\"comment body\"" + "example": { + "issues": "read", + "deployments": "write" } }, - "required": [ - "url", - "id", - "node_id", - "pull_request_review_id", - "diff_hunk", - "path", - "commit_id", - "original_commit_id", - "user", - "body", - "created_at", - "updated_at", - "html_url", - "pull_request_url", - "author_association", - "_links" - ] - } - } - } - }, - { - "title": "Timeline Commit Commented Event", - "description": "Timeline Commit Commented Event", - "type": "object", - "properties": { - "event": { - "type": "string" - }, - "node_id": { - "type": "string" - }, - "commit_id": { - "type": "string" - }, - "comments": { - "type": "array", - "items": { - "title": "Commit Comment", - "description": "Commit Comment", - "type": "object", - "properties": { - "html_url": { - "type": "string", - "format": "uri" - }, - "url": { - "type": "string", - "format": "uri" - }, - "id": { - "type": "integer" - }, - "node_id": { - "type": "string" - }, - "body": { - "type": "string" - }, - "path": { - "type": "string", - "nullable": true - }, - "position": { - "type": "integer", - "nullable": true - }, - "line": { - "type": "integer", - "nullable": true - }, - "commit_id": { + "events": { + "description": "The list of events for the GitHub app. Note that the `installation_target`, `security_advisory`, and `meta` events are not included because they are global events and not specific to an installation.", + "example": [ + "label", + "deployment" + ], + "type": "array", + "items": { "type": "string" - }, - "user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "author_association": { - "title": "author_association", - "type": "string", - "example": "OWNER", - "description": "How the author is associated with the repository.", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "reactions": { - "title": "Reaction Rollup", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri" - }, - "total_count": { - "type": "integer" - }, - "+1": { - "type": "integer" - }, - "-1": { - "type": "integer" - }, - "laugh": { - "type": "integer" - }, - "confused": { - "type": "integer" - }, - "heart": { - "type": "integer" - }, - "hooray": { - "type": "integer" - }, - "eyes": { - "type": "integer" - }, - "rocket": { - "type": "integer" - } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] } }, - "required": [ - "url", - "html_url", - "id", - "node_id", - "user", - "position", - "line", - "path", - "commit_id", - "body", - "author_association", - "created_at", - "updated_at" - ] - } + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "example": 5, + "type": "integer" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + }, + "state_reason": { + "type": "string", + "nullable": true } - } + }, + "required": [ + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] }, { - "title": "Timeline Assigned Issue Event", - "description": "Timeline Assigned Issue Event", + "title": "Issue Type Added Issue Event", + "description": "Issue Type Added Issue Event", "type": "object", "properties": { "id": { @@ -540166,132 +543548,44 @@ "events" ] }, - "assignee": { - "title": "Simple User", - "description": "A GitHub user.", + "issue_type": { + "title": "Issue Type", + "description": "The type of issue.", "type": "object", + "nullable": true, "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, "id": { "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" + "description": "The unique identifier of the issue type." }, - "avatar_url": { + "name": { "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" + "description": "The name of the issue type." }, - "gravatar_id": { + "color": { "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" } }, "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" + "name" ] } }, "required": [ + "issue_type", "id", "node_id", "url", @@ -540300,13 +543594,12 @@ "commit_id", "commit_url", "created_at", - "performed_via_github_app", - "assignee" + "performed_via_github_app" ] }, { - "title": "Timeline Unassigned Issue Event", - "description": "Timeline Unassigned Issue Event", + "title": "Issue Type Removed Issue Event", + "description": "Issue Type Removed Issue Event", "type": "object", "properties": { "id": { @@ -540765,132 +544058,44 @@ "events" ] }, - "assignee": { - "title": "Simple User", - "description": "A GitHub user.", + "prev_issue_type": { + "title": "Issue Type", + "description": "The type of issue.", "type": "object", + "nullable": true, "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, "id": { "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" + "description": "The unique identifier of the issue type." }, - "avatar_url": { + "name": { "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" + "description": "The name of the issue type." }, - "gravatar_id": { + "color": { "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" } }, "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" + "name" ] } }, "required": [ + "prev_issue_type", "id", "node_id", "url", @@ -540899,13 +544104,12 @@ "commit_id", "commit_url", "created_at", - "performed_via_github_app", - "assignee" + "performed_via_github_app" ] }, { - "title": "State Change Issue Event", - "description": "State Change Issue Event", + "title": "Issue Type Changed Issue Event", + "description": "Issue Type Changed Issue Event", "type": "object", "properties": { "id": { @@ -541364,12 +544568,80 @@ "events" ] }, - "state_reason": { - "type": "string", - "nullable": true + "issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, + "prev_issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] } }, "required": [ + "issue_type", + "prev_issue_type", "id", "node_id", "url", diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml index 7aa605a55d..a22d8b2215 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -1038,7 +1038,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &791 + - &795 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -4261,7 +4261,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &800 + schema: &804 title: Scim Error description: Scim Error type: object @@ -11645,7 +11645,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &801 + '401': &805 description: Authorization failure '404': *6 x-github: @@ -24642,7 +24642,7 @@ paths: - *169 rules: type: array - items: &756 + items: &760 title: Repository Rule type: object description: A repository rule. @@ -24651,7 +24651,7 @@ paths: - *175 - *176 - *177 - - &754 + - &758 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -25258,14 +25258,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &769 + state: &773 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &770 + resolution: &774 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -25382,8 +25382,8 @@ paths: pull request. ' - oneOf: &771 - - &773 + oneOf: &775 + - &777 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -25441,7 +25441,7 @@ paths: - blob_url - commit_sha - commit_url - - &774 + - &778 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -25496,7 +25496,7 @@ paths: - page_url - commit_sha - commit_url - - &775 + - &779 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -25516,7 +25516,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &776 + - &780 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -25536,7 +25536,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &777 + - &781 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -25556,7 +25556,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &778 + - &782 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -25570,7 +25570,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &779 + - &783 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -25584,7 +25584,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &780 + - &784 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -25598,7 +25598,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &781 + - &785 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -25618,7 +25618,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &782 + - &786 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -25638,7 +25638,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &783 + - &787 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -25658,7 +25658,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &784 + - &788 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -25678,7 +25678,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &785 + - &789 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -29556,7 +29556,7 @@ paths: properties: action: type: string - discussion: &909 + discussion: &913 title: Discussion description: A Discussion in a repository. type: object @@ -30301,7 +30301,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &828 + sub_issues_summary: &832 title: Sub-issues Summary type: object properties: @@ -30388,7 +30388,7 @@ paths: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: &711 + properties: &712 pinned_at: type: string format: date-time @@ -30400,7 +30400,7 @@ paths: properties: *20 required: *21 nullable: true - required: &712 + required: &713 - pinned_at - pinned_by nullable: true @@ -30414,7 +30414,7 @@ paths: - created_at - updated_at nullable: true - issue_dependencies_summary: &829 + issue_dependencies_summary: &833 title: Issue Dependencies Summary type: object properties: @@ -30433,7 +30433,7 @@ paths: - total_blocking issue_field_values: type: array - items: &695 + items: &696 title: Issue Field Value description: A value assigned to an issue field type: object @@ -31222,7 +31222,7 @@ paths: type: string release: allOf: - - &747 + - &751 title: Release description: A release. type: object @@ -31293,7 +31293,7 @@ paths: author: *4 assets: type: array - items: &748 + items: &752 title: Release Asset description: Data related to a release. type: object @@ -31872,7 +31872,7 @@ paths: url: type: string format: uri - user: &835 + user: &839 title: Public User description: Public User type: object @@ -35276,7 +35276,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &721 + - &725 name: all description: If `true`, show notifications marked as read. in: query @@ -35284,7 +35284,7 @@ paths: schema: type: boolean default: false - - &722 + - &726 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -35294,7 +35294,7 @@ paths: type: boolean default: false - *235 - - &723 + - &727 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -35832,7 +35832,7 @@ paths: - url - subscription_url examples: - default: &724 + default: &728 value: - id: '1' repository: @@ -36684,7 +36684,7 @@ paths: type: array items: *160 examples: - default: &730 + default: &734 value: - property_name: environment value: production @@ -36734,7 +36734,7 @@ paths: required: - properties examples: - default: &731 + default: &735 value: properties: - property_name: environment @@ -43370,12 +43370,12 @@ paths: required: - subject_digests examples: - default: &867 + default: &871 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &868 + withPredicateType: &872 value: subject_digests: - sha256:abc123 @@ -43433,7 +43433,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &869 + default: &873 value: attestations_subject_digests: - sha256:abc: @@ -56247,7 +56247,7 @@ paths: parameters: - *89 - *411 - - &850 + - &854 name: repo_name description: repo_name parameter in: path @@ -57575,7 +57575,7 @@ paths: - nuget - container - *89 - - &851 + - &855 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -57616,7 +57616,7 @@ paths: default: *417 '403': *29 '401': *25 - '400': &853 + '400': &857 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -59713,7 +59713,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &945 + properties: &949 id: type: number description: The unique identifier of the status update. @@ -59761,7 +59761,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &946 + required: &950 - id - node_id - created_at @@ -60201,7 +60201,7 @@ paths: - review_comment - self author_association: *225 - auto_merge: &733 + auto_merge: &737 title: Auto merge description: The status of auto merging a pull request. type: object @@ -60579,7 +60579,7 @@ paths: - updated_at - project_url examples: - default: &873 + default: &877 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -60756,7 +60756,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &874 + items: &878 type: object properties: name: @@ -60793,7 +60793,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &875 + iteration_configuration: &879 type: object description: The configuration for iteration fields. properties: @@ -60843,7 +60843,7 @@ paths: value: name: Due date data_type: date - single_select_field: &876 + single_select_field: &880 summary: Create a single select field value: name: Priority @@ -60870,7 +60870,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &877 + iteration_field: &881 summary: Create an iteration field value: name: Sprint @@ -60896,7 +60896,7 @@ paths: application/json: schema: *438 examples: - text_field: &878 + text_field: &882 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -60905,7 +60905,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-05-15T08:00:00Z' updated_at: '2022-05-15T08:00:00Z' - number_field: &879 + number_field: &883 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -60914,7 +60914,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-01T14:30:00Z' updated_at: '2022-06-01T14:30:00Z' - date_field: &880 + date_field: &884 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -60923,7 +60923,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-10T09:15:00Z' updated_at: '2022-06-10T09:15:00Z' - single_select_field: &881 + single_select_field: &885 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -60957,7 +60957,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &882 + iteration_field: &886 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -61003,7 +61003,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#get-project-field-for-organization parameters: - *434 - - &883 + - &887 name: field_id description: The unique identifier of the field. in: path @@ -61018,7 +61018,7 @@ paths: application/json: schema: *438 examples: - default: &884 + default: &888 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -62215,7 +62215,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &864 + schema: &868 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -62392,7 +62392,7 @@ paths: parameters: - *434 - *89 - - &885 + - &889 name: view_number description: The number that identifies the project view. in: path @@ -64220,7 +64220,7 @@ paths: - *89 - *17 - *19 - - &755 + - &759 name: targets description: | A comma-separated list of rule targets to filter by. @@ -64436,7 +64436,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *89 - - &757 + - &761 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -64448,14 +64448,14 @@ paths: x-multi-segment: true - *322 - *107 - - &758 + - &762 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &759 + - &763 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -64468,7 +64468,7 @@ paths: - bypass - all default: all - - &760 + - &764 name: evaluate_status description: |- The evaluate status to filter on. When specified, only rule suites resulting from rulesets with the specified evaluate status will be returned. @@ -64491,7 +64491,7 @@ paths: description: Response content: application/json: - schema: &761 + schema: &765 title: Rule Suites description: Response type: array @@ -64546,7 +64546,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &762 + default: &766 value: - id: 21 actor_id: 12 @@ -64590,7 +64590,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *89 - - &763 + - &767 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -64606,7 +64606,7 @@ paths: description: Response content: application/json: - schema: &764 + schema: &768 title: Rule Suite description: Response type: object @@ -64705,7 +64705,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &765 + default: &769 value: id: 21 actor_id: 12 @@ -65041,7 +65041,7 @@ paths: - *112 - *19 - *17 - - &767 + - &771 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -65051,7 +65051,7 @@ paths: required: false schema: type: string - - &768 + - &772 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -65265,7 +65265,7 @@ paths: application/json: schema: type: array - items: &789 + items: &793 description: A repository security advisory. type: object properties: @@ -65556,7 +65556,7 @@ paths: - private_fork additionalProperties: false examples: - default: &790 + default: &794 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -67582,7 +67582,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &831 + response-if-user-is-a-team-maintainer: &835 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -67647,7 +67647,7 @@ paths: application/json: schema: *490 examples: - response-if-users-membership-with-team-is-now-pending: &832 + response-if-users-membership-with-team-is-now-pending: &836 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -67761,7 +67761,7 @@ paths: description: Alternative response with repository permissions content: application/json: - schema: &833 + schema: &837 title: Team Repository description: A team's access to a repository. type: object @@ -68529,7 +68529,7 @@ paths: type: array items: *325 examples: - response-if-child-teams-exist: &834 + response-if-child-teams-exist: &838 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -74205,7 +74205,7 @@ paths: description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: &903 + properties: &907 url: type: string format: uri @@ -74290,7 +74290,7 @@ paths: nullable: true properties: *223 required: *224 - required: &904 + required: &908 - id - node_id - sha @@ -80714,7 +80714,7 @@ paths: check. type: array items: *233 - deployment: &896 + deployment: &900 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -81626,7 +81626,7 @@ paths: type: string format: date-time nullable: true - head_commit: &929 + head_commit: &933 title: Simple Commit description: A commit. type: object @@ -85897,14 +85897,14 @@ paths: type: integer machines: type: array - items: &840 + items: &844 type: object title: Codespace machine description: A description of the machine powering a codespace. properties: *595 required: *596 examples: - default: &841 + default: &845 value: total_count: 2 machines: @@ -87542,7 +87542,7 @@ paths: type: array items: *607 examples: - default: &740 + default: &744 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -87833,7 +87833,7 @@ paths: type: array items: *611 examples: - default: &732 + default: &736 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -88391,7 +88391,7 @@ paths: application/json: schema: *607 examples: - default: &717 + default: &721 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -89050,7 +89050,7 @@ paths: application/json: schema: type: array - items: &794 + items: &798 title: Status description: The status of a commit. type: object @@ -90019,7 +90019,7 @@ paths: - size - type - url - - &745 + - &749 title: Content File description: Content File type: object @@ -90633,7 +90633,7 @@ paths: items: type: object properties: - placeholder_id: &786 + placeholder_id: &790 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -97333,7 +97333,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &937 + last_response: &941 title: Hook Response type: object properties: @@ -98385,7 +98385,7 @@ paths: parameters: - *491 - *492 - - &862 + - &866 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -98970,7 +98970,7 @@ paths: type: array items: *681 examples: - default: &855 + default: &859 value: - id: 1 repository: @@ -99416,7 +99416,7 @@ paths: type: array items: *228 examples: - default: &694 + default: &695 value: - id: 1 node_id: MDU6SXNzdWUx @@ -99704,7 +99704,7 @@ paths: application/json: schema: *228 examples: - default: &691 + default: &692 value: id: 1 node_id: MDU6SXNzdWUx @@ -99913,7 +99913,7 @@ paths: type: array items: *684 examples: - default: &693 + default: &694 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -100368,7 +100368,7 @@ paths: application/json: schema: type: array - items: &690 + items: &691 title: Issue Event description: Issue Event type: object @@ -100521,6 +100521,35 @@ paths: required: - from - to + issue_type: &690 + title: Issue Type + description: The type of issue. + type: object + nullable: true + properties: + id: + type: integer + description: The unique identifier of the issue type. + name: + type: string + description: The name of the issue type. + color: + type: string + description: The color of the issue type. + enum: + - gray + - blue + - green + - yellow + - orange + - red + - pink + - purple + nullable: true + required: + - id + - name + prev_issue_type: *690 author_association: *225 lock_reason: type: string @@ -100732,7 +100761,7 @@ paths: description: Response content: application/json: - schema: *690 + schema: *691 examples: default: value: @@ -100961,7 +100990,7 @@ paths: parameters: - *491 - *492 - - &692 + - &693 name: issue_number description: The number that identifies the issue. in: path @@ -100977,7 +101006,7 @@ paths: examples: default: summary: Issue - value: *691 + value: *692 pinned_comment: summary: Issue with pinned comment value: @@ -101205,7 +101234,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 requestBody: required: false content: @@ -101335,7 +101364,7 @@ paths: application/json: schema: *228 examples: - default: *691 + default: *692 '422': *15 '503': *200 '403': *29 @@ -101361,7 +101390,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 requestBody: required: false content: @@ -101389,7 +101418,7 @@ paths: application/json: schema: *228 examples: - default: *691 + default: *692 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101407,7 +101436,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 requestBody: content: application/json: @@ -101434,7 +101463,7 @@ paths: application/json: schema: *228 examples: - default: *691 + default: *692 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101458,7 +101487,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 - name: assignee in: path required: true @@ -101500,7 +101529,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 - *235 - *17 - *19 @@ -101513,7 +101542,7 @@ paths: type: array items: *684 examples: - default: *693 + default: *694 headers: Link: *47 '404': *6 @@ -101548,7 +101577,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 requestBody: required: true content: @@ -101609,7 +101638,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 - *17 - *19 responses: @@ -101621,7 +101650,7 @@ paths: type: array items: *228 examples: - default: *694 + default: *695 headers: Link: *47 '301': *497 @@ -101656,7 +101685,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 requestBody: required: true content: @@ -101680,7 +101709,7 @@ paths: application/json: schema: *228 examples: - default: *691 + default: *692 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by @@ -101721,7 +101750,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -101735,7 +101764,7 @@ paths: application/json: schema: *228 examples: - default: *691 + default: *692 '301': *497 '400': *14 '401': *25 @@ -101769,7 +101798,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 - *17 - *19 responses: @@ -101781,7 +101810,7 @@ paths: type: array items: *228 examples: - default: *694 + default: *695 headers: Link: *47 '301': *497 @@ -101805,7 +101834,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 - *17 - *19 responses: @@ -101819,7 +101848,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &698 + - &699 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -101873,7 +101902,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &699 + - &700 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -102009,7 +102038,7 @@ paths: - performed_via_github_app - assignee - assigner - - &700 + - &701 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -102060,7 +102089,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &701 + - &702 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -102111,7 +102140,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &702 + - &703 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -102165,7 +102194,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &703 + - &704 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -102212,7 +102241,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &704 + - &705 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -102259,7 +102288,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &705 + - &706 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -102319,7 +102348,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &706 + - &707 title: Locked Issue Event description: Locked Issue Event type: object @@ -102367,7 +102396,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &707 + - &708 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -102433,7 +102462,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &708 + - &709 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -102499,7 +102528,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &709 + - &710 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -102565,7 +102594,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &710 + - &711 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -102621,6 +102650,143 @@ paths: - commit_url - created_at - performed_via_github_app + - &714 + title: Issue Type Added Issue Event + description: Issue Type Added Issue Event + type: object + properties: + id: + type: integer + node_id: + type: string + url: + type: string + actor: *4 + event: + type: string + commit_id: + type: string + nullable: true + commit_url: + type: string + nullable: true + created_at: + type: string + performed_via_github_app: + title: GitHub app + description: GitHub apps are a new way to extend GitHub. They + can be installed directly on organizations and user accounts + and granted access to specific repositories. They come with + granular permissions and built-in webhooks. GitHub apps + are first class actors within GitHub. + type: object + nullable: true + properties: *223 + required: *224 + issue_type: *690 + required: + - issue_type + - id + - node_id + - url + - actor + - event + - commit_id + - commit_url + - created_at + - performed_via_github_app + - &715 + title: Issue Type Removed Issue Event + description: Issue Type Removed Issue Event + type: object + properties: + id: + type: integer + node_id: + type: string + url: + type: string + actor: *4 + event: + type: string + commit_id: + type: string + nullable: true + commit_url: + type: string + nullable: true + created_at: + type: string + performed_via_github_app: + title: GitHub app + description: GitHub apps are a new way to extend GitHub. They + can be installed directly on organizations and user accounts + and granted access to specific repositories. They come with + granular permissions and built-in webhooks. GitHub apps + are first class actors within GitHub. + type: object + nullable: true + properties: *223 + required: *224 + prev_issue_type: *690 + required: + - prev_issue_type + - id + - node_id + - url + - actor + - event + - commit_id + - commit_url + - created_at + - performed_via_github_app + - &716 + title: Issue Type Changed Issue Event + description: Issue Type Changed Issue Event + type: object + properties: + id: + type: integer + node_id: + type: string + url: + type: string + actor: *4 + event: + type: string + commit_id: + type: string + nullable: true + commit_url: + type: string + nullable: true + created_at: + type: string + performed_via_github_app: + title: GitHub app + description: GitHub apps are a new way to extend GitHub. They + can be installed directly on organizations and user accounts + and granted access to specific repositories. They come with + granular permissions and built-in webhooks. GitHub apps + are first class actors within GitHub. + type: object + nullable: true + properties: *223 + required: *224 + issue_type: *690 + prev_issue_type: *690 + required: + - issue_type + - prev_issue_type + - id + - node_id + - url + - actor + - event + - commit_id + - commit_url + - created_at + - performed_via_github_app examples: default: value: @@ -102675,7 +102841,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 - *17 - *19 responses: @@ -102685,9 +102851,9 @@ paths: application/json: schema: type: array - items: *695 + items: *696 examples: - default: &696 + default: &697 value: - issue_field_id: 1 node_id: IFT_GDKND @@ -102755,7 +102921,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 requestBody: required: true content: @@ -102825,9 +102991,9 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *695 + items: *696 examples: - default: *696 + default: *697 '400': *14 '403': *29 '404': *6 @@ -102865,7 +103031,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 requestBody: required: true content: @@ -102930,9 +103096,9 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *695 + items: *696 examples: - default: *696 + default: *697 '400': *14 '403': *29 '404': *6 @@ -102965,7 +103131,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 - *399 responses: '204': @@ -102993,7 +103159,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 - *17 - *19 responses: @@ -103005,7 +103171,7 @@ paths: type: array items: *227 examples: - default: &697 + default: &698 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -103043,7 +103209,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 requestBody: required: false content: @@ -103088,7 +103254,7 @@ paths: type: array items: *227 examples: - default: *697 + default: *698 '301': *497 '404': *6 '410': *683 @@ -103110,7 +103276,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 requestBody: required: false content: @@ -103172,7 +103338,7 @@ paths: type: array items: *227 examples: - default: *697 + default: *698 '301': *497 '404': *6 '410': *683 @@ -103194,7 +103360,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 responses: '204': description: Response @@ -103221,7 +103387,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 - name: name in: path required: true @@ -103269,7 +103435,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 requestBody: required: false content: @@ -103317,7 +103483,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 responses: '204': description: Response @@ -103349,7 +103515,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 responses: '200': description: Response @@ -103357,7 +103523,7 @@ paths: application/json: schema: *228 examples: - default: *691 + default: *692 '301': *497 '404': *6 '410': *683 @@ -103379,7 +103545,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 - 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. @@ -103431,7 +103597,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 requestBody: required: true content: @@ -103496,7 +103662,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 - *687 responses: '204': @@ -103528,7 +103694,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 requestBody: required: true content: @@ -103552,7 +103718,7 @@ paths: application/json: schema: *228 examples: - default: *691 + default: *692 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -103587,7 +103753,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 - *17 - *19 responses: @@ -103599,7 +103765,7 @@ paths: type: array items: *228 examples: - default: *694 + default: *695 headers: Link: *47 '404': *6 @@ -103633,7 +103799,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 requestBody: required: true content: @@ -103662,7 +103828,7 @@ paths: application/json: schema: *228 examples: - default: *691 + default: *692 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 @@ -103691,7 +103857,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 requestBody: required: true content: @@ -103724,7 +103890,7 @@ paths: application/json: schema: *228 examples: - default: *691 + default: *692 '403': *29 '404': *6 '422': *7 @@ -103748,7 +103914,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 - *17 - *19 responses: @@ -103763,7 +103929,6 @@ paths: description: Timeline Event type: object anyOf: - - *698 - *699 - *700 - *701 @@ -103776,6 +103941,7 @@ paths: - *708 - *709 - *710 + - *711 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -103836,8 +104002,8 @@ paths: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *711 - required: *712 + properties: *712 + required: *713 nullable: true required: - event @@ -104092,7 +104258,7 @@ paths: type: string comments: type: array - items: &734 + items: &738 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -104441,6 +104607,9 @@ paths: - commit_url - created_at - performed_via_github_app + - *714 + - *715 + - *716 examples: default: value: @@ -104624,7 +104793,7 @@ paths: application/json: schema: type: array - items: &713 + items: &717 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -104727,9 +104896,9 @@ paths: description: Response content: application/json: - schema: *713 + schema: *717 examples: - default: &714 + default: &718 value: id: 1 key: ssh-rsa AAA... @@ -104765,7 +104934,7 @@ paths: parameters: - *491 - *492 - - &715 + - &719 name: key_id description: The unique identifier of the key. in: path @@ -104777,9 +104946,9 @@ paths: description: Response content: application/json: - schema: *713 + schema: *717 examples: - default: *714 + default: *718 '404': *6 x-github: githubCloudOnly: false @@ -104799,7 +104968,7 @@ paths: parameters: - *491 - *492 - - *715 + - *719 responses: '204': description: Response @@ -104832,7 +105001,7 @@ paths: type: array items: *227 examples: - default: *697 + default: *698 headers: Link: *47 '404': *6 @@ -104892,7 +105061,7 @@ paths: application/json: schema: *227 examples: - default: &716 + default: &720 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -104938,7 +105107,7 @@ paths: application/json: schema: *227 examples: - default: *716 + default: *720 '404': *6 x-github: githubCloudOnly: false @@ -105391,7 +105560,7 @@ paths: application/json: schema: *607 examples: - default: *717 + default: *721 '204': description: Response when already merged '404': @@ -105458,7 +105627,7 @@ paths: application/json: schema: type: array - items: &718 + items: &722 title: Milestone description: A collection of related issues and pull requests. type: object @@ -105560,9 +105729,9 @@ paths: description: Response content: application/json: - schema: *718 + schema: *722 examples: - default: &719 + default: &723 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -105623,7 +105792,7 @@ paths: parameters: - *491 - *492 - - &720 + - &724 name: milestone_number description: The number that identifies the milestone. in: path @@ -105635,9 +105804,9 @@ paths: description: Response content: application/json: - schema: *718 + schema: *722 examples: - default: *719 + default: *723 '404': *6 x-github: githubCloudOnly: false @@ -105656,7 +105825,7 @@ paths: parameters: - *491 - *492 - - *720 + - *724 requestBody: required: false content: @@ -105694,9 +105863,9 @@ paths: description: Response content: application/json: - schema: *718 + schema: *722 examples: - default: *719 + default: *723 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105714,7 +105883,7 @@ paths: parameters: - *491 - *492 - - *720 + - *724 responses: '204': description: Response @@ -105737,7 +105906,7 @@ paths: parameters: - *491 - *492 - - *720 + - *724 - *17 - *19 responses: @@ -105749,7 +105918,7 @@ paths: type: array items: *227 examples: - default: *697 + default: *698 headers: Link: *47 x-github: @@ -105770,10 +105939,10 @@ paths: parameters: - *491 - *492 - - *721 - - *722 + - *725 + - *726 - *235 - - *723 + - *727 - *17 - *19 responses: @@ -105785,7 +105954,7 @@ paths: type: array items: *255 examples: - default: *724 + default: *728 headers: Link: *47 x-github: @@ -105875,7 +106044,7 @@ paths: description: Response content: application/json: - schema: &725 + schema: &729 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -106000,7 +106169,7 @@ paths: - custom_404 - public examples: - default: &726 + default: &730 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -106096,9 +106265,9 @@ paths: description: Response content: application/json: - schema: *725 + schema: *729 examples: - default: *726 + default: *730 '422': *15 '409': *121 x-github: @@ -106267,7 +106436,7 @@ paths: application/json: schema: type: array - items: &727 + items: &731 title: Page Build description: Page Build type: object @@ -106414,9 +106583,9 @@ paths: description: Response content: application/json: - schema: *727 + schema: *731 examples: - default: &728 + default: &732 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -106476,9 +106645,9 @@ paths: description: Response content: application/json: - schema: *727 + schema: *731 examples: - default: *728 + default: *732 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106606,7 +106775,7 @@ paths: parameters: - *491 - *492 - - &729 + - &733 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -106666,7 +106835,7 @@ paths: parameters: - *491 - *492 - - *729 + - *733 responses: '204': *130 '404': *6 @@ -107046,7 +107215,7 @@ paths: type: array items: *160 examples: - default: *730 + default: *734 '403': *29 '404': *6 x-github: @@ -107085,7 +107254,7 @@ paths: required: - properties examples: - default: *731 + default: *735 responses: '204': description: No Content when custom property values are successfully created @@ -107186,7 +107355,7 @@ paths: type: array items: *611 examples: - default: *732 + default: *736 headers: Link: *47 '304': *37 @@ -107284,7 +107453,7 @@ paths: description: Response content: application/json: - schema: &736 + schema: &740 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -107495,7 +107664,7 @@ paths: - review_comment - self author_association: *225 - auto_merge: *733 + auto_merge: *737 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -107587,7 +107756,7 @@ paths: - merged_by - review_comments examples: - default: &737 + default: &741 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -108144,9 +108313,9 @@ paths: application/json: schema: type: array - items: *734 + items: *738 examples: - default: &739 + default: &743 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -108231,9 +108400,9 @@ paths: description: Response content: application/json: - schema: *734 + schema: *738 examples: - default: &735 + default: &739 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -108332,9 +108501,9 @@ paths: description: Response content: application/json: - schema: *734 + schema: *738 examples: - default: *735 + default: *739 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108537,7 +108706,7 @@ paths: parameters: - *491 - *492 - - &738 + - &742 name: pull_number description: The number that identifies the pull request. in: path @@ -108550,9 +108719,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *736 + schema: *740 examples: - default: *737 + default: *741 '304': *37 '404': *6 '406': @@ -108589,7 +108758,7 @@ paths: parameters: - *491 - *492 - - *738 + - *742 requestBody: required: false content: @@ -108631,9 +108800,9 @@ paths: description: Response content: application/json: - schema: *736 + schema: *740 examples: - default: *737 + default: *741 '422': *15 '403': *29 x-github: @@ -108657,7 +108826,7 @@ paths: parameters: - *491 - *492 - - *738 + - *742 requestBody: required: true content: @@ -108759,7 +108928,7 @@ paths: parameters: - *491 - *492 - - *738 + - *742 - *252 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -108780,9 +108949,9 @@ paths: application/json: schema: type: array - items: *734 + items: *738 examples: - default: *739 + default: *743 headers: Link: *47 x-github: @@ -108817,7 +108986,7 @@ paths: parameters: - *491 - *492 - - *738 + - *742 requestBody: required: true content: @@ -108922,7 +109091,7 @@ paths: description: Response content: application/json: - schema: *734 + schema: *738 examples: example-for-a-multi-line-comment: value: @@ -109012,7 +109181,7 @@ paths: parameters: - *491 - *492 - - *738 + - *742 - *244 requestBody: required: true @@ -109035,7 +109204,7 @@ paths: description: Response content: application/json: - schema: *734 + schema: *738 examples: default: value: @@ -109123,7 +109292,7 @@ paths: parameters: - *491 - *492 - - *738 + - *742 - *17 - *19 responses: @@ -109135,7 +109304,7 @@ paths: type: array items: *607 examples: - default: *740 + default: *744 headers: Link: *47 x-github: @@ -109167,7 +109336,7 @@ paths: parameters: - *491 - *492 - - *738 + - *742 - *17 - *19 responses: @@ -109217,7 +109386,7 @@ paths: parameters: - *491 - *492 - - *738 + - *742 responses: '204': description: Response if pull request has been merged @@ -109242,7 +109411,7 @@ paths: parameters: - *491 - *492 - - *738 + - *742 requestBody: required: false content: @@ -109355,7 +109524,7 @@ paths: parameters: - *491 - *492 - - *738 + - *742 responses: '200': description: Response @@ -109432,7 +109601,7 @@ paths: parameters: - *491 - *492 - - *738 + - *742 requestBody: required: false content: @@ -110007,7 +110176,7 @@ paths: parameters: - *491 - *492 - - *738 + - *742 requestBody: required: true content: @@ -110548,7 +110717,7 @@ paths: parameters: - *491 - *492 - - *738 + - *742 - *17 - *19 responses: @@ -110558,7 +110727,7 @@ paths: application/json: schema: type: array - items: &741 + items: &745 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -110711,7 +110880,7 @@ paths: parameters: - *491 - *492 - - *738 + - *742 requestBody: required: false content: @@ -110797,9 +110966,9 @@ paths: description: Response content: application/json: - schema: *741 + schema: *745 examples: - default: &743 + default: &747 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -110864,8 +111033,8 @@ paths: parameters: - *491 - *492 - - *738 - - &742 + - *742 + - &746 name: review_id description: The unique identifier of the review. in: path @@ -110877,9 +111046,9 @@ paths: description: Response content: application/json: - schema: *741 + schema: *745 examples: - default: &744 + default: &748 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -110940,8 +111109,8 @@ paths: parameters: - *491 - *492 - - *738 - *742 + - *746 requestBody: required: true content: @@ -110964,7 +111133,7 @@ paths: description: Response content: application/json: - schema: *741 + schema: *745 examples: default: value: @@ -111028,16 +111197,16 @@ paths: parameters: - *491 - *492 - - *738 - *742 + - *746 responses: '200': description: Response content: application/json: - schema: *741 + schema: *745 examples: - default: *743 + default: *747 '422': *7 '404': *6 x-github: @@ -111066,8 +111235,8 @@ paths: parameters: - *491 - *492 - - *738 - *742 + - *746 - *17 - *19 responses: @@ -111304,8 +111473,8 @@ paths: parameters: - *491 - *492 - - *738 - *742 + - *746 requestBody: required: true content: @@ -111333,7 +111502,7 @@ paths: description: Response content: application/json: - schema: *741 + schema: *745 examples: default: value: @@ -111398,8 +111567,8 @@ paths: parameters: - *491 - *492 - - *738 - *742 + - *746 requestBody: required: true content: @@ -111434,9 +111603,9 @@ paths: description: Response content: application/json: - schema: *741 + schema: *745 examples: - default: *744 + default: *748 '404': *6 '422': *7 '403': *29 @@ -111460,7 +111629,7 @@ paths: parameters: - *491 - *492 - - *738 + - *742 requestBody: required: false content: @@ -111537,9 +111706,9 @@ paths: description: Response content: application/json: - schema: *745 + schema: *749 examples: - default: &746 + default: &750 value: type: file encoding: base64 @@ -111602,9 +111771,9 @@ paths: description: Response content: application/json: - schema: *745 + schema: *749 examples: - default: *746 + default: *750 '404': *6 '422': *15 x-github: @@ -111637,7 +111806,7 @@ paths: application/json: schema: type: array - items: *747 + items: *751 examples: default: value: @@ -111808,9 +111977,9 @@ paths: description: Response content: application/json: - schema: *747 + schema: *751 examples: - default: &751 + default: &755 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -111917,7 +112086,7 @@ paths: parameters: - *491 - *492 - - &749 + - &753 name: asset_id description: The unique identifier of the asset. in: path @@ -111929,9 +112098,9 @@ paths: description: Response content: application/json: - schema: *748 + schema: *752 examples: - default: &750 + default: &754 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -111984,7 +112153,7 @@ paths: parameters: - *491 - *492 - - *749 + - *753 requestBody: required: false content: @@ -112012,9 +112181,9 @@ paths: description: Response content: application/json: - schema: *748 + schema: *752 examples: - default: *750 + default: *754 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -112032,7 +112201,7 @@ paths: parameters: - *491 - *492 - - *749 + - *753 responses: '204': description: Response @@ -112150,9 +112319,9 @@ paths: description: Response content: application/json: - schema: *747 + schema: *751 examples: - default: *751 + default: *755 '404': *6 x-github: githubCloudOnly: false @@ -112184,9 +112353,9 @@ paths: description: Response content: application/json: - schema: *747 + schema: *751 examples: - default: *751 + default: *755 '404': *6 x-github: githubCloudOnly: false @@ -112210,7 +112379,7 @@ paths: parameters: - *491 - *492 - - &752 + - &756 name: release_id description: The unique identifier of the release. in: path @@ -112224,9 +112393,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *747 + schema: *751 examples: - default: *751 + default: *755 '401': description: Unauthorized x-github: @@ -112246,7 +112415,7 @@ paths: parameters: - *491 - *492 - - *752 + - *756 requestBody: required: false content: @@ -112310,9 +112479,9 @@ paths: description: Response content: application/json: - schema: *747 + schema: *751 examples: - default: *751 + default: *755 '404': description: Not Found if the discussion category name is invalid content: @@ -112335,7 +112504,7 @@ paths: parameters: - *491 - *492 - - *752 + - *756 responses: '204': description: Response @@ -112358,7 +112527,7 @@ paths: parameters: - *491 - *492 - - *752 + - *756 - *17 - *19 responses: @@ -112368,7 +112537,7 @@ paths: application/json: schema: type: array - items: *748 + items: *752 examples: default: value: @@ -112452,7 +112621,7 @@ paths: parameters: - *491 - *492 - - *752 + - *756 - name: name in: query required: true @@ -112478,7 +112647,7 @@ paths: description: Response for successful upload content: application/json: - schema: *748 + schema: *752 examples: response-for-successful-upload: value: @@ -112535,7 +112704,7 @@ paths: parameters: - *491 - *492 - - *752 + - *756 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -112584,7 +112753,7 @@ paths: parameters: - *491 - *492 - - *752 + - *756 requestBody: required: true content: @@ -112647,7 +112816,7 @@ paths: parameters: - *491 - *492 - - *752 + - *756 - *687 responses: '204': @@ -112691,7 +112860,7 @@ paths: oneOf: - allOf: - *174 - - &753 + - &757 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -112712,67 +112881,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *175 - - *753 + - *757 - allOf: - *176 - - *753 + - *757 - allOf: - *177 - - *753 + - *757 - allOf: - - *754 - - *753 + - *758 + - *757 - allOf: - *178 - - *753 + - *757 - allOf: - *179 - - *753 + - *757 - allOf: - *180 - - *753 + - *757 - allOf: - *181 - - *753 + - *757 - allOf: - *182 - - *753 + - *757 - allOf: - *183 - - *753 + - *757 - allOf: - *184 - - *753 + - *757 - allOf: - *185 - - *753 + - *757 - allOf: - *186 - - *753 + - *757 - allOf: - *187 - - *753 + - *757 - allOf: - *188 - - *753 + - *757 - allOf: - *189 - - *753 + - *757 - allOf: - *190 - - *753 + - *757 - allOf: - *191 - - *753 + - *757 - allOf: - *192 - - *753 + - *757 - allOf: - *193 - - *753 + - *757 - allOf: - *194 - - *753 + - *757 examples: default: value: @@ -112823,7 +112992,7 @@ paths: schema: type: boolean default: true - - *755 + - *759 responses: '200': description: Response @@ -112908,7 +113077,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *756 + items: *760 required: - name - enforcement @@ -112941,7 +113110,7 @@ paths: application/json: schema: *195 examples: - default: &766 + default: &770 value: id: 42 name: super cool ruleset @@ -112991,11 +113160,11 @@ paths: parameters: - *491 - *492 - - *757 + - *761 - *107 - - *758 - - *759 - - *760 + - *762 + - *763 + - *764 - *17 - *19 responses: @@ -113003,9 +113172,9 @@ paths: description: Response content: application/json: - schema: *761 + schema: *765 examples: - default: *762 + default: *766 '404': *6 '500': *40 x-github: @@ -113028,15 +113197,15 @@ paths: parameters: - *491 - *492 - - *763 + - *767 responses: '200': description: Response content: application/json: - schema: *764 + schema: *768 examples: - default: *765 + default: *769 '404': *6 '500': *40 x-github: @@ -113087,7 +113256,7 @@ paths: application/json: schema: *195 examples: - default: *766 + default: *770 '404': *6 '500': *40 put: @@ -113140,7 +113309,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *756 + items: *760 examples: default: value: @@ -113170,7 +113339,7 @@ paths: application/json: schema: *195 examples: - default: *766 + default: *770 '404': *6 '422': *15 '500': *40 @@ -113338,8 +113507,8 @@ paths: - *112 - *19 - *17 - - *767 - - *768 + - *771 + - *772 - *465 - *466 - *467 @@ -113352,7 +113521,7 @@ paths: application/json: schema: type: array - items: &772 + items: &776 type: object properties: number: *131 @@ -113371,8 +113540,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *769 - resolution: *770 + state: *773 + resolution: *774 resolved_at: type: string format: date-time @@ -113478,7 +113647,7 @@ paths: pull request. ' - oneOf: *771 + oneOf: *775 nullable: true has_more_locations: type: boolean @@ -113651,7 +113820,7 @@ paths: description: Response content: application/json: - schema: *772 + schema: *776 examples: default: value: @@ -113715,8 +113884,8 @@ paths: schema: type: object properties: - state: *769 - resolution: *770 + state: *773 + resolution: *774 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -113760,7 +113929,7 @@ paths: description: Response content: application/json: - schema: *772 + schema: *776 examples: default: value: @@ -113872,7 +114041,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &959 + items: &963 type: object properties: type: @@ -113898,10 +114067,6 @@ paths: example: commit details: oneOf: - - *773 - - *774 - - *775 - - *776 - *777 - *778 - *779 @@ -113911,6 +114076,10 @@ paths: - *783 - *784 - *785 + - *786 + - *787 + - *788 + - *789 examples: default: value: @@ -114005,14 +114174,14 @@ paths: schema: type: object properties: - reason: &787 + reason: &791 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *786 + placeholder_id: *790 required: - reason - placeholder_id @@ -114029,7 +114198,7 @@ paths: schema: type: object properties: - reason: *787 + reason: *791 expire_at: type: string format: date-time @@ -114091,7 +114260,7 @@ paths: properties: incremental_scans: type: array - items: &788 + items: &792 description: Information on a single scan performed by secret scanning on the repository type: object @@ -114122,15 +114291,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *788 + items: *792 backfill_scans: type: array - items: *788 + items: *792 custom_pattern_backfill_scans: type: array items: allOf: - - *788 + - *792 - type: object properties: pattern_name: @@ -114143,7 +114312,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *788 + items: *792 examples: default: value: @@ -114253,9 +114422,9 @@ paths: application/json: schema: type: array - items: *789 + items: *793 examples: - default: *790 + default: *794 '400': *14 '404': *6 x-github: @@ -114439,9 +114608,9 @@ paths: description: Response content: application/json: - schema: *789 + schema: *793 examples: - default: &792 + default: &796 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -114779,7 +114948,7 @@ paths: description: Response content: application/json: - schema: *789 + schema: *793 examples: default: value: @@ -114928,15 +115097,15 @@ paths: parameters: - *491 - *492 - - *791 + - *795 responses: '200': description: Response content: application/json: - schema: *789 + schema: *793 examples: - default: *792 + default: *796 '403': *29 '404': *6 x-github: @@ -114962,7 +115131,7 @@ paths: parameters: - *491 - *492 - - *791 + - *795 requestBody: required: true content: @@ -115121,10 +115290,10 @@ paths: description: Response content: application/json: - schema: *789 + schema: *793 examples: - default: *792 - add_credit: *792 + default: *796 + add_credit: *796 '403': *29 '404': *6 '422': @@ -115164,7 +115333,7 @@ paths: parameters: - *491 - *492 - - *791 + - *795 responses: '202': *39 '400': *14 @@ -115193,7 +115362,7 @@ paths: parameters: - *491 - *492 - - *791 + - *795 responses: '202': description: Response @@ -115337,7 +115506,7 @@ paths: application/json: schema: type: array - items: &793 + items: &797 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -115710,7 +115879,7 @@ paths: application/json: schema: type: array - items: *793 + items: *797 examples: default: value: @@ -115798,7 +115967,7 @@ paths: description: Response content: application/json: - schema: *794 + schema: *798 examples: default: value: @@ -115892,7 +116061,7 @@ paths: description: if you subscribe to the repository content: application/json: - schema: &795 + schema: &799 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -115987,7 +116156,7 @@ paths: description: Response content: application/json: - schema: *795 + schema: *799 examples: default: value: @@ -116194,7 +116363,7 @@ paths: description: Response content: application/json: - schema: &796 + schema: &800 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -116206,7 +116375,7 @@ paths: required: - names examples: - default: &797 + default: &801 value: names: - octocat @@ -116261,9 +116430,9 @@ paths: description: Response content: application/json: - schema: *796 + schema: *800 examples: - default: *797 + default: *801 '404': *6 '422': *7 x-github: @@ -116286,7 +116455,7 @@ paths: parameters: - *491 - *492 - - &798 + - &802 name: per description: The time frame to display results for. in: query @@ -116315,7 +116484,7 @@ paths: example: 128 clones: type: array - items: &799 + items: &803 title: Traffic type: object properties: @@ -116556,7 +116725,7 @@ paths: parameters: - *491 - *492 - - *798 + - *802 responses: '200': description: Response @@ -116575,7 +116744,7 @@ paths: example: 3782 views: type: array - items: *799 + items: *803 required: - uniques - count @@ -117247,7 +117416,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &807 + - &811 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -117256,7 +117425,7 @@ paths: schema: type: string example: members - - &812 + - &816 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -117267,7 +117436,7 @@ paths: default: 1 format: int32 example: 1 - - &813 + - &817 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -117309,7 +117478,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &802 + items: &806 allOf: - type: object required: @@ -117384,7 +117553,7 @@ paths: - value: 0db508eb-91e2-46e4-809c-30dcbda0c685 "$+ref": https://api.github.localhost/scim/v2/Users/0db508eb-91e2-46e4-809c-30dcbda0c685 displayName: User 2 - meta: &814 + meta: &818 type: object description: The metadata associated with the creation/updates to the user. @@ -117444,30 +117613,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &803 + '400': &807 description: Bad request content: application/json: - schema: *800 + schema: *804 application/scim+json: - schema: *800 - '401': *801 - '403': &804 + schema: *804 + '401': *805 + '403': &808 description: Permission denied - '429': &805 + '429': &809 description: Too many requests content: application/json: - schema: *800 + schema: *804 application/scim+json: - schema: *800 - '500': &806 + schema: *804 + '500': &810 description: Internal server error content: application/json: - schema: *800 + schema: *804 application/scim+json: - schema: *800 + schema: *804 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -117491,7 +117660,7 @@ paths: required: true content: application/json: - schema: &810 + schema: &814 type: object required: - schemas @@ -117551,9 +117720,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *802 + schema: *806 examples: - group: &808 + group: &812 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -117572,13 +117741,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 - '400': *803 - '401': *801 - '403': *804 - '409': &811 + '400': *807 + '401': *805 + '403': *808 + '409': &815 description: Duplicate record detected - '429': *805 - '500': *806 + '429': *809 + '500': *810 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -117595,7 +117764,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &809 + - &813 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -117603,22 +117772,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *807 + - *811 - *41 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *802 + schema: *806 examples: - default: *808 - '400': *803 - '401': *801 - '403': *804 + default: *812 + '400': *807 + '401': *805 + '403': *808 '404': *6 - '429': *805 - '500': *806 + '429': *809 + '500': *810 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -117637,13 +117806,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *809 + - *813 - *41 requestBody: required: true content: application/json: - schema: *810 + schema: *814 examples: group: summary: Group @@ -117669,17 +117838,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *802 + schema: *806 examples: - group: *808 - groupWithMembers: *808 - '400': *803 - '401': *801 - '403': *804 + group: *812 + groupWithMembers: *812 + '400': *807 + '401': *805 + '403': *808 '404': *6 - '409': *811 - '429': *805 - '500': *806 + '409': *815 + '429': *809 + '500': *810 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -117703,13 +117872,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *809 + - *813 - *41 requestBody: required: true content: application/json: - schema: &821 + schema: &825 type: object required: - Operations @@ -117769,17 +117938,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *802 + schema: *806 examples: - updateGroup: *808 - addMembers: *808 - '400': *803 - '401': *801 - '403': *804 + updateGroup: *812 + addMembers: *812 + '400': *807 + '401': *805 + '403': *808 '404': *6 - '409': *811 - '429': *805 - '500': *806 + '409': *815 + '429': *809 + '500': *810 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -117795,17 +117964,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *809 + - *813 - *41 responses: '204': description: Group was deleted, no content - '400': *803 - '401': *801 - '403': *804 + '400': *807 + '401': *805 + '403': *808 '404': *6 - '429': *805 - '500': *806 + '429': *809 + '500': *810 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -117839,8 +118008,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *812 - - *813 + - *816 + - *817 - *41 responses: '200': @@ -117873,7 +118042,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &816 + items: &820 allOf: - type: object required: @@ -117952,7 +118121,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &815 + roles: &819 type: array description: The roles assigned to the user. items: @@ -118008,7 +118177,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *814 + meta: *818 startIndex: type: integer description: A starting index for the returned page @@ -118045,11 +118214,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *803 - '401': *801 - '403': *804 - '429': *805 - '500': *806 + '400': *807 + '401': *805 + '403': *808 + '429': *809 + '500': *810 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -118073,7 +118242,7 @@ paths: required: true content: application/json: - schema: &819 + schema: &823 type: object required: - schemas @@ -118155,9 +118324,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *815 + roles: *819 examples: - user: &820 + user: &824 summary: User value: schemas: @@ -118204,9 +118373,9 @@ paths: description: User has been created content: application/scim+json: - schema: *816 + schema: *820 examples: - user: &817 + user: &821 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -118232,13 +118401,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Users/7fce0092-d52e-4f76-b727-3955bd72c939 - enterpriseOwner: *817 - '400': *803 - '401': *801 - '403': *804 - '409': *811 - '429': *805 - '500': *806 + enterpriseOwner: *821 + '400': *807 + '401': *805 + '403': *808 + '409': *815 + '429': *809 + '500': *810 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -118255,7 +118424,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &818 + - &822 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -118268,15 +118437,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *816 + schema: *820 examples: - default: *817 - '400': *803 - '401': *801 - '403': *804 + default: *821 + '400': *807 + '401': *805 + '403': *808 '404': *6 - '429': *805 - '500': *806 + '429': *809 + '500': *810 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -118327,30 +118496,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *818 + - *822 - *41 requestBody: required: true content: application/json: - schema: *819 + schema: *823 examples: - user: *820 + user: *824 responses: '200': description: User was updated content: application/scim+json: - schema: *816 + schema: *820 examples: - user: *817 - '400': *803 - '401': *801 - '403': *804 + user: *821 + '400': *807 + '401': *805 + '403': *808 '404': *6 - '409': *811 - '429': *805 - '500': *806 + '409': *815 + '429': *809 + '500': *810 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -118391,13 +118560,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *818 + - *822 - *41 requestBody: required: true content: application/json: - schema: *821 + schema: *825 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -118437,18 +118606,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *816 + schema: *820 examples: - userMultiValuedProperties: *817 - userSingleValuedProperties: *817 - disableUser: *817 - '400': *803 - '401': *801 - '403': *804 + userMultiValuedProperties: *821 + userSingleValuedProperties: *821 + disableUser: *821 + '400': *807 + '401': *805 + '403': *808 '404': *6 - '409': *811 - '429': *805 - '500': *806 + '409': *815 + '429': *809 + '500': *810 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -118468,17 +118637,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *818 + - *822 - *41 responses: '204': description: User was deleted, no content - '400': *803 - '401': *801 - '403': *804 + '400': *807 + '401': *805 + '403': *808 '404': *6 - '429': *805 - '500': *806 + '429': *809 + '500': *810 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -118565,7 +118734,7 @@ paths: example: 1 Resources: type: array - items: &822 + items: &826 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -118796,22 +118965,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *37 - '404': &823 + '404': &827 description: Resource not found content: application/json: - schema: *800 + schema: *804 application/scim+json: - schema: *800 - '403': &824 + schema: *804 + '403': &828 description: Forbidden content: application/json: - schema: *800 + schema: *804 application/scim+json: - schema: *800 - '400': *803 - '429': *805 + schema: *804 + '400': *807 + '429': *809 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -118837,9 +119006,9 @@ paths: description: Response content: application/scim+json: - schema: *822 + schema: *826 examples: - default: &825 + default: &829 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -118862,17 +119031,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *37 - '404': *823 - '403': *824 - '500': *806 + '404': *827 + '403': *828 + '500': *810 '409': description: Conflict content: application/json: - schema: *800 + schema: *804 application/scim+json: - schema: *800 - '400': *803 + schema: *804 + '400': *807 requestBody: required: true content: @@ -118970,17 +119139,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *89 - - *818 + - *822 responses: '200': description: Response content: application/scim+json: - schema: *822 + schema: *826 examples: - default: *825 - '404': *823 - '403': *824 + default: *829 + '404': *827 + '403': *828 '304': *37 x-github: githubCloudOnly: true @@ -119004,18 +119173,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#update-a-provisioned-organization-membership parameters: - *89 - - *818 + - *822 responses: '200': description: Response content: application/scim+json: - schema: *822 + schema: *826 examples: - default: *825 + default: *829 '304': *37 - '404': *823 - '403': *824 + '404': *827 + '403': *828 requestBody: required: true content: @@ -119128,19 +119297,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *89 - - *818 + - *822 responses: '200': description: Response content: application/scim+json: - schema: *822 + schema: *826 examples: - default: *825 + default: *829 '304': *37 - '404': *823 - '403': *824 - '400': *803 + '404': *827 + '403': *828 + '400': *807 '429': description: Response content: @@ -119231,12 +119400,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *89 - - *818 + - *822 responses: '204': description: Response - '404': *823 - '403': *824 + '404': *827 + '403': *828 '304': *37 x-github: githubCloudOnly: true @@ -119372,7 +119541,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &826 + text_matches: &830 title: Search Result Text Matches type: array items: @@ -119535,7 +119704,7 @@ paths: enum: - author-date - committer-date - - &827 + - &831 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -119663,7 +119832,7 @@ paths: type: number node_id: type: string - text_matches: *826 + text_matches: *830 required: - sha - node_id @@ -119856,7 +120025,7 @@ paths: - interactions - created - updated - - *827 + - *831 - *17 - *19 - name: advanced_search @@ -119970,11 +120139,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *828 - issue_dependencies_summary: *829 + sub_issues_summary: *832 + issue_dependencies_summary: *833 issue_field_values: type: array - items: *695 + items: *696 state: type: string state_reason: @@ -120006,7 +120175,7 @@ paths: type: string format: date-time nullable: true - text_matches: *826 + text_matches: *830 pull_request: type: object properties: @@ -120288,7 +120457,7 @@ paths: enum: - created - updated - - *827 + - *831 - *17 - *19 responses: @@ -120332,7 +120501,7 @@ paths: nullable: true score: type: number - text_matches: *826 + text_matches: *830 required: - id - node_id @@ -120418,7 +120587,7 @@ paths: - forks - help-wanted-issues - updated - - *827 + - *831 - *17 - *19 responses: @@ -120666,7 +120835,7 @@ paths: - admin - pull - push - text_matches: *826 + text_matches: *830 temp_clone_token: type: string allow_merge_commit: @@ -120967,7 +121136,7 @@ paths: type: string format: uri nullable: true - text_matches: *826 + text_matches: *830 related: type: array nullable: true @@ -121160,7 +121329,7 @@ paths: - followers - repositories - joined - - *827 + - *831 - *17 - *19 responses: @@ -121264,7 +121433,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *826 + text_matches: *830 blog: type: string nullable: true @@ -121343,7 +121512,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#get-a-team-legacy parameters: - - &830 + - &834 name: team_id description: The unique identifier of the team. in: path @@ -121384,7 +121553,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#update-a-team-legacy parameters: - - *830 + - *834 requestBody: required: true content: @@ -121484,7 +121653,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#delete-a-team-legacy parameters: - - *830 + - *834 responses: '204': description: Response @@ -121513,7 +121682,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *830 + - *834 - *17 - *19 responses: @@ -121551,7 +121720,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-team-members-legacy parameters: - - *830 + - *834 - name: role description: Filters members returned by their role in the team. in: query @@ -121602,7 +121771,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-member-legacy parameters: - - *830 + - *834 - *148 responses: '204': @@ -121639,7 +121808,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-team-member-legacy parameters: - - *830 + - *834 - *148 responses: '204': @@ -121679,7 +121848,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-member-legacy parameters: - - *830 + - *834 - *148 responses: '204': @@ -121716,7 +121885,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *830 + - *834 - *148 responses: '200': @@ -121725,7 +121894,7 @@ paths: application/json: schema: *490 examples: - response-if-user-is-a-team-maintainer: *831 + response-if-user-is-a-team-maintainer: *835 '404': *6 x-github: githubCloudOnly: false @@ -121758,7 +121927,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *830 + - *834 - *148 requestBody: required: false @@ -121786,7 +121955,7 @@ paths: application/json: schema: *490 examples: - response-if-users-membership-with-team-is-now-pending: *832 + response-if-users-membership-with-team-is-now-pending: *836 '403': description: Forbidden if team synchronization is set up '422': @@ -121820,7 +121989,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *830 + - *834 - *148 responses: '204': @@ -121848,7 +122017,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-team-repositories-legacy parameters: - - *830 + - *834 - *17 - *19 responses: @@ -121890,7 +122059,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *830 + - *834 - *491 - *492 responses: @@ -121898,7 +122067,7 @@ paths: description: Alternative response with extra repository information content: application/json: - schema: *833 + schema: *837 examples: alternative-response-with-extra-repository-information: value: @@ -122049,7 +122218,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *830 + - *834 - *491 - *492 requestBody: @@ -122101,7 +122270,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *830 + - *834 - *491 - *492 responses: @@ -122132,7 +122301,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#list-idp-groups-for-a-team-legacy parameters: - - *830 + - *834 responses: '200': description: Response @@ -122167,7 +122336,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#create-or-update-idp-group-connections-legacy parameters: - - *830 + - *834 requestBody: required: true content: @@ -122255,7 +122424,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-child-teams-legacy parameters: - - *830 + - *834 - *17 - *19 responses: @@ -122267,7 +122436,7 @@ paths: type: array items: *325 examples: - response-if-child-teams-exist: *834 + response-if-child-teams-exist: *838 headers: Link: *47 '404': *6 @@ -122300,7 +122469,7 @@ paths: application/json: schema: oneOf: - - &836 + - &840 title: Private User description: Private User type: object @@ -122503,7 +122672,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *835 + - *839 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -122656,7 +122825,7 @@ paths: description: Response content: application/json: - schema: *836 + schema: *840 examples: default: value: @@ -123054,7 +123223,7 @@ paths: type: integer secrets: type: array - items: &837 + items: &841 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -123170,7 +123339,7 @@ paths: description: Response content: application/json: - schema: *837 + schema: *841 examples: default: value: @@ -123583,7 +123752,7 @@ paths: description: Response content: application/json: - schema: &838 + schema: &842 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -123624,7 +123793,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &839 + default: &843 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -123669,9 +123838,9 @@ paths: description: Response content: application/json: - schema: *838 + schema: *842 examples: - default: *839 + default: *843 '404': *6 x-github: githubCloudOnly: false @@ -123708,9 +123877,9 @@ paths: type: integer machines: type: array - items: *840 + items: *844 examples: - default: *841 + default: *845 '304': *37 '500': *40 '401': *25 @@ -124649,7 +124818,7 @@ paths: type: array items: *416 examples: - default: &852 + default: &856 value: - id: 197 name: hello_docker @@ -124750,7 +124919,7 @@ paths: application/json: schema: type: array - items: &842 + items: &846 title: Email description: Email type: object @@ -124815,9 +124984,9 @@ paths: application/json: schema: type: array - items: *842 + items: *846 examples: - default: &854 + default: &858 value: - email: octocat@github.com verified: true @@ -124892,7 +125061,7 @@ paths: application/json: schema: type: array - items: *842 + items: *846 examples: default: value: @@ -125148,7 +125317,7 @@ paths: application/json: schema: type: array - items: &843 + items: &847 title: GPG Key description: A unique encryption key type: object @@ -125279,7 +125448,7 @@ paths: - subkeys - revoked examples: - default: &871 + default: &875 value: - id: 3 name: Octocat's GPG Key @@ -125364,9 +125533,9 @@ paths: description: Response content: application/json: - schema: *843 + schema: *847 examples: - default: &844 + default: &848 value: id: 3 name: Octocat's GPG Key @@ -125423,7 +125592,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &845 + - &849 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -125435,9 +125604,9 @@ paths: description: Response content: application/json: - schema: *843 + schema: *847 examples: - default: *844 + default: *848 '404': *6 '304': *37 '403': *29 @@ -125460,7 +125629,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *845 + - *849 responses: '204': description: Response @@ -125927,7 +126096,7 @@ paths: application/json: schema: type: array - items: &846 + items: &850 title: Key description: Key type: object @@ -126028,9 +126197,9 @@ paths: description: Response content: application/json: - schema: *846 + schema: *850 examples: - default: &847 + default: &851 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -126063,15 +126232,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *715 + - *719 responses: '200': description: Response content: application/json: - schema: *846 + schema: *850 examples: - default: *847 + default: *851 '404': *6 '304': *37 '403': *29 @@ -126094,7 +126263,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *715 + - *719 responses: '204': description: Response @@ -126127,7 +126296,7 @@ paths: application/json: schema: type: array - items: &848 + items: &852 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -126195,7 +126364,7 @@ paths: - account - plan examples: - default: &849 + default: &853 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -126257,9 +126426,9 @@ paths: application/json: schema: type: array - items: *848 + items: *852 examples: - default: *849 + default: *853 headers: Link: *47 '304': *37 @@ -127268,7 +127437,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#unlock-a-user-repository parameters: - *411 - - *850 + - *854 responses: '204': description: Response @@ -127383,7 +127552,7 @@ paths: - docker - nuget - container - - *851 + - *855 - *19 - *17 responses: @@ -127395,8 +127564,8 @@ paths: type: array items: *416 examples: - default: *852 - '400': *853 + default: *856 + '400': *857 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -127425,7 +127594,7 @@ paths: application/json: schema: *416 examples: - default: &872 + default: &876 value: id: 40201 name: octo-name @@ -127787,9 +127956,9 @@ paths: application/json: schema: type: array - items: *842 + items: *846 examples: - default: *854 + default: *858 headers: Link: *47 '304': *37 @@ -127902,7 +128071,7 @@ paths: type: array items: *80 examples: - default: &861 + default: &865 summary: Default response value: - id: 1296269 @@ -128248,7 +128417,7 @@ paths: type: array items: *681 examples: - default: *855 + default: *859 headers: Link: *47 '304': *37 @@ -128327,7 +128496,7 @@ paths: application/json: schema: type: array - items: &856 + items: &860 title: Social account description: Social media account type: object @@ -128342,7 +128511,7 @@ paths: - provider - url examples: - default: &857 + default: &861 value: - provider: twitter url: https://twitter.com/github @@ -128404,9 +128573,9 @@ paths: application/json: schema: type: array - items: *856 + items: *860 examples: - default: *857 + default: *861 '422': *15 '304': *37 '404': *6 @@ -128493,7 +128662,7 @@ paths: application/json: schema: type: array - items: &858 + items: &862 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -128513,7 +128682,7 @@ paths: - title - created_at examples: - default: &886 + default: &890 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -128577,9 +128746,9 @@ paths: description: Response content: application/json: - schema: *858 + schema: *862 examples: - default: &859 + default: &863 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -128609,7 +128778,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &860 + - &864 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -128621,9 +128790,9 @@ paths: description: Response content: application/json: - schema: *858 + schema: *862 examples: - default: *859 + default: *863 '404': *6 '304': *37 '403': *29 @@ -128646,7 +128815,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *860 + - *864 responses: '204': description: Response @@ -128675,7 +128844,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &887 + - &891 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -128700,11 +128869,11 @@ paths: type: array items: *80 examples: - default-response: *861 + default-response: *865 application/vnd.github.v3.star+json: schema: type: array - items: &888 + items: &892 title: Starred Repository description: Starred Repository type: object @@ -129073,10 +129242,10 @@ paths: application/json: schema: oneOf: - - *836 - - *835 + - *840 + - *839 examples: - default-response: &865 + default-response: &869 summary: Default response value: login: octocat @@ -129111,7 +129280,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &866 + response-with-git-hub-plan-information: &870 summary: Response with GitHub plan information value: login: octocat @@ -129168,7 +129337,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &863 + - &867 name: user_id description: The unique identifier of the user. in: path @@ -129234,7 +129403,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#list-users parameters: - - *862 + - *866 - *17 responses: '200': @@ -129269,7 +129438,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *863 + - *867 - *434 requestBody: required: true @@ -129341,7 +129510,7 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *864 + schema: *868 examples: table_view: summary: Response for creating a table view @@ -129393,11 +129562,11 @@ paths: application/json: schema: oneOf: - - *836 - - *835 + - *840 + - *839 examples: - default-response: *865 - response-with-git-hub-plan-information: *866 + default-response: *869 + response-with-git-hub-plan-information: *870 '404': *6 x-github: githubCloudOnly: false @@ -129447,8 +129616,8 @@ paths: required: - subject_digests examples: - default: *867 - withPredicateType: *868 + default: *871 + withPredicateType: *872 responses: '200': description: Response @@ -129501,7 +129670,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *869 + default: *873 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -129987,7 +130156,7 @@ paths: application/json: schema: *340 examples: - default: &870 + default: &874 summary: Example response for a user copilot space value: id: 42 @@ -130088,7 +130257,7 @@ paths: application/json: schema: *340 examples: - default: *870 + default: *874 '403': *29 '404': *6 x-github: @@ -130211,7 +130380,7 @@ paths: application/json: schema: *340 examples: - default: *870 + default: *874 '403': *29 '404': *6 '422': *15 @@ -130979,7 +131148,7 @@ paths: type: array items: *416 examples: - default: *852 + default: *856 '403': *29 '401': *25 x-github: @@ -131363,9 +131532,9 @@ paths: application/json: schema: type: array - items: *843 + items: *847 examples: - default: *871 + default: *875 headers: Link: *47 x-github: @@ -131593,7 +131762,7 @@ paths: - docker - nuget - container - - *851 + - *855 - *148 - *19 - *17 @@ -131606,10 +131775,10 @@ paths: type: array items: *416 examples: - default: *852 + default: *856 '403': *29 '401': *25 - '400': *853 + '400': *857 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -131639,7 +131808,7 @@ paths: application/json: schema: *416 examples: - default: *872 + default: *876 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -131988,7 +132157,7 @@ paths: type: array items: *438 examples: - default: *873 + default: *877 headers: Link: *47 '304': *37 @@ -132048,7 +132217,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *874 + items: *878 required: - name - data_type @@ -132064,7 +132233,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *875 + iteration_configuration: *879 required: - name - data_type @@ -132086,8 +132255,8 @@ paths: value: name: Due date data_type: date - single_select_field: *876 - iteration_field: *877 + single_select_field: *880 + iteration_field: *881 responses: '201': description: Response @@ -132095,11 +132264,11 @@ paths: application/json: schema: *438 examples: - text_field: *878 - number_field: *879 - date_field: *880 - single_select_field: *881 - iteration_field: *882 + text_field: *882 + number_field: *883 + date_field: *884 + single_select_field: *885 + iteration_field: *886 '304': *37 '403': *29 '401': *25 @@ -132121,7 +132290,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#get-project-field-for-user parameters: - *434 - - *883 + - *887 - *148 responses: '200': @@ -132130,7 +132299,7 @@ paths: application/json: schema: *438 examples: - default: *884 + default: *888 headers: Link: *47 '304': *37 @@ -132484,7 +132653,7 @@ paths: parameters: - *434 - *148 - - *885 + - *889 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -132763,9 +132932,9 @@ paths: application/json: schema: type: array - items: *856 + items: *860 examples: - default: *857 + default: *861 headers: Link: *47 x-github: @@ -132795,9 +132964,9 @@ paths: application/json: schema: type: array - items: *858 + items: *862 examples: - default: *886 + default: *890 headers: Link: *47 x-github: @@ -132822,7 +132991,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *148 - - *887 + - *891 - *112 - *17 - *19 @@ -132834,11 +133003,11 @@ paths: schema: anyOf: - type: array - items: *888 + items: *892 - type: array items: *80 examples: - default-response: *861 + default-response: *865 headers: Link: *47 x-github: @@ -132997,7 +133166,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &889 + enterprise: &893 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -133055,7 +133224,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &890 + installation: &894 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -133074,7 +133243,7 @@ x-webhooks: required: - id - node_id - organization: &891 + organization: &895 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -133134,13 +133303,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &892 + repository: &896 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &931 + properties: &935 id: description: Unique identifier of the repository example: 42 @@ -133835,7 +134004,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &932 + required: &936 - archive_url - assignees_url - blobs_url @@ -133986,10 +134155,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -134065,11 +134234,11 @@ x-webhooks: type: string enum: - created - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 - rule: &893 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 + rule: &897 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-cloud@latest/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -134292,11 +134461,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 - rule: *893 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 + rule: *897 sender: *4 required: - action @@ -134479,11 +134648,11 @@ x-webhooks: - everyone required: - from - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 - rule: *893 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 + rule: *897 sender: *4 required: - action @@ -134556,7 +134725,7 @@ x-webhooks: required: true content: application/json: - schema: &915 + schema: &919 title: Exemption request cancellation event type: object properties: @@ -134564,11 +134733,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 - exemption_request: &894 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 + exemption_request: &898 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -134872,7 +135041,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &895 + items: &899 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -134982,7 +135151,7 @@ x-webhooks: required: true content: application/json: - schema: &916 + schema: &920 title: Exemption request completed event type: object properties: @@ -134990,11 +135159,11 @@ x-webhooks: type: string enum: - completed - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 - exemption_request: *894 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 + exemption_request: *898 sender: *4 required: - action @@ -135066,7 +135235,7 @@ x-webhooks: required: true content: application/json: - schema: &913 + schema: &917 title: Exemption request created event type: object properties: @@ -135074,11 +135243,11 @@ x-webhooks: type: string enum: - created - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 - exemption_request: *894 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 + exemption_request: *898 sender: *4 required: - action @@ -135150,7 +135319,7 @@ x-webhooks: required: true content: application/json: - schema: &917 + schema: &921 title: Exemption response dismissed event type: object properties: @@ -135158,12 +135327,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 - exemption_request: *894 - exemption_response: *895 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 + exemption_request: *898 + exemption_response: *899 sender: *4 required: - action @@ -135237,7 +135406,7 @@ x-webhooks: required: true content: application/json: - schema: &914 + schema: &918 title: Exemption response submitted event type: object properties: @@ -135245,12 +135414,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 - exemption_request: *894 - exemption_response: *895 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 + exemption_request: *898 + exemption_response: *899 sender: *4 required: - action @@ -135334,7 +135503,7 @@ x-webhooks: type: string enum: - completed - check_run: &897 + check_run: &901 title: CheckRun description: A check performed on the code of a given code change type: object @@ -135425,7 +135594,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *896 + deployment: *900 details_url: example: https://example.com type: string @@ -135510,10 +135679,10 @@ x-webhooks: - output - app - pull_requests - installation: *890 - enterprise: *889 - organization: *891 - repository: *892 + installation: *894 + enterprise: *893 + organization: *895 + repository: *896 sender: *4 required: - check_run @@ -135904,11 +136073,11 @@ x-webhooks: type: string enum: - created - check_run: *897 - installation: *890 - enterprise: *889 - organization: *891 - repository: *892 + check_run: *901 + installation: *894 + enterprise: *893 + organization: *895 + repository: *896 sender: *4 required: - check_run @@ -136302,11 +136471,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *897 - installation: *890 - enterprise: *889 - organization: *891 - repository: *892 + check_run: *901 + installation: *894 + enterprise: *893 + organization: *895 + repository: *896 requested_action: description: The action requested by the user. type: object @@ -136709,11 +136878,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *897 - installation: *890 - enterprise: *889 - organization: *891 - repository: *892 + check_run: *901 + installation: *894 + enterprise: *893 + organization: *895 + repository: *896 sender: *4 required: - check_run @@ -137683,10 +137852,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -138385,10 +138554,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -139081,10 +139250,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -139395,20 +139564,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &898 + commit_oid: &902 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *889 - installation: *890 - organization: *891 - ref: &899 + enterprise: *893 + installation: *894 + organization: *895 + ref: &903 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *892 + repository: *896 sender: *4 required: - action @@ -139803,12 +139972,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *898 - enterprise: *889 - installation: *890 - organization: *891 - ref: *899 - repository: *892 + commit_oid: *902 + enterprise: *893 + installation: *894 + organization: *895 + ref: *903 + repository: *896 sender: *4 required: - action @@ -140074,12 +140243,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *898 - enterprise: *889 - installation: *890 - organization: *891 - ref: *899 - repository: *892 + commit_oid: *902 + enterprise: *893 + installation: *894 + organization: *895 + ref: *903 + repository: *896 sender: *4 required: - action @@ -140411,12 +140580,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *898 - enterprise: *889 - installation: *890 - organization: *891 - ref: *899 - repository: *892 + commit_oid: *902 + enterprise: *893 + installation: *894 + organization: *895 + ref: *903 + repository: *896 sender: *4 required: - action @@ -140690,16 +140859,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *889 - installation: *890 - organization: *891 + enterprise: *893 + installation: *894 + organization: *895 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *892 + repository: *896 sender: *4 required: - action @@ -140936,12 +141105,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *898 - enterprise: *889 - installation: *890 - organization: *891 - ref: *899 - repository: *892 + commit_oid: *902 + enterprise: *893 + installation: *894 + organization: *895 + ref: *903 + repository: *896 sender: *4 required: - action @@ -141252,10 +141421,10 @@ x-webhooks: - dismissed_reason - rule - tool - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -141510,10 +141679,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -141593,18 +141762,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *889 - installation: *890 + enterprise: *893 + installation: *894 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *891 - pusher_type: &900 + organization: *895 + pusher_type: &904 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &901 + ref: &905 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest/rest/git/refs#get-a-reference) resource. type: string @@ -141614,7 +141783,7 @@ x-webhooks: enum: - tag - branch - repository: *892 + repository: *896 sender: *4 required: - ref @@ -141697,9 +141866,9 @@ x-webhooks: enum: - created definition: *161 - enterprise: *889 - installation: *890 - organization: *891 + enterprise: *893 + installation: *894 + organization: *895 sender: *4 required: - action @@ -141784,9 +141953,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *889 - installation: *890 - organization: *891 + enterprise: *893 + installation: *894 + organization: *895 sender: *4 required: - action @@ -141864,9 +142033,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *161 - enterprise: *889 - installation: *890 - organization: *891 + enterprise: *893 + installation: *894 + organization: *895 sender: *4 required: - action @@ -141944,9 +142113,9 @@ x-webhooks: enum: - updated definition: *161 - enterprise: *889 - installation: *890 - organization: *891 + enterprise: *893 + installation: *894 + organization: *895 sender: *4 required: - action @@ -142023,10 +142192,10 @@ x-webhooks: type: string enum: - updated - enterprise: *889 - installation: *890 - repository: *892 - organization: *891 + enterprise: *893 + installation: *894 + repository: *896 + organization: *895 sender: *4 new_property_values: type: array @@ -142111,18 +142280,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *889 - installation: *890 - organization: *891 - pusher_type: *900 - ref: *901 + enterprise: *893 + installation: *894 + organization: *895 + pusher_type: *904 + ref: *905 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *892 + repository: *896 sender: *4 required: - ref @@ -142203,10 +142372,10 @@ x-webhooks: enum: - assignees_changed alert: *630 - installation: *890 - organization: *891 - enterprise: *889 - repository: *892 + installation: *894 + organization: *895 + enterprise: *893 + repository: *896 sender: *4 required: - action @@ -142287,10 +142456,10 @@ x-webhooks: enum: - auto_dismissed alert: *630 - installation: *890 - organization: *891 - enterprise: *889 - repository: *892 + installation: *894 + organization: *895 + enterprise: *893 + repository: *896 sender: *4 required: - action @@ -142372,10 +142541,10 @@ x-webhooks: enum: - auto_reopened alert: *630 - installation: *890 - organization: *891 - enterprise: *889 - repository: *892 + installation: *894 + organization: *895 + enterprise: *893 + repository: *896 sender: *4 required: - action @@ -142457,10 +142626,10 @@ x-webhooks: enum: - created alert: *630 - installation: *890 - organization: *891 - enterprise: *889 - repository: *892 + installation: *894 + organization: *895 + enterprise: *893 + repository: *896 sender: *4 required: - action @@ -142540,10 +142709,10 @@ x-webhooks: enum: - dismissed alert: *630 - installation: *890 - organization: *891 - enterprise: *889 - repository: *892 + installation: *894 + organization: *895 + enterprise: *893 + repository: *896 sender: *4 required: - action @@ -142623,10 +142792,10 @@ x-webhooks: enum: - fixed alert: *630 - installation: *890 - organization: *891 - enterprise: *889 - repository: *892 + installation: *894 + organization: *895 + enterprise: *893 + repository: *896 sender: *4 required: - action @@ -142707,10 +142876,10 @@ x-webhooks: enum: - reintroduced alert: *630 - installation: *890 - organization: *891 - enterprise: *889 - repository: *892 + installation: *894 + organization: *895 + enterprise: *893 + repository: *896 sender: *4 required: - action @@ -142790,10 +142959,10 @@ x-webhooks: enum: - reopened alert: *630 - installation: *890 - organization: *891 - enterprise: *889 - repository: *892 + installation: *894 + organization: *895 + enterprise: *893 + repository: *896 sender: *4 required: - action @@ -142870,9 +143039,9 @@ x-webhooks: type: string enum: - created - enterprise: *889 - installation: *890 - key: &902 + enterprise: *893 + installation: *894 + key: &906 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -142908,8 +143077,8 @@ x-webhooks: - verified - created_at - read_only - organization: *891 - repository: *892 + organization: *895 + repository: *896 sender: *4 required: - action @@ -142986,11 +143155,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *889 - installation: *890 - key: *902 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + key: *906 + organization: *895 + repository: *896 sender: *4 required: - action @@ -143546,12 +143715,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 - workflow: &908 + workflow: &912 title: Workflow type: object nullable: true @@ -144292,15 +144461,15 @@ x-webhooks: description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: *903 - required: *904 + properties: *907 + required: *908 nullable: true pull_requests: type: array - items: *736 - repository: *892 - organization: *891 - installation: *890 + items: *740 + repository: *896 + organization: *895 + installation: *894 sender: *4 responses: '200': @@ -144371,7 +144540,7 @@ x-webhooks: type: string enum: - approved - approver: &905 + approver: &909 type: object properties: avatar_url: @@ -144414,11 +144583,11 @@ x-webhooks: type: string comment: type: string - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 - reviewers: &906 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 + reviewers: &910 type: array items: type: object @@ -144497,7 +144666,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &907 + workflow_job_run: &911 type: object properties: conclusion: @@ -145228,18 +145397,18 @@ x-webhooks: type: string enum: - rejected - approver: *905 + approver: *909 comment: type: string - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 - reviewers: *906 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 + reviewers: *910 sender: *4 since: type: string - workflow_job_run: *907 + workflow_job_run: *911 workflow_job_runs: type: array items: @@ -145943,13 +146112,13 @@ x-webhooks: type: string enum: - requested - enterprise: *889 + enterprise: *893 environment: type: string - installation: *890 - organization: *891 - repository: *892 - requestor: &918 + installation: *894 + organization: *895 + repository: *896 + requestor: &922 title: User type: object nullable: true @@ -147838,12 +148007,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 - workflow: *908 + workflow: *912 workflow_run: title: Deployment Workflow Run type: object @@ -148523,7 +148692,7 @@ x-webhooks: type: string enum: - answered - answer: &911 + answer: &915 type: object properties: author_association: @@ -148680,11 +148849,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *909 - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + discussion: *913 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -148811,11 +148980,11 @@ x-webhooks: - from required: - category - discussion: *909 - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + discussion: *913 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -148898,11 +149067,11 @@ x-webhooks: type: string enum: - closed - discussion: *909 - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + discussion: *913 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -148984,7 +149153,7 @@ x-webhooks: type: string enum: - created - comment: &910 + comment: &914 type: object properties: author_association: @@ -149141,11 +149310,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *909 - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + discussion: *913 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -149228,12 +149397,12 @@ x-webhooks: type: string enum: - deleted - comment: *910 - discussion: *909 - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + comment: *914 + discussion: *913 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -149328,12 +149497,12 @@ x-webhooks: - from required: - body - comment: *910 - discussion: *909 - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + comment: *914 + discussion: *913 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -149417,11 +149586,11 @@ x-webhooks: type: string enum: - created - discussion: *909 - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + discussion: *913 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -149503,11 +149672,11 @@ x-webhooks: type: string enum: - deleted - discussion: *909 - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + discussion: *913 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -149607,11 +149776,11 @@ x-webhooks: type: string required: - from - discussion: *909 - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + discussion: *913 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -149693,10 +149862,10 @@ x-webhooks: type: string enum: - labeled - discussion: *909 - enterprise: *889 - installation: *890 - label: &912 + discussion: *913 + enterprise: *893 + installation: *894 + label: &916 title: Label type: object properties: @@ -149728,8 +149897,8 @@ x-webhooks: - color - default - description - organization: *891 - repository: *892 + organization: *895 + repository: *896 sender: *4 required: - action @@ -149812,11 +149981,11 @@ x-webhooks: type: string enum: - locked - discussion: *909 - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + discussion: *913 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -149898,11 +150067,11 @@ x-webhooks: type: string enum: - pinned - discussion: *909 - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + discussion: *913 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -149984,11 +150153,11 @@ x-webhooks: type: string enum: - reopened - discussion: *909 - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + discussion: *913 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -150073,16 +150242,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *909 - new_repository: *892 + new_discussion: *913 + new_repository: *896 required: - new_discussion - new_repository - discussion: *909 - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + discussion: *913 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -150165,10 +150334,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *909 - old_answer: *911 - organization: *891 - repository: *892 + discussion: *913 + old_answer: *915 + organization: *895 + repository: *896 sender: *4 required: - action @@ -150250,12 +150419,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *909 - enterprise: *889 - installation: *890 - label: *912 - organization: *891 - repository: *892 + discussion: *913 + enterprise: *893 + installation: *894 + label: *916 + organization: *895 + repository: *896 sender: *4 required: - action @@ -150338,11 +150507,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *909 - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + discussion: *913 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -150424,11 +150593,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *909 - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + discussion: *913 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -150497,7 +150666,7 @@ x-webhooks: required: true content: application/json: - schema: *913 + schema: *917 responses: '200': description: Return a 200 status to indicate that the data was received @@ -150560,7 +150729,7 @@ x-webhooks: required: true content: application/json: - schema: *914 + schema: *918 responses: '200': description: Return a 200 status to indicate that the data was received @@ -150623,7 +150792,7 @@ x-webhooks: required: true content: application/json: - schema: *915 + schema: *919 responses: '200': description: Return a 200 status to indicate that the data was received @@ -150686,7 +150855,7 @@ x-webhooks: required: true content: application/json: - schema: *913 + schema: *917 responses: '200': description: Return a 200 status to indicate that the data was received @@ -150749,7 +150918,7 @@ x-webhooks: required: true content: application/json: - schema: *914 + schema: *918 responses: '200': description: Return a 200 status to indicate that the data was received @@ -150815,7 +150984,7 @@ x-webhooks: required: true content: application/json: - schema: *915 + schema: *919 responses: '200': description: Return a 200 status to indicate that the data was received @@ -150881,7 +151050,7 @@ x-webhooks: required: true content: application/json: - schema: *916 + schema: *920 responses: '200': description: Return a 200 status to indicate that the data was received @@ -150947,7 +151116,7 @@ x-webhooks: required: true content: application/json: - schema: *913 + schema: *917 responses: '200': description: Return a 200 status to indicate that the data was received @@ -151013,7 +151182,7 @@ x-webhooks: required: true content: application/json: - schema: *917 + schema: *921 responses: '200': description: Return a 200 status to indicate that the data was received @@ -151079,7 +151248,7 @@ x-webhooks: required: true content: application/json: - schema: *914 + schema: *918 responses: '200': description: Return a 200 status to indicate that the data was received @@ -151144,7 +151313,7 @@ x-webhooks: required: true content: application/json: - schema: *915 + schema: *919 responses: '200': description: Return a 200 status to indicate that the data was received @@ -151209,7 +151378,7 @@ x-webhooks: required: true content: application/json: - schema: *916 + schema: *920 responses: '200': description: Return a 200 status to indicate that the data was received @@ -151274,7 +151443,7 @@ x-webhooks: required: true content: application/json: - schema: *913 + schema: *917 responses: '200': description: Return a 200 status to indicate that the data was received @@ -151339,7 +151508,7 @@ x-webhooks: required: true content: application/json: - schema: *917 + schema: *921 responses: '200': description: Return a 200 status to indicate that the data was received @@ -151405,7 +151574,7 @@ x-webhooks: required: true content: application/json: - schema: *914 + schema: *918 responses: '200': description: Return a 200 status to indicate that the data was received @@ -151472,7 +151641,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *889 + enterprise: *893 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-a-repository) resource. @@ -152132,9 +152301,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *890 - organization: *891 - repository: *892 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - forkee @@ -152280,9 +152449,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *889 - installation: *890 - organization: *891 + enterprise: *893 + installation: *894 + organization: *895 pages: description: The pages that were updated. type: array @@ -152319,7 +152488,7 @@ x-webhooks: - action - sha - html_url - repository: *892 + repository: *896 sender: *4 required: - pages @@ -152395,10 +152564,10 @@ x-webhooks: type: string enum: - created - enterprise: *889 + enterprise: *893 installation: *22 - organization: *891 - repositories: &919 + organization: *895 + repositories: &923 description: An array of repository objects that the installation can access. type: array @@ -152424,8 +152593,8 @@ x-webhooks: - name - full_name - private - repository: *892 - requester: *918 + repository: *896 + requester: *922 sender: *4 required: - action @@ -152500,11 +152669,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *889 + enterprise: *893 installation: *22 - organization: *891 - repositories: *919 - repository: *892 + organization: *895 + repositories: *923 + repository: *896 requester: nullable: true sender: *4 @@ -152580,11 +152749,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *889 + enterprise: *893 installation: *22 - organization: *891 - repositories: *919 - repository: *892 + organization: *895 + repositories: *923 + repository: *896 requester: nullable: true sender: *4 @@ -152660,10 +152829,10 @@ x-webhooks: type: string enum: - added - enterprise: *889 + enterprise: *893 installation: *22 - organization: *891 - repositories_added: &920 + organization: *895 + repositories_added: &924 description: An array of repository objects, which were added to the installation. type: array @@ -152709,15 +152878,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *892 - repository_selection: &921 + repository: *896 + repository_selection: &925 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *918 + requester: *922 sender: *4 required: - action @@ -152796,10 +152965,10 @@ x-webhooks: type: string enum: - removed - enterprise: *889 + enterprise: *893 installation: *22 - organization: *891 - repositories_added: *920 + organization: *895 + repositories_added: *924 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -152826,9 +152995,9 @@ x-webhooks: - name - full_name - private - repository: *892 - repository_selection: *921 - requester: *918 + repository: *896 + repository_selection: *925 + requester: *922 sender: *4 required: - action @@ -152907,11 +153076,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *889 + enterprise: *893 installation: *22 - organization: *891 - repositories: *919 - repository: *892 + organization: *895 + repositories: *923 + repository: *896 requester: nullable: true sender: *4 @@ -153090,10 +153259,10 @@ x-webhooks: type: string required: - from - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 target_type: type: string @@ -153172,11 +153341,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *889 + enterprise: *893 installation: *22 - organization: *891 - repositories: *919 - repository: *892 + organization: *895 + repositories: *923 + repository: *896 requester: nullable: true sender: *4 @@ -153350,8 +153519,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *711 - required: *712 + properties: *712 + required: *713 nullable: true user: title: User @@ -153436,8 +153605,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *889 - installation: *890 + enterprise: *893 + installation: *894 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -154226,8 +154395,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *828 - issue_dependencies_summary: *829 + sub_issues_summary: *832 + issue_dependencies_summary: *833 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154576,8 +154745,8 @@ x-webhooks: - state - locked - assignee - organization: *891 - repository: *892 + organization: *895 + repository: *896 sender: *4 required: - action @@ -154657,7 +154826,7 @@ x-webhooks: type: string enum: - deleted - comment: &922 + comment: &926 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#get-an-issue-comment) itself. @@ -154814,8 +154983,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *711 - required: *712 + properties: *712 + required: *713 nullable: true required: - url @@ -154830,8 +154999,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *889 - installation: *890 + enterprise: *893 + installation: *894 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -155616,8 +155785,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *828 - issue_dependencies_summary: *829 + sub_issues_summary: *832 + issue_dependencies_summary: *833 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155968,8 +156137,8 @@ x-webhooks: - state - locked - assignee - organization: *891 - repository: *892 + organization: *895 + repository: *896 sender: *4 required: - action @@ -156049,7 +156218,7 @@ x-webhooks: type: string enum: - edited - changes: &951 + changes: &955 description: The changes to the comment. type: object properties: @@ -156061,9 +156230,9 @@ x-webhooks: type: string required: - from - comment: *922 - enterprise: *889 - installation: *890 + comment: *926 + enterprise: *893 + installation: *894 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -156851,8 +157020,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *828 - issue_dependencies_summary: *829 + sub_issues_summary: *832 + issue_dependencies_summary: *833 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157201,8 +157370,8 @@ x-webhooks: - state - locked - assignee - organization: *891 - repository: *892 + organization: *895 + repository: *896 sender: *4 required: - action @@ -157283,9 +157452,9 @@ x-webhooks: type: string enum: - pinned - comment: *922 - enterprise: *889 - installation: *890 + comment: *926 + enterprise: *893 + installation: *894 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -158075,8 +158244,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *828 - issue_dependencies_summary: *829 + sub_issues_summary: *832 + issue_dependencies_summary: *833 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158427,8 +158596,8 @@ x-webhooks: - state - locked - assignee - organization: *891 - repository: *892 + organization: *895 + repository: *896 sender: *4 required: - action @@ -158508,9 +158677,9 @@ x-webhooks: type: string enum: - unpinned - comment: *922 - enterprise: *889 - installation: *890 + comment: *926 + enterprise: *893 + installation: *894 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -159300,8 +159469,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *828 - issue_dependencies_summary: *829 + sub_issues_summary: *832 + issue_dependencies_summary: *833 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159652,8 +159821,8 @@ x-webhooks: - state - locked - assignee - organization: *891 - repository: *892 + organization: *895 + repository: *896 sender: *4 required: - action @@ -159742,9 +159911,9 @@ x-webhooks: type: number blocking_issue: *228 blocking_issue_repo: *80 - installation: *890 - organization: *891 - repository: *892 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -159833,9 +160002,9 @@ x-webhooks: type: number blocking_issue: *228 blocking_issue_repo: *80 - installation: *890 - organization: *891 - repository: *892 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -159923,9 +160092,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *228 - installation: *890 - organization: *891 - repository: *892 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -160014,9 +160183,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *228 - installation: *890 - organization: *891 - repository: *892 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -160096,10 +160265,10 @@ x-webhooks: type: string enum: - assigned - assignee: *918 - enterprise: *889 - installation: *890 - issue: &923 + assignee: *922 + enterprise: *893 + installation: *894 + issue: &927 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -160891,11 +161060,11 @@ x-webhooks: properties: *229 required: *230 nullable: true - sub_issues_summary: *828 - issue_dependencies_summary: *829 + sub_issues_summary: *832 + issue_dependencies_summary: *833 issue_field_values: type: array - items: *695 + items: *696 state: description: State of the issue; either 'open' or 'closed' type: string @@ -161012,8 +161181,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *891 - repository: *892 + organization: *895 + repository: *896 sender: *4 required: - action @@ -161093,8 +161262,8 @@ x-webhooks: type: string enum: - closed - enterprise: *889 - installation: *890 + enterprise: *893 + installation: *894 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -161891,11 +162060,11 @@ x-webhooks: properties: *229 required: *230 nullable: true - sub_issues_summary: *828 - issue_dependencies_summary: *829 + sub_issues_summary: *832 + issue_dependencies_summary: *833 issue_field_values: type: array - items: *695 + items: *696 state: description: State of the issue; either 'open' or 'closed' type: string @@ -162147,8 +162316,8 @@ x-webhooks: required: - state - closed_at - organization: *891 - repository: *892 + organization: *895 + repository: *896 sender: *4 required: - action @@ -162227,8 +162396,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *889 - installation: *890 + enterprise: *893 + installation: *894 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -163016,11 +163185,11 @@ x-webhooks: properties: *229 required: *230 nullable: true - sub_issues_summary: *828 - issue_dependencies_summary: *829 + sub_issues_summary: *832 + issue_dependencies_summary: *833 issue_field_values: type: array - items: *695 + items: *696 state: description: State of the issue; either 'open' or 'closed' type: string @@ -163136,8 +163305,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *891 - repository: *892 + organization: *895 + repository: *896 sender: *4 required: - action @@ -163216,8 +163385,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *889 - installation: *890 + enterprise: *893 + installation: *894 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -164027,11 +164196,11 @@ x-webhooks: properties: *229 required: *230 nullable: true - sub_issues_summary: *828 - issue_dependencies_summary: *829 + sub_issues_summary: *832 + issue_dependencies_summary: *833 issue_field_values: type: array - items: *695 + items: *696 state: description: State of the issue; either 'open' or 'closed' type: string @@ -164126,7 +164295,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &924 + milestone: &928 title: Milestone description: A collection of related issues and pull requests. type: object @@ -164264,8 +164433,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *891 - repository: *892 + organization: *895 + repository: *896 sender: *4 required: - action @@ -164364,8 +164533,8 @@ x-webhooks: type: string required: - from - enterprise: *889 - installation: *890 + enterprise: *893 + installation: *894 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -165157,11 +165326,11 @@ x-webhooks: properties: *229 required: *230 nullable: true - sub_issues_summary: *828 - issue_dependencies_summary: *829 + sub_issues_summary: *832 + issue_dependencies_summary: *833 issue_field_values: type: array - items: *695 + items: *696 state: description: State of the issue; either 'open' or 'closed' type: string @@ -165278,9 +165447,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *912 - organization: *891 - repository: *892 + label: *916 + organization: *895 + repository: *896 sender: *4 required: - action @@ -165360,9 +165529,9 @@ x-webhooks: type: string enum: - field_added - enterprise: *889 - installation: *890 - issue: *923 + enterprise: *893 + installation: *894 + issue: *927 issue_field: type: object description: The issue field whose value was set or updated on the @@ -165516,8 +165685,8 @@ x-webhooks: - id required: - from - organization: *891 - repository: *892 + organization: *895 + repository: *896 sender: *4 required: - action @@ -165597,9 +165766,9 @@ x-webhooks: type: string enum: - field_removed - enterprise: *889 - installation: *890 - issue: *923 + enterprise: *893 + installation: *894 + issue: *927 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -165680,8 +165849,8 @@ x-webhooks: nullable: true required: - id - organization: *891 - repository: *892 + organization: *895 + repository: *896 sender: *4 required: - action @@ -165761,8 +165930,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *889 - installation: *890 + enterprise: *893 + installation: *894 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -166553,11 +166722,11 @@ x-webhooks: properties: *229 required: *230 nullable: true - sub_issues_summary: *828 - issue_dependencies_summary: *829 + sub_issues_summary: *832 + issue_dependencies_summary: *833 issue_field_values: type: array - items: *695 + items: *696 state: description: State of the issue; either 'open' or 'closed' type: string @@ -166674,9 +166843,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *912 - organization: *891 - repository: *892 + label: *916 + organization: *895 + repository: *896 sender: *4 required: - action @@ -166756,8 +166925,8 @@ x-webhooks: type: string enum: - locked - enterprise: *889 - installation: *890 + enterprise: *893 + installation: *894 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -167572,11 +167741,11 @@ x-webhooks: properties: *229 required: *230 nullable: true - sub_issues_summary: *828 - issue_dependencies_summary: *829 + sub_issues_summary: *832 + issue_dependencies_summary: *833 issue_field_values: type: array - items: *695 + items: *696 state: description: State of the issue; either 'open' or 'closed' type: string @@ -167670,8 +167839,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *891 - repository: *892 + organization: *895 + repository: *896 sender: *4 required: - action @@ -167750,8 +167919,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *889 - installation: *890 + enterprise: *893 + installation: *894 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -168560,11 +168729,11 @@ x-webhooks: properties: *229 required: *230 nullable: true - sub_issues_summary: *828 - issue_dependencies_summary: *829 + sub_issues_summary: *832 + issue_dependencies_summary: *833 issue_field_values: type: array - items: *695 + items: *696 state: description: State of the issue; either 'open' or 'closed' type: string @@ -168658,9 +168827,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *924 - organization: *891 - repository: *892 + milestone: *928 + organization: *895 + repository: *896 sender: *4 required: - action @@ -169523,11 +169692,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *828 - issue_dependencies_summary: *829 + sub_issues_summary: *832 + issue_dependencies_summary: *833 issue_field_values: type: array - items: *695 + items: *696 state: description: State of the issue; either 'open' or 'closed' type: string @@ -170108,8 +170277,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *889 - installation: *890 + enterprise: *893 + installation: *894 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -170893,11 +171062,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *828 - issue_dependencies_summary: *829 + sub_issues_summary: *832 + issue_dependencies_summary: *833 issue_field_values: type: array - items: *695 + items: *696 state: description: State of the issue; either 'open' or 'closed' type: string @@ -171021,8 +171190,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *891 - repository: *892 + organization: *895 + repository: *896 sender: *4 required: - action @@ -171102,9 +171271,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *889 - installation: *890 - issue: &925 + enterprise: *893 + installation: *894 + issue: &929 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -171890,11 +172059,11 @@ x-webhooks: properties: *229 required: *230 nullable: true - sub_issues_summary: *828 - issue_dependencies_summary: *829 + sub_issues_summary: *832 + issue_dependencies_summary: *833 issue_field_values: type: array - items: *695 + items: *696 state: description: State of the issue; either 'open' or 'closed' type: string @@ -172010,8 +172179,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *891 - repository: *892 + organization: *895 + repository: *896 sender: *4 required: - action @@ -172090,8 +172259,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *889 - installation: *890 + enterprise: *893 + installation: *894 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -172904,11 +173073,11 @@ x-webhooks: properties: *229 required: *230 nullable: true - sub_issues_summary: *828 - issue_dependencies_summary: *829 + sub_issues_summary: *832 + issue_dependencies_summary: *833 issue_field_values: type: array - items: *695 + items: *696 state: description: State of the issue; either 'open' or 'closed' type: string @@ -173003,8 +173172,8 @@ x-webhooks: user_view_type: type: string type: *400 - organization: *891 - repository: *892 + organization: *895 + repository: *896 sender: *4 required: - action @@ -173873,11 +174042,11 @@ x-webhooks: properties: *229 required: *230 nullable: true - sub_issues_summary: *828 - issue_dependencies_summary: *829 + sub_issues_summary: *832 + issue_dependencies_summary: *833 issue_field_values: type: array - items: *695 + items: *696 state: description: State of the issue; either 'open' or 'closed' type: string @@ -174472,11 +174641,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *889 - installation: *890 - issue: *925 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + issue: *929 + organization: *895 + repository: *896 sender: *4 required: - action @@ -174556,12 +174725,12 @@ x-webhooks: type: string enum: - typed - enterprise: *889 - installation: *890 - issue: *923 + enterprise: *893 + installation: *894 + issue: *927 type: *400 - organization: *891 - repository: *892 + organization: *895 + repository: *896 sender: *4 required: - action @@ -174642,7 +174811,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &954 + assignee: &958 title: User type: object nullable: true @@ -174712,11 +174881,11 @@ x-webhooks: required: - login - id - enterprise: *889 - installation: *890 - issue: *923 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + issue: *927 + organization: *895 + repository: *896 sender: *4 required: - action @@ -174795,12 +174964,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *889 - installation: *890 - issue: *923 - label: *912 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + issue: *927 + label: *916 + organization: *895 + repository: *896 sender: *4 required: - action @@ -174880,8 +175049,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *889 - installation: *890 + enterprise: *893 + installation: *894 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -175694,11 +175863,11 @@ x-webhooks: properties: *229 required: *230 nullable: true - sub_issues_summary: *828 - issue_dependencies_summary: *829 + sub_issues_summary: *832 + issue_dependencies_summary: *833 issue_field_values: type: array - items: *695 + items: *696 state: description: State of the issue; either 'open' or 'closed' type: string @@ -175792,8 +175961,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *891 - repository: *892 + organization: *895 + repository: *896 sender: *4 required: - action @@ -175873,11 +176042,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *889 - installation: *890 - issue: *925 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + issue: *929 + organization: *895 + repository: *896 sender: *4 required: - action @@ -175956,12 +176125,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *889 - installation: *890 - issue: *923 + enterprise: *893 + installation: *894 + issue: *927 type: *400 - organization: *891 - repository: *892 + organization: *895 + repository: *896 sender: *4 required: - action @@ -176041,11 +176210,11 @@ x-webhooks: type: string enum: - created - enterprise: *889 - installation: *890 - label: *912 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + label: *916 + organization: *895 + repository: *896 sender: *4 required: - action @@ -176123,11 +176292,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *889 - installation: *890 - label: *912 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + label: *916 + organization: *895 + repository: *896 sender: *4 required: - action @@ -176237,11 +176406,11 @@ x-webhooks: type: string required: - from - enterprise: *889 - installation: *890 - label: *912 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + label: *916 + organization: *895 + repository: *896 sender: *4 required: - action @@ -176323,9 +176492,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *889 - installation: *890 - marketplace_purchase: &926 + enterprise: *893 + installation: *894 + marketplace_purchase: &930 title: Marketplace Purchase type: object required: @@ -176408,8 +176577,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *891 - previous_marketplace_purchase: &927 + organization: *895 + previous_marketplace_purchase: &931 title: Marketplace Purchase type: object properties: @@ -176489,7 +176658,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *892 + repository: *896 sender: *4 required: - action @@ -176569,10 +176738,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *889 - installation: *890 - marketplace_purchase: *926 - organization: *891 + enterprise: *893 + installation: *894 + marketplace_purchase: *930 + organization: *895 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -176655,7 +176824,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *892 + repository: *896 sender: *4 required: - action @@ -176737,10 +176906,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *889 - installation: *890 - marketplace_purchase: *926 - organization: *891 + enterprise: *893 + installation: *894 + marketplace_purchase: *930 + organization: *895 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -176822,7 +176991,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *892 + repository: *896 sender: *4 required: - action @@ -176903,8 +177072,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *889 - installation: *890 + enterprise: *893 + installation: *894 marketplace_purchase: title: Marketplace Purchase type: object @@ -176986,9 +177155,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *891 - previous_marketplace_purchase: *927 - repository: *892 + organization: *895 + previous_marketplace_purchase: *931 + repository: *896 sender: *4 required: - action @@ -177068,12 +177237,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *889 - installation: *890 - marketplace_purchase: *926 - organization: *891 - previous_marketplace_purchase: *927 - repository: *892 + enterprise: *893 + installation: *894 + marketplace_purchase: *930 + organization: *895 + previous_marketplace_purchase: *931 + repository: *896 sender: *4 required: - action @@ -177175,11 +177344,11 @@ x-webhooks: type: string required: - to - enterprise: *889 - installation: *890 - member: *918 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + member: *922 + organization: *895 + repository: *896 sender: *4 required: - action @@ -177279,11 +177448,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *889 - installation: *890 - member: *918 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + member: *922 + organization: *895 + repository: *896 sender: *4 required: - action @@ -177362,11 +177531,11 @@ x-webhooks: type: string enum: - removed - enterprise: *889 - installation: *890 - member: *918 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + member: *922 + organization: *895 + repository: *896 sender: *4 required: - action @@ -177444,11 +177613,11 @@ x-webhooks: type: string enum: - added - enterprise: *889 - installation: *890 - member: *918 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + member: *922 + organization: *895 + repository: *896 scope: description: The scope of the membership. Currently, can only be `team`. @@ -177524,7 +177693,7 @@ x-webhooks: required: - login - id - team: &928 + team: &932 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -177747,11 +177916,11 @@ x-webhooks: type: string enum: - removed - enterprise: *889 - installation: *890 - member: *918 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + member: *922 + organization: *895 + repository: *896 scope: description: The scope of the membership. Currently, can only be `team`. @@ -177828,7 +177997,7 @@ x-webhooks: required: - login - id - team: *928 + team: *932 required: - action - scope @@ -177910,8 +178079,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *890 - merge_group: &930 + installation: *894 + merge_group: &934 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -177930,15 +178099,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *929 + head_commit: *933 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *891 - repository: *892 + organization: *895 + repository: *896 sender: *4 required: - action @@ -178024,10 +178193,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *890 - merge_group: *930 - organization: *891 - repository: *892 + installation: *894 + merge_group: *934 + organization: *895 + repository: *896 sender: *4 required: - action @@ -178100,7 +178269,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *889 + enterprise: *893 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -178209,16 +178378,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *890 - organization: *891 + installation: *894 + organization: *895 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *931 - required: *932 + properties: *935 + required: *936 nullable: true sender: *4 required: @@ -178299,11 +178468,11 @@ x-webhooks: type: string enum: - closed - enterprise: *889 - installation: *890 - milestone: *924 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + milestone: *928 + organization: *895 + repository: *896 sender: *4 required: - action @@ -178382,9 +178551,9 @@ x-webhooks: type: string enum: - created - enterprise: *889 - installation: *890 - milestone: &933 + enterprise: *893 + installation: *894 + milestone: &937 title: Milestone description: A collection of related issues and pull requests. type: object @@ -178521,8 +178690,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *891 - repository: *892 + organization: *895 + repository: *896 sender: *4 required: - action @@ -178601,11 +178770,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *889 - installation: *890 - milestone: *924 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + milestone: *928 + organization: *895 + repository: *896 sender: *4 required: - action @@ -178715,11 +178884,11 @@ x-webhooks: type: string required: - from - enterprise: *889 - installation: *890 - milestone: *924 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + milestone: *928 + organization: *895 + repository: *896 sender: *4 required: - action @@ -178799,11 +178968,11 @@ x-webhooks: type: string enum: - opened - enterprise: *889 - installation: *890 - milestone: *933 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + milestone: *937 + organization: *895 + repository: *896 sender: *4 required: - action @@ -178882,11 +179051,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *918 - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + blocked_user: *922 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -178965,11 +179134,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *918 - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + blocked_user: *922 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -179045,7 +179214,7 @@ x-webhooks: enum: - created definition: *156 - enterprise: *889 + enterprise: *893 sender: *4 required: - action @@ -179125,8 +179294,8 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *889 - installation: *890 + enterprise: *893 + installation: *894 sender: *4 required: - action @@ -179199,8 +179368,8 @@ x-webhooks: enum: - updated definition: *156 - enterprise: *889 - installation: *890 + enterprise: *893 + installation: *894 sender: *4 required: - action @@ -179272,9 +179441,9 @@ x-webhooks: type: string enum: - updated - enterprise: *889 - installation: *890 - organization: *891 + enterprise: *893 + installation: *894 + organization: *895 sender: *4 new_property_values: type: array @@ -179362,9 +179531,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *889 - installation: *890 - membership: &934 + enterprise: *893 + installation: *894 + membership: &938 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -179471,8 +179640,8 @@ x-webhooks: - role - organization_url - user - organization: *891 - repository: *892 + organization: *895 + repository: *896 sender: *4 required: - action @@ -179550,11 +179719,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *889 - installation: *890 - membership: *934 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + membership: *938 + organization: *895 + repository: *896 sender: *4 required: - action @@ -179633,8 +179802,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *889 - installation: *890 + enterprise: *893 + installation: *894 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -179750,10 +179919,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *891 - repository: *892 + organization: *895 + repository: *896 sender: *4 - user: *918 + user: *922 required: - action - invitation @@ -179831,11 +180000,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *889 - installation: *890 - membership: *934 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + membership: *938 + organization: *895 + repository: *896 sender: *4 required: - action @@ -179922,11 +180091,11 @@ x-webhooks: properties: from: type: string - enterprise: *889 - installation: *890 - membership: *934 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + membership: *938 + organization: *895 + repository: *896 sender: *4 required: - action @@ -180004,9 +180173,9 @@ x-webhooks: type: string enum: - published - enterprise: *889 - installation: *890 - organization: *891 + enterprise: *893 + installation: *894 + organization: *895 package: description: Information about the package. type: object @@ -180505,7 +180674,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &935 + items: &939 title: Ruby Gems metadata type: object properties: @@ -180600,7 +180769,7 @@ x-webhooks: - owner - package_version - registry - repository: *892 + repository: *896 sender: *4 required: - action @@ -180677,9 +180846,9 @@ x-webhooks: type: string enum: - updated - enterprise: *889 - installation: *890 - organization: *891 + enterprise: *893 + installation: *894 + organization: *895 package: description: Information about the package. type: object @@ -181032,7 +181201,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *935 + items: *939 source_url: type: string format: uri @@ -181102,7 +181271,7 @@ x-webhooks: - owner - package_version - registry - repository: *892 + repository: *896 sender: *4 required: - action @@ -181278,12 +181447,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *889 + enterprise: *893 id: type: integer - installation: *890 - organization: *891 - repository: *892 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - id @@ -181360,7 +181529,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &936 + personal_access_token_request: &940 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -181506,10 +181675,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *889 - organization: *891 + enterprise: *893 + organization: *895 sender: *4 - installation: *890 + installation: *894 required: - action - personal_access_token_request @@ -181586,11 +181755,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *936 - enterprise: *889 - organization: *891 + personal_access_token_request: *940 + enterprise: *893 + organization: *895 sender: *4 - installation: *890 + installation: *894 required: - action - personal_access_token_request @@ -181666,11 +181835,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *936 - enterprise: *889 - organization: *891 + personal_access_token_request: *940 + enterprise: *893 + organization: *895 sender: *4 - installation: *890 + installation: *894 required: - action - personal_access_token_request @@ -181745,11 +181914,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *936 - organization: *891 - enterprise: *889 + personal_access_token_request: *940 + organization: *895 + enterprise: *893 sender: *4 - installation: *890 + installation: *894 required: - action - personal_access_token_request @@ -181854,7 +182023,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *937 + last_response: *941 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -181886,8 +182055,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *891 - repository: *892 + organization: *895 + repository: *896 sender: *4 zen: description: Random string of GitHub zen. @@ -182132,10 +182301,10 @@ x-webhooks: - from required: - note - enterprise: *889 - installation: *890 - organization: *891 - project_card: &938 + enterprise: *893 + installation: *894 + organization: *895 + project_card: &942 title: Project Card type: object properties: @@ -182254,7 +182423,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *892 + repository: *896 sender: *4 required: - action @@ -182335,11 +182504,11 @@ x-webhooks: type: string enum: - created - enterprise: *889 - installation: *890 - organization: *891 - project_card: *938 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + project_card: *942 + repository: *896 sender: *4 required: - action @@ -182419,9 +182588,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *889 - installation: *890 - organization: *891 + enterprise: *893 + installation: *894 + organization: *895 project_card: title: Project Card type: object @@ -182549,8 +182718,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *931 - required: *932 + properties: *935 + required: *936 nullable: true sender: *4 required: @@ -182644,11 +182813,11 @@ x-webhooks: - from required: - note - enterprise: *889 - installation: *890 - organization: *891 - project_card: *938 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + project_card: *942 + repository: *896 sender: *4 required: - action @@ -182742,9 +182911,9 @@ x-webhooks: - from required: - column_id - enterprise: *889 - installation: *890 - organization: *891 + enterprise: *893 + installation: *894 + organization: *895 project_card: allOf: - title: Project Card @@ -182934,7 +183103,7 @@ x-webhooks: type: string required: - after_id - repository: *892 + repository: *896 sender: *4 required: - action @@ -183014,10 +183183,10 @@ x-webhooks: type: string enum: - closed - enterprise: *889 - installation: *890 - organization: *891 - project: &940 + enterprise: *893 + installation: *894 + organization: *895 + project: &944 title: Project type: object properties: @@ -183141,7 +183310,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *892 + repository: *896 sender: *4 required: - action @@ -183221,10 +183390,10 @@ x-webhooks: type: string enum: - created - enterprise: *889 - installation: *890 - organization: *891 - project_column: &939 + enterprise: *893 + installation: *894 + organization: *895 + project_column: &943 title: Project Column type: object properties: @@ -183263,7 +183432,7 @@ x-webhooks: - name - created_at - updated_at - repository: *892 + repository: *896 sender: *4 required: - action @@ -183342,18 +183511,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *889 - installation: *890 - organization: *891 - project_column: *939 + enterprise: *893 + installation: *894 + organization: *895 + project_column: *943 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *931 - required: *932 + properties: *935 + required: *936 nullable: true sender: *4 required: @@ -183443,11 +183612,11 @@ x-webhooks: type: string required: - from - enterprise: *889 - installation: *890 - organization: *891 - project_column: *939 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + project_column: *943 + repository: *896 sender: *4 required: - action @@ -183527,11 +183696,11 @@ x-webhooks: type: string enum: - moved - enterprise: *889 - installation: *890 - organization: *891 - project_column: *939 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + project_column: *943 + repository: *896 sender: *4 required: - action @@ -183611,11 +183780,11 @@ x-webhooks: type: string enum: - created - enterprise: *889 - installation: *890 - organization: *891 - project: *940 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + project: *944 + repository: *896 sender: *4 required: - action @@ -183695,18 +183864,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *889 - installation: *890 - organization: *891 - project: *940 + enterprise: *893 + installation: *894 + organization: *895 + project: *944 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *931 - required: *932 + properties: *935 + required: *936 nullable: true sender: *4 required: @@ -183808,11 +183977,11 @@ x-webhooks: type: string required: - from - enterprise: *889 - installation: *890 - organization: *891 - project: *940 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + project: *944 + repository: *896 sender: *4 required: - action @@ -183891,11 +184060,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *889 - installation: *890 - organization: *891 - project: *940 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + project: *944 + repository: *896 sender: *4 required: - action @@ -183976,8 +184145,8 @@ x-webhooks: type: string enum: - closed - installation: *890 - organization: *891 + installation: *894 + organization: *895 projects_v2: *432 sender: *4 required: @@ -184059,8 +184228,8 @@ x-webhooks: type: string enum: - created - installation: *890 - organization: *891 + installation: *894 + organization: *895 projects_v2: *432 sender: *4 required: @@ -184142,8 +184311,8 @@ x-webhooks: type: string enum: - deleted - installation: *890 - organization: *891 + installation: *894 + organization: *895 projects_v2: *432 sender: *4 required: @@ -184261,8 +184430,8 @@ x-webhooks: type: string to: type: string - installation: *890 - organization: *891 + installation: *894 + organization: *895 projects_v2: *432 sender: *4 required: @@ -184346,7 +184515,7 @@ x-webhooks: type: string enum: - archived - changes: &944 + changes: &948 type: object properties: archived_at: @@ -184360,9 +184529,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *890 - organization: *891 - projects_v2_item: &941 + installation: *894 + organization: *895 + projects_v2_item: &945 title: Projects v2 Item description: An item belonging to a project type: object @@ -184497,9 +184666,9 @@ x-webhooks: nullable: true to: type: string - installation: *890 - organization: *891 - projects_v2_item: *941 + installation: *894 + organization: *895 + projects_v2_item: *945 sender: *4 required: - action @@ -184581,9 +184750,9 @@ x-webhooks: type: string enum: - created - installation: *890 - organization: *891 - projects_v2_item: *941 + installation: *894 + organization: *895 + projects_v2_item: *945 sender: *4 required: - action @@ -184664,9 +184833,9 @@ x-webhooks: type: string enum: - deleted - installation: *890 - organization: *891 - projects_v2_item: *941 + installation: *894 + organization: *895 + projects_v2_item: *945 sender: *4 required: - action @@ -184772,7 +184941,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &942 + - &946 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -184794,7 +184963,7 @@ x-webhooks: required: - id - name - - &943 + - &947 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -184828,8 +184997,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *942 - - *943 + - *946 + - *947 required: - field_value - type: object @@ -184845,9 +185014,9 @@ x-webhooks: nullable: true required: - body - installation: *890 - organization: *891 - projects_v2_item: *941 + installation: *894 + organization: *895 + projects_v2_item: *945 sender: *4 required: - action @@ -184942,9 +185111,9 @@ x-webhooks: to: type: string nullable: true - installation: *890 - organization: *891 - projects_v2_item: *941 + installation: *894 + organization: *895 + projects_v2_item: *945 sender: *4 required: - action @@ -185027,10 +185196,10 @@ x-webhooks: type: string enum: - restored - changes: *944 - installation: *890 - organization: *891 - projects_v2_item: *941 + changes: *948 + installation: *894 + organization: *895 + projects_v2_item: *945 sender: *4 required: - action @@ -185112,8 +185281,8 @@ x-webhooks: type: string enum: - reopened - installation: *890 - organization: *891 + installation: *894 + organization: *895 projects_v2: *432 sender: *4 required: @@ -185195,14 +185364,14 @@ x-webhooks: type: string enum: - created - installation: *890 - organization: *891 - projects_v2_status_update: &947 + installation: *894 + organization: *895 + projects_v2_status_update: &951 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *945 - required: *946 + properties: *949 + required: *950 sender: *4 required: - action @@ -185283,9 +185452,9 @@ x-webhooks: type: string enum: - deleted - installation: *890 - organization: *891 - projects_v2_status_update: *947 + installation: *894 + organization: *895 + projects_v2_status_update: *951 sender: *4 required: - action @@ -185421,9 +185590,9 @@ x-webhooks: type: string format: date nullable: true - installation: *890 - organization: *891 - projects_v2_status_update: *947 + installation: *894 + organization: *895 + projects_v2_status_update: *951 sender: *4 required: - action @@ -185494,10 +185663,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - repository @@ -185574,13 +185743,13 @@ x-webhooks: type: string enum: - assigned - assignee: *918 - enterprise: *889 - installation: *890 - number: &948 + assignee: *922 + enterprise: *893 + installation: *894 + number: &952 description: The pull request number. type: integer - organization: *891 + organization: *895 pull_request: title: Pull Request type: object @@ -187885,7 +188054,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *892 + repository: *896 sender: *4 required: - action @@ -187967,11 +188136,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *889 - installation: *890 + enterprise: *893 + installation: *894 number: type: integer - organization: *891 + organization: *895 pull_request: title: Pull Request type: object @@ -190271,7 +190440,7 @@ x-webhooks: - draft reason: type: string - repository: *892 + repository: *896 sender: *4 required: - action @@ -190353,11 +190522,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *889 - installation: *890 + enterprise: *893 + installation: *894 number: type: integer - organization: *891 + organization: *895 pull_request: title: Pull Request type: object @@ -192657,7 +192826,7 @@ x-webhooks: - draft reason: type: string - repository: *892 + repository: *896 sender: *4 required: - action @@ -192739,13 +192908,13 @@ x-webhooks: type: string enum: - closed - enterprise: *889 - installation: *890 - number: *948 - organization: *891 - pull_request: &949 + enterprise: *893 + installation: *894 + number: *952 + organization: *895 + pull_request: &953 allOf: - - *736 + - *740 - type: object properties: allow_auto_merge: @@ -192807,7 +192976,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *892 + repository: *896 sender: *4 required: - action @@ -192888,12 +193057,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *889 - installation: *890 - number: *948 - organization: *891 - pull_request: *949 - repository: *892 + enterprise: *893 + installation: *894 + number: *952 + organization: *895 + pull_request: *953 + repository: *896 sender: *4 required: - action @@ -192973,11 +193142,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *889 - milestone: *718 - number: *948 - organization: *891 - pull_request: &950 + enterprise: *893 + milestone: *722 + number: *952 + organization: *895 + pull_request: &954 title: Pull Request type: object properties: @@ -195262,7 +195431,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *892 + repository: *896 sender: *4 required: - action @@ -195341,11 +195510,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *889 - installation: *890 + enterprise: *893 + installation: *894 number: type: integer - organization: *891 + organization: *895 pull_request: title: Pull Request type: object @@ -197649,7 +197818,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *892 + repository: *896 sender: *4 required: - action @@ -197773,12 +197942,12 @@ x-webhooks: type: string required: - from - enterprise: *889 - installation: *890 - number: *948 - organization: *891 - pull_request: *949 - repository: *892 + enterprise: *893 + installation: *894 + number: *952 + organization: *895 + pull_request: *953 + repository: *896 sender: *4 required: - action @@ -197858,11 +198027,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *889 - installation: *890 + enterprise: *893 + installation: *894 number: type: integer - organization: *891 + organization: *895 pull_request: title: Pull Request type: object @@ -200151,7 +200320,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *892 + repository: *896 sender: *4 required: - action @@ -200231,11 +200400,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *889 - installation: *890 - label: *912 - number: *948 - organization: *891 + enterprise: *893 + installation: *894 + label: *916 + number: *952 + organization: *895 pull_request: title: Pull Request type: object @@ -202539,7 +202708,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *892 + repository: *896 sender: *4 required: - action @@ -202620,10 +202789,10 @@ x-webhooks: type: string enum: - locked - enterprise: *889 - installation: *890 - number: *948 - organization: *891 + enterprise: *893 + installation: *894 + number: *952 + organization: *895 pull_request: title: Pull Request type: object @@ -204925,7 +205094,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *892 + repository: *896 sender: *4 required: - action @@ -205005,12 +205174,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *889 - milestone: *718 - number: *948 - organization: *891 - pull_request: *950 - repository: *892 + enterprise: *893 + milestone: *722 + number: *952 + organization: *895 + pull_request: *954 + repository: *896 sender: *4 required: - action @@ -205089,12 +205258,12 @@ x-webhooks: type: string enum: - opened - enterprise: *889 - installation: *890 - number: *948 - organization: *891 - pull_request: *949 - repository: *892 + enterprise: *893 + installation: *894 + number: *952 + organization: *895 + pull_request: *953 + repository: *896 sender: *4 required: - action @@ -205175,12 +205344,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *889 - installation: *890 - number: *948 - organization: *891 - pull_request: *949 - repository: *892 + enterprise: *893 + installation: *894 + number: *952 + organization: *895 + pull_request: *953 + repository: *896 sender: *4 required: - action @@ -205260,12 +205429,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *889 - installation: *890 - number: *948 - organization: *891 - pull_request: *949 - repository: *892 + enterprise: *893 + installation: *894 + number: *952 + organization: *895 + pull_request: *953 + repository: *896 sender: *4 required: - action @@ -205631,9 +205800,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *889 - installation: *890 - organization: *891 + enterprise: *893 + installation: *894 + organization: *895 pull_request: type: object properties: @@ -207825,7 +207994,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *892 + repository: *896 sender: *4 required: - action @@ -207905,7 +208074,7 @@ x-webhooks: type: string enum: - deleted - comment: &952 + comment: &956 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -208190,9 +208359,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *889 - installation: *890 - organization: *891 + enterprise: *893 + installation: *894 + organization: *895 pull_request: type: object properties: @@ -210372,7 +210541,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *892 + repository: *896 sender: *4 required: - action @@ -210452,11 +210621,11 @@ x-webhooks: type: string enum: - edited - changes: *951 - comment: *952 - enterprise: *889 - installation: *890 - organization: *891 + changes: *955 + comment: *956 + enterprise: *893 + installation: *894 + organization: *895 pull_request: type: object properties: @@ -212639,7 +212808,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *892 + repository: *896 sender: *4 required: - action @@ -212720,9 +212889,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *889 - installation: *890 - organization: *891 + enterprise: *893 + installation: *894 + organization: *895 pull_request: title: Simple Pull Request type: object @@ -214917,7 +215086,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *892 + repository: *896 review: description: The review that was affected. type: object @@ -215164,9 +215333,9 @@ x-webhooks: type: string required: - from - enterprise: *889 - installation: *890 - organization: *891 + enterprise: *893 + installation: *894 + organization: *895 pull_request: title: Simple Pull Request type: object @@ -217220,8 +217389,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *892 - review: &953 + repository: *896 + review: &957 description: The review that was affected. type: object properties: @@ -217454,12 +217623,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *889 - installation: *890 + enterprise: *893 + installation: *894 number: description: The pull request number. type: integer - organization: *891 + organization: *895 pull_request: title: Pull Request type: object @@ -219764,7 +219933,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *892 + repository: *896 requested_reviewer: title: User type: object @@ -219848,12 +220017,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *889 - installation: *890 + enterprise: *893 + installation: *894 number: description: The pull request number. type: integer - organization: *891 + organization: *895 pull_request: title: Pull Request type: object @@ -222165,7 +222334,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *892 + repository: *896 requested_team: title: Team description: Groups of organization members that gives permissions @@ -222357,12 +222526,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *889 - installation: *890 + enterprise: *893 + installation: *894 number: description: The pull request number. type: integer - organization: *891 + organization: *895 pull_request: title: Pull Request type: object @@ -224669,7 +224838,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *892 + repository: *896 requested_reviewer: title: User type: object @@ -224754,12 +224923,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *889 - installation: *890 + enterprise: *893 + installation: *894 number: description: The pull request number. type: integer - organization: *891 + organization: *895 pull_request: title: Pull Request type: object @@ -227057,7 +227226,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *892 + repository: *896 requested_team: title: Team description: Groups of organization members that gives permissions @@ -227238,9 +227407,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *889 - installation: *890 - organization: *891 + enterprise: *893 + installation: *894 + organization: *895 pull_request: title: Simple Pull Request type: object @@ -229437,8 +229606,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *892 - review: *953 + repository: *896 + review: *957 sender: *4 required: - action @@ -229518,9 +229687,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *889 - installation: *890 - organization: *891 + enterprise: *893 + installation: *894 + organization: *895 pull_request: title: Simple Pull Request type: object @@ -231612,7 +231781,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *892 + repository: *896 sender: *4 thread: type: object @@ -231999,9 +232168,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *889 - installation: *890 - organization: *891 + enterprise: *893 + installation: *894 + organization: *895 pull_request: title: Simple Pull Request type: object @@ -234079,7 +234248,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *892 + repository: *896 sender: *4 thread: type: object @@ -234469,10 +234638,10 @@ x-webhooks: type: string before: type: string - enterprise: *889 - installation: *890 - number: *948 - organization: *891 + enterprise: *893 + installation: *894 + number: *952 + organization: *895 pull_request: title: Pull Request type: object @@ -236765,7 +236934,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *892 + repository: *896 sender: *4 required: - action @@ -236847,11 +237016,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *954 - enterprise: *889 - installation: *890 - number: *948 - organization: *891 + assignee: *958 + enterprise: *893 + installation: *894 + number: *952 + organization: *895 pull_request: title: Pull Request type: object @@ -239156,7 +239325,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *892 + repository: *896 sender: *4 required: - action @@ -239235,11 +239404,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *889 - installation: *890 - label: *912 - number: *948 - organization: *891 + enterprise: *893 + installation: *894 + label: *916 + number: *952 + organization: *895 pull_request: title: Pull Request type: object @@ -241534,7 +241703,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *892 + repository: *896 sender: *4 required: - action @@ -241615,10 +241784,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *889 - installation: *890 - number: *948 - organization: *891 + enterprise: *893 + installation: *894 + number: *952 + organization: *895 pull_request: title: Pull Request type: object @@ -243905,7 +244074,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *892 + repository: *896 sender: *4 required: - action @@ -244105,7 +244274,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *889 + enterprise: *893 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -244197,8 +244366,8 @@ x-webhooks: - url - author - committer - installation: *890 - organization: *891 + installation: *894 + organization: *895 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -244784,9 +244953,9 @@ x-webhooks: type: string enum: - published - enterprise: *889 - installation: *890 - organization: *891 + enterprise: *893 + installation: *894 + organization: *895 registry_package: type: object properties: @@ -245232,7 +245401,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *935 + items: *939 summary: type: string tag_name: @@ -245286,7 +245455,7 @@ x-webhooks: - owner - package_version - registry - repository: *892 + repository: *896 sender: *4 required: - action @@ -245364,9 +245533,9 @@ x-webhooks: type: string enum: - updated - enterprise: *889 - installation: *890 - organization: *891 + enterprise: *893 + installation: *894 + organization: *895 registry_package: type: object properties: @@ -245674,7 +245843,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *935 + items: *939 summary: type: string tag_name: @@ -245723,7 +245892,7 @@ x-webhooks: - owner - package_version - registry - repository: *892 + repository: *896 sender: *4 required: - action @@ -245800,10 +245969,10 @@ x-webhooks: type: string enum: - created - enterprise: *889 - installation: *890 - organization: *891 - release: &955 + enterprise: *893 + installation: *894 + organization: *895 + release: &959 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object. @@ -246121,7 +246290,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *892 + repository: *896 sender: *4 required: - action @@ -246198,11 +246367,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *889 - installation: *890 - organization: *891 - release: *955 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + release: *959 + repository: *896 sender: *4 required: - action @@ -246319,11 +246488,11 @@ x-webhooks: type: boolean required: - to - enterprise: *889 - installation: *890 - organization: *891 - release: *955 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + release: *959 + repository: *896 sender: *4 required: - action @@ -246401,9 +246570,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *889 - installation: *890 - organization: *891 + enterprise: *893 + installation: *894 + organization: *895 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) @@ -246725,7 +246894,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *892 + repository: *896 sender: *4 required: - action @@ -246801,10 +246970,10 @@ x-webhooks: type: string enum: - published - enterprise: *889 - installation: *890 - organization: *891 - release: &956 + enterprise: *893 + installation: *894 + organization: *895 + release: &960 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object. @@ -247123,7 +247292,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *892 + repository: *896 sender: *4 required: - action @@ -247199,11 +247368,11 @@ x-webhooks: type: string enum: - released - enterprise: *889 - installation: *890 - organization: *891 - release: *955 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + release: *959 + repository: *896 sender: *4 required: - action @@ -247279,11 +247448,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *889 - installation: *890 - organization: *891 - release: *956 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + release: *960 + repository: *896 sender: *4 required: - action @@ -247359,11 +247528,11 @@ x-webhooks: type: string enum: - published - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 - repository_advisory: *789 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 + repository_advisory: *793 sender: *4 required: - action @@ -247439,11 +247608,11 @@ x-webhooks: type: string enum: - reported - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 - repository_advisory: *789 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 + repository_advisory: *793 sender: *4 required: - action @@ -247519,10 +247688,10 @@ x-webhooks: type: string enum: - archived - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -247599,10 +247768,10 @@ x-webhooks: type: string enum: - created - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -247680,10 +247849,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -247767,10 +247936,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -247882,10 +248051,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -247957,10 +248126,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 status: type: string @@ -248041,10 +248210,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -248121,10 +248290,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -248218,10 +248387,10 @@ x-webhooks: - name required: - repository - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -248301,10 +248470,10 @@ x-webhooks: type: string enum: - created - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 repository_ruleset: *195 sender: *4 required: @@ -248383,10 +248552,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 repository_ruleset: *195 sender: *4 required: @@ -248465,10 +248634,10 @@ x-webhooks: type: string enum: - edited - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 repository_ruleset: *195 changes: type: object @@ -248530,16 +248699,16 @@ x-webhooks: properties: added: type: array - items: *756 + items: *760 deleted: type: array - items: *756 + items: *760 updated: type: array items: type: object properties: - rule: *756 + rule: *760 changes: type: object properties: @@ -248773,10 +248942,10 @@ x-webhooks: - from required: - owner - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -248854,10 +249023,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -248935,7 +249104,7 @@ x-webhooks: type: string enum: - create - alert: &957 + alert: &961 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -249057,10 +249226,10 @@ x-webhooks: enum: - auto_dismissed - open - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -249266,10 +249435,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -249347,11 +249516,11 @@ x-webhooks: type: string enum: - reopen - alert: *957 - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + alert: *961 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -249550,10 +249719,10 @@ x-webhooks: enum: - fixed - open - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -249631,7 +249800,7 @@ x-webhooks: type: string enum: - assigned - alert: &958 + alert: &962 type: object properties: number: *131 @@ -249774,10 +249943,10 @@ x-webhooks: required: *21 nullable: true assignee: *4 - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -249855,11 +250024,11 @@ x-webhooks: type: string enum: - created - alert: *958 - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + alert: *962 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -249940,11 +250109,11 @@ x-webhooks: type: string enum: - created - alert: *958 - installation: *890 - location: *959 - organization: *891 - repository: *892 + alert: *962 + installation: *894 + location: *963 + organization: *895 + repository: *896 sender: *4 required: - location @@ -250182,11 +250351,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *958 - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + alert: *962 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -250264,11 +250433,11 @@ x-webhooks: type: string enum: - reopened - alert: *958 - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + alert: *962 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -250346,11 +250515,11 @@ x-webhooks: type: string enum: - resolved - alert: *958 - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + alert: *962 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -250428,12 +250597,12 @@ x-webhooks: type: string enum: - unassigned - alert: *958 + alert: *962 assignee: *4 - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -250511,11 +250680,11 @@ x-webhooks: type: string enum: - validated - alert: *958 - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + alert: *962 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -250641,10 +250810,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *892 - enterprise: *889 - installation: *890 - organization: *891 + repository: *896 + enterprise: *893 + installation: *894 + organization: *895 sender: *4 required: - action @@ -250722,11 +250891,11 @@ x-webhooks: type: string enum: - published - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 - security_advisory: &960 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 + security_advisory: &964 description: The details of the security advisory, including summary, description, and severity. type: object @@ -250909,11 +251078,11 @@ x-webhooks: type: string enum: - updated - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 - security_advisory: *960 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 + security_advisory: *964 sender: *4 required: - action @@ -250986,10 +251155,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -251174,9 +251343,9 @@ x-webhooks: type: object properties: security_and_analysis: *449 - enterprise: *889 - installation: *890 - organization: *891 + enterprise: *893 + installation: *894 + organization: *895 repository: *496 sender: *4 required: @@ -251255,12 +251424,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 - sponsorship: &961 + sponsorship: &965 type: object properties: created_at: @@ -251561,12 +251730,12 @@ x-webhooks: type: string enum: - created - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 - sponsorship: *961 + sponsorship: *965 required: - action - sponsorship @@ -251654,12 +251823,12 @@ x-webhooks: type: string required: - from - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 - sponsorship: *961 + sponsorship: *965 required: - action - changes @@ -251736,17 +251905,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &962 + effective_date: &966 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 - sponsorship: *961 + sponsorship: *965 required: - action - sponsorship @@ -251820,7 +251989,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &963 + changes: &967 type: object properties: tier: @@ -251864,13 +252033,13 @@ x-webhooks: - from required: - tier - effective_date: *962 - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + effective_date: *966 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 - sponsorship: *961 + sponsorship: *965 required: - action - changes @@ -251947,13 +252116,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *963 - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + changes: *967 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 - sponsorship: *961 + sponsorship: *965 required: - action - changes @@ -252027,10 +252196,10 @@ x-webhooks: type: string enum: - created - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -252113,10 +252282,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -252536,15 +252705,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *889 + enterprise: *893 id: description: The unique identifier of the status. type: integer - installation: *890 + installation: *894 name: type: string - organization: *891 - repository: *892 + organization: *895 + repository: *896 sender: *4 sha: description: The Commit SHA. @@ -252659,9 +252828,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *228 - installation: *890 - organization: *891 - repository: *892 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -252750,9 +252919,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *228 - installation: *890 - organization: *891 - repository: *892 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -252841,9 +253010,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *228 - installation: *890 - organization: *891 - repository: *892 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -252932,9 +253101,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *228 - installation: *890 - organization: *891 - repository: *892 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -253010,12 +253179,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 - team: &964 + team: &968 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -253238,9 +253407,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *889 - installation: *890 - organization: *891 + enterprise: *893 + installation: *894 + organization: *895 repository: title: Repository description: A git repository @@ -253698,7 +253867,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *964 + team: *968 required: - action - team @@ -253774,9 +253943,9 @@ x-webhooks: type: string enum: - created - enterprise: *889 - installation: *890 - organization: *891 + enterprise: *893 + installation: *894 + organization: *895 repository: title: Repository description: A git repository @@ -254234,7 +254403,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *964 + team: *968 required: - action - team @@ -254311,9 +254480,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *889 - installation: *890 - organization: *891 + enterprise: *893 + installation: *894 + organization: *895 repository: title: Repository description: A git repository @@ -254771,7 +254940,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *964 + team: *968 required: - action - team @@ -254915,9 +255084,9 @@ x-webhooks: - from required: - permissions - enterprise: *889 - installation: *890 - organization: *891 + enterprise: *893 + installation: *894 + organization: *895 repository: title: Repository description: A git repository @@ -255375,7 +255544,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *964 + team: *968 required: - action - changes @@ -255453,9 +255622,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *889 - installation: *890 - organization: *891 + enterprise: *893 + installation: *894 + organization: *895 repository: title: Repository description: A git repository @@ -255913,7 +256082,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *964 + team: *968 required: - action - team @@ -255989,10 +256158,10 @@ x-webhooks: type: string enum: - started - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -256065,16 +256234,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *889 + enterprise: *893 inputs: type: object nullable: true additionalProperties: true - installation: *890 - organization: *891 + installation: *894 + organization: *895 ref: type: string - repository: *892 + repository: *896 sender: *4 workflow: type: string @@ -256156,10 +256325,10 @@ x-webhooks: type: string enum: - completed - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 workflow_job: allOf: @@ -256475,10 +256644,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 workflow_job: allOf: @@ -256817,10 +256986,10 @@ x-webhooks: type: string enum: - queued - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 workflow_job: type: object @@ -257034,10 +257203,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 workflow_job: type: object @@ -257253,12 +257422,12 @@ x-webhooks: type: string enum: - completed - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 - workflow: *908 + workflow: *912 workflow_run: title: Workflow Run type: object @@ -258257,12 +258426,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 - workflow: *908 + workflow: *912 workflow_run: title: Workflow Run type: object @@ -259246,12 +259415,12 @@ x-webhooks: type: string enum: - requested - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 - workflow: *908 + workflow: *912 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.json b/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.json index c60516a0ac..75fe1be005 100644 --- a/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.json @@ -455848,6 +455848,76 @@ "to" ] }, + "issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, + "prev_issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, "author_association": { "title": "author_association", "type": "string", @@ -460325,6 +460395,76 @@ "to" ] }, + "issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, + "prev_issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, "author_association": { "title": "author_association", "type": "string", @@ -497461,1635 +497601,1647 @@ "created_at", "performed_via_github_app" ] - } - ] - } - }, - "examples": { - "default": { - "value": [ - { - "id": 1, - "node_id": "MDEwOklzc3VlRXZlbnQx", - "url": "https://api.github.com/repos/octocat/Hello-World/issues/events/1", - "actor": { - "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 - }, - "event": "closed", - "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e", - "commit_url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e", - "created_at": "2011-04-14T16:00:49Z", - "performed_via_github_app": null, - "label": { - "name": "label", - "color": "red" - } - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - }, - "410": { - "description": "Gone", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "issues", - "subcategory": "events" - } - } - }, - "/repos/{owner}/{repo}/issues/{issue_number}/issue-field-values": { - "get": { - "summary": "List issue field values for an issue", - "description": "Lists all issue field values for an issue.", - "tags": [ - "issues" - ], - "operationId": "issues/list-issue-field-values-for-issue", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#list-issue-field-values-for-an-issue" - }, - "parameters": [ - { - "name": "owner", - "description": "The account owner of the repository. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "repo", - "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "issue_number", - "description": "The number that identifies the issue.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 30 - } - }, - { - "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Issue Field Value", - "description": "A value assigned to an issue field", - "type": "object", - "properties": { - "issue_field_id": { - "description": "Unique identifier for the issue field.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "IFT_GDKND" - }, - "data_type": { - "description": "The data type of the issue field", - "type": "string", - "enum": [ - "text", - "single_select", - "multi_select", - "number", - "date" - ], - "example": "text" - }, - "value": { - "description": "The value of the issue field", - "anyOf": [ - { - "type": "string", - "example": "Sample text" - }, - { - "type": "number", - "example": 42.5 - }, - { - "type": "integer", - "example": 1 - } - ], - "nullable": true }, - "single_select_option": { - "description": "Details about the selected option (only present for single_select fields)", + { + "title": "Issue Type Added Issue Event", + "description": "Issue Type Added Issue Event", "type": "object", "properties": { "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "example": 1 + "type": "integer" }, - "name": { - "description": "The name of the option", - "type": "string", - "example": "High" + "node_id": { + "type": "string" }, - "color": { - "description": "The color of the option", - "type": "string", - "example": "red" - } - }, - "required": [ - "id", - "name", - "color" - ], - "nullable": true - }, - "multi_select_options": { - "description": "Details about the selected options", - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "name": { - "description": "The name of the option", - "type": "string", - "example": "High" + "url": { + "type": "string" + }, + "actor": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } }, - "color": { - "description": "The color of the option", - "type": "string", - "example": "red" - } + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] }, - "required": [ - "id", - "name", - "color" - ] - }, - "nullable": true - } - }, - "required": [ - "issue_field_id", - "node_id", - "data_type", - "value" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "issue_field_id": 1, - "node_id": "IFT_GDKND", - "data_type": "text", - "value": "DRI" - }, - { - "issue_field_id": 2, - "node_id": "IFSS_SADMS", - "data_type": "single_select", - "value": 1, - "single_select_option": { - "id": 1, - "name": "High", - "color": "red" - } - }, - { - "issue_field_id": 3, - "node_id": "IFN_POINTS", - "data_type": "number", - "value": 42 - }, - { - "issue_field_id": 4, - "node_id": "IFD_DUEDATE", - "data_type": "date", - "value": "2025-12-25" - }, - { - "issue_field_id": 5, - "node_id": "IFMS_LABELS", - "data_type": "multi_select", - "value": "Frontend,Backend", - "multi_select_options": [ - { - "id": 1, - "name": "Frontend", - "color": "blue" - }, - { - "id": 2, - "name": "Backend", - "color": "green" - } - ] - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - }, - "301": { - "description": "Moved permanently", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "410": { - "description": "Gone", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "issues", - "subcategory": "issue-field-values" - } - }, - "post": { - "summary": "Add issue field values to an issue", - "description": "Add custom field values to an issue. You can set values for organization-level issue fields that have been defined for the repository's organization.\nAdding an empty array will clear all existing field values for the issue.\n\nThis endpoint supports the following field data types:\n- **`text`**: String values for text fields\n- **`single_select`**: Option names for single-select fields (must match an existing option name)\n- **`number`**: Numeric values for number fields\n- **`date`**: ISO 8601 date strings for date fields\n\nOnly users with push access to the repository can add issue field values. If you don't have the proper permissions, you'll receive a `403 Forbidden` response.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-cloud@latest/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest/rest/guides/best-practices-for-using-the-rest-api).\"", - "tags": [ - "issues" - ], - "operationId": "issues/add-issue-field-values", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#add-issue-field-values-to-an-issue" - }, - "parameters": [ - { - "name": "owner", - "description": "The account owner of the repository. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "repo", - "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "issue_number", - "description": "The number that identifies the issue.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "issue_field_values": { - "type": "array", - "description": "An array of issue field values to add to this issue. Each field value must include the field ID and the value to set.", - "items": { - "type": "object", - "properties": { - "field_id": { - "type": "integer", - "description": "The ID of the issue field to set", - "example": 123 - }, - "value": { - "oneOf": [ - { - "type": "string", - "description": "The value to set for text, single_select, or date fields" - }, - { - "type": "number", - "description": "The value to set for number fields" - }, - { - "type": "array", - "items": { - "type": "string" - }, - "description": "The value to set for multi_select fields (array of option names)" - } - ], - "description": "The value to set for the field. The type depends on the field's data type:\n- For text fields: provide a string value\n- For single_select fields: provide the option name as a string (must match an existing option)\n- For number fields: provide a numeric value\n- For multi_select fields: provide an array of option names (must match existing options)\n- For date fields: provide an ISO 8601 date string", - "example": "Critical" - } - }, - "required": [ - "field_id", - "value" - ], - "additionalProperties": false - }, - "maxItems": 25 - } - } - }, - "examples": { - "default": { - "summary": "Add multiple field values", - "value": { - "issue_field_values": [ - { - "field_id": 123, - "value": "Critical" - }, - { - "field_id": 456, - "value": 5 - }, - { - "field_id": 789, - "value": "2024-12-31" - } - ] - } - }, - "single-field": { - "summary": "Add a single field value", - "value": { - "issue_field_values": [ - { - "field_id": 123, - "value": "High Priority" - } - ] - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "description": "The current issue field values for this issue after adding the new values", - "items": { - "title": "Issue Field Value", - "description": "A value assigned to an issue field", - "type": "object", - "properties": { - "issue_field_id": { - "description": "Unique identifier for the issue field.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "IFT_GDKND" - }, - "data_type": { - "description": "The data type of the issue field", - "type": "string", - "enum": [ - "text", - "single_select", - "multi_select", - "number", - "date" - ], - "example": "text" - }, - "value": { - "description": "The value of the issue field", - "anyOf": [ - { - "type": "string", - "example": "Sample text" - }, - { - "type": "number", - "example": 42.5 - }, - { - "type": "integer", - "example": 1 - } - ], - "nullable": true - }, - "single_select_option": { - "description": "Details about the selected option (only present for single_select fields)", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "example": 1 + "event": { + "type": "string" }, - "name": { - "description": "The name of the option", + "commit_id": { "type": "string", - "example": "High" + "nullable": true }, - "color": { - "description": "The color of the option", + "commit_url": { "type": "string", - "example": "red" - } - }, - "required": [ - "id", - "name", - "color" - ], - "nullable": true - }, - "multi_select_options": { - "description": "Details about the selected options", - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "name": { - "description": "The name of the option", - "type": "string", - "example": "High" - }, - "color": { - "description": "The color of the option", - "type": "string", - "example": "red" - } + "nullable": true }, - "required": [ - "id", - "name", - "color" - ] - }, - "nullable": true - } - }, - "required": [ - "issue_field_id", - "node_id", - "data_type", - "value" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "issue_field_id": 1, - "node_id": "IFT_GDKND", - "data_type": "text", - "value": "DRI" - }, - { - "issue_field_id": 2, - "node_id": "IFSS_SADMS", - "data_type": "single_select", - "value": 1, - "single_select_option": { - "id": 1, - "name": "High", - "color": "red" - } - }, - { - "issue_field_id": 3, - "node_id": "IFN_POINTS", - "data_type": "number", - "value": 42 - }, - { - "issue_field_id": 4, - "node_id": "IFD_DUEDATE", - "data_type": "date", - "value": "2025-12-25" - }, - { - "issue_field_id": 5, - "node_id": "IFMS_LABELS", - "data_type": "multi_select", - "value": "Frontend,Backend", - "multi_select_options": [ - { - "id": 1, - "name": "Frontend", - "color": "blue" + "created_at": { + "type": "string" }, - { - "id": 2, - "name": "Backend", - "color": "green" - } - ] - } - ] - } - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - }, - "application/scim+json": { - "schema": { - "title": "Scim Error", - "description": "Scim Error", - "type": "object", - "properties": { - "message": { - "type": "string", - "nullable": true - }, - "documentation_url": { - "type": "string", - "nullable": true - }, - "detail": { - "type": "string", - "nullable": true - }, - "status": { - "type": "integer" - }, - "scimType": { - "type": "string", - "nullable": true - }, - "schemas": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error", - "description": "Validation Error", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", + "performed_via_github_app": { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { + "type": "string", + "example": "MDExOkludGVncmF0aW9uMQ==" + }, + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", + "type": "string" + }, + "description": { + "type": "string", + "example": "The description of the app.", + "nullable": true + }, + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app. Note that the `installation_target`, `security_advisory`, and `meta` events are not included because they are global events and not specific to an installation.", + "example": [ + "label", + "deployment" + ], + "type": "array", + "items": { + "type": "string" + } + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "example": 5, + "type": "integer" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + }, + "issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + } + }, "required": [ - "code" - ], + "issue_type", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + { + "title": "Issue Type Removed Issue Event", + "description": "Issue Type Removed Issue Event", + "type": "object", "properties": { - "resource": { - "type": "string" - }, - "field": { - "type": "string" + "id": { + "type": "integer" }, - "message": { + "node_id": { "type": "string" }, - "code": { + "url": { "type": "string" }, - "index": { - "type": "integer" - }, - "value": { - "oneOf": [ - { + "actor": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { "type": "string", - "nullable": true + "example": "octocat" }, - { + "id": { "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", "nullable": true }, - { - "type": "array", - "nullable": true, - "items": { - "type": "string" - } - } - ] - } - } - } - } - } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "triggersNotification": true, - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "issues", - "subcategory": "issue-field-values" - } - }, - "put": { - "summary": "Set issue field values for an issue", - "description": "Set custom field values for an issue, replacing any existing values. You can set values for organization-level issue fields that have been defined for the repository's organization.\n\nThis endpoint supports the following field data types:\n- **`text`**: String values for text fields\n- **`single_select`**: Option names for single-select fields (must match an existing option name)\n- **`number`**: Numeric values for number fields\n- **`date`**: ISO 8601 date strings for date fields\n\nThis operation will replace all existing field values with the provided ones. If you want to add field values without replacing existing ones, use the `POST` endpoint instead.\n\nOnly users with push access to the repository can set issue field values. If you don't have the proper permissions, you'll receive a `403 Forbidden` response.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-cloud@latest/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest/rest/guides/best-practices-for-using-the-rest-api).\"", - "tags": [ - "issues" - ], - "operationId": "issues/set-issue-field-values", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#set-issue-field-values-for-an-issue" - }, - "parameters": [ - { - "name": "owner", - "description": "The account owner of the repository. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "repo", - "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "issue_number", - "description": "The number that identifies the issue.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "issue_field_values": { - "type": "array", - "description": "An array of issue field values to set for this issue. Each field value must include the field ID and the value to set. All existing field values will be replaced.", - "items": { - "type": "object", - "properties": { - "field_id": { - "type": "integer", - "description": "The ID of the issue field to set", - "example": 123 - }, - "value": { - "oneOf": [ - { - "type": "string", - "description": "The value to set for text, single_select, or date fields" + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } }, - { - "type": "number", - "description": "The value to set for number fields" - } - ], - "description": "The value to set for the field. The type depends on the field's data type:\n- For text fields: provide a string value\n- For single_select fields: provide the option name as a string (must match an existing option)\n- For number fields: provide a numeric value\n- For date fields: provide an ISO 8601 date string", - "example": "Critical" - } - }, - "required": [ - "field_id", - "value" - ], - "additionalProperties": false - }, - "maxItems": 25 - } - } - }, - "examples": { - "default": { - "summary": "Set multiple field values", - "value": { - "issue_field_values": [ - { - "field_id": 123, - "value": "Critical" - }, - { - "field_id": 456, - "value": 5 - }, - { - "field_id": 789, - "value": "2024-12-31" - } - ] - } - }, - "single-field": { - "summary": "Set a single field value", - "value": { - "issue_field_values": [ - { - "field_id": 123, - "value": "High Priority" - } - ] - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "description": "The current issue field values for this issue after setting the new values", - "items": { - "title": "Issue Field Value", - "description": "A value assigned to an issue field", - "type": "object", - "properties": { - "issue_field_id": { - "description": "Unique identifier for the issue field.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "IFT_GDKND" - }, - "data_type": { - "description": "The data type of the issue field", - "type": "string", - "enum": [ - "text", - "single_select", - "multi_select", - "number", - "date" - ], - "example": "text" - }, - "value": { - "description": "The value of the issue field", - "anyOf": [ - { - "type": "string", - "example": "Sample text" - }, - { - "type": "number", - "example": 42.5 + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] }, - { - "type": "integer", - "example": 1 - } - ], - "nullable": true - }, - "single_select_option": { - "description": "Details about the selected option (only present for single_select fields)", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "example": 1 + "event": { + "type": "string" }, - "name": { - "description": "The name of the option", + "commit_id": { "type": "string", - "example": "High" + "nullable": true }, - "color": { - "description": "The color of the option", + "commit_url": { "type": "string", - "example": "red" - } - }, - "required": [ - "id", - "name", - "color" - ], - "nullable": true - }, - "multi_select_options": { - "description": "Details about the selected options", - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "name": { - "description": "The name of the option", - "type": "string", - "example": "High" - }, - "color": { - "description": "The color of the option", - "type": "string", - "example": "red" - } + "nullable": true }, - "required": [ - "id", - "name", - "color" - ] - }, - "nullable": true - } - }, - "required": [ - "issue_field_id", - "node_id", - "data_type", - "value" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "issue_field_id": 1, - "node_id": "IFT_GDKND", - "data_type": "text", - "value": "DRI" - }, - { - "issue_field_id": 2, - "node_id": "IFSS_SADMS", - "data_type": "single_select", - "value": 1, - "single_select_option": { - "id": 1, - "name": "High", - "color": "red" - } - }, - { - "issue_field_id": 3, - "node_id": "IFN_POINTS", - "data_type": "number", - "value": 42 - }, - { - "issue_field_id": 4, - "node_id": "IFD_DUEDATE", - "data_type": "date", - "value": "2025-12-25" - }, - { - "issue_field_id": 5, - "node_id": "IFMS_LABELS", - "data_type": "multi_select", - "value": "Frontend,Backend", - "multi_select_options": [ - { - "id": 1, - "name": "Frontend", - "color": "blue" + "created_at": { + "type": "string" }, - { - "id": 2, - "name": "Backend", - "color": "green" - } - ] - } - ] - } - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - }, - "application/scim+json": { - "schema": { - "title": "Scim Error", - "description": "Scim Error", - "type": "object", - "properties": { - "message": { - "type": "string", - "nullable": true - }, - "documentation_url": { - "type": "string", - "nullable": true - }, - "detail": { - "type": "string", - "nullable": true - }, - "status": { - "type": "integer" - }, - "scimType": { - "type": "string", - "nullable": true - }, - "schemas": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error", - "description": "Validation Error", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", + "performed_via_github_app": { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { + "type": "string", + "example": "MDExOkludGVncmF0aW9uMQ==" + }, + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", + "type": "string" + }, + "description": { + "type": "string", + "example": "The description of the app.", + "nullable": true + }, + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app. Note that the `installation_target`, `security_advisory`, and `meta` events are not included because they are global events and not specific to an installation.", + "example": [ + "label", + "deployment" + ], + "type": "array", + "items": { + "type": "string" + } + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "example": 5, + "type": "integer" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + }, + "prev_issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + } + }, "required": [ - "code" - ], + "prev_issue_type", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + { + "title": "Issue Type Changed Issue Event", + "description": "Issue Type Changed Issue Event", + "type": "object", "properties": { - "resource": { - "type": "string" - }, - "field": { - "type": "string" + "id": { + "type": "integer" }, - "message": { + "node_id": { "type": "string" }, - "code": { + "url": { "type": "string" }, - "index": { - "type": "integer" - }, - "value": { - "oneOf": [ - { + "actor": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { "type": "string", - "nullable": true + "example": "octocat" }, - { + "id": { "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", "nullable": true }, - { - "type": "array", - "nullable": true, - "items": { - "type": "string" - } - } - ] - } - } - } - } - } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "triggersNotification": true, - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "issues", - "subcategory": "issue-field-values" - } - } - }, - "/repos/{owner}/{repo}/issues/{issue_number}/issue-field-values/{issue_field_id}": { - "delete": { - "summary": "Delete an issue field value from an issue", - "description": "Remove a specific custom field value from an issue.\n\nOnly users with push access to the repository can delete issue field values. If you don't have the proper permissions, you'll receive a `403 Forbidden` response.\n\nIf the specified field does not have a value set on the issue, this operation will return a `404` error.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-cloud@latest/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest/rest/guides/best-practices-for-using-the-rest-api).\"", - "tags": [ - "issues" - ], - "operationId": "issues/delete-issue-field-value", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue" - }, - "parameters": [ - { - "name": "owner", - "description": "The account owner of the repository. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "repo", - "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "issue_number", - "description": "The number that identifies the issue.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "issue_field_id", - "description": "The unique identifier of the issue field.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "204": { - "description": "Issue field value deleted successfully" - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error", - "description": "Validation Error", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "required": [ - "code" - ], - "properties": { - "resource": { - "type": "string" + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] }, - "field": { + "event": { "type": "string" }, - "message": { - "type": "string" + "commit_id": { + "type": "string", + "nullable": true }, - "code": { - "type": "string" + "commit_url": { + "type": "string", + "nullable": true }, - "index": { - "type": "integer" + "created_at": { + "type": "string" }, - "value": { - "oneOf": [ - { + "performed_via_github_app": { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { "type": "string", - "nullable": true + "example": "MDExOkludGVncmF0aW9uMQ==" }, - { - "type": "integer", + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", + "type": "string" + }, + "description": { + "type": "string", + "example": "The description of the app.", "nullable": true }, - { + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app. Note that the `installation_target`, `security_advisory`, and `meta` events are not included because they are global events and not specific to an installation.", + "example": [ + "label", + "deployment" + ], "type": "array", - "nullable": true, "items": { "type": "string" } + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "example": 5, + "type": "integer" } - ] - } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + }, + "issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, + "prev_issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + } + }, + "required": [ + "issue_type", + "prev_issue_type", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + } + ] + } + }, + "examples": { + "default": { + "value": [ + { + "id": 1, + "node_id": "MDEwOklzc3VlRXZlbnQx", + "url": "https://api.github.com/repos/octocat/Hello-World/issues/events/1", + "actor": { + "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 + }, + "event": "closed", + "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "commit_url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e", + "created_at": "2011-04-14T16:00:49Z", + "performed_via_github_app": null, + "label": { + "name": "label", + "color": "red" } } - } + ] } } } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } } }, - "503": { - "description": "Service unavailable", + "410": { + "description": "Gone", "content": { "application/json": { "schema": { + "title": "Basic Error", + "description": "Basic Error", "type": "object", "properties": { - "code": { - "type": "string" - }, "message": { "type": "string" }, "documentation_url": { "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" } } } @@ -499098,25 +499250,24 @@ } }, "x-github": { - "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "issues", - "subcategory": "issue-field-values" + "subcategory": "events" } } }, - "/repos/{owner}/{repo}/issues/{issue_number}/labels": { + "/repos/{owner}/{repo}/issues/{issue_number}/issue-field-values": { "get": { - "summary": "List labels for an issue", - "description": "Lists all labels for an issue.", + "summary": "List issue field values for an issue", + "description": "Lists all issue field values for an issue.", "tags": [ "issues" ], - "operationId": "issues/list-labels-on-issue", + "operationId": "issues/list-issue-field-values-for-issue", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-an-issue" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#list-issue-field-values-for-an-issue" }, "parameters": [ { @@ -499173,56 +499324,115 @@ "schema": { "type": "array", "items": { - "title": "Label", - "description": "Color-coded labels help you categorize and filter your issues (just like labels in Gmail).", + "title": "Issue Field Value", + "description": "A value assigned to an issue field", "type": "object", "properties": { - "id": { - "description": "Unique identifier for the label.", + "issue_field_id": { + "description": "Unique identifier for the issue field.", "type": "integer", "format": "int64", - "example": 208045946 + "example": 1 }, "node_id": { "type": "string", - "example": "MDU6TGFiZWwyMDgwNDU5NDY=" + "example": "IFT_GDKND" }, - "url": { - "description": "URL for the label", - "example": "https://api.github.com/repositories/42/labels/bug", + "data_type": { + "description": "The data type of the issue field", "type": "string", - "format": "uri" - }, - "name": { - "description": "The name of the label.", - "example": "bug", - "type": "string" + "enum": [ + "text", + "single_select", + "multi_select", + "number", + "date" + ], + "example": "text" }, - "description": { - "description": "Optional description of the label, such as its purpose.", - "type": "string", - "example": "Something isn't working", + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "example": "Sample text" + }, + { + "type": "number", + "example": 42.5 + }, + { + "type": "integer", + "example": 1 + } + ], "nullable": true }, - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "example": "FFFFFF", - "type": "string" + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the option", + "type": "string", + "example": "High" + }, + "color": { + "description": "The color of the option", + "type": "string", + "example": "red" + } + }, + "required": [ + "id", + "name", + "color" + ], + "nullable": true }, - "default": { - "description": "Whether this label comes by default in a new repository.", - "type": "boolean", - "example": true + "multi_select_options": { + "description": "Details about the selected options", + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the option", + "type": "string", + "example": "High" + }, + "color": { + "description": "The color of the option", + "type": "string", + "example": "red" + } + }, + "required": [ + "id", + "name", + "color" + ] + }, + "nullable": true } }, "required": [ - "id", + "issue_field_id", "node_id", - "url", - "name", - "description", - "color", - "default" + "data_type", + "value" ] } }, @@ -499230,22 +499440,51 @@ "default": { "value": [ { - "id": 208045946, - "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", - "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug", - "name": "bug", - "description": "Something isn't working", - "color": "f29513", - "default": true + "issue_field_id": 1, + "node_id": "IFT_GDKND", + "data_type": "text", + "value": "DRI" }, { - "id": 208045947, - "node_id": "MDU6TGFiZWwyMDgwNDU5NDc=", - "url": "https://api.github.com/repos/octocat/Hello-World/labels/enhancement", - "name": "enhancement", - "description": "New feature or request", - "color": "a2eeef", - "default": false + "issue_field_id": 2, + "node_id": "IFSS_SADMS", + "data_type": "single_select", + "value": 1, + "single_select_option": { + "id": 1, + "name": "High", + "color": "red" + } + }, + { + "issue_field_id": 3, + "node_id": "IFN_POINTS", + "data_type": "number", + "value": 42 + }, + { + "issue_field_id": 4, + "node_id": "IFD_DUEDATE", + "data_type": "date", + "value": "2025-12-25" + }, + { + "issue_field_id": 5, + "node_id": "IFMS_LABELS", + "data_type": "multi_select", + "value": "Frontend,Backend", + "multi_select_options": [ + { + "id": 1, + "name": "Frontend", + "color": "blue" + }, + { + "id": 2, + "name": "Backend", + "color": "green" + } + ] } ] } @@ -499344,19 +499583,19 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "issues", - "subcategory": "labels" + "subcategory": "issue-field-values" } }, "post": { - "summary": "Add labels to an issue", - "description": "Adds labels to an issue.", + "summary": "Add issue field values to an issue", + "description": "Add custom field values to an issue. You can set values for organization-level issue fields that have been defined for the repository's organization.\nAdding an empty array will clear all existing field values for the issue.\n\nThis endpoint supports the following field data types:\n- **`text`**: String values for text fields\n- **`single_select`**: Option names for single-select fields (must match an existing option name)\n- **`number`**: Numeric values for number fields\n- **`date`**: ISO 8601 date strings for date fields\n\nOnly users with push access to the repository can add issue field values. If you don't have the proper permissions, you'll receive a `403 Forbidden` response.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-cloud@latest/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest/rest/guides/best-practices-for-using-the-rest-api).\"", "tags": [ "issues" ], - "operationId": "issues/add-labels", + "operationId": "issues/add-issue-field-values", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#add-labels-to-an-issue" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#add-issue-field-values-to-an-issue" }, "parameters": [ { @@ -499388,52 +499627,83 @@ } ], "requestBody": { - "required": false, + "required": true, "content": { "application/json": { "schema": { - "oneOf": [ - { - "type": "object", - "properties": { - "labels": { - "type": "array", - "minItems": 1, - "description": "The names of the labels to add to the issue's existing labels. You can also pass an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. To replace all of the labels for an issue, use \"[Set labels for an issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#set-labels-for-an-issue).\"", - "items": { - "type": "string" - } - } - } - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { + "type": "object", + "properties": { + "issue_field_values": { "type": "array", + "description": "An array of issue field values to add to this issue. Each field value must include the field ID and the value to set.", "items": { "type": "object", "properties": { - "name": { - "type": "string" + "field_id": { + "type": "integer", + "description": "The ID of the issue field to set", + "example": 123 + }, + "value": { + "oneOf": [ + { + "type": "string", + "description": "The value to set for text, single_select, or date fields" + }, + { + "type": "number", + "description": "The value to set for number fields" + }, + { + "type": "array", + "items": { + "type": "string" + }, + "description": "The value to set for multi_select fields (array of option names)" + } + ], + "description": "The value to set for the field. The type depends on the field's data type:\n- For text fields: provide a string value\n- For single_select fields: provide the option name as a string (must match an existing option)\n- For number fields: provide a numeric value\n- For multi_select fields: provide an array of option names (must match existing options)\n- For date fields: provide an ISO 8601 date string", + "example": "Critical" } }, "required": [ - "name" - ] - } + "field_id", + "value" + ], + "additionalProperties": false + }, + "maxItems": 25 } - ] + } }, "examples": { "default": { + "summary": "Add multiple field values", "value": { - "labels": [ - "bug", - "enhancement" + "issue_field_values": [ + { + "field_id": 123, + "value": "Critical" + }, + { + "field_id": 456, + "value": 5 + }, + { + "field_id": 789, + "value": "2024-12-31" + } + ] + } + }, + "single-field": { + "summary": "Add a single field value", + "value": { + "issue_field_values": [ + { + "field_id": 123, + "value": "High Priority" + } ] } } @@ -499448,57 +499718,117 @@ "application/json": { "schema": { "type": "array", + "description": "The current issue field values for this issue after adding the new values", "items": { - "title": "Label", - "description": "Color-coded labels help you categorize and filter your issues (just like labels in Gmail).", + "title": "Issue Field Value", + "description": "A value assigned to an issue field", "type": "object", "properties": { - "id": { - "description": "Unique identifier for the label.", + "issue_field_id": { + "description": "Unique identifier for the issue field.", "type": "integer", "format": "int64", - "example": 208045946 + "example": 1 }, "node_id": { "type": "string", - "example": "MDU6TGFiZWwyMDgwNDU5NDY=" + "example": "IFT_GDKND" }, - "url": { - "description": "URL for the label", - "example": "https://api.github.com/repositories/42/labels/bug", + "data_type": { + "description": "The data type of the issue field", "type": "string", - "format": "uri" - }, - "name": { - "description": "The name of the label.", - "example": "bug", - "type": "string" + "enum": [ + "text", + "single_select", + "multi_select", + "number", + "date" + ], + "example": "text" }, - "description": { - "description": "Optional description of the label, such as its purpose.", - "type": "string", - "example": "Something isn't working", + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "example": "Sample text" + }, + { + "type": "number", + "example": 42.5 + }, + { + "type": "integer", + "example": 1 + } + ], "nullable": true }, - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "example": "FFFFFF", - "type": "string" + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the option", + "type": "string", + "example": "High" + }, + "color": { + "description": "The color of the option", + "type": "string", + "example": "red" + } + }, + "required": [ + "id", + "name", + "color" + ], + "nullable": true }, - "default": { - "description": "Whether this label comes by default in a new repository.", - "type": "boolean", - "example": true + "multi_select_options": { + "description": "Details about the selected options", + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the option", + "type": "string", + "example": "High" + }, + "color": { + "description": "The color of the option", + "type": "string", + "example": "red" + } + }, + "required": [ + "id", + "name", + "color" + ] + }, + "nullable": true } }, "required": [ - "id", + "issue_field_id", "node_id", - "url", - "name", - "description", - "color", - "default" + "data_type", + "value" ] } }, @@ -499506,22 +499836,51 @@ "default": { "value": [ { - "id": 208045946, - "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", - "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug", - "name": "bug", - "description": "Something isn't working", - "color": "f29513", - "default": true + "issue_field_id": 1, + "node_id": "IFT_GDKND", + "data_type": "text", + "value": "DRI" }, { - "id": 208045947, - "node_id": "MDU6TGFiZWwyMDgwNDU5NDc=", - "url": "https://api.github.com/repos/octocat/Hello-World/labels/enhancement", - "name": "enhancement", - "description": "New feature or request", - "color": "a2eeef", - "default": false + "issue_field_id": 2, + "node_id": "IFSS_SADMS", + "data_type": "single_select", + "value": 1, + "single_select_option": { + "id": 1, + "name": "High", + "color": "red" + } + }, + { + "issue_field_id": 3, + "node_id": "IFN_POINTS", + "data_type": "number", + "value": 42 + }, + { + "issue_field_id": 4, + "node_id": "IFD_DUEDATE", + "data_type": "date", + "value": "2025-12-25" + }, + { + "issue_field_id": 5, + "node_id": "IFMS_LABELS", + "data_type": "multi_select", + "value": "Frontend,Backend", + "multi_select_options": [ + { + "id": 1, + "name": "Frontend", + "color": "blue" + }, + { + "id": 2, + "name": "Backend", + "color": "green" + } + ] } ] } @@ -499529,8 +499888,8 @@ } } }, - "301": { - "description": "Moved permanently", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -499552,11 +499911,45 @@ } } } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } } } }, - "404": { - "description": "Resource not found", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -499581,8 +499974,8 @@ } } }, - "410": { - "description": "Gone", + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -499675,25 +500068,47 @@ } } } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } } }, "x-github": { + "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "issues", - "subcategory": "labels" + "subcategory": "issue-field-values" } }, "put": { - "summary": "Set labels for an issue", - "description": "Removes any previous labels and sets the new labels for an issue.", + "summary": "Set issue field values for an issue", + "description": "Set custom field values for an issue, replacing any existing values. You can set values for organization-level issue fields that have been defined for the repository's organization.\n\nThis endpoint supports the following field data types:\n- **`text`**: String values for text fields\n- **`single_select`**: Option names for single-select fields (must match an existing option name)\n- **`number`**: Numeric values for number fields\n- **`date`**: ISO 8601 date strings for date fields\n\nThis operation will replace all existing field values with the provided ones. If you want to add field values without replacing existing ones, use the `POST` endpoint instead.\n\nOnly users with push access to the repository can set issue field values. If you don't have the proper permissions, you'll receive a `403 Forbidden` response.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-cloud@latest/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest/rest/guides/best-practices-for-using-the-rest-api).\"", "tags": [ "issues" ], - "operationId": "issues/set-labels", + "operationId": "issues/set-issue-field-values", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#set-labels-for-an-issue" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#set-issue-field-values-for-an-issue" }, "parameters": [ { @@ -499725,77 +500140,76 @@ } ], "requestBody": { - "required": false, + "required": true, "content": { "application/json": { "schema": { - "oneOf": [ - { - "type": "object", - "properties": { - "labels": { - "type": "array", - "minItems": 1, - "description": "The names of the labels to set for the issue. The labels you set replace any existing labels. You can pass an empty array to remove all labels. Alternatively, you can pass a single label as a `string` or an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. You can also add labels to the existing labels for an issue. For more information, see \"[Add labels to an issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#add-labels-to-an-issue).\"", - "items": { - "type": "string" - } - } - } - }, - { - "type": "array", - "minItems": 1, - "items": { - "type": "string" - } - }, - { - "type": "object", - "properties": { - "labels": { - "type": "array", - "minItems": 1, - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - } - }, - "required": [ - "name" - ] - } - } - } - }, - { + "type": "object", + "properties": { + "issue_field_values": { "type": "array", - "minItems": 1, + "description": "An array of issue field values to set for this issue. Each field value must include the field ID and the value to set. All existing field values will be replaced.", "items": { "type": "object", "properties": { - "name": { - "type": "string" + "field_id": { + "type": "integer", + "description": "The ID of the issue field to set", + "example": 123 + }, + "value": { + "oneOf": [ + { + "type": "string", + "description": "The value to set for text, single_select, or date fields" + }, + { + "type": "number", + "description": "The value to set for number fields" + } + ], + "description": "The value to set for the field. The type depends on the field's data type:\n- For text fields: provide a string value\n- For single_select fields: provide the option name as a string (must match an existing option)\n- For number fields: provide a numeric value\n- For date fields: provide an ISO 8601 date string", + "example": "Critical" } }, "required": [ - "name" - ] - } - }, - { - "type": "string" + "field_id", + "value" + ], + "additionalProperties": false + }, + "maxItems": 25 } - ] + } }, "examples": { "default": { + "summary": "Set multiple field values", "value": { - "labels": [ - "bug", - "enhancement" + "issue_field_values": [ + { + "field_id": 123, + "value": "Critical" + }, + { + "field_id": 456, + "value": 5 + }, + { + "field_id": 789, + "value": "2024-12-31" + } + ] + } + }, + "single-field": { + "summary": "Set a single field value", + "value": { + "issue_field_values": [ + { + "field_id": 123, + "value": "High Priority" + } ] } } @@ -499810,57 +500224,117 @@ "application/json": { "schema": { "type": "array", + "description": "The current issue field values for this issue after setting the new values", "items": { - "title": "Label", - "description": "Color-coded labels help you categorize and filter your issues (just like labels in Gmail).", + "title": "Issue Field Value", + "description": "A value assigned to an issue field", "type": "object", "properties": { - "id": { - "description": "Unique identifier for the label.", + "issue_field_id": { + "description": "Unique identifier for the issue field.", "type": "integer", "format": "int64", - "example": 208045946 + "example": 1 }, "node_id": { "type": "string", - "example": "MDU6TGFiZWwyMDgwNDU5NDY=" + "example": "IFT_GDKND" }, - "url": { - "description": "URL for the label", - "example": "https://api.github.com/repositories/42/labels/bug", + "data_type": { + "description": "The data type of the issue field", "type": "string", - "format": "uri" - }, - "name": { - "description": "The name of the label.", - "example": "bug", - "type": "string" + "enum": [ + "text", + "single_select", + "multi_select", + "number", + "date" + ], + "example": "text" }, - "description": { - "description": "Optional description of the label, such as its purpose.", - "type": "string", - "example": "Something isn't working", + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "example": "Sample text" + }, + { + "type": "number", + "example": 42.5 + }, + { + "type": "integer", + "example": 1 + } + ], "nullable": true }, - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "example": "FFFFFF", - "type": "string" + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the option", + "type": "string", + "example": "High" + }, + "color": { + "description": "The color of the option", + "type": "string", + "example": "red" + } + }, + "required": [ + "id", + "name", + "color" + ], + "nullable": true }, - "default": { - "description": "Whether this label comes by default in a new repository.", - "type": "boolean", - "example": true + "multi_select_options": { + "description": "Details about the selected options", + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the option", + "type": "string", + "example": "High" + }, + "color": { + "description": "The color of the option", + "type": "string", + "example": "red" + } + }, + "required": [ + "id", + "name", + "color" + ] + }, + "nullable": true } }, "required": [ - "id", + "issue_field_id", "node_id", - "url", - "name", - "description", - "color", - "default" + "data_type", + "value" ] } }, @@ -499868,22 +500342,51 @@ "default": { "value": [ { - "id": 208045946, - "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", - "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug", - "name": "bug", - "description": "Something isn't working", - "color": "f29513", - "default": true + "issue_field_id": 1, + "node_id": "IFT_GDKND", + "data_type": "text", + "value": "DRI" }, { - "id": 208045947, - "node_id": "MDU6TGFiZWwyMDgwNDU5NDc=", - "url": "https://api.github.com/repos/octocat/Hello-World/labels/enhancement", - "name": "enhancement", - "description": "New feature or request", - "color": "a2eeef", - "default": false + "issue_field_id": 2, + "node_id": "IFSS_SADMS", + "data_type": "single_select", + "value": 1, + "single_select_option": { + "id": 1, + "name": "High", + "color": "red" + } + }, + { + "issue_field_id": 3, + "node_id": "IFN_POINTS", + "data_type": "number", + "value": 42 + }, + { + "issue_field_id": 4, + "node_id": "IFD_DUEDATE", + "data_type": "date", + "value": "2025-12-25" + }, + { + "issue_field_id": 5, + "node_id": "IFMS_LABELS", + "data_type": "multi_select", + "value": "Frontend,Backend", + "multi_select_options": [ + { + "id": 1, + "name": "Frontend", + "color": "blue" + }, + { + "id": 2, + "name": "Backend", + "color": "green" + } + ] } ] } @@ -499891,8 +500394,8 @@ } } }, - "301": { - "description": "Moved permanently", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -499914,13 +500417,47 @@ } } } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { "schema": { "title": "Basic Error", "description": "Basic Error", @@ -499943,8 +500480,8 @@ } } }, - "410": { - "description": "Gone", + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -500037,25 +500574,49 @@ } } } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } } }, "x-github": { + "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "issues", - "subcategory": "labels" + "subcategory": "issue-field-values" } - }, + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/issue-field-values/{issue_field_id}": { "delete": { - "summary": "Remove all labels from an issue", - "description": "Removes all labels from an issue.", + "summary": "Delete an issue field value from an issue", + "description": "Remove a specific custom field value from an issue.\n\nOnly users with push access to the repository can delete issue field values. If you don't have the proper permissions, you'll receive a `403 Forbidden` response.\n\nIf the specified field does not have a value set on the issue, this operation will return a `404` error.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-cloud@latest/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest/rest/guides/best-practices-for-using-the-rest-api).\"", "tags": [ "issues" ], - "operationId": "issues/remove-all-labels", + "operationId": "issues/delete-issue-field-value", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#remove-all-labels-from-an-issue" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue" }, "parameters": [ { @@ -500084,14 +500645,23 @@ "schema": { "type": "integer" } + }, + { + "name": "issue_field_id", + "description": "The unique identifier of the issue field.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } } ], "responses": { "204": { - "description": "Response" + "description": "Issue field value deleted successfully" }, - "301": { - "description": "Moved permanently", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -500142,14 +500712,18 @@ } } }, - "410": { - "description": "Gone", + "422": { + "description": "Validation failed, or the endpoint has been spammed.", "content": { "application/json": { "schema": { - "title": "Basic Error", - "description": "Basic Error", + "title": "Validation Error", + "description": "Validation Error", "type": "object", + "required": [ + "message", + "documentation_url" + ], "properties": { "message": { "type": "string" @@ -500157,10 +500731,70 @@ "documentation_url": { "type": "string" }, - "url": { + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { "type": "string" }, - "status": { + "message": { + "type": "string" + }, + "documentation_url": { "type": "string" } } @@ -500170,24 +500804,25 @@ } }, "x-github": { + "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "issues", - "subcategory": "labels" + "subcategory": "issue-field-values" } } }, - "/repos/{owner}/{repo}/issues/{issue_number}/labels/{name}": { - "delete": { - "summary": "Remove a label from an issue", - "description": "Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist.", + "/repos/{owner}/{repo}/issues/{issue_number}/labels": { + "get": { + "summary": "List labels for an issue", + "description": "Lists all labels for an issue.", "tags": [ "issues" ], - "operationId": "issues/remove-label", + "operationId": "issues/list-labels-on-issue", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#remove-a-label-from-an-issue" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-an-issue" }, "parameters": [ { @@ -500218,11 +500853,21 @@ } }, { - "name": "name", - "in": "path", - "required": true, + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", "schema": { - "type": "string" + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 } } ], @@ -500298,11 +500943,28 @@ "description": "Something isn't working", "color": "f29513", "default": true + }, + { + "id": 208045947, + "node_id": "MDU6TGFiZWwyMDgwNDU5NDc=", + "url": "https://api.github.com/repos/octocat/Hello-World/labels/enhancement", + "name": "enhancement", + "description": "New feature or request", + "color": "a2eeef", + "default": false } ] } } } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } } }, "301": { @@ -500390,19 +501052,17 @@ "category": "issues", "subcategory": "labels" } - } - }, - "/repos/{owner}/{repo}/issues/{issue_number}/lock": { - "put": { - "summary": "Lock an issue", - "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP method](https://docs.github.com/enterprise-cloud@latest/rest/guides/getting-started-with-the-rest-api#http-method).\"", + }, + "post": { + "summary": "Add labels to an issue", + "description": "Adds labels to an issue.", "tags": [ "issues" ], - "operationId": "issues/lock", + "operationId": "issues/add-labels", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#lock-an-issue" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#add-labels-to-an-issue" }, "parameters": [ { @@ -500438,26 +501098,49 @@ "content": { "application/json": { "schema": { - "type": "object", - "nullable": true, - "properties": { - "lock_reason": { - "type": "string", - "description": "The reason for locking the issue or pull request conversation. Lock will fail if you don't use one of these reasons: \n * `off-topic` \n * `too heated` \n * `resolved` \n * `spam`", - "enum": [ - "off-topic", - "too heated", - "resolved", - "spam" - ] + "oneOf": [ + { + "type": "object", + "properties": { + "labels": { + "type": "array", + "minItems": 1, + "description": "The names of the labels to add to the issue's existing labels. You can also pass an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. To replace all of the labels for an issue, use \"[Set labels for an issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#set-labels-for-an-issue).\"", + "items": { + "type": "string" + } + } + } + }, + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ] + } } - } + ] }, "examples": { "default": { - "summary": "Example of locking an issue as off-topic", "value": { - "lock_reason": "off-topic" + "labels": [ + "bug", + "enhancement" + ] } } } @@ -500465,11 +501148,95 @@ } }, "responses": { - "204": { - "description": "Response" + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Label", + "description": "Color-coded labels help you categorize and filter your issues (just like labels in Gmail).", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the label.", + "type": "integer", + "format": "int64", + "example": 208045946 + }, + "node_id": { + "type": "string", + "example": "MDU6TGFiZWwyMDgwNDU5NDY=" + }, + "url": { + "description": "URL for the label", + "example": "https://api.github.com/repositories/42/labels/bug", + "type": "string", + "format": "uri" + }, + "name": { + "description": "The name of the label.", + "example": "bug", + "type": "string" + }, + "description": { + "description": "Optional description of the label, such as its purpose.", + "type": "string", + "example": "Something isn't working", + "nullable": true + }, + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "example": "FFFFFF", + "type": "string" + }, + "default": { + "description": "Whether this label comes by default in a new repository.", + "type": "boolean", + "example": true + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "description", + "color", + "default" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "id": 208045946, + "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", + "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug", + "name": "bug", + "description": "Something isn't working", + "color": "f29513", + "default": true + }, + { + "id": 208045947, + "node_id": "MDU6TGFiZWwyMDgwNDU5NDc=", + "url": "https://api.github.com/repos/octocat/Hello-World/labels/enhancement", + "name": "enhancement", + "description": "New feature or request", + "color": "a2eeef", + "default": false + } + ] + } + } + } + } }, - "403": { - "description": "Forbidden", + "301": { + "description": "Moved permanently", "content": { "application/json": { "schema": { @@ -500494,8 +501261,8 @@ } } }, - "410": { - "description": "Gone", + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -500520,8 +501287,8 @@ } } }, - "404": { - "description": "Resource not found", + "410": { + "description": "Gone", "content": { "application/json": { "schema": { @@ -500620,19 +501387,19 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "issues", - "subcategory": "issues" + "subcategory": "labels" } }, - "delete": { - "summary": "Unlock an issue", - "description": "Users with push access can unlock an issue's conversation.", + "put": { + "summary": "Set labels for an issue", + "description": "Removes any previous labels and sets the new labels for an issue.", "tags": [ "issues" ], - "operationId": "issues/unlock", + "operationId": "issues/set-labels", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#unlock-an-issue" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#set-labels-for-an-issue" }, "parameters": [ { @@ -500663,52 +501430,241 @@ } } ], - "responses": { - "204": { - "description": "Response" - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "object", + "properties": { + "labels": { + "type": "array", + "minItems": 1, + "description": "The names of the labels to set for the issue. The labels you set replace any existing labels. You can pass an empty array to remove all labels. Alternatively, you can pass a single label as a `string` or an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. You can also add labels to the existing labels for an issue. For more information, see \"[Add labels to an issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#add-labels-to-an-issue).\"", + "items": { + "type": "string" + } + } + } + }, + { + "type": "array", + "minItems": 1, + "items": { "type": "string" } + }, + { + "type": "object", + "properties": { + "labels": { + "type": "array", + "minItems": 1, + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ] + } + } + } + }, + { + "type": "array", + "minItems": 1, + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ] + } + }, + { + "type": "string" + } + ] + }, + "examples": { + "default": { + "value": { + "labels": [ + "bug", + "enhancement" + ] } } } } - }, - "404": { - "description": "Resource not found", + } + }, + "responses": { + "200": { + "description": "Response", "content": { "application/json": { "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { + "type": "array", + "items": { + "title": "Label", + "description": "Color-coded labels help you categorize and filter your issues (just like labels in Gmail).", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the label.", + "type": "integer", + "format": "int64", + "example": 208045946 + }, + "node_id": { + "type": "string", + "example": "MDU6TGFiZWwyMDgwNDU5NDY=" + }, + "url": { + "description": "URL for the label", + "example": "https://api.github.com/repositories/42/labels/bug", + "type": "string", + "format": "uri" + }, + "name": { + "description": "The name of the label.", + "example": "bug", + "type": "string" + }, + "description": { + "description": "Optional description of the label, such as its purpose.", + "type": "string", + "example": "Something isn't working", + "nullable": true + }, + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "example": "FFFFFF", + "type": "string" + }, + "default": { + "description": "Whether this label comes by default in a new repository.", + "type": "boolean", + "example": true + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "description", + "color", + "default" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "id": 208045946, + "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", + "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug", + "name": "bug", + "description": "Something isn't working", + "color": "f29513", + "default": true + }, + { + "id": 208045947, + "node_id": "MDU6TGFiZWwyMDgwNDU5NDc=", + "url": "https://api.github.com/repos/octocat/Hello-World/labels/enhancement", + "name": "enhancement", + "description": "New feature or request", + "color": "a2eeef", + "default": false + } + ] + } + } + } + } + }, + "301": { + "description": "Moved permanently", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "410": { + "description": "Gone", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { "type": "string" }, "status": { @@ -500718,27 +501674,94 @@ } } } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "issues", - "subcategory": "issues" + "subcategory": "labels" } - } - }, - "/repos/{owner}/{repo}/issues/{issue_number}/parent": { - "get": { - "summary": "Get parent issue", - "description": "You can use the REST API to get the parent issue of a sub-issue.\n\nThis endpoint supports the following custom media types. For more information, see [Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + }, + "delete": { + "summary": "Remove all labels from an issue", + "description": "Removes all labels from an issue.", "tags": [ "issues" ], - "operationId": "issues/get-parent", + "operationId": "issues/remove-all-labels", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#get-parent-issue" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#remove-all-labels-from-an-issue" }, "parameters": [ { @@ -500770,277 +501793,960 @@ } ], "responses": { - "200": { - "description": "Response", + "204": { + "description": "Response" + }, + "301": { + "description": "Moved permanently", "content": { "application/json": { "schema": { - "title": "Issue", - "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", + "title": "Basic Error", + "description": "Basic Error", "type": "object", "properties": { - "id": { - "type": "integer", - "format": "int64" + "message": { + "type": "string" }, - "node_id": { + "documentation_url": { "type": "string" }, "url": { - "description": "URL for the issue", - "example": "https://api.github.com/repositories/42/issues/1", - "type": "string", - "format": "uri" + "type": "string" }, - "repository_url": { - "type": "string", - "format": "uri" + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" }, - "labels_url": { + "documentation_url": { "type": "string" }, - "comments_url": { - "type": "string", - "format": "uri" + "url": { + "type": "string" }, - "events_url": { - "type": "string", - "format": "uri" + "status": { + "type": "string" + } + } + } + } + } + }, + "410": { + "description": "Gone", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" }, - "html_url": { - "type": "string", - "format": "uri" + "documentation_url": { + "type": "string" }, - "number": { - "description": "Number uniquely identifying the issue within its repository", - "example": 42, - "type": "integer" + "url": { + "type": "string" }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "example": "open", + "status": { "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "issues", + "subcategory": "labels" + } + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/labels/{name}": { + "delete": { + "summary": "Remove a label from an issue", + "description": "Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist.", + "tags": [ + "issues" + ], + "operationId": "issues/remove-label", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#remove-a-label-from-an-issue" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "issue_number", + "description": "The number that identifies the issue.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "name", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Label", + "description": "Color-coded labels help you categorize and filter your issues (just like labels in Gmail).", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the label.", + "type": "integer", + "format": "int64", + "example": 208045946 + }, + "node_id": { + "type": "string", + "example": "MDU6TGFiZWwyMDgwNDU5NDY=" + }, + "url": { + "description": "URL for the label", + "example": "https://api.github.com/repositories/42/labels/bug", + "type": "string", + "format": "uri" + }, + "name": { + "description": "The name of the label.", + "example": "bug", + "type": "string" + }, + "description": { + "description": "Optional description of the label, such as its purpose.", + "type": "string", + "example": "Something isn't working", + "nullable": true + }, + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "example": "FFFFFF", + "type": "string" + }, + "default": { + "description": "Whether this label comes by default in a new repository.", + "type": "boolean", + "example": true + } }, - "state_reason": { - "description": "The reason for the current state", - "example": "not_planned", - "type": "string", - "nullable": true, - "enum": [ - "completed", - "reopened", - "not_planned", - "duplicate" - ] + "required": [ + "id", + "node_id", + "url", + "name", + "description", + "color", + "default" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "id": 208045946, + "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", + "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug", + "name": "bug", + "description": "Something isn't working", + "color": "f29513", + "default": true + } + ] + } + } + } + } + }, + "301": { + "description": "Moved permanently", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" }, - "title": { - "description": "Title of the issue", - "example": "Widget creation fails in Safari on OS X 10.8", + "documentation_url": { "type": "string" }, - "body": { - "description": "Contents of the issue", - "example": "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?", - "type": "string", - "nullable": true + "url": { + "type": "string" }, - "user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" }, - "labels": { - "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", - "example": [ - "bug", - "registration" - ], + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "410": { + "description": "Gone", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "issues", + "subcategory": "labels" + } + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/lock": { + "put": { + "summary": "Lock an issue", + "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP method](https://docs.github.com/enterprise-cloud@latest/rest/guides/getting-started-with-the-rest-api#http-method).\"", + "tags": [ + "issues" + ], + "operationId": "issues/lock", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#lock-an-issue" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "issue_number", + "description": "The number that identifies the issue.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "type": "object", + "nullable": true, + "properties": { + "lock_reason": { + "type": "string", + "description": "The reason for locking the issue or pull request conversation. Lock will fail if you don't use one of these reasons: \n * `off-topic` \n * `too heated` \n * `resolved` \n * `spam`", + "enum": [ + "off-topic", + "too heated", + "resolved", + "spam" + ] + } + } + }, + "examples": { + "default": { + "summary": "Example of locking an issue as off-topic", + "value": { + "lock_reason": "off-topic" + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "410": { + "description": "Gone", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { "type": "array", "items": { - "oneOf": [ - { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { "type": "string" }, - { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "node_id": { - "type": "string" - }, - "url": { - "type": "string", - "format": "uri" - }, - "name": { - "type": "string" - }, - "description": { + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { "type": "string", "nullable": true }, - "color": { - "type": "string", + { + "type": "integer", "nullable": true }, - "default": { - "type": "boolean" + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } } - } + ] } - ] + } } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "issues", + "subcategory": "issues" + } + }, + "delete": { + "summary": "Unlock an issue", + "description": "Users with push access can unlock an issue's conversation.", + "tags": [ + "issues" + ], + "operationId": "issues/unlock", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#unlock-an-issue" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "issue_number", + "description": "The number that identifies the issue.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" }, - "assignees": { - "type": "array", - "items": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "issues", + "subcategory": "issues" + } + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/parent": { + "get": { + "summary": "Get parent issue", + "description": "You can use the REST API to get the parent issue of a sub-issue.\n\nThis endpoint supports the following custom media types. For more information, see [Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "tags": [ + "issues" + ], + "operationId": "issues/get-parent", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#get-parent-issue" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "issue_number", + "description": "The number that identifies the issue.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Issue", + "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the issue", + "example": "https://api.github.com/repositories/42/issues/1", + "type": "string", + "format": "uri" + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "labels_url": { + "type": "string" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "number": { + "description": "Number uniquely identifying the issue within its repository", + "example": 42, + "type": "integer" + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "example": "open", + "type": "string" + }, + "state_reason": { + "description": "The reason for the current state", + "example": "not_planned", + "type": "string", + "nullable": true, + "enum": [ + "completed", + "reopened", + "not_planned", + "duplicate" + ] + }, + "title": { + "description": "Title of the issue", + "example": "Widget creation fails in Safari on OS X 10.8", + "type": "string" + }, + "body": { + "description": "Contents of the issue", + "example": "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?", + "type": "string", + "nullable": true + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "labels": { + "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", + "example": [ + "bug", + "registration" + ], + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + }, + "color": { + "type": "string", + "nullable": true + }, + "default": { + "type": "boolean" + } + } + } + ] + } + }, + "assignees": { + "type": "array", + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" }, "avatar_url": { "type": "string", @@ -528400,571 +530106,2702 @@ "events" ] }, - "reactions": { - "title": "Reaction Rollup", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri" - }, - "total_count": { - "type": "integer" - }, - "+1": { - "type": "integer" - }, - "-1": { - "type": "integer" - }, - "laugh": { - "type": "integer" - }, - "confused": { - "type": "integer" - }, - "heart": { - "type": "integer" - }, - "hooray": { - "type": "integer" - }, - "eyes": { - "type": "integer" - }, - "rocket": { - "type": "integer" - } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "pin": { + "title": "Pinned Issue Comment", + "description": "Context around who pinned an issue comment and when it was pinned.", + "type": "object", + "properties": { + "pinned_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-14T16:00:49Z" + }, + "pinned_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + } + }, + "required": [ + "pinned_at", + "pinned_by" + ], + "nullable": true + } + }, + "required": [ + "id", + "node_id", + "html_url", + "issue_url", + "user", + "url", + "created_at", + "updated_at" + ], + "nullable": true + }, + "issue_dependencies_summary": { + "title": "Issue Dependencies Summary", + "type": "object", + "properties": { + "blocked_by": { + "type": "integer" + }, + "blocking": { + "type": "integer" + }, + "total_blocked_by": { + "type": "integer" + }, + "total_blocking": { + "type": "integer" + } + }, + "required": [ + "blocked_by", + "blocking", + "total_blocked_by", + "total_blocking" + ] + }, + "issue_field_values": { + "type": "array", + "items": { + "title": "Issue Field Value", + "description": "A value assigned to an issue field", + "type": "object", + "properties": { + "issue_field_id": { + "description": "Unique identifier for the issue field.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "IFT_GDKND" + }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": [ + "text", + "single_select", + "multi_select", + "number", + "date" + ], + "example": "text" + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "example": "Sample text" + }, + { + "type": "number", + "example": 42.5 + }, + { + "type": "integer", + "example": 1 + } + ], + "nullable": true + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the option", + "type": "string", + "example": "High" + }, + "color": { + "description": "The color of the option", + "type": "string", + "example": "red" + } + }, + "required": [ + "id", + "name", + "color" + ], + "nullable": true + }, + "multi_select_options": { + "description": "Details about the selected options", + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the option", + "type": "string", + "example": "High" + }, + "color": { + "description": "The color of the option", + "type": "string", + "example": "red" + } + }, + "required": [ + "id", + "name", + "color" + ] + }, + "nullable": true + } + }, + "required": [ + "issue_field_id", + "node_id", + "data_type", + "value" + ] + } + } + }, + "required": [ + "closed_at", + "comments", + "comments_url", + "events_url", + "html_url", + "id", + "node_id", + "labels", + "labels_url", + "milestone", + "number", + "repository_url", + "state", + "locked", + "title", + "url", + "user", + "created_at", + "updated_at" + ] + } + } + } + }, + "required": [ + "event", + "created_at", + "updated_at", + "source" + ] + }, + { + "title": "Timeline Committed Event", + "description": "Timeline Committed Event", + "type": "object", + "properties": { + "event": { + "type": "string" + }, + "sha": { + "description": "SHA for the commit", + "example": "7638417db6d59f3c431d3e1f261cc637155684cd", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "author": { + "description": "Identifying information for the git-user", + "type": "object", + "properties": { + "date": { + "description": "Timestamp of the commit", + "example": "2014-08-09T08:02:04+12:00", + "format": "date-time", + "type": "string" + }, + "email": { + "type": "string", + "description": "Git email address of the user", + "example": "monalisa.octocat@example.com" + }, + "name": { + "description": "Name of the git user", + "example": "Monalisa Octocat", + "type": "string" + } + }, + "required": [ + "email", + "name", + "date" + ] + }, + "committer": { + "description": "Identifying information for the git-user", + "type": "object", + "properties": { + "date": { + "description": "Timestamp of the commit", + "example": "2014-08-09T08:02:04+12:00", + "format": "date-time", + "type": "string" + }, + "email": { + "type": "string", + "description": "Git email address of the user", + "example": "monalisa.octocat@example.com" + }, + "name": { + "description": "Name of the git user", + "example": "Monalisa Octocat", + "type": "string" + } + }, + "required": [ + "email", + "name", + "date" + ] + }, + "message": { + "description": "Message describing the purpose of the commit", + "example": "Fix #42", + "type": "string" + }, + "tree": { + "type": "object", + "properties": { + "sha": { + "description": "SHA for the commit", + "example": "7638417db6d59f3c431d3e1f261cc637155684cd", + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "sha", + "url" + ] + }, + "parents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "sha": { + "description": "SHA for the commit", + "example": "7638417db6d59f3c431d3e1f261cc637155684cd", + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "sha", + "url", + "html_url" + ] + } + }, + "verification": { + "type": "object", + "properties": { + "verified": { + "type": "boolean" + }, + "reason": { + "type": "string" + }, + "signature": { + "type": "string", + "nullable": true + }, + "payload": { + "type": "string", + "nullable": true + }, + "verified_at": { + "type": "string", + "nullable": true + } + }, + "required": [ + "verified", + "reason", + "signature", + "payload", + "verified_at" + ] + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "sha", + "node_id", + "url", + "html_url", + "author", + "committer", + "tree", + "message", + "parents", + "verification" + ] + }, + { + "title": "Timeline Reviewed Event", + "description": "Timeline Reviewed Event", + "type": "object", + "properties": { + "event": { + "type": "string" + }, + "id": { + "description": "Unique identifier of the review", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA=" + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "body": { + "nullable": true, + "description": "The text of the review.", + "example": "This looks great.", + "type": "string" + }, + "state": { + "type": "string", + "example": "CHANGES_REQUESTED" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80" + }, + "pull_request_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/12" + }, + "_links": { + "type": "object", + "properties": { + "html": { + "type": "object", + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ] + }, + "pull_request": { + "type": "object", + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ] + } + }, + "required": [ + "html", + "pull_request" + ] + }, + "submitted_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time" + }, + "commit_id": { + "description": "A commit SHA for the review.", + "example": "54bb654c9e6025347f57900a4a5c2313a96b8035", + "type": "string" + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "author_association": { + "title": "author_association", + "type": "string", + "example": "OWNER", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + } + }, + "required": [ + "event", + "id", + "node_id", + "user", + "body", + "state", + "commit_id", + "html_url", + "pull_request_url", + "_links", + "author_association" + ] + }, + { + "title": "Timeline Line Commented Event", + "description": "Timeline Line Commented Event", + "type": "object", + "properties": { + "event": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "comments": { + "type": "array", + "items": { + "title": "Pull Request Review Comment", + "description": "Pull Request Review Comments are comments on a portion of the Pull Request's diff.", + "type": "object", + "properties": { + "url": { + "description": "URL for the pull request review comment", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1", + "type": "string" + }, + "pull_request_review_id": { + "description": "The ID of the pull request review to which the comment belongs.", + "type": "integer", + "format": "int64", + "example": 42, + "nullable": true + }, + "id": { + "description": "The ID of the pull request review comment.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "description": "The node ID of the pull request review comment.", + "type": "string", + "example": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw" + }, + "diff_hunk": { + "description": "The diff of the line that the comment refers to.", + "type": "string", + "example": "@@ -16,33 +16,40 @@ public class Connection : IConnection..." + }, + "path": { + "description": "The relative path of the file to which the comment applies.", + "example": "config/database.yaml", + "type": "string" + }, + "position": { + "description": "The line index in the diff to which the comment applies. This field is closing down; use `line` instead.", + "example": 1, + "type": "integer" + }, + "original_position": { + "description": "The index of the original line in the diff to which the comment applies. This field is closing down; use `original_line` instead.", + "example": 4, + "type": "integer" + }, + "commit_id": { + "description": "The SHA of the commit to which the comment applies.", + "example": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "type": "string" + }, + "original_commit_id": { + "description": "The SHA of the original commit to which the comment applies.", + "example": "9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840", + "type": "string" + }, + "in_reply_to_id": { + "description": "The comment ID to reply to.", + "example": 8, + "type": "integer" + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "body": { + "description": "The text of the comment.", + "example": "We should probably include a check for null values here.", + "type": "string" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-14T16:00:49Z" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-14T16:00:49Z" + }, + "html_url": { + "description": "HTML URL for the pull request review comment.", + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1" + }, + "pull_request_url": { + "description": "URL for the pull request that the review comment belongs to.", + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1" + }, + "author_association": { + "title": "author_association", + "type": "string", + "example": "OWNER", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + "_links": { + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1" + } + }, + "required": [ + "href" + ] + }, + "html": { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1" + } + }, + "required": [ + "href" + ] + }, + "pull_request": { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1" + } + }, + "required": [ + "href" + ] + } + }, + "required": [ + "self", + "html", + "pull_request" + ] + }, + "start_line": { + "type": "integer", + "description": "The first line of the range for a multi-line comment.", + "example": 2, + "nullable": true + }, + "original_start_line": { + "type": "integer", + "description": "The first line of the range for a multi-line comment.", + "example": 2, + "nullable": true + }, + "start_side": { + "type": "string", + "description": "The side of the first line of the range for a multi-line comment.", + "enum": [ + "LEFT", + "RIGHT" + ], + "default": "RIGHT", + "nullable": true + }, + "line": { + "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", + "example": 2, + "type": "integer" + }, + "original_line": { + "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", + "example": 2, + "type": "integer" + }, + "side": { + "description": "The side of the diff to which the comment applies. The side of the last line of the range for a multi-line comment", + "enum": [ + "LEFT", + "RIGHT" + ], + "default": "RIGHT", + "type": "string" + }, + "subject_type": { + "description": "The level at which the comment is targeted, can be a diff line or a file.", + "type": "string", + "enum": [ + "line", + "file" + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "body_html": { + "type": "string", + "example": "\"

comment body

\"" + }, + "body_text": { + "type": "string", + "example": "\"comment body\"" + } + }, + "required": [ + "url", + "id", + "node_id", + "pull_request_review_id", + "diff_hunk", + "path", + "commit_id", + "original_commit_id", + "user", + "body", + "created_at", + "updated_at", + "html_url", + "pull_request_url", + "author_association", + "_links" + ] + } + } + } + }, + { + "title": "Timeline Commit Commented Event", + "description": "Timeline Commit Commented Event", + "type": "object", + "properties": { + "event": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "commit_id": { + "type": "string" + }, + "comments": { + "type": "array", + "items": { + "title": "Commit Comment", + "description": "Commit Comment", + "type": "object", + "properties": { + "html_url": { + "type": "string", + "format": "uri" + }, + "url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "body": { + "type": "string" + }, + "path": { + "type": "string", + "nullable": true + }, + "position": { + "type": "integer", + "nullable": true + }, + "line": { + "type": "integer", + "nullable": true + }, + "commit_id": { + "type": "string" + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "author_association": { + "title": "author_association", + "type": "string", + "example": "OWNER", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + } + }, + "required": [ + "url", + "html_url", + "id", + "node_id", + "user", + "position", + "line", + "path", + "commit_id", + "body", + "author_association", + "created_at", + "updated_at" + ] + } + } + } + }, + { + "title": "Timeline Assigned Issue Event", + "description": "Timeline Assigned Issue Event", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "actor": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": "string", + "nullable": true + }, + "commit_url": { + "type": "string", + "nullable": true + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { + "type": "string", + "example": "MDExOkludGVncmF0aW9uMQ==" + }, + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", + "type": "string" + }, + "description": { + "type": "string", + "example": "The description of the app.", + "nullable": true + }, + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app. Note that the `installation_target`, `security_advisory`, and `meta` events are not included because they are global events and not specific to an installation.", + "example": [ + "label", + "deployment" + ], + "type": "array", + "items": { + "type": "string" + } + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "example": 5, + "type": "integer" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + }, + "assignee": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "required": [ + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app", + "assignee" + ] + }, + { + "title": "Timeline Unassigned Issue Event", + "description": "Timeline Unassigned Issue Event", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "actor": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": "string", + "nullable": true + }, + "commit_url": { + "type": "string", + "nullable": true + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { + "type": "string", + "example": "MDExOkludGVncmF0aW9uMQ==" + }, + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" }, - "pin": { - "title": "Pinned Issue Comment", - "description": "Context around who pinned an issue comment and when it was pinned.", - "type": "object", - "properties": { - "pinned_at": { - "type": "string", - "format": "date-time", - "example": "2011-04-14T16:00:49Z" - }, - "pinned_by": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - } - }, - "required": [ - "pinned_at", - "pinned_by" - ], + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" } }, "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", "id", "node_id", - "html_url", - "issue_url", - "user", - "url", - "created_at", - "updated_at" - ], - "nullable": true + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] }, - "issue_dependencies_summary": { - "title": "Issue Dependencies Summary", + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", "type": "object", "properties": { - "blocked_by": { - "type": "integer" + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true }, - "blocking": { - "type": "integer" + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" }, - "total_blocked_by": { - "type": "integer" + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" }, - "total_blocking": { + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, "type": "integer" - } - }, - "required": [ - "blocked_by", - "blocking", - "total_blocked_by", - "total_blocking" - ] - }, - "issue_field_values": { - "type": "array", - "items": { - "title": "Issue Field Value", - "description": "A value assigned to an issue field", - "type": "object", - "properties": { - "issue_field_id": { - "description": "Unique identifier for the issue field.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "IFT_GDKND" - }, - "data_type": { - "description": "The data type of the issue field", - "type": "string", - "enum": [ - "text", - "single_select", - "multi_select", - "number", - "date" - ], - "example": "text" - }, - "value": { - "description": "The value of the issue field", - "anyOf": [ - { - "type": "string", - "example": "Sample text" - }, - { - "type": "number", - "example": 42.5 - }, - { - "type": "integer", - "example": 1 - } - ], - "nullable": true - }, - "single_select_option": { - "description": "Details about the selected option (only present for single_select fields)", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "name": { - "description": "The name of the option", - "type": "string", - "example": "High" - }, - "color": { - "description": "The color of the option", - "type": "string", - "example": "red" - } - }, - "required": [ - "id", - "name", - "color" - ], - "nullable": true - }, - "multi_select_options": { - "description": "Details about the selected options", - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "name": { - "description": "The name of the option", - "type": "string", - "example": "High" - }, - "color": { - "description": "The color of the option", - "type": "string", - "example": "red" - } - }, - "required": [ - "id", - "name", - "color" - ] - }, - "nullable": true - } }, - "required": [ - "issue_field_id", - "node_id", - "data_type", - "value" - ] - } + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] } - }, - "required": [ - "closed_at", - "comments", - "comments_url", - "events_url", - "html_url", - "id", - "node_id", - "labels", - "labels_url", - "milestone", - "number", - "repository_url", - "state", - "locked", - "title", - "url", - "user", - "created_at", - "updated_at" ] - } - } - } - }, - "required": [ - "event", - "created_at", - "updated_at", - "source" - ] - }, - { - "title": "Timeline Committed Event", - "description": "Timeline Committed Event", - "type": "object", - "properties": { - "event": { - "type": "string" - }, - "sha": { - "description": "SHA for the commit", - "example": "7638417db6d59f3c431d3e1f261cc637155684cd", - "type": "string" - }, - "node_id": { - "type": "string" - }, - "url": { - "type": "string", - "format": "uri" - }, - "author": { - "description": "Identifying information for the git-user", - "type": "object", - "properties": { - "date": { - "description": "Timestamp of the commit", - "example": "2014-08-09T08:02:04+12:00", - "format": "date-time", + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", "type": "string" }, - "email": { + "description": { "type": "string", - "description": "Git email address of the user", - "example": "monalisa.octocat@example.com" + "example": "The description of the app.", + "nullable": true }, - "name": { - "description": "Name of the git user", - "example": "Monalisa Octocat", - "type": "string" - } - }, - "required": [ - "email", - "name", - "date" - ] - }, - "committer": { - "description": "Identifying information for the git-user", - "type": "object", - "properties": { - "date": { - "description": "Timestamp of the commit", - "example": "2014-08-09T08:02:04+12:00", + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", "format": "date-time", - "type": "string" + "example": "2017-07-08T16:18:44-04:00" }, - "email": { + "updated_at": { "type": "string", - "description": "Git email address of the user", - "example": "monalisa.octocat@example.com" + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" }, - "name": { - "description": "Name of the git user", - "example": "Monalisa Octocat", - "type": "string" + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app. Note that the `installation_target`, `security_advisory`, and `meta` events are not included because they are global events and not specific to an installation.", + "example": [ + "label", + "deployment" + ], + "type": "array", + "items": { + "type": "string" + } + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "example": 5, + "type": "integer" } }, "required": [ - "email", + "id", + "node_id", + "owner", "name", - "date" + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" ] }, - "message": { - "description": "Message describing the purpose of the commit", - "example": "Fix #42", - "type": "string" - }, - "tree": { + "assignee": { + "title": "Simple User", + "description": "A GitHub user.", "type": "object", "properties": { - "sha": { - "description": "SHA for the commit", - "example": "7638417db6d59f3c431d3e1f261cc637155684cd", + "name": { + "nullable": true, "type": "string" }, - "url": { + "email": { + "nullable": true, + "type": "string" + }, + "login": { "type": "string", - "format": "uri" - } - }, - "required": [ - "sha", - "url" - ] - }, - "parents": { - "type": "array", - "items": { - "type": "object", - "properties": { - "sha": { - "description": "SHA for the commit", - "example": "7638417db6d59f3c431d3e1f261cc637155684cd", - "type": "string" - }, - "url": { - "type": "string", - "format": "uri" - }, - "html_url": { - "type": "string", - "format": "uri" - } + "example": "octocat" }, - "required": [ - "sha", - "url", - "html_url" - ] - } - }, - "verification": { - "type": "object", - "properties": { - "verified": { - "type": "boolean" + "id": { + "type": "integer", + "format": "int64", + "example": 1 }, - "reason": { - "type": "string" + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" }, - "signature": { + "avatar_url": { "type": "string", - "nullable": true + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" }, - "payload": { + "gravatar_id": { "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", "nullable": true }, - "verified_at": { + "url": { "type": "string", - "nullable": true + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" } }, "required": [ - "verified", - "reason", - "signature", - "payload", - "verified_at" + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] - }, - "html_url": { - "type": "string", - "format": "uri" } }, "required": [ - "sha", + "id", "node_id", "url", - "html_url", - "author", - "committer", - "tree", - "message", - "parents", - "verification" + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app", + "assignee" ] }, { - "title": "Timeline Reviewed Event", - "description": "Timeline Reviewed Event", + "title": "State Change Issue Event", + "description": "State Change Issue Event", "type": "object", "properties": { - "event": { - "type": "string" - }, "id": { - "description": "Unique identifier of the review", - "example": 42, "type": "integer" }, "node_id": { - "type": "string", - "example": "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA=" + "type": "string" }, - "user": { + "url": { + "type": "string" + }, + "actor": { "title": "Simple User", "description": "A GitHub user.", "type": "object", @@ -529074,818 +532911,363 @@ "following_url", "gists_url", "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - "body": { - "nullable": true, - "description": "The text of the review.", - "example": "This looks great.", - "type": "string" - }, - "state": { - "type": "string", - "example": "CHANGES_REQUESTED" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80" - }, - "pull_request_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/12" - }, - "_links": { - "type": "object", - "properties": { - "html": { - "type": "object", - "properties": { - "href": { - "type": "string" - } - }, - "required": [ - "href" - ] - }, - "pull_request": { - "type": "object", - "properties": { - "href": { - "type": "string" - } - }, - "required": [ - "href" - ] - } - }, - "required": [ - "html", - "pull_request" - ] - }, - "submitted_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "nullable": true, - "format": "date-time" - }, - "commit_id": { - "description": "A commit SHA for the review.", - "example": "54bb654c9e6025347f57900a4a5c2313a96b8035", - "type": "string" - }, - "body_html": { - "type": "string" - }, - "body_text": { - "type": "string" - }, - "author_association": { - "title": "author_association", - "type": "string", - "example": "OWNER", - "description": "How the author is associated with the repository.", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] - } - }, - "required": [ - "event", - "id", - "node_id", - "user", - "body", - "state", - "commit_id", - "html_url", - "pull_request_url", - "_links", - "author_association" - ] - }, - { - "title": "Timeline Line Commented Event", - "description": "Timeline Line Commented Event", - "type": "object", - "properties": { + }, "event": { "type": "string" }, - "node_id": { + "commit_id": { + "type": "string", + "nullable": true + }, + "commit_url": { + "type": "string", + "nullable": true + }, + "created_at": { "type": "string" }, - "comments": { - "type": "array", - "items": { - "title": "Pull Request Review Comment", - "description": "Pull Request Review Comments are comments on a portion of the Pull Request's diff.", - "type": "object", - "properties": { - "url": { - "description": "URL for the pull request review comment", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1", - "type": "string" - }, - "pull_request_review_id": { - "description": "The ID of the pull request review to which the comment belongs.", - "type": "integer", - "format": "int64", - "example": 42, - "nullable": true - }, - "id": { - "description": "The ID of the pull request review comment.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "description": "The node ID of the pull request review comment.", - "type": "string", - "example": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw" - }, - "diff_hunk": { - "description": "The diff of the line that the comment refers to.", - "type": "string", - "example": "@@ -16,33 +16,40 @@ public class Connection : IConnection..." - }, - "path": { - "description": "The relative path of the file to which the comment applies.", - "example": "config/database.yaml", - "type": "string" - }, - "position": { - "description": "The line index in the diff to which the comment applies. This field is closing down; use `line` instead.", - "example": 1, - "type": "integer" - }, - "original_position": { - "description": "The index of the original line in the diff to which the comment applies. This field is closing down; use `original_line` instead.", - "example": 4, - "type": "integer" - }, - "commit_id": { - "description": "The SHA of the commit to which the comment applies.", - "example": "6dcb09b5b57875f334f61aebed695e2e4193db5e", - "type": "string" - }, - "original_commit_id": { - "description": "The SHA of the original commit to which the comment applies.", - "example": "9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840", - "type": "string" - }, - "in_reply_to_id": { - "description": "The comment ID to reply to.", - "example": 8, - "type": "integer" - }, - "user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "body": { - "description": "The text of the comment.", - "example": "We should probably include a check for null values here.", - "type": "string" - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2011-04-14T16:00:49Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2011-04-14T16:00:49Z" - }, - "html_url": { - "description": "HTML URL for the pull request review comment.", - "type": "string", - "format": "uri", - "example": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1" - }, - "pull_request_url": { - "description": "URL for the pull request that the review comment belongs to.", - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1" - }, - "author_association": { - "title": "author_association", - "type": "string", - "example": "OWNER", - "description": "How the author is associated with the repository.", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "_links": { - "type": "object", - "properties": { - "self": { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1" - } + "performed_via_github_app": { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { + "type": "string", + "example": "MDExOkludGVncmF0aW9uMQ==" + }, + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" }, - "required": [ - "href" - ] - }, - "html": { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1" - } + "email": { + "nullable": true, + "type": "string" }, - "required": [ - "href" - ] - }, - "pull_request": { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1" - } + "login": { + "type": "string", + "example": "octocat" }, - "required": [ - "href" - ] - } - }, - "required": [ - "self", - "html", - "pull_request" - ] - }, - "start_line": { - "type": "integer", - "description": "The first line of the range for a multi-line comment.", - "example": 2, - "nullable": true - }, - "original_start_line": { - "type": "integer", - "description": "The first line of the range for a multi-line comment.", - "example": 2, - "nullable": true - }, - "start_side": { - "type": "string", - "description": "The side of the first line of the range for a multi-line comment.", - "enum": [ - "LEFT", - "RIGHT" - ], - "default": "RIGHT", - "nullable": true - }, - "line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "example": 2, - "type": "integer" - }, - "original_line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "example": 2, - "type": "integer" - }, - "side": { - "description": "The side of the diff to which the comment applies. The side of the last line of the range for a multi-line comment", - "enum": [ - "LEFT", - "RIGHT" - ], - "default": "RIGHT", - "type": "string" - }, - "subject_type": { - "description": "The level at which the comment is targeted, can be a diff line or a file.", - "type": "string", - "enum": [ - "line", - "file" - ] - }, - "reactions": { - "title": "Reaction Rollup", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri" - }, - "total_count": { - "type": "integer" - }, - "+1": { - "type": "integer" - }, - "-1": { - "type": "integer" - }, - "laugh": { - "type": "integer" - }, - "confused": { - "type": "integer" - }, - "heart": { - "type": "integer" - }, - "hooray": { - "type": "integer" + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } }, - "eyes": { - "type": "integer" + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } }, - "rocket": { - "type": "integer" - } + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", + "type": "string" + }, + "description": { + "type": "string", + "example": "The description of the app.", + "nullable": true + }, + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } }, - "body_html": { - "type": "string", - "example": "\"

comment body

\"" + "additionalProperties": { + "type": "string" }, - "body_text": { - "type": "string", - "example": "\"comment body\"" + "example": { + "issues": "read", + "deployments": "write" } }, - "required": [ - "url", - "id", - "node_id", - "pull_request_review_id", - "diff_hunk", - "path", - "commit_id", - "original_commit_id", - "user", - "body", - "created_at", - "updated_at", - "html_url", - "pull_request_url", - "author_association", - "_links" - ] - } - } - } - }, - { - "title": "Timeline Commit Commented Event", - "description": "Timeline Commit Commented Event", - "type": "object", - "properties": { - "event": { - "type": "string" - }, - "node_id": { - "type": "string" - }, - "commit_id": { - "type": "string" - }, - "comments": { - "type": "array", - "items": { - "title": "Commit Comment", - "description": "Commit Comment", - "type": "object", - "properties": { - "html_url": { - "type": "string", - "format": "uri" - }, - "url": { - "type": "string", - "format": "uri" - }, - "id": { - "type": "integer" - }, - "node_id": { - "type": "string" - }, - "body": { - "type": "string" - }, - "path": { - "type": "string", - "nullable": true - }, - "position": { - "type": "integer", - "nullable": true - }, - "line": { - "type": "integer", - "nullable": true - }, - "commit_id": { + "events": { + "description": "The list of events for the GitHub app. Note that the `installation_target`, `security_advisory`, and `meta` events are not included because they are global events and not specific to an installation.", + "example": [ + "label", + "deployment" + ], + "type": "array", + "items": { "type": "string" - }, - "user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "author_association": { - "title": "author_association", - "type": "string", - "example": "OWNER", - "description": "How the author is associated with the repository.", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "reactions": { - "title": "Reaction Rollup", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri" - }, - "total_count": { - "type": "integer" - }, - "+1": { - "type": "integer" - }, - "-1": { - "type": "integer" - }, - "laugh": { - "type": "integer" - }, - "confused": { - "type": "integer" - }, - "heart": { - "type": "integer" - }, - "hooray": { - "type": "integer" - }, - "eyes": { - "type": "integer" - }, - "rocket": { - "type": "integer" - } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] } }, - "required": [ - "url", - "html_url", - "id", - "node_id", - "user", - "position", - "line", - "path", - "commit_id", - "body", - "author_association", - "created_at", - "updated_at" - ] - } + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "example": 5, + "type": "integer" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + }, + "state_reason": { + "type": "string", + "nullable": true } - } + }, + "required": [ + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] }, { - "title": "Timeline Assigned Issue Event", - "description": "Timeline Assigned Issue Event", + "title": "Issue Type Added Issue Event", + "description": "Issue Type Added Issue Event", "type": "object", "properties": { "id": { @@ -530344,132 +533726,44 @@ "events" ] }, - "assignee": { - "title": "Simple User", - "description": "A GitHub user.", + "issue_type": { + "title": "Issue Type", + "description": "The type of issue.", "type": "object", + "nullable": true, "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, "id": { "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" + "description": "The unique identifier of the issue type." }, - "avatar_url": { + "name": { "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" + "description": "The name of the issue type." }, - "gravatar_id": { + "color": { "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" } }, "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" + "name" ] } }, "required": [ + "issue_type", "id", "node_id", "url", @@ -530478,13 +533772,12 @@ "commit_id", "commit_url", "created_at", - "performed_via_github_app", - "assignee" + "performed_via_github_app" ] }, { - "title": "Timeline Unassigned Issue Event", - "description": "Timeline Unassigned Issue Event", + "title": "Issue Type Removed Issue Event", + "description": "Issue Type Removed Issue Event", "type": "object", "properties": { "id": { @@ -530943,132 +534236,44 @@ "events" ] }, - "assignee": { - "title": "Simple User", - "description": "A GitHub user.", + "prev_issue_type": { + "title": "Issue Type", + "description": "The type of issue.", "type": "object", + "nullable": true, "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, "id": { "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" + "description": "The unique identifier of the issue type." }, - "avatar_url": { + "name": { "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" + "description": "The name of the issue type." }, - "gravatar_id": { + "color": { "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" } }, "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" + "name" ] } }, "required": [ + "prev_issue_type", "id", "node_id", "url", @@ -531077,13 +534282,12 @@ "commit_id", "commit_url", "created_at", - "performed_via_github_app", - "assignee" + "performed_via_github_app" ] }, { - "title": "State Change Issue Event", - "description": "State Change Issue Event", + "title": "Issue Type Changed Issue Event", + "description": "Issue Type Changed Issue Event", "type": "object", "properties": { "id": { @@ -531542,12 +534746,80 @@ "events" ] }, - "state_reason": { - "type": "string", - "nullable": true + "issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, + "prev_issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] } }, "required": [ + "issue_type", + "prev_issue_type", "id", "node_id", "url", diff --git a/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.yaml b/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.yaml index 27daec53d5..fa356c77f0 100644 --- a/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.yaml @@ -1009,7 +1009,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &791 + - &795 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -4229,7 +4229,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &800 + schema: &804 title: Scim Error description: Scim Error type: object @@ -11597,7 +11597,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &801 + '401': &805 description: Authorization failure '404': *6 x-github: @@ -24572,7 +24572,7 @@ paths: - *169 rules: type: array - items: &756 + items: &760 title: Repository Rule type: object description: A repository rule. @@ -24581,7 +24581,7 @@ paths: - *175 - *176 - *177 - - &754 + - &758 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -25188,14 +25188,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &769 + state: &773 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &770 + resolution: &774 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -25312,8 +25312,8 @@ paths: pull request. ' - oneOf: &771 - - &773 + oneOf: &775 + - &777 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -25371,7 +25371,7 @@ paths: - blob_url - commit_sha - commit_url - - &774 + - &778 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -25426,7 +25426,7 @@ paths: - page_url - commit_sha - commit_url - - &775 + - &779 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -25446,7 +25446,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &776 + - &780 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -25466,7 +25466,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &777 + - &781 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -25486,7 +25486,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &778 + - &782 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -25500,7 +25500,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &779 + - &783 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -25514,7 +25514,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &780 + - &784 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -25528,7 +25528,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &781 + - &785 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -25548,7 +25548,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &782 + - &786 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -25568,7 +25568,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &783 + - &787 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -25588,7 +25588,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &784 + - &788 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -25608,7 +25608,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &785 + - &789 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -29486,7 +29486,7 @@ paths: properties: action: type: string - discussion: &909 + discussion: &913 title: Discussion description: A Discussion in a repository. type: object @@ -30224,7 +30224,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &828 + sub_issues_summary: &832 title: Sub-issues Summary type: object properties: @@ -30311,7 +30311,7 @@ paths: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: &711 + properties: &712 pinned_at: type: string format: date-time @@ -30323,7 +30323,7 @@ paths: properties: *20 required: *21 nullable: true - required: &712 + required: &713 - pinned_at - pinned_by nullable: true @@ -30337,7 +30337,7 @@ paths: - created_at - updated_at nullable: true - issue_dependencies_summary: &829 + issue_dependencies_summary: &833 title: Issue Dependencies Summary type: object properties: @@ -30356,7 +30356,7 @@ paths: - total_blocking issue_field_values: type: array - items: &695 + items: &696 title: Issue Field Value description: A value assigned to an issue field type: object @@ -31144,7 +31144,7 @@ paths: type: string release: allOf: - - &747 + - &751 title: Release description: A release. type: object @@ -31215,7 +31215,7 @@ paths: author: *4 assets: type: array - items: &748 + items: &752 title: Release Asset description: Data related to a release. type: object @@ -34972,7 +34972,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &721 + - &725 name: all description: If `true`, show notifications marked as read. in: query @@ -34980,7 +34980,7 @@ paths: schema: type: boolean default: false - - &722 + - &726 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -34990,7 +34990,7 @@ paths: type: boolean default: false - *235 - - &723 + - &727 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -35526,7 +35526,7 @@ paths: - url - subscription_url examples: - default: &724 + default: &728 value: - id: '1' repository: @@ -36298,7 +36298,7 @@ paths: type: array items: *160 examples: - default: &730 + default: &734 value: - property_name: environment value: production @@ -36348,7 +36348,7 @@ paths: required: - properties examples: - default: &731 + default: &735 value: properties: - property_name: environment @@ -42975,12 +42975,12 @@ paths: required: - subject_digests examples: - default: &867 + default: &871 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &868 + withPredicateType: &872 value: subject_digests: - sha256:abc123 @@ -43024,7 +43024,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &869 + default: &873 value: attestations_subject_digests: - sha256:abc: @@ -55890,7 +55890,7 @@ paths: parameters: - *89 - *411 - - &849 + - &853 name: repo_name description: repo_name parameter in: path @@ -57105,7 +57105,7 @@ paths: - nuget - container - *89 - - &850 + - &854 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -57146,7 +57146,7 @@ paths: default: *417 '403': *29 '401': *25 - '400': &852 + '400': &856 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -59354,7 +59354,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &945 + properties: &949 id: type: number description: The unique identifier of the status update. @@ -59402,7 +59402,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &946 + required: &950 - id - node_id - created_at @@ -59831,7 +59831,7 @@ paths: - review_comment - self author_association: *225 - auto_merge: &733 + auto_merge: &737 title: Auto merge description: The status of auto merging a pull request. type: object @@ -60207,7 +60207,7 @@ paths: - updated_at - project_url examples: - default: &873 + default: &877 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -60384,7 +60384,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &874 + items: &878 type: object properties: name: @@ -60421,7 +60421,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &875 + iteration_configuration: &879 type: object description: The configuration for iteration fields. properties: @@ -60471,7 +60471,7 @@ paths: value: name: Due date data_type: date - single_select_field: &876 + single_select_field: &880 summary: Create a single select field value: name: Priority @@ -60498,7 +60498,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &877 + iteration_field: &881 summary: Create an iteration field value: name: Sprint @@ -60524,7 +60524,7 @@ paths: application/json: schema: *438 examples: - text_field: &878 + text_field: &882 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -60533,7 +60533,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-05-15T08:00:00Z' updated_at: '2022-05-15T08:00:00Z' - number_field: &879 + number_field: &883 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -60542,7 +60542,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-01T14:30:00Z' updated_at: '2022-06-01T14:30:00Z' - date_field: &880 + date_field: &884 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -60551,7 +60551,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-10T09:15:00Z' updated_at: '2022-06-10T09:15:00Z' - single_select_field: &881 + single_select_field: &885 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -60585,7 +60585,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &882 + iteration_field: &886 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -60631,7 +60631,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#get-project-field-for-organization parameters: - *434 - - &883 + - &887 name: field_id description: The unique identifier of the field. in: path @@ -60646,7 +60646,7 @@ paths: application/json: schema: *438 examples: - default: &884 + default: &888 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -61843,7 +61843,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &864 + schema: &868 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -62020,7 +62020,7 @@ paths: parameters: - *434 - *89 - - &885 + - &889 name: view_number description: The number that identifies the project view. in: path @@ -63842,7 +63842,7 @@ paths: - *89 - *17 - *19 - - &755 + - &759 name: targets description: | A comma-separated list of rule targets to filter by. @@ -64058,7 +64058,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *89 - - &757 + - &761 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -64070,14 +64070,14 @@ paths: x-multi-segment: true - *322 - *107 - - &758 + - &762 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &759 + - &763 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -64090,7 +64090,7 @@ paths: - bypass - all default: all - - &760 + - &764 name: evaluate_status description: |- The evaluate status to filter on. When specified, only rule suites resulting from rulesets with the specified evaluate status will be returned. @@ -64113,7 +64113,7 @@ paths: description: Response content: application/json: - schema: &761 + schema: &765 title: Rule Suites description: Response type: array @@ -64168,7 +64168,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &762 + default: &766 value: - id: 21 actor_id: 12 @@ -64212,7 +64212,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *89 - - &763 + - &767 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -64228,7 +64228,7 @@ paths: description: Response content: application/json: - schema: &764 + schema: &768 title: Rule Suite description: Response type: object @@ -64327,7 +64327,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &765 + default: &769 value: id: 21 actor_id: 12 @@ -64663,7 +64663,7 @@ paths: - *112 - *19 - *17 - - &767 + - &771 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -64673,7 +64673,7 @@ paths: required: false schema: type: string - - &768 + - &772 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -64887,7 +64887,7 @@ paths: application/json: schema: type: array - items: &789 + items: &793 description: A repository security advisory. type: object properties: @@ -65159,7 +65159,7 @@ paths: - private_fork additionalProperties: false examples: - default: &790 + default: &794 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -67177,7 +67177,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &831 + response-if-user-is-a-team-maintainer: &835 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -67242,7 +67242,7 @@ paths: application/json: schema: *490 examples: - response-if-users-membership-with-team-is-now-pending: &832 + response-if-users-membership-with-team-is-now-pending: &836 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -67356,7 +67356,7 @@ paths: description: Alternative response with repository permissions content: application/json: - schema: &833 + schema: &837 title: Team Repository description: A team's access to a repository. type: object @@ -68117,7 +68117,7 @@ paths: type: array items: *325 examples: - response-if-child-teams-exist: &834 + response-if-child-teams-exist: &838 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -73785,7 +73785,7 @@ paths: description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: &903 + properties: &907 url: type: string format: uri @@ -73870,7 +73870,7 @@ paths: nullable: true properties: *223 required: *224 - required: &904 + required: &908 - id - node_id - sha @@ -80271,7 +80271,7 @@ paths: check. type: array items: *233 - deployment: &896 + deployment: &900 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -81183,7 +81183,7 @@ paths: type: string format: date-time nullable: true - head_commit: &929 + head_commit: &933 title: Simple Commit description: A commit. type: object @@ -85452,14 +85452,14 @@ paths: type: integer machines: type: array - items: &839 + items: &843 type: object title: Codespace machine description: A description of the machine powering a codespace. properties: *595 required: *596 examples: - default: &840 + default: &844 value: total_count: 2 machines: @@ -87097,7 +87097,7 @@ paths: type: array items: *607 examples: - default: &740 + default: &744 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -87388,7 +87388,7 @@ paths: type: array items: *611 examples: - default: &732 + default: &736 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -87946,7 +87946,7 @@ paths: application/json: schema: *607 examples: - default: &717 + default: &721 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -88605,7 +88605,7 @@ paths: application/json: schema: type: array - items: &794 + items: &798 title: Status description: The status of a commit. type: object @@ -89574,7 +89574,7 @@ paths: - size - type - url - - &745 + - &749 title: Content File description: Content File type: object @@ -90188,7 +90188,7 @@ paths: items: type: object properties: - placeholder_id: &786 + placeholder_id: &790 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -96888,7 +96888,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &937 + last_response: &941 title: Hook Response type: object properties: @@ -97940,7 +97940,7 @@ paths: parameters: - *491 - *492 - - &862 + - &866 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -98525,7 +98525,7 @@ paths: type: array items: *681 examples: - default: &854 + default: &858 value: - id: 1 repository: @@ -98971,7 +98971,7 @@ paths: type: array items: *228 examples: - default: &694 + default: &695 value: - id: 1 node_id: MDU6SXNzdWUx @@ -99252,7 +99252,7 @@ paths: application/json: schema: *228 examples: - default: &691 + default: &692 value: id: 1 node_id: MDU6SXNzdWUx @@ -99442,7 +99442,7 @@ paths: type: array items: *684 examples: - default: &693 + default: &694 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -99897,7 +99897,7 @@ paths: application/json: schema: type: array - items: &690 + items: &691 title: Issue Event description: Issue Event type: object @@ -100050,6 +100050,35 @@ paths: required: - from - to + issue_type: &690 + title: Issue Type + description: The type of issue. + type: object + nullable: true + properties: + id: + type: integer + description: The unique identifier of the issue type. + name: + type: string + description: The name of the issue type. + color: + type: string + description: The color of the issue type. + enum: + - gray + - blue + - green + - yellow + - orange + - red + - pink + - purple + nullable: true + required: + - id + - name + prev_issue_type: *690 author_association: *225 lock_reason: type: string @@ -100261,7 +100290,7 @@ paths: description: Response content: application/json: - schema: *690 + schema: *691 examples: default: value: @@ -100490,7 +100519,7 @@ paths: parameters: - *491 - *492 - - &692 + - &693 name: issue_number description: The number that identifies the issue. in: path @@ -100506,7 +100535,7 @@ paths: examples: default: summary: Issue - value: *691 + value: *692 pinned_comment: summary: Issue with pinned comment value: @@ -100715,7 +100744,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 requestBody: required: false content: @@ -100840,7 +100869,7 @@ paths: application/json: schema: *228 examples: - default: *691 + default: *692 '422': *15 '503': *200 '403': *29 @@ -100866,7 +100895,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 requestBody: required: false content: @@ -100894,7 +100923,7 @@ paths: application/json: schema: *228 examples: - default: *691 + default: *692 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100912,7 +100941,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 requestBody: content: application/json: @@ -100939,7 +100968,7 @@ paths: application/json: schema: *228 examples: - default: *691 + default: *692 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100963,7 +100992,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 - name: assignee in: path required: true @@ -101005,7 +101034,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 - *235 - *17 - *19 @@ -101018,7 +101047,7 @@ paths: type: array items: *684 examples: - default: *693 + default: *694 headers: Link: *47 '404': *6 @@ -101053,7 +101082,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 requestBody: required: true content: @@ -101114,7 +101143,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 - *17 - *19 responses: @@ -101126,7 +101155,7 @@ paths: type: array items: *228 examples: - default: *694 + default: *695 headers: Link: *47 '301': *497 @@ -101161,7 +101190,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 requestBody: required: true content: @@ -101185,7 +101214,7 @@ paths: application/json: schema: *228 examples: - default: *691 + default: *692 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by @@ -101226,7 +101255,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -101240,7 +101269,7 @@ paths: application/json: schema: *228 examples: - default: *691 + default: *692 '301': *497 '400': *14 '401': *25 @@ -101274,7 +101303,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 - *17 - *19 responses: @@ -101286,7 +101315,7 @@ paths: type: array items: *228 examples: - default: *694 + default: *695 headers: Link: *47 '301': *497 @@ -101310,7 +101339,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 - *17 - *19 responses: @@ -101324,7 +101353,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &698 + - &699 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -101378,7 +101407,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &699 + - &700 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -101514,7 +101543,7 @@ paths: - performed_via_github_app - assignee - assigner - - &700 + - &701 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -101565,7 +101594,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &701 + - &702 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -101616,7 +101645,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &702 + - &703 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -101670,7 +101699,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &703 + - &704 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -101717,7 +101746,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &704 + - &705 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -101764,7 +101793,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &705 + - &706 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -101824,7 +101853,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &706 + - &707 title: Locked Issue Event description: Locked Issue Event type: object @@ -101872,7 +101901,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &707 + - &708 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -101938,7 +101967,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &708 + - &709 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -102004,7 +102033,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &709 + - &710 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -102070,7 +102099,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &710 + - &711 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -102126,6 +102155,143 @@ paths: - commit_url - created_at - performed_via_github_app + - &714 + title: Issue Type Added Issue Event + description: Issue Type Added Issue Event + type: object + properties: + id: + type: integer + node_id: + type: string + url: + type: string + actor: *4 + event: + type: string + commit_id: + type: string + nullable: true + commit_url: + type: string + nullable: true + created_at: + type: string + performed_via_github_app: + title: GitHub app + description: GitHub apps are a new way to extend GitHub. They + can be installed directly on organizations and user accounts + and granted access to specific repositories. They come with + granular permissions and built-in webhooks. GitHub apps + are first class actors within GitHub. + type: object + nullable: true + properties: *223 + required: *224 + issue_type: *690 + required: + - issue_type + - id + - node_id + - url + - actor + - event + - commit_id + - commit_url + - created_at + - performed_via_github_app + - &715 + title: Issue Type Removed Issue Event + description: Issue Type Removed Issue Event + type: object + properties: + id: + type: integer + node_id: + type: string + url: + type: string + actor: *4 + event: + type: string + commit_id: + type: string + nullable: true + commit_url: + type: string + nullable: true + created_at: + type: string + performed_via_github_app: + title: GitHub app + description: GitHub apps are a new way to extend GitHub. They + can be installed directly on organizations and user accounts + and granted access to specific repositories. They come with + granular permissions and built-in webhooks. GitHub apps + are first class actors within GitHub. + type: object + nullable: true + properties: *223 + required: *224 + prev_issue_type: *690 + required: + - prev_issue_type + - id + - node_id + - url + - actor + - event + - commit_id + - commit_url + - created_at + - performed_via_github_app + - &716 + title: Issue Type Changed Issue Event + description: Issue Type Changed Issue Event + type: object + properties: + id: + type: integer + node_id: + type: string + url: + type: string + actor: *4 + event: + type: string + commit_id: + type: string + nullable: true + commit_url: + type: string + nullable: true + created_at: + type: string + performed_via_github_app: + title: GitHub app + description: GitHub apps are a new way to extend GitHub. They + can be installed directly on organizations and user accounts + and granted access to specific repositories. They come with + granular permissions and built-in webhooks. GitHub apps + are first class actors within GitHub. + type: object + nullable: true + properties: *223 + required: *224 + issue_type: *690 + prev_issue_type: *690 + required: + - issue_type + - prev_issue_type + - id + - node_id + - url + - actor + - event + - commit_id + - commit_url + - created_at + - performed_via_github_app examples: default: value: @@ -102180,7 +102346,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 - *17 - *19 responses: @@ -102190,9 +102356,9 @@ paths: application/json: schema: type: array - items: *695 + items: *696 examples: - default: &696 + default: &697 value: - issue_field_id: 1 node_id: IFT_GDKND @@ -102260,7 +102426,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 requestBody: required: true content: @@ -102330,9 +102496,9 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *695 + items: *696 examples: - default: *696 + default: *697 '400': *14 '403': *29 '404': *6 @@ -102370,7 +102536,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 requestBody: required: true content: @@ -102435,9 +102601,9 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *695 + items: *696 examples: - default: *696 + default: *697 '400': *14 '403': *29 '404': *6 @@ -102470,7 +102636,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 - *399 responses: '204': @@ -102498,7 +102664,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 - *17 - *19 responses: @@ -102510,7 +102676,7 @@ paths: type: array items: *227 examples: - default: &697 + default: &698 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -102548,7 +102714,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 requestBody: required: false content: @@ -102593,7 +102759,7 @@ paths: type: array items: *227 examples: - default: *697 + default: *698 '301': *497 '404': *6 '410': *683 @@ -102615,7 +102781,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 requestBody: required: false content: @@ -102677,7 +102843,7 @@ paths: type: array items: *227 examples: - default: *697 + default: *698 '301': *497 '404': *6 '410': *683 @@ -102699,7 +102865,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 responses: '204': description: Response @@ -102726,7 +102892,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 - name: name in: path required: true @@ -102774,7 +102940,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 requestBody: required: false content: @@ -102822,7 +102988,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 responses: '204': description: Response @@ -102854,7 +103020,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 responses: '200': description: Response @@ -102862,7 +103028,7 @@ paths: application/json: schema: *228 examples: - default: *691 + default: *692 '301': *497 '404': *6 '410': *683 @@ -102884,7 +103050,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 - 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. @@ -102936,7 +103102,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 requestBody: required: true content: @@ -103001,7 +103167,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 - *687 responses: '204': @@ -103033,7 +103199,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 requestBody: required: true content: @@ -103057,7 +103223,7 @@ paths: application/json: schema: *228 examples: - default: *691 + default: *692 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -103092,7 +103258,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 - *17 - *19 responses: @@ -103104,7 +103270,7 @@ paths: type: array items: *228 examples: - default: *694 + default: *695 headers: Link: *47 '404': *6 @@ -103138,7 +103304,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 requestBody: required: true content: @@ -103167,7 +103333,7 @@ paths: application/json: schema: *228 examples: - default: *691 + default: *692 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 @@ -103196,7 +103362,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 requestBody: required: true content: @@ -103229,7 +103395,7 @@ paths: application/json: schema: *228 examples: - default: *691 + default: *692 '403': *29 '404': *6 '422': *7 @@ -103253,7 +103419,7 @@ paths: parameters: - *491 - *492 - - *692 + - *693 - *17 - *19 responses: @@ -103268,7 +103434,6 @@ paths: description: Timeline Event type: object anyOf: - - *698 - *699 - *700 - *701 @@ -103281,6 +103446,7 @@ paths: - *708 - *709 - *710 + - *711 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -103341,8 +103507,8 @@ paths: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *711 - required: *712 + properties: *712 + required: *713 nullable: true required: - event @@ -103597,7 +103763,7 @@ paths: type: string comments: type: array - items: &734 + items: &738 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -103946,6 +104112,9 @@ paths: - commit_url - created_at - performed_via_github_app + - *714 + - *715 + - *716 examples: default: value: @@ -104129,7 +104298,7 @@ paths: application/json: schema: type: array - items: &713 + items: &717 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -104232,9 +104401,9 @@ paths: description: Response content: application/json: - schema: *713 + schema: *717 examples: - default: &714 + default: &718 value: id: 1 key: ssh-rsa AAA... @@ -104270,7 +104439,7 @@ paths: parameters: - *491 - *492 - - &715 + - &719 name: key_id description: The unique identifier of the key. in: path @@ -104282,9 +104451,9 @@ paths: description: Response content: application/json: - schema: *713 + schema: *717 examples: - default: *714 + default: *718 '404': *6 x-github: githubCloudOnly: false @@ -104304,7 +104473,7 @@ paths: parameters: - *491 - *492 - - *715 + - *719 responses: '204': description: Response @@ -104337,7 +104506,7 @@ paths: type: array items: *227 examples: - default: *697 + default: *698 headers: Link: *47 '404': *6 @@ -104397,7 +104566,7 @@ paths: application/json: schema: *227 examples: - default: &716 + default: &720 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -104443,7 +104612,7 @@ paths: application/json: schema: *227 examples: - default: *716 + default: *720 '404': *6 x-github: githubCloudOnly: false @@ -104896,7 +105065,7 @@ paths: application/json: schema: *607 examples: - default: *717 + default: *721 '204': description: Response when already merged '404': @@ -104963,7 +105132,7 @@ paths: application/json: schema: type: array - items: &718 + items: &722 title: Milestone description: A collection of related issues and pull requests. type: object @@ -105065,9 +105234,9 @@ paths: description: Response content: application/json: - schema: *718 + schema: *722 examples: - default: &719 + default: &723 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -105128,7 +105297,7 @@ paths: parameters: - *491 - *492 - - &720 + - &724 name: milestone_number description: The number that identifies the milestone. in: path @@ -105140,9 +105309,9 @@ paths: description: Response content: application/json: - schema: *718 + schema: *722 examples: - default: *719 + default: *723 '404': *6 x-github: githubCloudOnly: false @@ -105161,7 +105330,7 @@ paths: parameters: - *491 - *492 - - *720 + - *724 requestBody: required: false content: @@ -105199,9 +105368,9 @@ paths: description: Response content: application/json: - schema: *718 + schema: *722 examples: - default: *719 + default: *723 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105219,7 +105388,7 @@ paths: parameters: - *491 - *492 - - *720 + - *724 responses: '204': description: Response @@ -105242,7 +105411,7 @@ paths: parameters: - *491 - *492 - - *720 + - *724 - *17 - *19 responses: @@ -105254,7 +105423,7 @@ paths: type: array items: *227 examples: - default: *697 + default: *698 headers: Link: *47 x-github: @@ -105275,10 +105444,10 @@ paths: parameters: - *491 - *492 - - *721 - - *722 + - *725 + - *726 - *235 - - *723 + - *727 - *17 - *19 responses: @@ -105290,7 +105459,7 @@ paths: type: array items: *255 examples: - default: *724 + default: *728 headers: Link: *47 x-github: @@ -105380,7 +105549,7 @@ paths: description: Response content: application/json: - schema: &725 + schema: &729 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -105505,7 +105674,7 @@ paths: - custom_404 - public examples: - default: &726 + default: &730 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -105601,9 +105770,9 @@ paths: description: Response content: application/json: - schema: *725 + schema: *729 examples: - default: *726 + default: *730 '422': *15 '409': *121 x-github: @@ -105772,7 +105941,7 @@ paths: application/json: schema: type: array - items: &727 + items: &731 title: Page Build description: Page Build type: object @@ -105919,9 +106088,9 @@ paths: description: Response content: application/json: - schema: *727 + schema: *731 examples: - default: &728 + default: &732 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -105981,9 +106150,9 @@ paths: description: Response content: application/json: - schema: *727 + schema: *731 examples: - default: *728 + default: *732 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106111,7 +106280,7 @@ paths: parameters: - *491 - *492 - - &729 + - &733 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -106171,7 +106340,7 @@ paths: parameters: - *491 - *492 - - *729 + - *733 responses: '204': *130 '404': *6 @@ -106551,7 +106720,7 @@ paths: type: array items: *160 examples: - default: *730 + default: *734 '403': *29 '404': *6 x-github: @@ -106590,7 +106759,7 @@ paths: required: - properties examples: - default: *731 + default: *735 responses: '204': description: No Content when custom property values are successfully created @@ -106691,7 +106860,7 @@ paths: type: array items: *611 examples: - default: *732 + default: *736 headers: Link: *47 '304': *37 @@ -106789,7 +106958,7 @@ paths: description: Response content: application/json: - schema: &736 + schema: &740 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -106989,7 +107158,7 @@ paths: - review_comment - self author_association: *225 - auto_merge: *733 + auto_merge: *737 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -107079,7 +107248,7 @@ paths: - merged_by - review_comments examples: - default: &737 + default: &741 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -107616,9 +107785,9 @@ paths: application/json: schema: type: array - items: *734 + items: *738 examples: - default: &739 + default: &743 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -107703,9 +107872,9 @@ paths: description: Response content: application/json: - schema: *734 + schema: *738 examples: - default: &735 + default: &739 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -107804,9 +107973,9 @@ paths: description: Response content: application/json: - schema: *734 + schema: *738 examples: - default: *735 + default: *739 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108009,7 +108178,7 @@ paths: parameters: - *491 - *492 - - &738 + - &742 name: pull_number description: The number that identifies the pull request. in: path @@ -108022,9 +108191,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *736 + schema: *740 examples: - default: *737 + default: *741 '304': *37 '404': *6 '406': @@ -108061,7 +108230,7 @@ paths: parameters: - *491 - *492 - - *738 + - *742 requestBody: required: false content: @@ -108103,9 +108272,9 @@ paths: description: Response content: application/json: - schema: *736 + schema: *740 examples: - default: *737 + default: *741 '422': *15 '403': *29 x-github: @@ -108129,7 +108298,7 @@ paths: parameters: - *491 - *492 - - *738 + - *742 requestBody: required: true content: @@ -108231,7 +108400,7 @@ paths: parameters: - *491 - *492 - - *738 + - *742 - *252 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -108252,9 +108421,9 @@ paths: application/json: schema: type: array - items: *734 + items: *738 examples: - default: *739 + default: *743 headers: Link: *47 x-github: @@ -108289,7 +108458,7 @@ paths: parameters: - *491 - *492 - - *738 + - *742 requestBody: required: true content: @@ -108394,7 +108563,7 @@ paths: description: Response content: application/json: - schema: *734 + schema: *738 examples: example-for-a-multi-line-comment: value: @@ -108484,7 +108653,7 @@ paths: parameters: - *491 - *492 - - *738 + - *742 - *244 requestBody: required: true @@ -108507,7 +108676,7 @@ paths: description: Response content: application/json: - schema: *734 + schema: *738 examples: default: value: @@ -108595,7 +108764,7 @@ paths: parameters: - *491 - *492 - - *738 + - *742 - *17 - *19 responses: @@ -108607,7 +108776,7 @@ paths: type: array items: *607 examples: - default: *740 + default: *744 headers: Link: *47 x-github: @@ -108639,7 +108808,7 @@ paths: parameters: - *491 - *492 - - *738 + - *742 - *17 - *19 responses: @@ -108689,7 +108858,7 @@ paths: parameters: - *491 - *492 - - *738 + - *742 responses: '204': description: Response if pull request has been merged @@ -108714,7 +108883,7 @@ paths: parameters: - *491 - *492 - - *738 + - *742 requestBody: required: false content: @@ -108827,7 +108996,7 @@ paths: parameters: - *491 - *492 - - *738 + - *742 responses: '200': description: Response @@ -108904,7 +109073,7 @@ paths: parameters: - *491 - *492 - - *738 + - *742 requestBody: required: false content: @@ -109479,7 +109648,7 @@ paths: parameters: - *491 - *492 - - *738 + - *742 requestBody: required: true content: @@ -110000,7 +110169,7 @@ paths: parameters: - *491 - *492 - - *738 + - *742 - *17 - *19 responses: @@ -110010,7 +110179,7 @@ paths: application/json: schema: type: array - items: &741 + items: &745 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -110163,7 +110332,7 @@ paths: parameters: - *491 - *492 - - *738 + - *742 requestBody: required: false content: @@ -110249,9 +110418,9 @@ paths: description: Response content: application/json: - schema: *741 + schema: *745 examples: - default: &743 + default: &747 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -110316,8 +110485,8 @@ paths: parameters: - *491 - *492 - - *738 - - &742 + - *742 + - &746 name: review_id description: The unique identifier of the review. in: path @@ -110329,9 +110498,9 @@ paths: description: Response content: application/json: - schema: *741 + schema: *745 examples: - default: &744 + default: &748 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -110392,8 +110561,8 @@ paths: parameters: - *491 - *492 - - *738 - *742 + - *746 requestBody: required: true content: @@ -110416,7 +110585,7 @@ paths: description: Response content: application/json: - schema: *741 + schema: *745 examples: default: value: @@ -110480,16 +110649,16 @@ paths: parameters: - *491 - *492 - - *738 - *742 + - *746 responses: '200': description: Response content: application/json: - schema: *741 + schema: *745 examples: - default: *743 + default: *747 '422': *7 '404': *6 x-github: @@ -110518,8 +110687,8 @@ paths: parameters: - *491 - *492 - - *738 - *742 + - *746 - *17 - *19 responses: @@ -110756,8 +110925,8 @@ paths: parameters: - *491 - *492 - - *738 - *742 + - *746 requestBody: required: true content: @@ -110785,7 +110954,7 @@ paths: description: Response content: application/json: - schema: *741 + schema: *745 examples: default: value: @@ -110850,8 +111019,8 @@ paths: parameters: - *491 - *492 - - *738 - *742 + - *746 requestBody: required: true content: @@ -110886,9 +111055,9 @@ paths: description: Response content: application/json: - schema: *741 + schema: *745 examples: - default: *744 + default: *748 '404': *6 '422': *7 '403': *29 @@ -110912,7 +111081,7 @@ paths: parameters: - *491 - *492 - - *738 + - *742 requestBody: required: false content: @@ -110989,9 +111158,9 @@ paths: description: Response content: application/json: - schema: *745 + schema: *749 examples: - default: &746 + default: &750 value: type: file encoding: base64 @@ -111054,9 +111223,9 @@ paths: description: Response content: application/json: - schema: *745 + schema: *749 examples: - default: *746 + default: *750 '404': *6 '422': *15 x-github: @@ -111089,7 +111258,7 @@ paths: application/json: schema: type: array - items: *747 + items: *751 examples: default: value: @@ -111260,9 +111429,9 @@ paths: description: Response content: application/json: - schema: *747 + schema: *751 examples: - default: &751 + default: &755 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -111369,7 +111538,7 @@ paths: parameters: - *491 - *492 - - &749 + - &753 name: asset_id description: The unique identifier of the asset. in: path @@ -111381,9 +111550,9 @@ paths: description: Response content: application/json: - schema: *748 + schema: *752 examples: - default: &750 + default: &754 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -111436,7 +111605,7 @@ paths: parameters: - *491 - *492 - - *749 + - *753 requestBody: required: false content: @@ -111464,9 +111633,9 @@ paths: description: Response content: application/json: - schema: *748 + schema: *752 examples: - default: *750 + default: *754 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111484,7 +111653,7 @@ paths: parameters: - *491 - *492 - - *749 + - *753 responses: '204': description: Response @@ -111602,9 +111771,9 @@ paths: description: Response content: application/json: - schema: *747 + schema: *751 examples: - default: *751 + default: *755 '404': *6 x-github: githubCloudOnly: false @@ -111636,9 +111805,9 @@ paths: description: Response content: application/json: - schema: *747 + schema: *751 examples: - default: *751 + default: *755 '404': *6 x-github: githubCloudOnly: false @@ -111662,7 +111831,7 @@ paths: parameters: - *491 - *492 - - &752 + - &756 name: release_id description: The unique identifier of the release. in: path @@ -111676,9 +111845,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *747 + schema: *751 examples: - default: *751 + default: *755 '401': description: Unauthorized x-github: @@ -111698,7 +111867,7 @@ paths: parameters: - *491 - *492 - - *752 + - *756 requestBody: required: false content: @@ -111762,9 +111931,9 @@ paths: description: Response content: application/json: - schema: *747 + schema: *751 examples: - default: *751 + default: *755 '404': description: Not Found if the discussion category name is invalid content: @@ -111787,7 +111956,7 @@ paths: parameters: - *491 - *492 - - *752 + - *756 responses: '204': description: Response @@ -111810,7 +111979,7 @@ paths: parameters: - *491 - *492 - - *752 + - *756 - *17 - *19 responses: @@ -111820,7 +111989,7 @@ paths: application/json: schema: type: array - items: *748 + items: *752 examples: default: value: @@ -111904,7 +112073,7 @@ paths: parameters: - *491 - *492 - - *752 + - *756 - name: name in: query required: true @@ -111930,7 +112099,7 @@ paths: description: Response for successful upload content: application/json: - schema: *748 + schema: *752 examples: response-for-successful-upload: value: @@ -111987,7 +112156,7 @@ paths: parameters: - *491 - *492 - - *752 + - *756 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -112036,7 +112205,7 @@ paths: parameters: - *491 - *492 - - *752 + - *756 requestBody: required: true content: @@ -112099,7 +112268,7 @@ paths: parameters: - *491 - *492 - - *752 + - *756 - *687 responses: '204': @@ -112143,7 +112312,7 @@ paths: oneOf: - allOf: - *174 - - &753 + - &757 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -112164,67 +112333,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *175 - - *753 + - *757 - allOf: - *176 - - *753 + - *757 - allOf: - *177 - - *753 + - *757 - allOf: - - *754 - - *753 + - *758 + - *757 - allOf: - *178 - - *753 + - *757 - allOf: - *179 - - *753 + - *757 - allOf: - *180 - - *753 + - *757 - allOf: - *181 - - *753 + - *757 - allOf: - *182 - - *753 + - *757 - allOf: - *183 - - *753 + - *757 - allOf: - *184 - - *753 + - *757 - allOf: - *185 - - *753 + - *757 - allOf: - *186 - - *753 + - *757 - allOf: - *187 - - *753 + - *757 - allOf: - *188 - - *753 + - *757 - allOf: - *189 - - *753 + - *757 - allOf: - *190 - - *753 + - *757 - allOf: - *191 - - *753 + - *757 - allOf: - *192 - - *753 + - *757 - allOf: - *193 - - *753 + - *757 - allOf: - *194 - - *753 + - *757 examples: default: value: @@ -112275,7 +112444,7 @@ paths: schema: type: boolean default: true - - *755 + - *759 responses: '200': description: Response @@ -112360,7 +112529,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *756 + items: *760 required: - name - enforcement @@ -112393,7 +112562,7 @@ paths: application/json: schema: *195 examples: - default: &766 + default: &770 value: id: 42 name: super cool ruleset @@ -112443,11 +112612,11 @@ paths: parameters: - *491 - *492 - - *757 + - *761 - *107 - - *758 - - *759 - - *760 + - *762 + - *763 + - *764 - *17 - *19 responses: @@ -112455,9 +112624,9 @@ paths: description: Response content: application/json: - schema: *761 + schema: *765 examples: - default: *762 + default: *766 '404': *6 '500': *40 x-github: @@ -112480,15 +112649,15 @@ paths: parameters: - *491 - *492 - - *763 + - *767 responses: '200': description: Response content: application/json: - schema: *764 + schema: *768 examples: - default: *765 + default: *769 '404': *6 '500': *40 x-github: @@ -112539,7 +112708,7 @@ paths: application/json: schema: *195 examples: - default: *766 + default: *770 '404': *6 '500': *40 put: @@ -112592,7 +112761,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *756 + items: *760 examples: default: value: @@ -112622,7 +112791,7 @@ paths: application/json: schema: *195 examples: - default: *766 + default: *770 '404': *6 '422': *15 '500': *40 @@ -112790,8 +112959,8 @@ paths: - *112 - *19 - *17 - - *767 - - *768 + - *771 + - *772 - *465 - *466 - *467 @@ -112804,7 +112973,7 @@ paths: application/json: schema: type: array - items: &772 + items: &776 type: object properties: number: *131 @@ -112823,8 +112992,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *769 - resolution: *770 + state: *773 + resolution: *774 resolved_at: type: string format: date-time @@ -112930,7 +113099,7 @@ paths: pull request. ' - oneOf: *771 + oneOf: *775 nullable: true has_more_locations: type: boolean @@ -113103,7 +113272,7 @@ paths: description: Response content: application/json: - schema: *772 + schema: *776 examples: default: value: @@ -113167,8 +113336,8 @@ paths: schema: type: object properties: - state: *769 - resolution: *770 + state: *773 + resolution: *774 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -113212,7 +113381,7 @@ paths: description: Response content: application/json: - schema: *772 + schema: *776 examples: default: value: @@ -113324,7 +113493,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &959 + items: &963 type: object properties: type: @@ -113350,10 +113519,6 @@ paths: example: commit details: oneOf: - - *773 - - *774 - - *775 - - *776 - *777 - *778 - *779 @@ -113363,6 +113528,10 @@ paths: - *783 - *784 - *785 + - *786 + - *787 + - *788 + - *789 examples: default: value: @@ -113457,14 +113626,14 @@ paths: schema: type: object properties: - reason: &787 + reason: &791 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *786 + placeholder_id: *790 required: - reason - placeholder_id @@ -113481,7 +113650,7 @@ paths: schema: type: object properties: - reason: *787 + reason: *791 expire_at: type: string format: date-time @@ -113543,7 +113712,7 @@ paths: properties: incremental_scans: type: array - items: &788 + items: &792 description: Information on a single scan performed by secret scanning on the repository type: object @@ -113574,15 +113743,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *788 + items: *792 backfill_scans: type: array - items: *788 + items: *792 custom_pattern_backfill_scans: type: array items: allOf: - - *788 + - *792 - type: object properties: pattern_name: @@ -113595,7 +113764,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *788 + items: *792 examples: default: value: @@ -113705,9 +113874,9 @@ paths: application/json: schema: type: array - items: *789 + items: *793 examples: - default: *790 + default: *794 '400': *14 '404': *6 x-github: @@ -113891,9 +114060,9 @@ paths: description: Response content: application/json: - schema: *789 + schema: *793 examples: - default: &792 + default: &796 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -114228,7 +114397,7 @@ paths: description: Response content: application/json: - schema: *789 + schema: *793 examples: default: value: @@ -114376,15 +114545,15 @@ paths: parameters: - *491 - *492 - - *791 + - *795 responses: '200': description: Response content: application/json: - schema: *789 + schema: *793 examples: - default: *792 + default: *796 '403': *29 '404': *6 x-github: @@ -114410,7 +114579,7 @@ paths: parameters: - *491 - *492 - - *791 + - *795 requestBody: required: true content: @@ -114569,10 +114738,10 @@ paths: description: Response content: application/json: - schema: *789 + schema: *793 examples: - default: *792 - add_credit: *792 + default: *796 + add_credit: *796 '403': *29 '404': *6 '422': @@ -114612,7 +114781,7 @@ paths: parameters: - *491 - *492 - - *791 + - *795 responses: '202': *39 '400': *14 @@ -114641,7 +114810,7 @@ paths: parameters: - *491 - *492 - - *791 + - *795 responses: '202': description: Response @@ -114785,7 +114954,7 @@ paths: application/json: schema: type: array - items: &793 + items: &797 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -115158,7 +115327,7 @@ paths: application/json: schema: type: array - items: *793 + items: *797 examples: default: value: @@ -115246,7 +115415,7 @@ paths: description: Response content: application/json: - schema: *794 + schema: *798 examples: default: value: @@ -115340,7 +115509,7 @@ paths: description: if you subscribe to the repository content: application/json: - schema: &795 + schema: &799 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -115435,7 +115604,7 @@ paths: description: Response content: application/json: - schema: *795 + schema: *799 examples: default: value: @@ -115642,7 +115811,7 @@ paths: description: Response content: application/json: - schema: &796 + schema: &800 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -115654,7 +115823,7 @@ paths: required: - names examples: - default: &797 + default: &801 value: names: - octocat @@ -115709,9 +115878,9 @@ paths: description: Response content: application/json: - schema: *796 + schema: *800 examples: - default: *797 + default: *801 '404': *6 '422': *7 x-github: @@ -115734,7 +115903,7 @@ paths: parameters: - *491 - *492 - - &798 + - &802 name: per description: The time frame to display results for. in: query @@ -115763,7 +115932,7 @@ paths: example: 128 clones: type: array - items: &799 + items: &803 title: Traffic type: object properties: @@ -116004,7 +116173,7 @@ paths: parameters: - *491 - *492 - - *798 + - *802 responses: '200': description: Response @@ -116023,7 +116192,7 @@ paths: example: 3782 views: type: array - items: *799 + items: *803 required: - uniques - count @@ -116694,7 +116863,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &807 + - &811 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -116703,7 +116872,7 @@ paths: schema: type: string example: members - - &812 + - &816 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -116714,7 +116883,7 @@ paths: default: 1 format: int32 example: 1 - - &813 + - &817 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -116756,7 +116925,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &802 + items: &806 allOf: - type: object required: @@ -116831,7 +117000,7 @@ paths: - value: 0db508eb-91e2-46e4-809c-30dcbda0c685 "$+ref": https://api.github.localhost/scim/v2/Users/0db508eb-91e2-46e4-809c-30dcbda0c685 displayName: User 2 - meta: &814 + meta: &818 type: object description: The metadata associated with the creation/updates to the user. @@ -116891,30 +117060,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &803 + '400': &807 description: Bad request content: application/json: - schema: *800 + schema: *804 application/scim+json: - schema: *800 - '401': *801 - '403': &804 + schema: *804 + '401': *805 + '403': &808 description: Permission denied - '429': &805 + '429': &809 description: Too many requests content: application/json: - schema: *800 + schema: *804 application/scim+json: - schema: *800 - '500': &806 + schema: *804 + '500': &810 description: Internal server error content: application/json: - schema: *800 + schema: *804 application/scim+json: - schema: *800 + schema: *804 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -116938,7 +117107,7 @@ paths: required: true content: application/json: - schema: &810 + schema: &814 type: object required: - schemas @@ -116998,9 +117167,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *802 + schema: *806 examples: - group: &808 + group: &812 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -117019,13 +117188,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 - '400': *803 - '401': *801 - '403': *804 - '409': &811 + '400': *807 + '401': *805 + '403': *808 + '409': &815 description: Duplicate record detected - '429': *805 - '500': *806 + '429': *809 + '500': *810 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -117042,7 +117211,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &809 + - &813 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -117050,22 +117219,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *807 + - *811 - *41 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *802 + schema: *806 examples: - default: *808 - '400': *803 - '401': *801 - '403': *804 + default: *812 + '400': *807 + '401': *805 + '403': *808 '404': *6 - '429': *805 - '500': *806 + '429': *809 + '500': *810 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -117084,13 +117253,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *809 + - *813 - *41 requestBody: required: true content: application/json: - schema: *810 + schema: *814 examples: group: summary: Group @@ -117116,17 +117285,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *802 + schema: *806 examples: - group: *808 - groupWithMembers: *808 - '400': *803 - '401': *801 - '403': *804 + group: *812 + groupWithMembers: *812 + '400': *807 + '401': *805 + '403': *808 '404': *6 - '409': *811 - '429': *805 - '500': *806 + '409': *815 + '429': *809 + '500': *810 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -117150,13 +117319,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *809 + - *813 - *41 requestBody: required: true content: application/json: - schema: &821 + schema: &825 type: object required: - Operations @@ -117216,17 +117385,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *802 + schema: *806 examples: - updateGroup: *808 - addMembers: *808 - '400': *803 - '401': *801 - '403': *804 + updateGroup: *812 + addMembers: *812 + '400': *807 + '401': *805 + '403': *808 '404': *6 - '409': *811 - '429': *805 - '500': *806 + '409': *815 + '429': *809 + '500': *810 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -117242,17 +117411,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *809 + - *813 - *41 responses: '204': description: Group was deleted, no content - '400': *803 - '401': *801 - '403': *804 + '400': *807 + '401': *805 + '403': *808 '404': *6 - '429': *805 - '500': *806 + '429': *809 + '500': *810 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -117286,8 +117455,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *812 - - *813 + - *816 + - *817 - *41 responses: '200': @@ -117320,7 +117489,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &816 + items: &820 allOf: - type: object required: @@ -117399,7 +117568,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &815 + roles: &819 type: array description: The roles assigned to the user. items: @@ -117455,7 +117624,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *814 + meta: *818 startIndex: type: integer description: A starting index for the returned page @@ -117492,11 +117661,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *803 - '401': *801 - '403': *804 - '429': *805 - '500': *806 + '400': *807 + '401': *805 + '403': *808 + '429': *809 + '500': *810 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -117520,7 +117689,7 @@ paths: required: true content: application/json: - schema: &819 + schema: &823 type: object required: - schemas @@ -117602,9 +117771,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *815 + roles: *819 examples: - user: &820 + user: &824 summary: User value: schemas: @@ -117651,9 +117820,9 @@ paths: description: User has been created content: application/scim+json: - schema: *816 + schema: *820 examples: - user: &817 + user: &821 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -117679,13 +117848,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Users/7fce0092-d52e-4f76-b727-3955bd72c939 - enterpriseOwner: *817 - '400': *803 - '401': *801 - '403': *804 - '409': *811 - '429': *805 - '500': *806 + enterpriseOwner: *821 + '400': *807 + '401': *805 + '403': *808 + '409': *815 + '429': *809 + '500': *810 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -117702,7 +117871,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &818 + - &822 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -117715,15 +117884,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *816 + schema: *820 examples: - default: *817 - '400': *803 - '401': *801 - '403': *804 + default: *821 + '400': *807 + '401': *805 + '403': *808 '404': *6 - '429': *805 - '500': *806 + '429': *809 + '500': *810 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -117774,30 +117943,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *818 + - *822 - *41 requestBody: required: true content: application/json: - schema: *819 + schema: *823 examples: - user: *820 + user: *824 responses: '200': description: User was updated content: application/scim+json: - schema: *816 + schema: *820 examples: - user: *817 - '400': *803 - '401': *801 - '403': *804 + user: *821 + '400': *807 + '401': *805 + '403': *808 '404': *6 - '409': *811 - '429': *805 - '500': *806 + '409': *815 + '429': *809 + '500': *810 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -117838,13 +118007,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *818 + - *822 - *41 requestBody: required: true content: application/json: - schema: *821 + schema: *825 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -117884,18 +118053,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *816 + schema: *820 examples: - userMultiValuedProperties: *817 - userSingleValuedProperties: *817 - disableUser: *817 - '400': *803 - '401': *801 - '403': *804 + userMultiValuedProperties: *821 + userSingleValuedProperties: *821 + disableUser: *821 + '400': *807 + '401': *805 + '403': *808 '404': *6 - '409': *811 - '429': *805 - '500': *806 + '409': *815 + '429': *809 + '500': *810 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -117915,17 +118084,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *818 + - *822 - *41 responses: '204': description: User was deleted, no content - '400': *803 - '401': *801 - '403': *804 + '400': *807 + '401': *805 + '403': *808 '404': *6 - '429': *805 - '500': *806 + '429': *809 + '500': *810 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -118012,7 +118181,7 @@ paths: example: 1 Resources: type: array - items: &822 + items: &826 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -118243,22 +118412,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *37 - '404': &823 + '404': &827 description: Resource not found content: application/json: - schema: *800 + schema: *804 application/scim+json: - schema: *800 - '403': &824 + schema: *804 + '403': &828 description: Forbidden content: application/json: - schema: *800 + schema: *804 application/scim+json: - schema: *800 - '400': *803 - '429': *805 + schema: *804 + '400': *807 + '429': *809 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -118284,9 +118453,9 @@ paths: description: Response content: application/scim+json: - schema: *822 + schema: *826 examples: - default: &825 + default: &829 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -118309,17 +118478,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *37 - '404': *823 - '403': *824 - '500': *806 + '404': *827 + '403': *828 + '500': *810 '409': description: Conflict content: application/json: - schema: *800 + schema: *804 application/scim+json: - schema: *800 - '400': *803 + schema: *804 + '400': *807 requestBody: required: true content: @@ -118417,17 +118586,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *89 - - *818 + - *822 responses: '200': description: Response content: application/scim+json: - schema: *822 + schema: *826 examples: - default: *825 - '404': *823 - '403': *824 + default: *829 + '404': *827 + '403': *828 '304': *37 x-github: githubCloudOnly: true @@ -118451,18 +118620,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#update-a-provisioned-organization-membership parameters: - *89 - - *818 + - *822 responses: '200': description: Response content: application/scim+json: - schema: *822 + schema: *826 examples: - default: *825 + default: *829 '304': *37 - '404': *823 - '403': *824 + '404': *827 + '403': *828 requestBody: required: true content: @@ -118575,19 +118744,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *89 - - *818 + - *822 responses: '200': description: Response content: application/scim+json: - schema: *822 + schema: *826 examples: - default: *825 + default: *829 '304': *37 - '404': *823 - '403': *824 - '400': *803 + '404': *827 + '403': *828 + '400': *807 '429': description: Response content: @@ -118678,12 +118847,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *89 - - *818 + - *822 responses: '204': description: Response - '404': *823 - '403': *824 + '404': *827 + '403': *828 '304': *37 x-github: githubCloudOnly: true @@ -118819,7 +118988,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &826 + text_matches: &830 title: Search Result Text Matches type: array items: @@ -118982,7 +119151,7 @@ paths: enum: - author-date - committer-date - - &827 + - &831 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -119110,7 +119279,7 @@ paths: type: number node_id: type: string - text_matches: *826 + text_matches: *830 required: - sha - node_id @@ -119303,7 +119472,7 @@ paths: - interactions - created - updated - - *827 + - *831 - *17 - *19 - name: advanced_search @@ -119417,11 +119586,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *828 - issue_dependencies_summary: *829 + sub_issues_summary: *832 + issue_dependencies_summary: *833 issue_field_values: type: array - items: *695 + items: *696 state: type: string state_reason: @@ -119446,7 +119615,7 @@ paths: type: string format: date-time nullable: true - text_matches: *826 + text_matches: *830 pull_request: type: object properties: @@ -119726,7 +119895,7 @@ paths: enum: - created - updated - - *827 + - *831 - *17 - *19 responses: @@ -119770,7 +119939,7 @@ paths: nullable: true score: type: number - text_matches: *826 + text_matches: *830 required: - id - node_id @@ -119856,7 +120025,7 @@ paths: - forks - help-wanted-issues - updated - - *827 + - *831 - *17 - *19 responses: @@ -120104,7 +120273,7 @@ paths: - admin - pull - push - text_matches: *826 + text_matches: *830 temp_clone_token: type: string allow_merge_commit: @@ -120405,7 +120574,7 @@ paths: type: string format: uri nullable: true - text_matches: *826 + text_matches: *830 related: type: array nullable: true @@ -120598,7 +120767,7 @@ paths: - followers - repositories - joined - - *827 + - *831 - *17 - *19 responses: @@ -120702,7 +120871,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *826 + text_matches: *830 blog: type: string nullable: true @@ -120781,7 +120950,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#get-a-team-legacy parameters: - - &830 + - &834 name: team_id description: The unique identifier of the team. in: path @@ -120822,7 +120991,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#update-a-team-legacy parameters: - - *830 + - *834 requestBody: required: true content: @@ -120922,7 +121091,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#delete-a-team-legacy parameters: - - *830 + - *834 responses: '204': description: Response @@ -120951,7 +121120,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *830 + - *834 - *17 - *19 responses: @@ -120989,7 +121158,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-team-members-legacy parameters: - - *830 + - *834 - name: role description: Filters members returned by their role in the team. in: query @@ -121040,7 +121209,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-member-legacy parameters: - - *830 + - *834 - *148 responses: '204': @@ -121077,7 +121246,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-team-member-legacy parameters: - - *830 + - *834 - *148 responses: '204': @@ -121117,7 +121286,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-member-legacy parameters: - - *830 + - *834 - *148 responses: '204': @@ -121154,7 +121323,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *830 + - *834 - *148 responses: '200': @@ -121163,7 +121332,7 @@ paths: application/json: schema: *490 examples: - response-if-user-is-a-team-maintainer: *831 + response-if-user-is-a-team-maintainer: *835 '404': *6 x-github: githubCloudOnly: false @@ -121196,7 +121365,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *830 + - *834 - *148 requestBody: required: false @@ -121224,7 +121393,7 @@ paths: application/json: schema: *490 examples: - response-if-users-membership-with-team-is-now-pending: *832 + response-if-users-membership-with-team-is-now-pending: *836 '403': description: Forbidden if team synchronization is set up '422': @@ -121258,7 +121427,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *830 + - *834 - *148 responses: '204': @@ -121286,7 +121455,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-team-repositories-legacy parameters: - - *830 + - *834 - *17 - *19 responses: @@ -121328,7 +121497,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *830 + - *834 - *491 - *492 responses: @@ -121336,7 +121505,7 @@ paths: description: Alternative response with extra repository information content: application/json: - schema: *833 + schema: *837 examples: alternative-response-with-extra-repository-information: value: @@ -121486,7 +121655,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *830 + - *834 - *491 - *492 requestBody: @@ -121538,7 +121707,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *830 + - *834 - *491 - *492 responses: @@ -121569,7 +121738,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#list-idp-groups-for-a-team-legacy parameters: - - *830 + - *834 responses: '200': description: Response @@ -121604,7 +121773,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#create-or-update-idp-group-connections-legacy parameters: - - *830 + - *834 requestBody: required: true content: @@ -121692,7 +121861,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-child-teams-legacy parameters: - - *830 + - *834 - *17 - *19 responses: @@ -121704,7 +121873,7 @@ paths: type: array items: *325 examples: - response-if-child-teams-exist: *834 + response-if-child-teams-exist: *838 headers: Link: *47 '404': *6 @@ -121737,7 +121906,7 @@ paths: application/json: schema: oneOf: - - &835 + - &839 title: Private User description: Private User type: object @@ -121940,7 +122109,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - &861 + - &865 title: Public User description: Public User type: object @@ -122252,7 +122421,7 @@ paths: description: Response content: application/json: - schema: *835 + schema: *839 examples: default: value: @@ -122650,7 +122819,7 @@ paths: type: integer secrets: type: array - items: &836 + items: &840 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -122766,7 +122935,7 @@ paths: description: Response content: application/json: - schema: *836 + schema: *840 examples: default: value: @@ -123179,7 +123348,7 @@ paths: description: Response content: application/json: - schema: &837 + schema: &841 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -123220,7 +123389,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &838 + default: &842 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -123265,9 +123434,9 @@ paths: description: Response content: application/json: - schema: *837 + schema: *841 examples: - default: *838 + default: *842 '404': *6 x-github: githubCloudOnly: false @@ -123304,9 +123473,9 @@ paths: type: integer machines: type: array - items: *839 + items: *843 examples: - default: *840 + default: *844 '304': *37 '500': *40 '401': *25 @@ -124245,7 +124414,7 @@ paths: type: array items: *416 examples: - default: &851 + default: &855 value: - id: 197 name: hello_docker @@ -124346,7 +124515,7 @@ paths: application/json: schema: type: array - items: &841 + items: &845 title: Email description: Email type: object @@ -124411,9 +124580,9 @@ paths: application/json: schema: type: array - items: *841 + items: *845 examples: - default: &853 + default: &857 value: - email: octocat@github.com verified: true @@ -124488,7 +124657,7 @@ paths: application/json: schema: type: array - items: *841 + items: *845 examples: default: value: @@ -124744,7 +124913,7 @@ paths: application/json: schema: type: array - items: &842 + items: &846 title: GPG Key description: A unique encryption key type: object @@ -124875,7 +125044,7 @@ paths: - subkeys - revoked examples: - default: &871 + default: &875 value: - id: 3 name: Octocat's GPG Key @@ -124960,9 +125129,9 @@ paths: description: Response content: application/json: - schema: *842 + schema: *846 examples: - default: &843 + default: &847 value: id: 3 name: Octocat's GPG Key @@ -125019,7 +125188,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &844 + - &848 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -125031,9 +125200,9 @@ paths: description: Response content: application/json: - schema: *842 + schema: *846 examples: - default: *843 + default: *847 '404': *6 '304': *37 '403': *29 @@ -125056,7 +125225,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *844 + - *848 responses: '204': description: Response @@ -125523,7 +125692,7 @@ paths: application/json: schema: type: array - items: &845 + items: &849 title: Key description: Key type: object @@ -125624,9 +125793,9 @@ paths: description: Response content: application/json: - schema: *845 + schema: *849 examples: - default: &846 + default: &850 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -125659,15 +125828,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *715 + - *719 responses: '200': description: Response content: application/json: - schema: *845 + schema: *849 examples: - default: *846 + default: *850 '404': *6 '304': *37 '403': *29 @@ -125690,7 +125859,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *715 + - *719 responses: '204': description: Response @@ -125723,7 +125892,7 @@ paths: application/json: schema: type: array - items: &847 + items: &851 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -125791,7 +125960,7 @@ paths: - account - plan examples: - default: &848 + default: &852 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -125853,9 +126022,9 @@ paths: application/json: schema: type: array - items: *847 + items: *851 examples: - default: *848 + default: *852 headers: Link: *47 '304': *37 @@ -126864,7 +127033,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#unlock-a-user-repository parameters: - *411 - - *849 + - *853 responses: '204': description: Response @@ -126977,7 +127146,7 @@ paths: - docker - nuget - container - - *850 + - *854 - *19 - *17 responses: @@ -126989,8 +127158,8 @@ paths: type: array items: *416 examples: - default: *851 - '400': *852 + default: *855 + '400': *856 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -127019,7 +127188,7 @@ paths: application/json: schema: *416 examples: - default: &872 + default: &876 value: id: 40201 name: octo-name @@ -127381,9 +127550,9 @@ paths: application/json: schema: type: array - items: *841 + items: *845 examples: - default: *853 + default: *857 headers: Link: *47 '304': *37 @@ -127496,7 +127665,7 @@ paths: type: array items: *80 examples: - default: &860 + default: &864 summary: Default response value: - id: 1296269 @@ -127843,7 +128012,7 @@ paths: type: array items: *681 examples: - default: *854 + default: *858 headers: Link: *47 '304': *37 @@ -127923,7 +128092,7 @@ paths: application/json: schema: type: array - items: &855 + items: &859 title: Social account description: Social media account type: object @@ -127938,7 +128107,7 @@ paths: - provider - url examples: - default: &856 + default: &860 value: - provider: twitter url: https://twitter.com/github @@ -128000,9 +128169,9 @@ paths: application/json: schema: type: array - items: *855 + items: *859 examples: - default: *856 + default: *860 '422': *15 '304': *37 '404': *6 @@ -128089,7 +128258,7 @@ paths: application/json: schema: type: array - items: &857 + items: &861 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -128109,7 +128278,7 @@ paths: - title - created_at examples: - default: &886 + default: &890 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -128173,9 +128342,9 @@ paths: description: Response content: application/json: - schema: *857 + schema: *861 examples: - default: &858 + default: &862 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -128205,7 +128374,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &859 + - &863 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -128217,9 +128386,9 @@ paths: description: Response content: application/json: - schema: *857 + schema: *861 examples: - default: *858 + default: *862 '404': *6 '304': *37 '403': *29 @@ -128242,7 +128411,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *859 + - *863 responses: '204': description: Response @@ -128271,7 +128440,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &887 + - &891 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -128296,11 +128465,11 @@ paths: type: array items: *80 examples: - default-response: *860 + default-response: *864 application/vnd.github.v3.star+json: schema: type: array - items: &888 + items: &892 title: Starred Repository description: Starred Repository type: object @@ -128669,10 +128838,10 @@ paths: application/json: schema: oneOf: - - *835 - - *861 + - *839 + - *865 examples: - default-response: &865 + default-response: &869 summary: Default response value: login: octocat @@ -128707,7 +128876,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &866 + response-with-git-hub-plan-information: &870 summary: Response with GitHub plan information value: login: octocat @@ -128764,7 +128933,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &863 + - &867 name: user_id description: The unique identifier of the user. in: path @@ -128830,7 +128999,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#list-users parameters: - - *862 + - *866 - *17 responses: '200': @@ -128865,7 +129034,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *863 + - *867 - *434 requestBody: required: true @@ -128937,7 +129106,7 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *864 + schema: *868 examples: table_view: summary: Response for creating a table view @@ -128989,11 +129158,11 @@ paths: application/json: schema: oneOf: - - *835 - - *861 + - *839 + - *865 examples: - default-response: *865 - response-with-git-hub-plan-information: *866 + default-response: *869 + response-with-git-hub-plan-information: *870 '404': *6 x-github: githubCloudOnly: false @@ -129043,8 +129212,8 @@ paths: required: - subject_digests examples: - default: *867 - withPredicateType: *868 + default: *871 + withPredicateType: *872 responses: '200': description: Response @@ -129083,7 +129252,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *869 + default: *873 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -129553,7 +129722,7 @@ paths: application/json: schema: *340 examples: - default: &870 + default: &874 summary: Example response for a user copilot space value: id: 42 @@ -129654,7 +129823,7 @@ paths: application/json: schema: *340 examples: - default: *870 + default: *874 '403': *29 '404': *6 x-github: @@ -129777,7 +129946,7 @@ paths: application/json: schema: *340 examples: - default: *870 + default: *874 '403': *29 '404': *6 '422': *15 @@ -130545,7 +130714,7 @@ paths: type: array items: *416 examples: - default: *851 + default: *855 '403': *29 '401': *25 x-github: @@ -130929,9 +131098,9 @@ paths: application/json: schema: type: array - items: *842 + items: *846 examples: - default: *871 + default: *875 headers: Link: *47 x-github: @@ -131159,7 +131328,7 @@ paths: - docker - nuget - container - - *850 + - *854 - *148 - *19 - *17 @@ -131172,10 +131341,10 @@ paths: type: array items: *416 examples: - default: *851 + default: *855 '403': *29 '401': *25 - '400': *852 + '400': *856 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -131205,7 +131374,7 @@ paths: application/json: schema: *416 examples: - default: *872 + default: *876 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -131554,7 +131723,7 @@ paths: type: array items: *438 examples: - default: *873 + default: *877 headers: Link: *47 '304': *37 @@ -131614,7 +131783,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *874 + items: *878 required: - name - data_type @@ -131630,7 +131799,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *875 + iteration_configuration: *879 required: - name - data_type @@ -131652,8 +131821,8 @@ paths: value: name: Due date data_type: date - single_select_field: *876 - iteration_field: *877 + single_select_field: *880 + iteration_field: *881 responses: '201': description: Response @@ -131661,11 +131830,11 @@ paths: application/json: schema: *438 examples: - text_field: *878 - number_field: *879 - date_field: *880 - single_select_field: *881 - iteration_field: *882 + text_field: *882 + number_field: *883 + date_field: *884 + single_select_field: *885 + iteration_field: *886 '304': *37 '403': *29 '401': *25 @@ -131687,7 +131856,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#get-project-field-for-user parameters: - *434 - - *883 + - *887 - *148 responses: '200': @@ -131696,7 +131865,7 @@ paths: application/json: schema: *438 examples: - default: *884 + default: *888 headers: Link: *47 '304': *37 @@ -132050,7 +132219,7 @@ paths: parameters: - *434 - *148 - - *885 + - *889 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -132329,9 +132498,9 @@ paths: application/json: schema: type: array - items: *855 + items: *859 examples: - default: *856 + default: *860 headers: Link: *47 x-github: @@ -132361,9 +132530,9 @@ paths: application/json: schema: type: array - items: *857 + items: *861 examples: - default: *886 + default: *890 headers: Link: *47 x-github: @@ -132388,7 +132557,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *148 - - *887 + - *891 - *112 - *17 - *19 @@ -132400,11 +132569,11 @@ paths: schema: anyOf: - type: array - items: *888 + items: *892 - type: array items: *80 examples: - default-response: *860 + default-response: *864 headers: Link: *47 x-github: @@ -132563,7 +132732,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &889 + enterprise: &893 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -132621,7 +132790,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &890 + installation: &894 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -132640,7 +132809,7 @@ x-webhooks: required: - id - node_id - organization: &891 + organization: &895 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -132700,13 +132869,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &892 + repository: &896 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &931 + properties: &935 id: description: Unique identifier of the repository example: 42 @@ -133390,7 +133559,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &932 + required: &936 - archive_url - assignees_url - blobs_url @@ -133541,10 +133710,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -133620,11 +133789,11 @@ x-webhooks: type: string enum: - created - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 - rule: &893 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 + rule: &897 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-cloud@latest/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -133847,11 +134016,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 - rule: *893 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 + rule: *897 sender: *4 required: - action @@ -134034,11 +134203,11 @@ x-webhooks: - everyone required: - from - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 - rule: *893 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 + rule: *897 sender: *4 required: - action @@ -134111,7 +134280,7 @@ x-webhooks: required: true content: application/json: - schema: &915 + schema: &919 title: Exemption request cancellation event type: object properties: @@ -134119,11 +134288,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 - exemption_request: &894 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 + exemption_request: &898 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -134427,7 +134596,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &895 + items: &899 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -134537,7 +134706,7 @@ x-webhooks: required: true content: application/json: - schema: &916 + schema: &920 title: Exemption request completed event type: object properties: @@ -134545,11 +134714,11 @@ x-webhooks: type: string enum: - completed - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 - exemption_request: *894 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 + exemption_request: *898 sender: *4 required: - action @@ -134621,7 +134790,7 @@ x-webhooks: required: true content: application/json: - schema: &913 + schema: &917 title: Exemption request created event type: object properties: @@ -134629,11 +134798,11 @@ x-webhooks: type: string enum: - created - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 - exemption_request: *894 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 + exemption_request: *898 sender: *4 required: - action @@ -134705,7 +134874,7 @@ x-webhooks: required: true content: application/json: - schema: &917 + schema: &921 title: Exemption response dismissed event type: object properties: @@ -134713,12 +134882,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 - exemption_request: *894 - exemption_response: *895 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 + exemption_request: *898 + exemption_response: *899 sender: *4 required: - action @@ -134792,7 +134961,7 @@ x-webhooks: required: true content: application/json: - schema: &914 + schema: &918 title: Exemption response submitted event type: object properties: @@ -134800,12 +134969,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 - exemption_request: *894 - exemption_response: *895 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 + exemption_request: *898 + exemption_response: *899 sender: *4 required: - action @@ -134889,7 +135058,7 @@ x-webhooks: type: string enum: - completed - check_run: &897 + check_run: &901 title: CheckRun description: A check performed on the code of a given code change type: object @@ -134980,7 +135149,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *896 + deployment: *900 details_url: example: https://example.com type: string @@ -135065,10 +135234,10 @@ x-webhooks: - output - app - pull_requests - installation: *890 - enterprise: *889 - organization: *891 - repository: *892 + installation: *894 + enterprise: *893 + organization: *895 + repository: *896 sender: *4 required: - check_run @@ -135459,11 +135628,11 @@ x-webhooks: type: string enum: - created - check_run: *897 - installation: *890 - enterprise: *889 - organization: *891 - repository: *892 + check_run: *901 + installation: *894 + enterprise: *893 + organization: *895 + repository: *896 sender: *4 required: - check_run @@ -135857,11 +136026,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *897 - installation: *890 - enterprise: *889 - organization: *891 - repository: *892 + check_run: *901 + installation: *894 + enterprise: *893 + organization: *895 + repository: *896 requested_action: description: The action requested by the user. type: object @@ -136264,11 +136433,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *897 - installation: *890 - enterprise: *889 - organization: *891 - repository: *892 + check_run: *901 + installation: *894 + enterprise: *893 + organization: *895 + repository: *896 sender: *4 required: - check_run @@ -137238,10 +137407,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -137940,10 +138109,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -138636,10 +138805,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -138950,20 +139119,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &898 + commit_oid: &902 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *889 - installation: *890 - organization: *891 - ref: &899 + enterprise: *893 + installation: *894 + organization: *895 + ref: &903 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *892 + repository: *896 sender: *4 required: - action @@ -139358,12 +139527,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *898 - enterprise: *889 - installation: *890 - organization: *891 - ref: *899 - repository: *892 + commit_oid: *902 + enterprise: *893 + installation: *894 + organization: *895 + ref: *903 + repository: *896 sender: *4 required: - action @@ -139629,12 +139798,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *898 - enterprise: *889 - installation: *890 - organization: *891 - ref: *899 - repository: *892 + commit_oid: *902 + enterprise: *893 + installation: *894 + organization: *895 + ref: *903 + repository: *896 sender: *4 required: - action @@ -139966,12 +140135,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *898 - enterprise: *889 - installation: *890 - organization: *891 - ref: *899 - repository: *892 + commit_oid: *902 + enterprise: *893 + installation: *894 + organization: *895 + ref: *903 + repository: *896 sender: *4 required: - action @@ -140245,16 +140414,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *889 - installation: *890 - organization: *891 + enterprise: *893 + installation: *894 + organization: *895 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *892 + repository: *896 sender: *4 required: - action @@ -140491,12 +140660,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *898 - enterprise: *889 - installation: *890 - organization: *891 - ref: *899 - repository: *892 + commit_oid: *902 + enterprise: *893 + installation: *894 + organization: *895 + ref: *903 + repository: *896 sender: *4 required: - action @@ -140807,10 +140976,10 @@ x-webhooks: - dismissed_reason - rule - tool - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -141065,10 +141234,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -141148,18 +141317,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *889 - installation: *890 + enterprise: *893 + installation: *894 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *891 - pusher_type: &900 + organization: *895 + pusher_type: &904 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &901 + ref: &905 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest/rest/git/refs#get-a-reference) resource. type: string @@ -141169,7 +141338,7 @@ x-webhooks: enum: - tag - branch - repository: *892 + repository: *896 sender: *4 required: - ref @@ -141252,9 +141421,9 @@ x-webhooks: enum: - created definition: *161 - enterprise: *889 - installation: *890 - organization: *891 + enterprise: *893 + installation: *894 + organization: *895 sender: *4 required: - action @@ -141339,9 +141508,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *889 - installation: *890 - organization: *891 + enterprise: *893 + installation: *894 + organization: *895 sender: *4 required: - action @@ -141419,9 +141588,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *161 - enterprise: *889 - installation: *890 - organization: *891 + enterprise: *893 + installation: *894 + organization: *895 sender: *4 required: - action @@ -141499,9 +141668,9 @@ x-webhooks: enum: - updated definition: *161 - enterprise: *889 - installation: *890 - organization: *891 + enterprise: *893 + installation: *894 + organization: *895 sender: *4 required: - action @@ -141578,10 +141747,10 @@ x-webhooks: type: string enum: - updated - enterprise: *889 - installation: *890 - repository: *892 - organization: *891 + enterprise: *893 + installation: *894 + repository: *896 + organization: *895 sender: *4 new_property_values: type: array @@ -141666,18 +141835,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *889 - installation: *890 - organization: *891 - pusher_type: *900 - ref: *901 + enterprise: *893 + installation: *894 + organization: *895 + pusher_type: *904 + ref: *905 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *892 + repository: *896 sender: *4 required: - ref @@ -141758,10 +141927,10 @@ x-webhooks: enum: - assignees_changed alert: *630 - installation: *890 - organization: *891 - enterprise: *889 - repository: *892 + installation: *894 + organization: *895 + enterprise: *893 + repository: *896 sender: *4 required: - action @@ -141842,10 +142011,10 @@ x-webhooks: enum: - auto_dismissed alert: *630 - installation: *890 - organization: *891 - enterprise: *889 - repository: *892 + installation: *894 + organization: *895 + enterprise: *893 + repository: *896 sender: *4 required: - action @@ -141927,10 +142096,10 @@ x-webhooks: enum: - auto_reopened alert: *630 - installation: *890 - organization: *891 - enterprise: *889 - repository: *892 + installation: *894 + organization: *895 + enterprise: *893 + repository: *896 sender: *4 required: - action @@ -142012,10 +142181,10 @@ x-webhooks: enum: - created alert: *630 - installation: *890 - organization: *891 - enterprise: *889 - repository: *892 + installation: *894 + organization: *895 + enterprise: *893 + repository: *896 sender: *4 required: - action @@ -142095,10 +142264,10 @@ x-webhooks: enum: - dismissed alert: *630 - installation: *890 - organization: *891 - enterprise: *889 - repository: *892 + installation: *894 + organization: *895 + enterprise: *893 + repository: *896 sender: *4 required: - action @@ -142178,10 +142347,10 @@ x-webhooks: enum: - fixed alert: *630 - installation: *890 - organization: *891 - enterprise: *889 - repository: *892 + installation: *894 + organization: *895 + enterprise: *893 + repository: *896 sender: *4 required: - action @@ -142262,10 +142431,10 @@ x-webhooks: enum: - reintroduced alert: *630 - installation: *890 - organization: *891 - enterprise: *889 - repository: *892 + installation: *894 + organization: *895 + enterprise: *893 + repository: *896 sender: *4 required: - action @@ -142345,10 +142514,10 @@ x-webhooks: enum: - reopened alert: *630 - installation: *890 - organization: *891 - enterprise: *889 - repository: *892 + installation: *894 + organization: *895 + enterprise: *893 + repository: *896 sender: *4 required: - action @@ -142425,9 +142594,9 @@ x-webhooks: type: string enum: - created - enterprise: *889 - installation: *890 - key: &902 + enterprise: *893 + installation: *894 + key: &906 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -142463,8 +142632,8 @@ x-webhooks: - verified - created_at - read_only - organization: *891 - repository: *892 + organization: *895 + repository: *896 sender: *4 required: - action @@ -142541,11 +142710,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *889 - installation: *890 - key: *902 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + key: *906 + organization: *895 + repository: *896 sender: *4 required: - action @@ -143101,12 +143270,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 - workflow: &908 + workflow: &912 title: Workflow type: object nullable: true @@ -143847,15 +144016,15 @@ x-webhooks: description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: *903 - required: *904 + properties: *907 + required: *908 nullable: true pull_requests: type: array - items: *736 - repository: *892 - organization: *891 - installation: *890 + items: *740 + repository: *896 + organization: *895 + installation: *894 sender: *4 responses: '200': @@ -143926,7 +144095,7 @@ x-webhooks: type: string enum: - approved - approver: &905 + approver: &909 type: object properties: avatar_url: @@ -143969,11 +144138,11 @@ x-webhooks: type: string comment: type: string - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 - reviewers: &906 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 + reviewers: &910 type: array items: type: object @@ -144052,7 +144221,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &907 + workflow_job_run: &911 type: object properties: conclusion: @@ -144783,18 +144952,18 @@ x-webhooks: type: string enum: - rejected - approver: *905 + approver: *909 comment: type: string - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 - reviewers: *906 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 + reviewers: *910 sender: *4 since: type: string - workflow_job_run: *907 + workflow_job_run: *911 workflow_job_runs: type: array items: @@ -145498,13 +145667,13 @@ x-webhooks: type: string enum: - requested - enterprise: *889 + enterprise: *893 environment: type: string - installation: *890 - organization: *891 - repository: *892 - requestor: &918 + installation: *894 + organization: *895 + repository: *896 + requestor: &922 title: User type: object nullable: true @@ -147393,12 +147562,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 - workflow: *908 + workflow: *912 workflow_run: title: Deployment Workflow Run type: object @@ -148078,7 +148247,7 @@ x-webhooks: type: string enum: - answered - answer: &911 + answer: &915 type: object properties: author_association: @@ -148235,11 +148404,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *909 - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + discussion: *913 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -148366,11 +148535,11 @@ x-webhooks: - from required: - category - discussion: *909 - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + discussion: *913 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -148453,11 +148622,11 @@ x-webhooks: type: string enum: - closed - discussion: *909 - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + discussion: *913 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -148539,7 +148708,7 @@ x-webhooks: type: string enum: - created - comment: &910 + comment: &914 type: object properties: author_association: @@ -148696,11 +148865,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *909 - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + discussion: *913 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -148783,12 +148952,12 @@ x-webhooks: type: string enum: - deleted - comment: *910 - discussion: *909 - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + comment: *914 + discussion: *913 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -148883,12 +149052,12 @@ x-webhooks: - from required: - body - comment: *910 - discussion: *909 - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + comment: *914 + discussion: *913 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -148972,11 +149141,11 @@ x-webhooks: type: string enum: - created - discussion: *909 - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + discussion: *913 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -149058,11 +149227,11 @@ x-webhooks: type: string enum: - deleted - discussion: *909 - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + discussion: *913 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -149162,11 +149331,11 @@ x-webhooks: type: string required: - from - discussion: *909 - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + discussion: *913 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -149248,10 +149417,10 @@ x-webhooks: type: string enum: - labeled - discussion: *909 - enterprise: *889 - installation: *890 - label: &912 + discussion: *913 + enterprise: *893 + installation: *894 + label: &916 title: Label type: object properties: @@ -149283,8 +149452,8 @@ x-webhooks: - color - default - description - organization: *891 - repository: *892 + organization: *895 + repository: *896 sender: *4 required: - action @@ -149367,11 +149536,11 @@ x-webhooks: type: string enum: - locked - discussion: *909 - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + discussion: *913 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -149453,11 +149622,11 @@ x-webhooks: type: string enum: - pinned - discussion: *909 - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + discussion: *913 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -149539,11 +149708,11 @@ x-webhooks: type: string enum: - reopened - discussion: *909 - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + discussion: *913 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -149628,16 +149797,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *909 - new_repository: *892 + new_discussion: *913 + new_repository: *896 required: - new_discussion - new_repository - discussion: *909 - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + discussion: *913 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -149720,10 +149889,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *909 - old_answer: *911 - organization: *891 - repository: *892 + discussion: *913 + old_answer: *915 + organization: *895 + repository: *896 sender: *4 required: - action @@ -149805,12 +149974,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *909 - enterprise: *889 - installation: *890 - label: *912 - organization: *891 - repository: *892 + discussion: *913 + enterprise: *893 + installation: *894 + label: *916 + organization: *895 + repository: *896 sender: *4 required: - action @@ -149893,11 +150062,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *909 - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + discussion: *913 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -149979,11 +150148,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *909 - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + discussion: *913 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -150052,7 +150221,7 @@ x-webhooks: required: true content: application/json: - schema: *913 + schema: *917 responses: '200': description: Return a 200 status to indicate that the data was received @@ -150115,7 +150284,7 @@ x-webhooks: required: true content: application/json: - schema: *914 + schema: *918 responses: '200': description: Return a 200 status to indicate that the data was received @@ -150178,7 +150347,7 @@ x-webhooks: required: true content: application/json: - schema: *915 + schema: *919 responses: '200': description: Return a 200 status to indicate that the data was received @@ -150241,7 +150410,7 @@ x-webhooks: required: true content: application/json: - schema: *913 + schema: *917 responses: '200': description: Return a 200 status to indicate that the data was received @@ -150304,7 +150473,7 @@ x-webhooks: required: true content: application/json: - schema: *914 + schema: *918 responses: '200': description: Return a 200 status to indicate that the data was received @@ -150370,7 +150539,7 @@ x-webhooks: required: true content: application/json: - schema: *915 + schema: *919 responses: '200': description: Return a 200 status to indicate that the data was received @@ -150436,7 +150605,7 @@ x-webhooks: required: true content: application/json: - schema: *916 + schema: *920 responses: '200': description: Return a 200 status to indicate that the data was received @@ -150502,7 +150671,7 @@ x-webhooks: required: true content: application/json: - schema: *913 + schema: *917 responses: '200': description: Return a 200 status to indicate that the data was received @@ -150568,7 +150737,7 @@ x-webhooks: required: true content: application/json: - schema: *917 + schema: *921 responses: '200': description: Return a 200 status to indicate that the data was received @@ -150634,7 +150803,7 @@ x-webhooks: required: true content: application/json: - schema: *914 + schema: *918 responses: '200': description: Return a 200 status to indicate that the data was received @@ -150699,7 +150868,7 @@ x-webhooks: required: true content: application/json: - schema: *915 + schema: *919 responses: '200': description: Return a 200 status to indicate that the data was received @@ -150764,7 +150933,7 @@ x-webhooks: required: true content: application/json: - schema: *916 + schema: *920 responses: '200': description: Return a 200 status to indicate that the data was received @@ -150829,7 +150998,7 @@ x-webhooks: required: true content: application/json: - schema: *913 + schema: *917 responses: '200': description: Return a 200 status to indicate that the data was received @@ -150894,7 +151063,7 @@ x-webhooks: required: true content: application/json: - schema: *917 + schema: *921 responses: '200': description: Return a 200 status to indicate that the data was received @@ -150960,7 +151129,7 @@ x-webhooks: required: true content: application/json: - schema: *914 + schema: *918 responses: '200': description: Return a 200 status to indicate that the data was received @@ -151027,7 +151196,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *889 + enterprise: *893 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-a-repository) resource. @@ -151687,9 +151856,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *890 - organization: *891 - repository: *892 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - forkee @@ -151835,9 +152004,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *889 - installation: *890 - organization: *891 + enterprise: *893 + installation: *894 + organization: *895 pages: description: The pages that were updated. type: array @@ -151874,7 +152043,7 @@ x-webhooks: - action - sha - html_url - repository: *892 + repository: *896 sender: *4 required: - pages @@ -151950,10 +152119,10 @@ x-webhooks: type: string enum: - created - enterprise: *889 + enterprise: *893 installation: *22 - organization: *891 - repositories: &919 + organization: *895 + repositories: &923 description: An array of repository objects that the installation can access. type: array @@ -151979,8 +152148,8 @@ x-webhooks: - name - full_name - private - repository: *892 - requester: *918 + repository: *896 + requester: *922 sender: *4 required: - action @@ -152055,11 +152224,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *889 + enterprise: *893 installation: *22 - organization: *891 - repositories: *919 - repository: *892 + organization: *895 + repositories: *923 + repository: *896 requester: nullable: true sender: *4 @@ -152135,11 +152304,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *889 + enterprise: *893 installation: *22 - organization: *891 - repositories: *919 - repository: *892 + organization: *895 + repositories: *923 + repository: *896 requester: nullable: true sender: *4 @@ -152215,10 +152384,10 @@ x-webhooks: type: string enum: - added - enterprise: *889 + enterprise: *893 installation: *22 - organization: *891 - repositories_added: &920 + organization: *895 + repositories_added: &924 description: An array of repository objects, which were added to the installation. type: array @@ -152264,15 +152433,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *892 - repository_selection: &921 + repository: *896 + repository_selection: &925 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *918 + requester: *922 sender: *4 required: - action @@ -152351,10 +152520,10 @@ x-webhooks: type: string enum: - removed - enterprise: *889 + enterprise: *893 installation: *22 - organization: *891 - repositories_added: *920 + organization: *895 + repositories_added: *924 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -152381,9 +152550,9 @@ x-webhooks: - name - full_name - private - repository: *892 - repository_selection: *921 - requester: *918 + repository: *896 + repository_selection: *925 + requester: *922 sender: *4 required: - action @@ -152462,11 +152631,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *889 + enterprise: *893 installation: *22 - organization: *891 - repositories: *919 - repository: *892 + organization: *895 + repositories: *923 + repository: *896 requester: nullable: true sender: *4 @@ -152645,10 +152814,10 @@ x-webhooks: type: string required: - from - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 target_type: type: string @@ -152727,11 +152896,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *889 + enterprise: *893 installation: *22 - organization: *891 - repositories: *919 - repository: *892 + organization: *895 + repositories: *923 + repository: *896 requester: nullable: true sender: *4 @@ -152905,8 +153074,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *711 - required: *712 + properties: *712 + required: *713 nullable: true user: title: User @@ -152991,8 +153160,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *889 - installation: *890 + enterprise: *893 + installation: *894 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -153781,8 +153950,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *828 - issue_dependencies_summary: *829 + sub_issues_summary: *832 + issue_dependencies_summary: *833 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154131,8 +154300,8 @@ x-webhooks: - state - locked - assignee - organization: *891 - repository: *892 + organization: *895 + repository: *896 sender: *4 required: - action @@ -154212,7 +154381,7 @@ x-webhooks: type: string enum: - deleted - comment: &922 + comment: &926 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#get-an-issue-comment) itself. @@ -154369,8 +154538,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *711 - required: *712 + properties: *712 + required: *713 nullable: true required: - url @@ -154385,8 +154554,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *889 - installation: *890 + enterprise: *893 + installation: *894 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -155171,8 +155340,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *828 - issue_dependencies_summary: *829 + sub_issues_summary: *832 + issue_dependencies_summary: *833 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155523,8 +155692,8 @@ x-webhooks: - state - locked - assignee - organization: *891 - repository: *892 + organization: *895 + repository: *896 sender: *4 required: - action @@ -155604,7 +155773,7 @@ x-webhooks: type: string enum: - edited - changes: &951 + changes: &955 description: The changes to the comment. type: object properties: @@ -155616,9 +155785,9 @@ x-webhooks: type: string required: - from - comment: *922 - enterprise: *889 - installation: *890 + comment: *926 + enterprise: *893 + installation: *894 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -156406,8 +156575,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *828 - issue_dependencies_summary: *829 + sub_issues_summary: *832 + issue_dependencies_summary: *833 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156756,8 +156925,8 @@ x-webhooks: - state - locked - assignee - organization: *891 - repository: *892 + organization: *895 + repository: *896 sender: *4 required: - action @@ -156838,9 +157007,9 @@ x-webhooks: type: string enum: - pinned - comment: *922 - enterprise: *889 - installation: *890 + comment: *926 + enterprise: *893 + installation: *894 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -157630,8 +157799,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *828 - issue_dependencies_summary: *829 + sub_issues_summary: *832 + issue_dependencies_summary: *833 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157982,8 +158151,8 @@ x-webhooks: - state - locked - assignee - organization: *891 - repository: *892 + organization: *895 + repository: *896 sender: *4 required: - action @@ -158063,9 +158232,9 @@ x-webhooks: type: string enum: - unpinned - comment: *922 - enterprise: *889 - installation: *890 + comment: *926 + enterprise: *893 + installation: *894 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -158855,8 +159024,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *828 - issue_dependencies_summary: *829 + sub_issues_summary: *832 + issue_dependencies_summary: *833 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159207,8 +159376,8 @@ x-webhooks: - state - locked - assignee - organization: *891 - repository: *892 + organization: *895 + repository: *896 sender: *4 required: - action @@ -159297,9 +159466,9 @@ x-webhooks: type: number blocking_issue: *228 blocking_issue_repo: *80 - installation: *890 - organization: *891 - repository: *892 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -159388,9 +159557,9 @@ x-webhooks: type: number blocking_issue: *228 blocking_issue_repo: *80 - installation: *890 - organization: *891 - repository: *892 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -159478,9 +159647,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *228 - installation: *890 - organization: *891 - repository: *892 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -159569,9 +159738,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *228 - installation: *890 - organization: *891 - repository: *892 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -159651,10 +159820,10 @@ x-webhooks: type: string enum: - assigned - assignee: *918 - enterprise: *889 - installation: *890 - issue: &923 + assignee: *922 + enterprise: *893 + installation: *894 + issue: &927 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -160446,11 +160615,11 @@ x-webhooks: properties: *229 required: *230 nullable: true - sub_issues_summary: *828 - issue_dependencies_summary: *829 + sub_issues_summary: *832 + issue_dependencies_summary: *833 issue_field_values: type: array - items: *695 + items: *696 state: description: State of the issue; either 'open' or 'closed' type: string @@ -160567,8 +160736,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *891 - repository: *892 + organization: *895 + repository: *896 sender: *4 required: - action @@ -160648,8 +160817,8 @@ x-webhooks: type: string enum: - closed - enterprise: *889 - installation: *890 + enterprise: *893 + installation: *894 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -161446,11 +161615,11 @@ x-webhooks: properties: *229 required: *230 nullable: true - sub_issues_summary: *828 - issue_dependencies_summary: *829 + sub_issues_summary: *832 + issue_dependencies_summary: *833 issue_field_values: type: array - items: *695 + items: *696 state: description: State of the issue; either 'open' or 'closed' type: string @@ -161702,8 +161871,8 @@ x-webhooks: required: - state - closed_at - organization: *891 - repository: *892 + organization: *895 + repository: *896 sender: *4 required: - action @@ -161782,8 +161951,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *889 - installation: *890 + enterprise: *893 + installation: *894 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -162571,11 +162740,11 @@ x-webhooks: properties: *229 required: *230 nullable: true - sub_issues_summary: *828 - issue_dependencies_summary: *829 + sub_issues_summary: *832 + issue_dependencies_summary: *833 issue_field_values: type: array - items: *695 + items: *696 state: description: State of the issue; either 'open' or 'closed' type: string @@ -162691,8 +162860,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *891 - repository: *892 + organization: *895 + repository: *896 sender: *4 required: - action @@ -162771,8 +162940,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *889 - installation: *890 + enterprise: *893 + installation: *894 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -163582,11 +163751,11 @@ x-webhooks: properties: *229 required: *230 nullable: true - sub_issues_summary: *828 - issue_dependencies_summary: *829 + sub_issues_summary: *832 + issue_dependencies_summary: *833 issue_field_values: type: array - items: *695 + items: *696 state: description: State of the issue; either 'open' or 'closed' type: string @@ -163681,7 +163850,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &924 + milestone: &928 title: Milestone description: A collection of related issues and pull requests. type: object @@ -163819,8 +163988,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *891 - repository: *892 + organization: *895 + repository: *896 sender: *4 required: - action @@ -163919,8 +164088,8 @@ x-webhooks: type: string required: - from - enterprise: *889 - installation: *890 + enterprise: *893 + installation: *894 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -164712,11 +164881,11 @@ x-webhooks: properties: *229 required: *230 nullable: true - sub_issues_summary: *828 - issue_dependencies_summary: *829 + sub_issues_summary: *832 + issue_dependencies_summary: *833 issue_field_values: type: array - items: *695 + items: *696 state: description: State of the issue; either 'open' or 'closed' type: string @@ -164833,9 +165002,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *912 - organization: *891 - repository: *892 + label: *916 + organization: *895 + repository: *896 sender: *4 required: - action @@ -164915,9 +165084,9 @@ x-webhooks: type: string enum: - field_added - enterprise: *889 - installation: *890 - issue: *923 + enterprise: *893 + installation: *894 + issue: *927 issue_field: type: object description: The issue field whose value was set or updated on the @@ -165071,8 +165240,8 @@ x-webhooks: - id required: - from - organization: *891 - repository: *892 + organization: *895 + repository: *896 sender: *4 required: - action @@ -165152,9 +165321,9 @@ x-webhooks: type: string enum: - field_removed - enterprise: *889 - installation: *890 - issue: *923 + enterprise: *893 + installation: *894 + issue: *927 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -165235,8 +165404,8 @@ x-webhooks: nullable: true required: - id - organization: *891 - repository: *892 + organization: *895 + repository: *896 sender: *4 required: - action @@ -165316,8 +165485,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *889 - installation: *890 + enterprise: *893 + installation: *894 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -166108,11 +166277,11 @@ x-webhooks: properties: *229 required: *230 nullable: true - sub_issues_summary: *828 - issue_dependencies_summary: *829 + sub_issues_summary: *832 + issue_dependencies_summary: *833 issue_field_values: type: array - items: *695 + items: *696 state: description: State of the issue; either 'open' or 'closed' type: string @@ -166229,9 +166398,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *912 - organization: *891 - repository: *892 + label: *916 + organization: *895 + repository: *896 sender: *4 required: - action @@ -166311,8 +166480,8 @@ x-webhooks: type: string enum: - locked - enterprise: *889 - installation: *890 + enterprise: *893 + installation: *894 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -167127,11 +167296,11 @@ x-webhooks: properties: *229 required: *230 nullable: true - sub_issues_summary: *828 - issue_dependencies_summary: *829 + sub_issues_summary: *832 + issue_dependencies_summary: *833 issue_field_values: type: array - items: *695 + items: *696 state: description: State of the issue; either 'open' or 'closed' type: string @@ -167225,8 +167394,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *891 - repository: *892 + organization: *895 + repository: *896 sender: *4 required: - action @@ -167305,8 +167474,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *889 - installation: *890 + enterprise: *893 + installation: *894 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -168115,11 +168284,11 @@ x-webhooks: properties: *229 required: *230 nullable: true - sub_issues_summary: *828 - issue_dependencies_summary: *829 + sub_issues_summary: *832 + issue_dependencies_summary: *833 issue_field_values: type: array - items: *695 + items: *696 state: description: State of the issue; either 'open' or 'closed' type: string @@ -168213,9 +168382,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *924 - organization: *891 - repository: *892 + milestone: *928 + organization: *895 + repository: *896 sender: *4 required: - action @@ -169078,11 +169247,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *828 - issue_dependencies_summary: *829 + sub_issues_summary: *832 + issue_dependencies_summary: *833 issue_field_values: type: array - items: *695 + items: *696 state: description: State of the issue; either 'open' or 'closed' type: string @@ -169663,8 +169832,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *889 - installation: *890 + enterprise: *893 + installation: *894 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -170448,11 +170617,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *828 - issue_dependencies_summary: *829 + sub_issues_summary: *832 + issue_dependencies_summary: *833 issue_field_values: type: array - items: *695 + items: *696 state: description: State of the issue; either 'open' or 'closed' type: string @@ -170576,8 +170745,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *891 - repository: *892 + organization: *895 + repository: *896 sender: *4 required: - action @@ -170657,9 +170826,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *889 - installation: *890 - issue: &925 + enterprise: *893 + installation: *894 + issue: &929 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -171445,11 +171614,11 @@ x-webhooks: properties: *229 required: *230 nullable: true - sub_issues_summary: *828 - issue_dependencies_summary: *829 + sub_issues_summary: *832 + issue_dependencies_summary: *833 issue_field_values: type: array - items: *695 + items: *696 state: description: State of the issue; either 'open' or 'closed' type: string @@ -171565,8 +171734,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *891 - repository: *892 + organization: *895 + repository: *896 sender: *4 required: - action @@ -171645,8 +171814,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *889 - installation: *890 + enterprise: *893 + installation: *894 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -172459,11 +172628,11 @@ x-webhooks: properties: *229 required: *230 nullable: true - sub_issues_summary: *828 - issue_dependencies_summary: *829 + sub_issues_summary: *832 + issue_dependencies_summary: *833 issue_field_values: type: array - items: *695 + items: *696 state: description: State of the issue; either 'open' or 'closed' type: string @@ -172558,8 +172727,8 @@ x-webhooks: user_view_type: type: string type: *400 - organization: *891 - repository: *892 + organization: *895 + repository: *896 sender: *4 required: - action @@ -173428,11 +173597,11 @@ x-webhooks: properties: *229 required: *230 nullable: true - sub_issues_summary: *828 - issue_dependencies_summary: *829 + sub_issues_summary: *832 + issue_dependencies_summary: *833 issue_field_values: type: array - items: *695 + items: *696 state: description: State of the issue; either 'open' or 'closed' type: string @@ -174027,11 +174196,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *889 - installation: *890 - issue: *925 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + issue: *929 + organization: *895 + repository: *896 sender: *4 required: - action @@ -174111,12 +174280,12 @@ x-webhooks: type: string enum: - typed - enterprise: *889 - installation: *890 - issue: *923 + enterprise: *893 + installation: *894 + issue: *927 type: *400 - organization: *891 - repository: *892 + organization: *895 + repository: *896 sender: *4 required: - action @@ -174197,7 +174366,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &954 + assignee: &958 title: User type: object nullable: true @@ -174267,11 +174436,11 @@ x-webhooks: required: - login - id - enterprise: *889 - installation: *890 - issue: *923 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + issue: *927 + organization: *895 + repository: *896 sender: *4 required: - action @@ -174350,12 +174519,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *889 - installation: *890 - issue: *923 - label: *912 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + issue: *927 + label: *916 + organization: *895 + repository: *896 sender: *4 required: - action @@ -174435,8 +174604,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *889 - installation: *890 + enterprise: *893 + installation: *894 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -175249,11 +175418,11 @@ x-webhooks: properties: *229 required: *230 nullable: true - sub_issues_summary: *828 - issue_dependencies_summary: *829 + sub_issues_summary: *832 + issue_dependencies_summary: *833 issue_field_values: type: array - items: *695 + items: *696 state: description: State of the issue; either 'open' or 'closed' type: string @@ -175347,8 +175516,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *891 - repository: *892 + organization: *895 + repository: *896 sender: *4 required: - action @@ -175428,11 +175597,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *889 - installation: *890 - issue: *925 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + issue: *929 + organization: *895 + repository: *896 sender: *4 required: - action @@ -175511,12 +175680,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *889 - installation: *890 - issue: *923 + enterprise: *893 + installation: *894 + issue: *927 type: *400 - organization: *891 - repository: *892 + organization: *895 + repository: *896 sender: *4 required: - action @@ -175596,11 +175765,11 @@ x-webhooks: type: string enum: - created - enterprise: *889 - installation: *890 - label: *912 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + label: *916 + organization: *895 + repository: *896 sender: *4 required: - action @@ -175678,11 +175847,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *889 - installation: *890 - label: *912 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + label: *916 + organization: *895 + repository: *896 sender: *4 required: - action @@ -175792,11 +175961,11 @@ x-webhooks: type: string required: - from - enterprise: *889 - installation: *890 - label: *912 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + label: *916 + organization: *895 + repository: *896 sender: *4 required: - action @@ -175878,9 +176047,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *889 - installation: *890 - marketplace_purchase: &926 + enterprise: *893 + installation: *894 + marketplace_purchase: &930 title: Marketplace Purchase type: object required: @@ -175963,8 +176132,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *891 - previous_marketplace_purchase: &927 + organization: *895 + previous_marketplace_purchase: &931 title: Marketplace Purchase type: object properties: @@ -176044,7 +176213,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *892 + repository: *896 sender: *4 required: - action @@ -176124,10 +176293,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *889 - installation: *890 - marketplace_purchase: *926 - organization: *891 + enterprise: *893 + installation: *894 + marketplace_purchase: *930 + organization: *895 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -176210,7 +176379,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *892 + repository: *896 sender: *4 required: - action @@ -176292,10 +176461,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *889 - installation: *890 - marketplace_purchase: *926 - organization: *891 + enterprise: *893 + installation: *894 + marketplace_purchase: *930 + organization: *895 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -176377,7 +176546,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *892 + repository: *896 sender: *4 required: - action @@ -176458,8 +176627,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *889 - installation: *890 + enterprise: *893 + installation: *894 marketplace_purchase: title: Marketplace Purchase type: object @@ -176541,9 +176710,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *891 - previous_marketplace_purchase: *927 - repository: *892 + organization: *895 + previous_marketplace_purchase: *931 + repository: *896 sender: *4 required: - action @@ -176623,12 +176792,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *889 - installation: *890 - marketplace_purchase: *926 - organization: *891 - previous_marketplace_purchase: *927 - repository: *892 + enterprise: *893 + installation: *894 + marketplace_purchase: *930 + organization: *895 + previous_marketplace_purchase: *931 + repository: *896 sender: *4 required: - action @@ -176730,11 +176899,11 @@ x-webhooks: type: string required: - to - enterprise: *889 - installation: *890 - member: *918 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + member: *922 + organization: *895 + repository: *896 sender: *4 required: - action @@ -176834,11 +177003,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *889 - installation: *890 - member: *918 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + member: *922 + organization: *895 + repository: *896 sender: *4 required: - action @@ -176917,11 +177086,11 @@ x-webhooks: type: string enum: - removed - enterprise: *889 - installation: *890 - member: *918 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + member: *922 + organization: *895 + repository: *896 sender: *4 required: - action @@ -176999,11 +177168,11 @@ x-webhooks: type: string enum: - added - enterprise: *889 - installation: *890 - member: *918 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + member: *922 + organization: *895 + repository: *896 scope: description: The scope of the membership. Currently, can only be `team`. @@ -177079,7 +177248,7 @@ x-webhooks: required: - login - id - team: &928 + team: &932 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -177302,11 +177471,11 @@ x-webhooks: type: string enum: - removed - enterprise: *889 - installation: *890 - member: *918 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + member: *922 + organization: *895 + repository: *896 scope: description: The scope of the membership. Currently, can only be `team`. @@ -177383,7 +177552,7 @@ x-webhooks: required: - login - id - team: *928 + team: *932 required: - action - scope @@ -177465,8 +177634,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *890 - merge_group: &930 + installation: *894 + merge_group: &934 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -177485,15 +177654,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *929 + head_commit: *933 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *891 - repository: *892 + organization: *895 + repository: *896 sender: *4 required: - action @@ -177579,10 +177748,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *890 - merge_group: *930 - organization: *891 - repository: *892 + installation: *894 + merge_group: *934 + organization: *895 + repository: *896 sender: *4 required: - action @@ -177655,7 +177824,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *889 + enterprise: *893 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -177764,16 +177933,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *890 - organization: *891 + installation: *894 + organization: *895 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *931 - required: *932 + properties: *935 + required: *936 nullable: true sender: *4 required: @@ -177854,11 +178023,11 @@ x-webhooks: type: string enum: - closed - enterprise: *889 - installation: *890 - milestone: *924 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + milestone: *928 + organization: *895 + repository: *896 sender: *4 required: - action @@ -177937,9 +178106,9 @@ x-webhooks: type: string enum: - created - enterprise: *889 - installation: *890 - milestone: &933 + enterprise: *893 + installation: *894 + milestone: &937 title: Milestone description: A collection of related issues and pull requests. type: object @@ -178076,8 +178245,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *891 - repository: *892 + organization: *895 + repository: *896 sender: *4 required: - action @@ -178156,11 +178325,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *889 - installation: *890 - milestone: *924 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + milestone: *928 + organization: *895 + repository: *896 sender: *4 required: - action @@ -178270,11 +178439,11 @@ x-webhooks: type: string required: - from - enterprise: *889 - installation: *890 - milestone: *924 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + milestone: *928 + organization: *895 + repository: *896 sender: *4 required: - action @@ -178354,11 +178523,11 @@ x-webhooks: type: string enum: - opened - enterprise: *889 - installation: *890 - milestone: *933 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + milestone: *937 + organization: *895 + repository: *896 sender: *4 required: - action @@ -178437,11 +178606,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *918 - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + blocked_user: *922 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -178520,11 +178689,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *918 - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + blocked_user: *922 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -178600,7 +178769,7 @@ x-webhooks: enum: - created definition: *156 - enterprise: *889 + enterprise: *893 sender: *4 required: - action @@ -178680,8 +178849,8 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *889 - installation: *890 + enterprise: *893 + installation: *894 sender: *4 required: - action @@ -178754,8 +178923,8 @@ x-webhooks: enum: - updated definition: *156 - enterprise: *889 - installation: *890 + enterprise: *893 + installation: *894 sender: *4 required: - action @@ -178827,9 +178996,9 @@ x-webhooks: type: string enum: - updated - enterprise: *889 - installation: *890 - organization: *891 + enterprise: *893 + installation: *894 + organization: *895 sender: *4 new_property_values: type: array @@ -178917,9 +179086,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *889 - installation: *890 - membership: &934 + enterprise: *893 + installation: *894 + membership: &938 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -179026,8 +179195,8 @@ x-webhooks: - role - organization_url - user - organization: *891 - repository: *892 + organization: *895 + repository: *896 sender: *4 required: - action @@ -179105,11 +179274,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *889 - installation: *890 - membership: *934 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + membership: *938 + organization: *895 + repository: *896 sender: *4 required: - action @@ -179188,8 +179357,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *889 - installation: *890 + enterprise: *893 + installation: *894 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -179305,10 +179474,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *891 - repository: *892 + organization: *895 + repository: *896 sender: *4 - user: *918 + user: *922 required: - action - invitation @@ -179386,11 +179555,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *889 - installation: *890 - membership: *934 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + membership: *938 + organization: *895 + repository: *896 sender: *4 required: - action @@ -179477,11 +179646,11 @@ x-webhooks: properties: from: type: string - enterprise: *889 - installation: *890 - membership: *934 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + membership: *938 + organization: *895 + repository: *896 sender: *4 required: - action @@ -179559,9 +179728,9 @@ x-webhooks: type: string enum: - published - enterprise: *889 - installation: *890 - organization: *891 + enterprise: *893 + installation: *894 + organization: *895 package: description: Information about the package. type: object @@ -180060,7 +180229,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &935 + items: &939 title: Ruby Gems metadata type: object properties: @@ -180155,7 +180324,7 @@ x-webhooks: - owner - package_version - registry - repository: *892 + repository: *896 sender: *4 required: - action @@ -180232,9 +180401,9 @@ x-webhooks: type: string enum: - updated - enterprise: *889 - installation: *890 - organization: *891 + enterprise: *893 + installation: *894 + organization: *895 package: description: Information about the package. type: object @@ -180587,7 +180756,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *935 + items: *939 source_url: type: string format: uri @@ -180657,7 +180826,7 @@ x-webhooks: - owner - package_version - registry - repository: *892 + repository: *896 sender: *4 required: - action @@ -180833,12 +181002,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *889 + enterprise: *893 id: type: integer - installation: *890 - organization: *891 - repository: *892 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - id @@ -180915,7 +181084,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &936 + personal_access_token_request: &940 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -181061,10 +181230,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *889 - organization: *891 + enterprise: *893 + organization: *895 sender: *4 - installation: *890 + installation: *894 required: - action - personal_access_token_request @@ -181141,11 +181310,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *936 - enterprise: *889 - organization: *891 + personal_access_token_request: *940 + enterprise: *893 + organization: *895 sender: *4 - installation: *890 + installation: *894 required: - action - personal_access_token_request @@ -181221,11 +181390,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *936 - enterprise: *889 - organization: *891 + personal_access_token_request: *940 + enterprise: *893 + organization: *895 sender: *4 - installation: *890 + installation: *894 required: - action - personal_access_token_request @@ -181300,11 +181469,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *936 - organization: *891 - enterprise: *889 + personal_access_token_request: *940 + organization: *895 + enterprise: *893 sender: *4 - installation: *890 + installation: *894 required: - action - personal_access_token_request @@ -181409,7 +181578,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *937 + last_response: *941 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -181441,8 +181610,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *891 - repository: *892 + organization: *895 + repository: *896 sender: *4 zen: description: Random string of GitHub zen. @@ -181687,10 +181856,10 @@ x-webhooks: - from required: - note - enterprise: *889 - installation: *890 - organization: *891 - project_card: &938 + enterprise: *893 + installation: *894 + organization: *895 + project_card: &942 title: Project Card type: object properties: @@ -181809,7 +181978,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *892 + repository: *896 sender: *4 required: - action @@ -181890,11 +182059,11 @@ x-webhooks: type: string enum: - created - enterprise: *889 - installation: *890 - organization: *891 - project_card: *938 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + project_card: *942 + repository: *896 sender: *4 required: - action @@ -181974,9 +182143,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *889 - installation: *890 - organization: *891 + enterprise: *893 + installation: *894 + organization: *895 project_card: title: Project Card type: object @@ -182104,8 +182273,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *931 - required: *932 + properties: *935 + required: *936 nullable: true sender: *4 required: @@ -182199,11 +182368,11 @@ x-webhooks: - from required: - note - enterprise: *889 - installation: *890 - organization: *891 - project_card: *938 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + project_card: *942 + repository: *896 sender: *4 required: - action @@ -182297,9 +182466,9 @@ x-webhooks: - from required: - column_id - enterprise: *889 - installation: *890 - organization: *891 + enterprise: *893 + installation: *894 + organization: *895 project_card: allOf: - title: Project Card @@ -182489,7 +182658,7 @@ x-webhooks: type: string required: - after_id - repository: *892 + repository: *896 sender: *4 required: - action @@ -182569,10 +182738,10 @@ x-webhooks: type: string enum: - closed - enterprise: *889 - installation: *890 - organization: *891 - project: &940 + enterprise: *893 + installation: *894 + organization: *895 + project: &944 title: Project type: object properties: @@ -182696,7 +182865,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *892 + repository: *896 sender: *4 required: - action @@ -182776,10 +182945,10 @@ x-webhooks: type: string enum: - created - enterprise: *889 - installation: *890 - organization: *891 - project_column: &939 + enterprise: *893 + installation: *894 + organization: *895 + project_column: &943 title: Project Column type: object properties: @@ -182818,7 +182987,7 @@ x-webhooks: - name - created_at - updated_at - repository: *892 + repository: *896 sender: *4 required: - action @@ -182897,18 +183066,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *889 - installation: *890 - organization: *891 - project_column: *939 + enterprise: *893 + installation: *894 + organization: *895 + project_column: *943 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *931 - required: *932 + properties: *935 + required: *936 nullable: true sender: *4 required: @@ -182998,11 +183167,11 @@ x-webhooks: type: string required: - from - enterprise: *889 - installation: *890 - organization: *891 - project_column: *939 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + project_column: *943 + repository: *896 sender: *4 required: - action @@ -183082,11 +183251,11 @@ x-webhooks: type: string enum: - moved - enterprise: *889 - installation: *890 - organization: *891 - project_column: *939 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + project_column: *943 + repository: *896 sender: *4 required: - action @@ -183166,11 +183335,11 @@ x-webhooks: type: string enum: - created - enterprise: *889 - installation: *890 - organization: *891 - project: *940 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + project: *944 + repository: *896 sender: *4 required: - action @@ -183250,18 +183419,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *889 - installation: *890 - organization: *891 - project: *940 + enterprise: *893 + installation: *894 + organization: *895 + project: *944 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *931 - required: *932 + properties: *935 + required: *936 nullable: true sender: *4 required: @@ -183363,11 +183532,11 @@ x-webhooks: type: string required: - from - enterprise: *889 - installation: *890 - organization: *891 - project: *940 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + project: *944 + repository: *896 sender: *4 required: - action @@ -183446,11 +183615,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *889 - installation: *890 - organization: *891 - project: *940 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + project: *944 + repository: *896 sender: *4 required: - action @@ -183531,8 +183700,8 @@ x-webhooks: type: string enum: - closed - installation: *890 - organization: *891 + installation: *894 + organization: *895 projects_v2: *432 sender: *4 required: @@ -183614,8 +183783,8 @@ x-webhooks: type: string enum: - created - installation: *890 - organization: *891 + installation: *894 + organization: *895 projects_v2: *432 sender: *4 required: @@ -183697,8 +183866,8 @@ x-webhooks: type: string enum: - deleted - installation: *890 - organization: *891 + installation: *894 + organization: *895 projects_v2: *432 sender: *4 required: @@ -183816,8 +183985,8 @@ x-webhooks: type: string to: type: string - installation: *890 - organization: *891 + installation: *894 + organization: *895 projects_v2: *432 sender: *4 required: @@ -183901,7 +184070,7 @@ x-webhooks: type: string enum: - archived - changes: &944 + changes: &948 type: object properties: archived_at: @@ -183915,9 +184084,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *890 - organization: *891 - projects_v2_item: &941 + installation: *894 + organization: *895 + projects_v2_item: &945 title: Projects v2 Item description: An item belonging to a project type: object @@ -184052,9 +184221,9 @@ x-webhooks: nullable: true to: type: string - installation: *890 - organization: *891 - projects_v2_item: *941 + installation: *894 + organization: *895 + projects_v2_item: *945 sender: *4 required: - action @@ -184136,9 +184305,9 @@ x-webhooks: type: string enum: - created - installation: *890 - organization: *891 - projects_v2_item: *941 + installation: *894 + organization: *895 + projects_v2_item: *945 sender: *4 required: - action @@ -184219,9 +184388,9 @@ x-webhooks: type: string enum: - deleted - installation: *890 - organization: *891 - projects_v2_item: *941 + installation: *894 + organization: *895 + projects_v2_item: *945 sender: *4 required: - action @@ -184327,7 +184496,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &942 + - &946 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -184349,7 +184518,7 @@ x-webhooks: required: - id - name - - &943 + - &947 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -184383,8 +184552,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *942 - - *943 + - *946 + - *947 required: - field_value - type: object @@ -184400,9 +184569,9 @@ x-webhooks: nullable: true required: - body - installation: *890 - organization: *891 - projects_v2_item: *941 + installation: *894 + organization: *895 + projects_v2_item: *945 sender: *4 required: - action @@ -184497,9 +184666,9 @@ x-webhooks: to: type: string nullable: true - installation: *890 - organization: *891 - projects_v2_item: *941 + installation: *894 + organization: *895 + projects_v2_item: *945 sender: *4 required: - action @@ -184582,10 +184751,10 @@ x-webhooks: type: string enum: - restored - changes: *944 - installation: *890 - organization: *891 - projects_v2_item: *941 + changes: *948 + installation: *894 + organization: *895 + projects_v2_item: *945 sender: *4 required: - action @@ -184667,8 +184836,8 @@ x-webhooks: type: string enum: - reopened - installation: *890 - organization: *891 + installation: *894 + organization: *895 projects_v2: *432 sender: *4 required: @@ -184750,14 +184919,14 @@ x-webhooks: type: string enum: - created - installation: *890 - organization: *891 - projects_v2_status_update: &947 + installation: *894 + organization: *895 + projects_v2_status_update: &951 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *945 - required: *946 + properties: *949 + required: *950 sender: *4 required: - action @@ -184838,9 +185007,9 @@ x-webhooks: type: string enum: - deleted - installation: *890 - organization: *891 - projects_v2_status_update: *947 + installation: *894 + organization: *895 + projects_v2_status_update: *951 sender: *4 required: - action @@ -184976,9 +185145,9 @@ x-webhooks: type: string format: date nullable: true - installation: *890 - organization: *891 - projects_v2_status_update: *947 + installation: *894 + organization: *895 + projects_v2_status_update: *951 sender: *4 required: - action @@ -185049,10 +185218,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - repository @@ -185129,13 +185298,13 @@ x-webhooks: type: string enum: - assigned - assignee: *918 - enterprise: *889 - installation: *890 - number: &948 + assignee: *922 + enterprise: *893 + installation: *894 + number: &952 description: The pull request number. type: integer - organization: *891 + organization: *895 pull_request: title: Pull Request type: object @@ -187422,7 +187591,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *892 + repository: *896 sender: *4 required: - action @@ -187504,11 +187673,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *889 - installation: *890 + enterprise: *893 + installation: *894 number: type: integer - organization: *891 + organization: *895 pull_request: title: Pull Request type: object @@ -189790,7 +189959,7 @@ x-webhooks: - draft reason: type: string - repository: *892 + repository: *896 sender: *4 required: - action @@ -189872,11 +190041,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *889 - installation: *890 + enterprise: *893 + installation: *894 number: type: integer - organization: *891 + organization: *895 pull_request: title: Pull Request type: object @@ -192158,7 +192327,7 @@ x-webhooks: - draft reason: type: string - repository: *892 + repository: *896 sender: *4 required: - action @@ -192240,13 +192409,13 @@ x-webhooks: type: string enum: - closed - enterprise: *889 - installation: *890 - number: *948 - organization: *891 - pull_request: &949 + enterprise: *893 + installation: *894 + number: *952 + organization: *895 + pull_request: &953 allOf: - - *736 + - *740 - type: object properties: allow_auto_merge: @@ -192308,7 +192477,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *892 + repository: *896 sender: *4 required: - action @@ -192389,12 +192558,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *889 - installation: *890 - number: *948 - organization: *891 - pull_request: *949 - repository: *892 + enterprise: *893 + installation: *894 + number: *952 + organization: *895 + pull_request: *953 + repository: *896 sender: *4 required: - action @@ -192474,11 +192643,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *889 - milestone: *718 - number: *948 - organization: *891 - pull_request: &950 + enterprise: *893 + milestone: *722 + number: *952 + organization: *895 + pull_request: &954 title: Pull Request type: object properties: @@ -194759,7 +194928,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *892 + repository: *896 sender: *4 required: - action @@ -194838,11 +195007,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *889 - installation: *890 + enterprise: *893 + installation: *894 number: type: integer - organization: *891 + organization: *895 pull_request: title: Pull Request type: object @@ -197142,7 +197311,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *892 + repository: *896 sender: *4 required: - action @@ -197266,12 +197435,12 @@ x-webhooks: type: string required: - from - enterprise: *889 - installation: *890 - number: *948 - organization: *891 - pull_request: *949 - repository: *892 + enterprise: *893 + installation: *894 + number: *952 + organization: *895 + pull_request: *953 + repository: *896 sender: *4 required: - action @@ -197351,11 +197520,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *889 - installation: *890 + enterprise: *893 + installation: *894 number: type: integer - organization: *891 + organization: *895 pull_request: title: Pull Request type: object @@ -199640,7 +199809,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *892 + repository: *896 sender: *4 required: - action @@ -199720,11 +199889,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *889 - installation: *890 - label: *912 - number: *948 - organization: *891 + enterprise: *893 + installation: *894 + label: *916 + number: *952 + organization: *895 pull_request: title: Pull Request type: object @@ -202010,7 +202179,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *892 + repository: *896 sender: *4 required: - action @@ -202091,10 +202260,10 @@ x-webhooks: type: string enum: - locked - enterprise: *889 - installation: *890 - number: *948 - organization: *891 + enterprise: *893 + installation: *894 + number: *952 + organization: *895 pull_request: title: Pull Request type: object @@ -204378,7 +204547,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *892 + repository: *896 sender: *4 required: - action @@ -204458,12 +204627,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *889 - milestone: *718 - number: *948 - organization: *891 - pull_request: *950 - repository: *892 + enterprise: *893 + milestone: *722 + number: *952 + organization: *895 + pull_request: *954 + repository: *896 sender: *4 required: - action @@ -204542,12 +204711,12 @@ x-webhooks: type: string enum: - opened - enterprise: *889 - installation: *890 - number: *948 - organization: *891 - pull_request: *949 - repository: *892 + enterprise: *893 + installation: *894 + number: *952 + organization: *895 + pull_request: *953 + repository: *896 sender: *4 required: - action @@ -204628,12 +204797,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *889 - installation: *890 - number: *948 - organization: *891 - pull_request: *949 - repository: *892 + enterprise: *893 + installation: *894 + number: *952 + organization: *895 + pull_request: *953 + repository: *896 sender: *4 required: - action @@ -204713,12 +204882,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *889 - installation: *890 - number: *948 - organization: *891 - pull_request: *949 - repository: *892 + enterprise: *893 + installation: *894 + number: *952 + organization: *895 + pull_request: *953 + repository: *896 sender: *4 required: - action @@ -205084,9 +205253,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *889 - installation: *890 - organization: *891 + enterprise: *893 + installation: *894 + organization: *895 pull_request: type: object properties: @@ -207260,7 +207429,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *892 + repository: *896 sender: *4 required: - action @@ -207340,7 +207509,7 @@ x-webhooks: type: string enum: - deleted - comment: &952 + comment: &956 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -207625,9 +207794,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *889 - installation: *890 - organization: *891 + enterprise: *893 + installation: *894 + organization: *895 pull_request: type: object properties: @@ -209789,7 +209958,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *892 + repository: *896 sender: *4 required: - action @@ -209869,11 +210038,11 @@ x-webhooks: type: string enum: - edited - changes: *951 - comment: *952 - enterprise: *889 - installation: *890 - organization: *891 + changes: *955 + comment: *956 + enterprise: *893 + installation: *894 + organization: *895 pull_request: type: object properties: @@ -212038,7 +212207,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *892 + repository: *896 sender: *4 required: - action @@ -212119,9 +212288,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *889 - installation: *890 - organization: *891 + enterprise: *893 + installation: *894 + organization: *895 pull_request: title: Simple Pull Request type: object @@ -214298,7 +214467,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *892 + repository: *896 review: description: The review that was affected. type: object @@ -214545,9 +214714,9 @@ x-webhooks: type: string required: - from - enterprise: *889 - installation: *890 - organization: *891 + enterprise: *893 + installation: *894 + organization: *895 pull_request: title: Simple Pull Request type: object @@ -216597,8 +216766,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *892 - review: &953 + repository: *896 + review: &957 description: The review that was affected. type: object properties: @@ -216831,12 +217000,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *889 - installation: *890 + enterprise: *893 + installation: *894 number: description: The pull request number. type: integer - organization: *891 + organization: *895 pull_request: title: Pull Request type: object @@ -219123,7 +219292,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *892 + repository: *896 requested_reviewer: title: User type: object @@ -219207,12 +219376,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *889 - installation: *890 + enterprise: *893 + installation: *894 number: description: The pull request number. type: integer - organization: *891 + organization: *895 pull_request: title: Pull Request type: object @@ -221506,7 +221675,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *892 + repository: *896 requested_team: title: Team description: Groups of organization members that gives permissions @@ -221698,12 +221867,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *889 - installation: *890 + enterprise: *893 + installation: *894 number: description: The pull request number. type: integer - organization: *891 + organization: *895 pull_request: title: Pull Request type: object @@ -223992,7 +224161,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *892 + repository: *896 requested_reviewer: title: User type: object @@ -224077,12 +224246,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *889 - installation: *890 + enterprise: *893 + installation: *894 number: description: The pull request number. type: integer - organization: *891 + organization: *895 pull_request: title: Pull Request type: object @@ -226362,7 +226531,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *892 + repository: *896 requested_team: title: Team description: Groups of organization members that gives permissions @@ -226543,9 +226712,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *889 - installation: *890 - organization: *891 + enterprise: *893 + installation: *894 + organization: *895 pull_request: title: Simple Pull Request type: object @@ -228724,8 +228893,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *892 - review: *953 + repository: *896 + review: *957 sender: *4 required: - action @@ -228805,9 +228974,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *889 - installation: *890 - organization: *891 + enterprise: *893 + installation: *894 + organization: *895 pull_request: title: Simple Pull Request type: object @@ -230895,7 +231064,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *892 + repository: *896 sender: *4 thread: type: object @@ -231282,9 +231451,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *889 - installation: *890 - organization: *891 + enterprise: *893 + installation: *894 + organization: *895 pull_request: title: Simple Pull Request type: object @@ -233358,7 +233527,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *892 + repository: *896 sender: *4 thread: type: object @@ -233748,10 +233917,10 @@ x-webhooks: type: string before: type: string - enterprise: *889 - installation: *890 - number: *948 - organization: *891 + enterprise: *893 + installation: *894 + number: *952 + organization: *895 pull_request: title: Pull Request type: object @@ -236026,7 +236195,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *892 + repository: *896 sender: *4 required: - action @@ -236108,11 +236277,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *954 - enterprise: *889 - installation: *890 - number: *948 - organization: *891 + assignee: *958 + enterprise: *893 + installation: *894 + number: *952 + organization: *895 pull_request: title: Pull Request type: object @@ -238399,7 +238568,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *892 + repository: *896 sender: *4 required: - action @@ -238478,11 +238647,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *889 - installation: *890 - label: *912 - number: *948 - organization: *891 + enterprise: *893 + installation: *894 + label: *916 + number: *952 + organization: *895 pull_request: title: Pull Request type: object @@ -240759,7 +240928,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *892 + repository: *896 sender: *4 required: - action @@ -240840,10 +241009,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *889 - installation: *890 - number: *948 - organization: *891 + enterprise: *893 + installation: *894 + number: *952 + organization: *895 pull_request: title: Pull Request type: object @@ -243112,7 +243281,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *892 + repository: *896 sender: *4 required: - action @@ -243312,7 +243481,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *889 + enterprise: *893 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -243404,8 +243573,8 @@ x-webhooks: - url - author - committer - installation: *890 - organization: *891 + installation: *894 + organization: *895 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -243991,9 +244160,9 @@ x-webhooks: type: string enum: - published - enterprise: *889 - installation: *890 - organization: *891 + enterprise: *893 + installation: *894 + organization: *895 registry_package: type: object properties: @@ -244439,7 +244608,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *935 + items: *939 summary: type: string tag_name: @@ -244493,7 +244662,7 @@ x-webhooks: - owner - package_version - registry - repository: *892 + repository: *896 sender: *4 required: - action @@ -244571,9 +244740,9 @@ x-webhooks: type: string enum: - updated - enterprise: *889 - installation: *890 - organization: *891 + enterprise: *893 + installation: *894 + organization: *895 registry_package: type: object properties: @@ -244881,7 +245050,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *935 + items: *939 summary: type: string tag_name: @@ -244930,7 +245099,7 @@ x-webhooks: - owner - package_version - registry - repository: *892 + repository: *896 sender: *4 required: - action @@ -245007,10 +245176,10 @@ x-webhooks: type: string enum: - created - enterprise: *889 - installation: *890 - organization: *891 - release: &955 + enterprise: *893 + installation: *894 + organization: *895 + release: &959 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object. @@ -245328,7 +245497,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *892 + repository: *896 sender: *4 required: - action @@ -245405,11 +245574,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *889 - installation: *890 - organization: *891 - release: *955 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + release: *959 + repository: *896 sender: *4 required: - action @@ -245526,11 +245695,11 @@ x-webhooks: type: boolean required: - to - enterprise: *889 - installation: *890 - organization: *891 - release: *955 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + release: *959 + repository: *896 sender: *4 required: - action @@ -245608,9 +245777,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *889 - installation: *890 - organization: *891 + enterprise: *893 + installation: *894 + organization: *895 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) @@ -245932,7 +246101,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *892 + repository: *896 sender: *4 required: - action @@ -246008,10 +246177,10 @@ x-webhooks: type: string enum: - published - enterprise: *889 - installation: *890 - organization: *891 - release: &956 + enterprise: *893 + installation: *894 + organization: *895 + release: &960 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object. @@ -246330,7 +246499,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *892 + repository: *896 sender: *4 required: - action @@ -246406,11 +246575,11 @@ x-webhooks: type: string enum: - released - enterprise: *889 - installation: *890 - organization: *891 - release: *955 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + release: *959 + repository: *896 sender: *4 required: - action @@ -246486,11 +246655,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *889 - installation: *890 - organization: *891 - release: *956 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + release: *960 + repository: *896 sender: *4 required: - action @@ -246566,11 +246735,11 @@ x-webhooks: type: string enum: - published - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 - repository_advisory: *789 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 + repository_advisory: *793 sender: *4 required: - action @@ -246646,11 +246815,11 @@ x-webhooks: type: string enum: - reported - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 - repository_advisory: *789 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 + repository_advisory: *793 sender: *4 required: - action @@ -246726,10 +246895,10 @@ x-webhooks: type: string enum: - archived - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -246806,10 +246975,10 @@ x-webhooks: type: string enum: - created - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -246887,10 +247056,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -246974,10 +247143,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -247089,10 +247258,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -247164,10 +247333,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 status: type: string @@ -247248,10 +247417,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -247328,10 +247497,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -247425,10 +247594,10 @@ x-webhooks: - name required: - repository - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -247508,10 +247677,10 @@ x-webhooks: type: string enum: - created - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 repository_ruleset: *195 sender: *4 required: @@ -247590,10 +247759,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 repository_ruleset: *195 sender: *4 required: @@ -247672,10 +247841,10 @@ x-webhooks: type: string enum: - edited - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 repository_ruleset: *195 changes: type: object @@ -247737,16 +247906,16 @@ x-webhooks: properties: added: type: array - items: *756 + items: *760 deleted: type: array - items: *756 + items: *760 updated: type: array items: type: object properties: - rule: *756 + rule: *760 changes: type: object properties: @@ -247980,10 +248149,10 @@ x-webhooks: - from required: - owner - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -248061,10 +248230,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -248142,7 +248311,7 @@ x-webhooks: type: string enum: - create - alert: &957 + alert: &961 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -248264,10 +248433,10 @@ x-webhooks: enum: - auto_dismissed - open - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -248473,10 +248642,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -248554,11 +248723,11 @@ x-webhooks: type: string enum: - reopen - alert: *957 - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + alert: *961 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -248757,10 +248926,10 @@ x-webhooks: enum: - fixed - open - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -248838,7 +249007,7 @@ x-webhooks: type: string enum: - assigned - alert: &958 + alert: &962 type: object properties: number: *131 @@ -248981,10 +249150,10 @@ x-webhooks: required: *21 nullable: true assignee: *4 - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -249062,11 +249231,11 @@ x-webhooks: type: string enum: - created - alert: *958 - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + alert: *962 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -249147,11 +249316,11 @@ x-webhooks: type: string enum: - created - alert: *958 - installation: *890 - location: *959 - organization: *891 - repository: *892 + alert: *962 + installation: *894 + location: *963 + organization: *895 + repository: *896 sender: *4 required: - location @@ -249389,11 +249558,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *958 - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + alert: *962 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -249471,11 +249640,11 @@ x-webhooks: type: string enum: - reopened - alert: *958 - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + alert: *962 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -249553,11 +249722,11 @@ x-webhooks: type: string enum: - resolved - alert: *958 - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + alert: *962 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -249635,12 +249804,12 @@ x-webhooks: type: string enum: - unassigned - alert: *958 + alert: *962 assignee: *4 - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -249718,11 +249887,11 @@ x-webhooks: type: string enum: - validated - alert: *958 - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + alert: *962 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -249848,10 +250017,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *892 - enterprise: *889 - installation: *890 - organization: *891 + repository: *896 + enterprise: *893 + installation: *894 + organization: *895 sender: *4 required: - action @@ -249929,11 +250098,11 @@ x-webhooks: type: string enum: - published - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 - security_advisory: &960 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 + security_advisory: &964 description: The details of the security advisory, including summary, description, and severity. type: object @@ -250104,11 +250273,11 @@ x-webhooks: type: string enum: - updated - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 - security_advisory: *960 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 + security_advisory: *964 sender: *4 required: - action @@ -250181,10 +250350,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -250357,9 +250526,9 @@ x-webhooks: type: object properties: security_and_analysis: *449 - enterprise: *889 - installation: *890 - organization: *891 + enterprise: *893 + installation: *894 + organization: *895 repository: *496 sender: *4 required: @@ -250438,12 +250607,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 - sponsorship: &961 + sponsorship: &965 type: object properties: created_at: @@ -250744,12 +250913,12 @@ x-webhooks: type: string enum: - created - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 - sponsorship: *961 + sponsorship: *965 required: - action - sponsorship @@ -250837,12 +251006,12 @@ x-webhooks: type: string required: - from - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 - sponsorship: *961 + sponsorship: *965 required: - action - changes @@ -250919,17 +251088,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &962 + effective_date: &966 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 - sponsorship: *961 + sponsorship: *965 required: - action - sponsorship @@ -251003,7 +251172,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &963 + changes: &967 type: object properties: tier: @@ -251047,13 +251216,13 @@ x-webhooks: - from required: - tier - effective_date: *962 - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + effective_date: *966 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 - sponsorship: *961 + sponsorship: *965 required: - action - changes @@ -251130,13 +251299,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *963 - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + changes: *967 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 - sponsorship: *961 + sponsorship: *965 required: - action - changes @@ -251210,10 +251379,10 @@ x-webhooks: type: string enum: - created - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -251296,10 +251465,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -251719,15 +251888,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *889 + enterprise: *893 id: description: The unique identifier of the status. type: integer - installation: *890 + installation: *894 name: type: string - organization: *891 - repository: *892 + organization: *895 + repository: *896 sender: *4 sha: description: The Commit SHA. @@ -251842,9 +252011,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *228 - installation: *890 - organization: *891 - repository: *892 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -251933,9 +252102,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *228 - installation: *890 - organization: *891 - repository: *892 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -252024,9 +252193,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *228 - installation: *890 - organization: *891 - repository: *892 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -252115,9 +252284,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *228 - installation: *890 - organization: *891 - repository: *892 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -252193,12 +252362,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 - team: &964 + team: &968 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -252421,9 +252590,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *889 - installation: *890 - organization: *891 + enterprise: *893 + installation: *894 + organization: *895 repository: title: Repository description: A git repository @@ -252881,7 +253050,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *964 + team: *968 required: - action - team @@ -252957,9 +253126,9 @@ x-webhooks: type: string enum: - created - enterprise: *889 - installation: *890 - organization: *891 + enterprise: *893 + installation: *894 + organization: *895 repository: title: Repository description: A git repository @@ -253417,7 +253586,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *964 + team: *968 required: - action - team @@ -253494,9 +253663,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *889 - installation: *890 - organization: *891 + enterprise: *893 + installation: *894 + organization: *895 repository: title: Repository description: A git repository @@ -253954,7 +254123,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *964 + team: *968 required: - action - team @@ -254098,9 +254267,9 @@ x-webhooks: - from required: - permissions - enterprise: *889 - installation: *890 - organization: *891 + enterprise: *893 + installation: *894 + organization: *895 repository: title: Repository description: A git repository @@ -254558,7 +254727,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *964 + team: *968 required: - action - changes @@ -254636,9 +254805,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *889 - installation: *890 - organization: *891 + enterprise: *893 + installation: *894 + organization: *895 repository: title: Repository description: A git repository @@ -255096,7 +255265,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *964 + team: *968 required: - action - team @@ -255172,10 +255341,10 @@ x-webhooks: type: string enum: - started - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 required: - action @@ -255248,16 +255417,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *889 + enterprise: *893 inputs: type: object nullable: true additionalProperties: true - installation: *890 - organization: *891 + installation: *894 + organization: *895 ref: type: string - repository: *892 + repository: *896 sender: *4 workflow: type: string @@ -255339,10 +255508,10 @@ x-webhooks: type: string enum: - completed - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 workflow_job: allOf: @@ -255658,10 +255827,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 workflow_job: allOf: @@ -256000,10 +256169,10 @@ x-webhooks: type: string enum: - queued - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 workflow_job: type: object @@ -256217,10 +256386,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 workflow_job: type: object @@ -256436,12 +256605,12 @@ x-webhooks: type: string enum: - completed - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 - workflow: *908 + workflow: *912 workflow_run: title: Workflow Run type: object @@ -257440,12 +257609,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 - workflow: *908 + workflow: *912 workflow_run: title: Workflow Run type: object @@ -258429,12 +258598,12 @@ x-webhooks: type: string enum: - requested - enterprise: *889 - installation: *890 - organization: *891 - repository: *892 + enterprise: *893 + installation: *894 + organization: *895 + repository: *896 sender: *4 - workflow: *908 + workflow: *912 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.deref.json b/descriptions/ghec/dereferenced/ghec.deref.json index be6048ed27..d02ea0b434 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.json +++ b/descriptions/ghec/dereferenced/ghec.deref.json @@ -472857,6 +472857,76 @@ "to" ] }, + "issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, + "prev_issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, "author_association": { "title": "author_association", "type": "string", @@ -477640,6 +477710,76 @@ "to" ] }, + "issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, + "prev_issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, "author_association": { "title": "author_association", "type": "string", @@ -517472,1635 +517612,1647 @@ "created_at", "performed_via_github_app" ] - } - ] - } - }, - "examples": { - "default": { - "value": [ - { - "id": 1, - "node_id": "MDEwOklzc3VlRXZlbnQx", - "url": "https://api.github.com/repos/octocat/Hello-World/issues/events/1", - "actor": { - "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 - }, - "event": "closed", - "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e", - "commit_url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e", - "created_at": "2011-04-14T16:00:49Z", - "performed_via_github_app": null, - "label": { - "name": "label", - "color": "red" - } - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - }, - "410": { - "description": "Gone", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "issues", - "subcategory": "events" - } - } - }, - "/repos/{owner}/{repo}/issues/{issue_number}/issue-field-values": { - "get": { - "summary": "List issue field values for an issue", - "description": "Lists all issue field values for an issue.", - "tags": [ - "issues" - ], - "operationId": "issues/list-issue-field-values-for-issue", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#list-issue-field-values-for-an-issue" - }, - "parameters": [ - { - "name": "owner", - "description": "The account owner of the repository. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "repo", - "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "issue_number", - "description": "The number that identifies the issue.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 30 - } - }, - { - "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Issue Field Value", - "description": "A value assigned to an issue field", - "type": "object", - "properties": { - "issue_field_id": { - "description": "Unique identifier for the issue field.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "IFT_GDKND" - }, - "data_type": { - "description": "The data type of the issue field", - "type": "string", - "enum": [ - "text", - "single_select", - "multi_select", - "number", - "date" - ], - "example": "text" - }, - "value": { - "description": "The value of the issue field", - "anyOf": [ - { - "type": "string", - "example": "Sample text" - }, - { - "type": "number", - "example": 42.5 - }, - { - "type": "integer", - "example": 1 - } - ], - "nullable": true }, - "single_select_option": { - "description": "Details about the selected option (only present for single_select fields)", + { + "title": "Issue Type Added Issue Event", + "description": "Issue Type Added Issue Event", "type": "object", "properties": { "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "example": 1 + "type": "integer" }, - "name": { - "description": "The name of the option", - "type": "string", - "example": "High" + "node_id": { + "type": "string" }, - "color": { - "description": "The color of the option", - "type": "string", - "example": "red" - } - }, - "required": [ - "id", - "name", - "color" - ], - "nullable": true - }, - "multi_select_options": { - "description": "Details about the selected options", - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "name": { - "description": "The name of the option", - "type": "string", - "example": "High" + "url": { + "type": "string" + }, + "actor": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } }, - "color": { - "description": "The color of the option", - "type": "string", - "example": "red" - } + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] }, - "required": [ - "id", - "name", - "color" - ] - }, - "nullable": true - } - }, - "required": [ - "issue_field_id", - "node_id", - "data_type", - "value" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "issue_field_id": 1, - "node_id": "IFT_GDKND", - "data_type": "text", - "value": "DRI" - }, - { - "issue_field_id": 2, - "node_id": "IFSS_SADMS", - "data_type": "single_select", - "value": 1, - "single_select_option": { - "id": 1, - "name": "High", - "color": "red" - } - }, - { - "issue_field_id": 3, - "node_id": "IFN_POINTS", - "data_type": "number", - "value": 42 - }, - { - "issue_field_id": 4, - "node_id": "IFD_DUEDATE", - "data_type": "date", - "value": "2025-12-25" - }, - { - "issue_field_id": 5, - "node_id": "IFMS_LABELS", - "data_type": "multi_select", - "value": "Frontend,Backend", - "multi_select_options": [ - { - "id": 1, - "name": "Frontend", - "color": "blue" - }, - { - "id": 2, - "name": "Backend", - "color": "green" - } - ] - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - }, - "301": { - "description": "Moved permanently", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "410": { - "description": "Gone", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "issues", - "subcategory": "issue-field-values" - } - }, - "post": { - "summary": "Add issue field values to an issue", - "description": "Add custom field values to an issue. You can set values for organization-level issue fields that have been defined for the repository's organization.\nAdding an empty array will clear all existing field values for the issue.\n\nThis endpoint supports the following field data types:\n- **`text`**: String values for text fields\n- **`single_select`**: Option names for single-select fields (must match an existing option name)\n- **`number`**: Numeric values for number fields\n- **`date`**: ISO 8601 date strings for date fields\n\nOnly users with push access to the repository can add issue field values. If you don't have the proper permissions, you'll receive a `403 Forbidden` response.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-cloud@latest/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest/rest/guides/best-practices-for-using-the-rest-api).\"", - "tags": [ - "issues" - ], - "operationId": "issues/add-issue-field-values", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#add-issue-field-values-to-an-issue" - }, - "parameters": [ - { - "name": "owner", - "description": "The account owner of the repository. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "repo", - "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "issue_number", - "description": "The number that identifies the issue.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "issue_field_values": { - "type": "array", - "description": "An array of issue field values to add to this issue. Each field value must include the field ID and the value to set.", - "items": { - "type": "object", - "properties": { - "field_id": { - "type": "integer", - "description": "The ID of the issue field to set", - "example": 123 - }, - "value": { - "oneOf": [ - { - "type": "string", - "description": "The value to set for text, single_select, or date fields" - }, - { - "type": "number", - "description": "The value to set for number fields" - }, - { - "type": "array", - "items": { - "type": "string" - }, - "description": "The value to set for multi_select fields (array of option names)" - } - ], - "description": "The value to set for the field. The type depends on the field's data type:\n- For text fields: provide a string value\n- For single_select fields: provide the option name as a string (must match an existing option)\n- For number fields: provide a numeric value\n- For multi_select fields: provide an array of option names (must match existing options)\n- For date fields: provide an ISO 8601 date string", - "example": "Critical" - } - }, - "required": [ - "field_id", - "value" - ], - "additionalProperties": false - }, - "maxItems": 25 - } - } - }, - "examples": { - "default": { - "summary": "Add multiple field values", - "value": { - "issue_field_values": [ - { - "field_id": 123, - "value": "Critical" - }, - { - "field_id": 456, - "value": 5 - }, - { - "field_id": 789, - "value": "2024-12-31" - } - ] - } - }, - "single-field": { - "summary": "Add a single field value", - "value": { - "issue_field_values": [ - { - "field_id": 123, - "value": "High Priority" - } - ] - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "description": "The current issue field values for this issue after adding the new values", - "items": { - "title": "Issue Field Value", - "description": "A value assigned to an issue field", - "type": "object", - "properties": { - "issue_field_id": { - "description": "Unique identifier for the issue field.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "IFT_GDKND" - }, - "data_type": { - "description": "The data type of the issue field", - "type": "string", - "enum": [ - "text", - "single_select", - "multi_select", - "number", - "date" - ], - "example": "text" - }, - "value": { - "description": "The value of the issue field", - "anyOf": [ - { - "type": "string", - "example": "Sample text" - }, - { - "type": "number", - "example": 42.5 - }, - { - "type": "integer", - "example": 1 - } - ], - "nullable": true - }, - "single_select_option": { - "description": "Details about the selected option (only present for single_select fields)", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "example": 1 + "event": { + "type": "string" }, - "name": { - "description": "The name of the option", + "commit_id": { "type": "string", - "example": "High" + "nullable": true }, - "color": { - "description": "The color of the option", + "commit_url": { "type": "string", - "example": "red" - } - }, - "required": [ - "id", - "name", - "color" - ], - "nullable": true - }, - "multi_select_options": { - "description": "Details about the selected options", - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "name": { - "description": "The name of the option", - "type": "string", - "example": "High" - }, - "color": { - "description": "The color of the option", - "type": "string", - "example": "red" - } + "nullable": true }, - "required": [ - "id", - "name", - "color" - ] - }, - "nullable": true - } - }, - "required": [ - "issue_field_id", - "node_id", - "data_type", - "value" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "issue_field_id": 1, - "node_id": "IFT_GDKND", - "data_type": "text", - "value": "DRI" - }, - { - "issue_field_id": 2, - "node_id": "IFSS_SADMS", - "data_type": "single_select", - "value": 1, - "single_select_option": { - "id": 1, - "name": "High", - "color": "red" - } - }, - { - "issue_field_id": 3, - "node_id": "IFN_POINTS", - "data_type": "number", - "value": 42 - }, - { - "issue_field_id": 4, - "node_id": "IFD_DUEDATE", - "data_type": "date", - "value": "2025-12-25" - }, - { - "issue_field_id": 5, - "node_id": "IFMS_LABELS", - "data_type": "multi_select", - "value": "Frontend,Backend", - "multi_select_options": [ - { - "id": 1, - "name": "Frontend", - "color": "blue" + "created_at": { + "type": "string" }, - { - "id": 2, - "name": "Backend", - "color": "green" - } - ] - } - ] - } - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - }, - "application/scim+json": { - "schema": { - "title": "Scim Error", - "description": "Scim Error", - "type": "object", - "properties": { - "message": { - "type": "string", - "nullable": true - }, - "documentation_url": { - "type": "string", - "nullable": true - }, - "detail": { - "type": "string", - "nullable": true - }, - "status": { - "type": "integer" - }, - "scimType": { - "type": "string", - "nullable": true - }, - "schemas": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error", - "description": "Validation Error", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", + "performed_via_github_app": { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { + "type": "string", + "example": "MDExOkludGVncmF0aW9uMQ==" + }, + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", + "type": "string" + }, + "description": { + "type": "string", + "example": "The description of the app.", + "nullable": true + }, + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app. Note that the `installation_target`, `security_advisory`, and `meta` events are not included because they are global events and not specific to an installation.", + "example": [ + "label", + "deployment" + ], + "type": "array", + "items": { + "type": "string" + } + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "example": 5, + "type": "integer" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + }, + "issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + } + }, "required": [ - "code" - ], + "issue_type", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + { + "title": "Issue Type Removed Issue Event", + "description": "Issue Type Removed Issue Event", + "type": "object", "properties": { - "resource": { - "type": "string" - }, - "field": { - "type": "string" + "id": { + "type": "integer" }, - "message": { + "node_id": { "type": "string" }, - "code": { + "url": { "type": "string" }, - "index": { - "type": "integer" - }, - "value": { - "oneOf": [ - { + "actor": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { "type": "string", - "nullable": true + "example": "octocat" }, - { + "id": { "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", "nullable": true }, - { - "type": "array", - "nullable": true, - "items": { - "type": "string" - } - } - ] - } - } - } - } - } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "triggersNotification": true, - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "issues", - "subcategory": "issue-field-values" - } - }, - "put": { - "summary": "Set issue field values for an issue", - "description": "Set custom field values for an issue, replacing any existing values. You can set values for organization-level issue fields that have been defined for the repository's organization.\n\nThis endpoint supports the following field data types:\n- **`text`**: String values for text fields\n- **`single_select`**: Option names for single-select fields (must match an existing option name)\n- **`number`**: Numeric values for number fields\n- **`date`**: ISO 8601 date strings for date fields\n\nThis operation will replace all existing field values with the provided ones. If you want to add field values without replacing existing ones, use the `POST` endpoint instead.\n\nOnly users with push access to the repository can set issue field values. If you don't have the proper permissions, you'll receive a `403 Forbidden` response.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-cloud@latest/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest/rest/guides/best-practices-for-using-the-rest-api).\"", - "tags": [ - "issues" - ], - "operationId": "issues/set-issue-field-values", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#set-issue-field-values-for-an-issue" - }, - "parameters": [ - { - "name": "owner", - "description": "The account owner of the repository. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "repo", - "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "issue_number", - "description": "The number that identifies the issue.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "issue_field_values": { - "type": "array", - "description": "An array of issue field values to set for this issue. Each field value must include the field ID and the value to set. All existing field values will be replaced.", - "items": { - "type": "object", - "properties": { - "field_id": { - "type": "integer", - "description": "The ID of the issue field to set", - "example": 123 - }, - "value": { - "oneOf": [ - { - "type": "string", - "description": "The value to set for text, single_select, or date fields" + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } }, - { - "type": "number", - "description": "The value to set for number fields" - } - ], - "description": "The value to set for the field. The type depends on the field's data type:\n- For text fields: provide a string value\n- For single_select fields: provide the option name as a string (must match an existing option)\n- For number fields: provide a numeric value\n- For date fields: provide an ISO 8601 date string", - "example": "Critical" - } - }, - "required": [ - "field_id", - "value" - ], - "additionalProperties": false - }, - "maxItems": 25 - } - } - }, - "examples": { - "default": { - "summary": "Set multiple field values", - "value": { - "issue_field_values": [ - { - "field_id": 123, - "value": "Critical" - }, - { - "field_id": 456, - "value": 5 - }, - { - "field_id": 789, - "value": "2024-12-31" - } - ] - } - }, - "single-field": { - "summary": "Set a single field value", - "value": { - "issue_field_values": [ - { - "field_id": 123, - "value": "High Priority" - } - ] - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "description": "The current issue field values for this issue after setting the new values", - "items": { - "title": "Issue Field Value", - "description": "A value assigned to an issue field", - "type": "object", - "properties": { - "issue_field_id": { - "description": "Unique identifier for the issue field.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "IFT_GDKND" - }, - "data_type": { - "description": "The data type of the issue field", - "type": "string", - "enum": [ - "text", - "single_select", - "multi_select", - "number", - "date" - ], - "example": "text" - }, - "value": { - "description": "The value of the issue field", - "anyOf": [ - { - "type": "string", - "example": "Sample text" - }, - { - "type": "number", - "example": 42.5 + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] }, - { - "type": "integer", - "example": 1 - } - ], - "nullable": true - }, - "single_select_option": { - "description": "Details about the selected option (only present for single_select fields)", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "example": 1 + "event": { + "type": "string" }, - "name": { - "description": "The name of the option", + "commit_id": { "type": "string", - "example": "High" + "nullable": true }, - "color": { - "description": "The color of the option", + "commit_url": { "type": "string", - "example": "red" - } - }, - "required": [ - "id", - "name", - "color" - ], - "nullable": true - }, - "multi_select_options": { - "description": "Details about the selected options", - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "name": { - "description": "The name of the option", - "type": "string", - "example": "High" - }, - "color": { - "description": "The color of the option", - "type": "string", - "example": "red" - } + "nullable": true }, - "required": [ - "id", - "name", - "color" - ] - }, - "nullable": true - } - }, - "required": [ - "issue_field_id", - "node_id", - "data_type", - "value" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "issue_field_id": 1, - "node_id": "IFT_GDKND", - "data_type": "text", - "value": "DRI" - }, - { - "issue_field_id": 2, - "node_id": "IFSS_SADMS", - "data_type": "single_select", - "value": 1, - "single_select_option": { - "id": 1, - "name": "High", - "color": "red" - } - }, - { - "issue_field_id": 3, - "node_id": "IFN_POINTS", - "data_type": "number", - "value": 42 - }, - { - "issue_field_id": 4, - "node_id": "IFD_DUEDATE", - "data_type": "date", - "value": "2025-12-25" - }, - { - "issue_field_id": 5, - "node_id": "IFMS_LABELS", - "data_type": "multi_select", - "value": "Frontend,Backend", - "multi_select_options": [ - { - "id": 1, - "name": "Frontend", - "color": "blue" + "created_at": { + "type": "string" }, - { - "id": 2, - "name": "Backend", - "color": "green" - } - ] - } - ] - } - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - }, - "application/scim+json": { - "schema": { - "title": "Scim Error", - "description": "Scim Error", - "type": "object", - "properties": { - "message": { - "type": "string", - "nullable": true - }, - "documentation_url": { - "type": "string", - "nullable": true - }, - "detail": { - "type": "string", - "nullable": true - }, - "status": { - "type": "integer" - }, - "scimType": { - "type": "string", - "nullable": true - }, - "schemas": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error", - "description": "Validation Error", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", + "performed_via_github_app": { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { + "type": "string", + "example": "MDExOkludGVncmF0aW9uMQ==" + }, + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", + "type": "string" + }, + "description": { + "type": "string", + "example": "The description of the app.", + "nullable": true + }, + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app. Note that the `installation_target`, `security_advisory`, and `meta` events are not included because they are global events and not specific to an installation.", + "example": [ + "label", + "deployment" + ], + "type": "array", + "items": { + "type": "string" + } + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "example": 5, + "type": "integer" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + }, + "prev_issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + } + }, "required": [ - "code" - ], + "prev_issue_type", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + { + "title": "Issue Type Changed Issue Event", + "description": "Issue Type Changed Issue Event", + "type": "object", "properties": { - "resource": { - "type": "string" - }, - "field": { - "type": "string" + "id": { + "type": "integer" }, - "message": { + "node_id": { "type": "string" }, - "code": { + "url": { "type": "string" }, - "index": { - "type": "integer" - }, - "value": { - "oneOf": [ - { + "actor": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { "type": "string", - "nullable": true + "example": "octocat" }, - { + "id": { "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", "nullable": true }, - { - "type": "array", - "nullable": true, - "items": { - "type": "string" - } - } - ] - } - } - } - } - } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "triggersNotification": true, - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "issues", - "subcategory": "issue-field-values" - } - } - }, - "/repos/{owner}/{repo}/issues/{issue_number}/issue-field-values/{issue_field_id}": { - "delete": { - "summary": "Delete an issue field value from an issue", - "description": "Remove a specific custom field value from an issue.\n\nOnly users with push access to the repository can delete issue field values. If you don't have the proper permissions, you'll receive a `403 Forbidden` response.\n\nIf the specified field does not have a value set on the issue, this operation will return a `404` error.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-cloud@latest/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest/rest/guides/best-practices-for-using-the-rest-api).\"", - "tags": [ - "issues" - ], - "operationId": "issues/delete-issue-field-value", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue" - }, - "parameters": [ - { - "name": "owner", - "description": "The account owner of the repository. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "repo", - "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "issue_number", - "description": "The number that identifies the issue.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "issue_field_id", - "description": "The unique identifier of the issue field.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "204": { - "description": "Issue field value deleted successfully" - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error", - "description": "Validation Error", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "required": [ - "code" - ], - "properties": { - "resource": { - "type": "string" + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] }, - "field": { + "event": { "type": "string" }, - "message": { - "type": "string" + "commit_id": { + "type": "string", + "nullable": true }, - "code": { - "type": "string" + "commit_url": { + "type": "string", + "nullable": true }, - "index": { - "type": "integer" + "created_at": { + "type": "string" }, - "value": { - "oneOf": [ - { + "performed_via_github_app": { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { "type": "string", - "nullable": true + "example": "MDExOkludGVncmF0aW9uMQ==" }, - { - "type": "integer", + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", + "type": "string" + }, + "description": { + "type": "string", + "example": "The description of the app.", "nullable": true }, - { + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app. Note that the `installation_target`, `security_advisory`, and `meta` events are not included because they are global events and not specific to an installation.", + "example": [ + "label", + "deployment" + ], "type": "array", - "nullable": true, "items": { "type": "string" } + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "example": 5, + "type": "integer" } - ] - } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + }, + "issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, + "prev_issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + } + }, + "required": [ + "issue_type", + "prev_issue_type", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + } + ] + } + }, + "examples": { + "default": { + "value": [ + { + "id": 1, + "node_id": "MDEwOklzc3VlRXZlbnQx", + "url": "https://api.github.com/repos/octocat/Hello-World/issues/events/1", + "actor": { + "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 + }, + "event": "closed", + "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "commit_url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e", + "created_at": "2011-04-14T16:00:49Z", + "performed_via_github_app": null, + "label": { + "name": "label", + "color": "red" } } - } + ] } } } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } } }, - "503": { - "description": "Service unavailable", + "410": { + "description": "Gone", "content": { "application/json": { "schema": { + "title": "Basic Error", + "description": "Basic Error", "type": "object", "properties": { - "code": { - "type": "string" - }, "message": { "type": "string" }, "documentation_url": { "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" } } } @@ -519109,25 +519261,24 @@ } }, "x-github": { - "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "issues", - "subcategory": "issue-field-values" + "subcategory": "events" } } }, - "/repos/{owner}/{repo}/issues/{issue_number}/labels": { + "/repos/{owner}/{repo}/issues/{issue_number}/issue-field-values": { "get": { - "summary": "List labels for an issue", - "description": "Lists all labels for an issue.", + "summary": "List issue field values for an issue", + "description": "Lists all issue field values for an issue.", "tags": [ "issues" ], - "operationId": "issues/list-labels-on-issue", + "operationId": "issues/list-issue-field-values-for-issue", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-an-issue" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#list-issue-field-values-for-an-issue" }, "parameters": [ { @@ -519184,56 +519335,115 @@ "schema": { "type": "array", "items": { - "title": "Label", - "description": "Color-coded labels help you categorize and filter your issues (just like labels in Gmail).", + "title": "Issue Field Value", + "description": "A value assigned to an issue field", "type": "object", "properties": { - "id": { - "description": "Unique identifier for the label.", + "issue_field_id": { + "description": "Unique identifier for the issue field.", "type": "integer", "format": "int64", - "example": 208045946 + "example": 1 }, "node_id": { "type": "string", - "example": "MDU6TGFiZWwyMDgwNDU5NDY=" + "example": "IFT_GDKND" }, - "url": { - "description": "URL for the label", - "example": "https://api.github.com/repositories/42/labels/bug", + "data_type": { + "description": "The data type of the issue field", "type": "string", - "format": "uri" - }, - "name": { - "description": "The name of the label.", - "example": "bug", - "type": "string" + "enum": [ + "text", + "single_select", + "multi_select", + "number", + "date" + ], + "example": "text" }, - "description": { - "description": "Optional description of the label, such as its purpose.", - "type": "string", - "example": "Something isn't working", + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "example": "Sample text" + }, + { + "type": "number", + "example": 42.5 + }, + { + "type": "integer", + "example": 1 + } + ], "nullable": true }, - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "example": "FFFFFF", - "type": "string" + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the option", + "type": "string", + "example": "High" + }, + "color": { + "description": "The color of the option", + "type": "string", + "example": "red" + } + }, + "required": [ + "id", + "name", + "color" + ], + "nullable": true }, - "default": { - "description": "Whether this label comes by default in a new repository.", - "type": "boolean", - "example": true + "multi_select_options": { + "description": "Details about the selected options", + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the option", + "type": "string", + "example": "High" + }, + "color": { + "description": "The color of the option", + "type": "string", + "example": "red" + } + }, + "required": [ + "id", + "name", + "color" + ] + }, + "nullable": true } }, "required": [ - "id", + "issue_field_id", "node_id", - "url", - "name", - "description", - "color", - "default" + "data_type", + "value" ] } }, @@ -519241,22 +519451,51 @@ "default": { "value": [ { - "id": 208045946, - "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", - "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug", - "name": "bug", - "description": "Something isn't working", - "color": "f29513", - "default": true + "issue_field_id": 1, + "node_id": "IFT_GDKND", + "data_type": "text", + "value": "DRI" }, { - "id": 208045947, - "node_id": "MDU6TGFiZWwyMDgwNDU5NDc=", - "url": "https://api.github.com/repos/octocat/Hello-World/labels/enhancement", - "name": "enhancement", - "description": "New feature or request", - "color": "a2eeef", - "default": false + "issue_field_id": 2, + "node_id": "IFSS_SADMS", + "data_type": "single_select", + "value": 1, + "single_select_option": { + "id": 1, + "name": "High", + "color": "red" + } + }, + { + "issue_field_id": 3, + "node_id": "IFN_POINTS", + "data_type": "number", + "value": 42 + }, + { + "issue_field_id": 4, + "node_id": "IFD_DUEDATE", + "data_type": "date", + "value": "2025-12-25" + }, + { + "issue_field_id": 5, + "node_id": "IFMS_LABELS", + "data_type": "multi_select", + "value": "Frontend,Backend", + "multi_select_options": [ + { + "id": 1, + "name": "Frontend", + "color": "blue" + }, + { + "id": 2, + "name": "Backend", + "color": "green" + } + ] } ] } @@ -519355,19 +519594,19 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "issues", - "subcategory": "labels" + "subcategory": "issue-field-values" } }, "post": { - "summary": "Add labels to an issue", - "description": "Adds labels to an issue.", + "summary": "Add issue field values to an issue", + "description": "Add custom field values to an issue. You can set values for organization-level issue fields that have been defined for the repository's organization.\nAdding an empty array will clear all existing field values for the issue.\n\nThis endpoint supports the following field data types:\n- **`text`**: String values for text fields\n- **`single_select`**: Option names for single-select fields (must match an existing option name)\n- **`number`**: Numeric values for number fields\n- **`date`**: ISO 8601 date strings for date fields\n\nOnly users with push access to the repository can add issue field values. If you don't have the proper permissions, you'll receive a `403 Forbidden` response.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-cloud@latest/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest/rest/guides/best-practices-for-using-the-rest-api).\"", "tags": [ "issues" ], - "operationId": "issues/add-labels", + "operationId": "issues/add-issue-field-values", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#add-labels-to-an-issue" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#add-issue-field-values-to-an-issue" }, "parameters": [ { @@ -519399,52 +519638,83 @@ } ], "requestBody": { - "required": false, + "required": true, "content": { "application/json": { "schema": { - "oneOf": [ - { - "type": "object", - "properties": { - "labels": { - "type": "array", - "minItems": 1, - "description": "The names of the labels to add to the issue's existing labels. You can also pass an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. To replace all of the labels for an issue, use \"[Set labels for an issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#set-labels-for-an-issue).\"", - "items": { - "type": "string" - } - } - } - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { + "type": "object", + "properties": { + "issue_field_values": { "type": "array", + "description": "An array of issue field values to add to this issue. Each field value must include the field ID and the value to set.", "items": { "type": "object", "properties": { - "name": { - "type": "string" + "field_id": { + "type": "integer", + "description": "The ID of the issue field to set", + "example": 123 + }, + "value": { + "oneOf": [ + { + "type": "string", + "description": "The value to set for text, single_select, or date fields" + }, + { + "type": "number", + "description": "The value to set for number fields" + }, + { + "type": "array", + "items": { + "type": "string" + }, + "description": "The value to set for multi_select fields (array of option names)" + } + ], + "description": "The value to set for the field. The type depends on the field's data type:\n- For text fields: provide a string value\n- For single_select fields: provide the option name as a string (must match an existing option)\n- For number fields: provide a numeric value\n- For multi_select fields: provide an array of option names (must match existing options)\n- For date fields: provide an ISO 8601 date string", + "example": "Critical" } }, "required": [ - "name" - ] - } + "field_id", + "value" + ], + "additionalProperties": false + }, + "maxItems": 25 } - ] + } }, "examples": { "default": { + "summary": "Add multiple field values", "value": { - "labels": [ - "bug", - "enhancement" + "issue_field_values": [ + { + "field_id": 123, + "value": "Critical" + }, + { + "field_id": 456, + "value": 5 + }, + { + "field_id": 789, + "value": "2024-12-31" + } + ] + } + }, + "single-field": { + "summary": "Add a single field value", + "value": { + "issue_field_values": [ + { + "field_id": 123, + "value": "High Priority" + } ] } } @@ -519459,57 +519729,117 @@ "application/json": { "schema": { "type": "array", + "description": "The current issue field values for this issue after adding the new values", "items": { - "title": "Label", - "description": "Color-coded labels help you categorize and filter your issues (just like labels in Gmail).", + "title": "Issue Field Value", + "description": "A value assigned to an issue field", "type": "object", "properties": { - "id": { - "description": "Unique identifier for the label.", + "issue_field_id": { + "description": "Unique identifier for the issue field.", "type": "integer", "format": "int64", - "example": 208045946 + "example": 1 }, "node_id": { "type": "string", - "example": "MDU6TGFiZWwyMDgwNDU5NDY=" + "example": "IFT_GDKND" }, - "url": { - "description": "URL for the label", - "example": "https://api.github.com/repositories/42/labels/bug", + "data_type": { + "description": "The data type of the issue field", "type": "string", - "format": "uri" - }, - "name": { - "description": "The name of the label.", - "example": "bug", - "type": "string" + "enum": [ + "text", + "single_select", + "multi_select", + "number", + "date" + ], + "example": "text" }, - "description": { - "description": "Optional description of the label, such as its purpose.", - "type": "string", - "example": "Something isn't working", + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "example": "Sample text" + }, + { + "type": "number", + "example": 42.5 + }, + { + "type": "integer", + "example": 1 + } + ], "nullable": true }, - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "example": "FFFFFF", - "type": "string" + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the option", + "type": "string", + "example": "High" + }, + "color": { + "description": "The color of the option", + "type": "string", + "example": "red" + } + }, + "required": [ + "id", + "name", + "color" + ], + "nullable": true }, - "default": { - "description": "Whether this label comes by default in a new repository.", - "type": "boolean", - "example": true + "multi_select_options": { + "description": "Details about the selected options", + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the option", + "type": "string", + "example": "High" + }, + "color": { + "description": "The color of the option", + "type": "string", + "example": "red" + } + }, + "required": [ + "id", + "name", + "color" + ] + }, + "nullable": true } }, "required": [ - "id", + "issue_field_id", "node_id", - "url", - "name", - "description", - "color", - "default" + "data_type", + "value" ] } }, @@ -519517,22 +519847,51 @@ "default": { "value": [ { - "id": 208045946, - "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", - "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug", - "name": "bug", - "description": "Something isn't working", - "color": "f29513", - "default": true + "issue_field_id": 1, + "node_id": "IFT_GDKND", + "data_type": "text", + "value": "DRI" }, { - "id": 208045947, - "node_id": "MDU6TGFiZWwyMDgwNDU5NDc=", - "url": "https://api.github.com/repos/octocat/Hello-World/labels/enhancement", - "name": "enhancement", - "description": "New feature or request", - "color": "a2eeef", - "default": false + "issue_field_id": 2, + "node_id": "IFSS_SADMS", + "data_type": "single_select", + "value": 1, + "single_select_option": { + "id": 1, + "name": "High", + "color": "red" + } + }, + { + "issue_field_id": 3, + "node_id": "IFN_POINTS", + "data_type": "number", + "value": 42 + }, + { + "issue_field_id": 4, + "node_id": "IFD_DUEDATE", + "data_type": "date", + "value": "2025-12-25" + }, + { + "issue_field_id": 5, + "node_id": "IFMS_LABELS", + "data_type": "multi_select", + "value": "Frontend,Backend", + "multi_select_options": [ + { + "id": 1, + "name": "Frontend", + "color": "blue" + }, + { + "id": 2, + "name": "Backend", + "color": "green" + } + ] } ] } @@ -519540,8 +519899,8 @@ } } }, - "301": { - "description": "Moved permanently", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -519563,11 +519922,45 @@ } } } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } } } }, - "404": { - "description": "Resource not found", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -519592,8 +519985,8 @@ } } }, - "410": { - "description": "Gone", + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -519686,25 +520079,47 @@ } } } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } } }, "x-github": { + "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "issues", - "subcategory": "labels" + "subcategory": "issue-field-values" } }, "put": { - "summary": "Set labels for an issue", - "description": "Removes any previous labels and sets the new labels for an issue.", + "summary": "Set issue field values for an issue", + "description": "Set custom field values for an issue, replacing any existing values. You can set values for organization-level issue fields that have been defined for the repository's organization.\n\nThis endpoint supports the following field data types:\n- **`text`**: String values for text fields\n- **`single_select`**: Option names for single-select fields (must match an existing option name)\n- **`number`**: Numeric values for number fields\n- **`date`**: ISO 8601 date strings for date fields\n\nThis operation will replace all existing field values with the provided ones. If you want to add field values without replacing existing ones, use the `POST` endpoint instead.\n\nOnly users with push access to the repository can set issue field values. If you don't have the proper permissions, you'll receive a `403 Forbidden` response.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-cloud@latest/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest/rest/guides/best-practices-for-using-the-rest-api).\"", "tags": [ "issues" ], - "operationId": "issues/set-labels", + "operationId": "issues/set-issue-field-values", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#set-labels-for-an-issue" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#set-issue-field-values-for-an-issue" }, "parameters": [ { @@ -519736,77 +520151,76 @@ } ], "requestBody": { - "required": false, + "required": true, "content": { "application/json": { "schema": { - "oneOf": [ - { - "type": "object", - "properties": { - "labels": { - "type": "array", - "minItems": 1, - "description": "The names of the labels to set for the issue. The labels you set replace any existing labels. You can pass an empty array to remove all labels. Alternatively, you can pass a single label as a `string` or an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. You can also add labels to the existing labels for an issue. For more information, see \"[Add labels to an issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#add-labels-to-an-issue).\"", - "items": { - "type": "string" - } - } - } - }, - { - "type": "array", - "minItems": 1, - "items": { - "type": "string" - } - }, - { - "type": "object", - "properties": { - "labels": { - "type": "array", - "minItems": 1, - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - } - }, - "required": [ - "name" - ] - } - } - } - }, - { + "type": "object", + "properties": { + "issue_field_values": { "type": "array", - "minItems": 1, + "description": "An array of issue field values to set for this issue. Each field value must include the field ID and the value to set. All existing field values will be replaced.", "items": { "type": "object", "properties": { - "name": { - "type": "string" + "field_id": { + "type": "integer", + "description": "The ID of the issue field to set", + "example": 123 + }, + "value": { + "oneOf": [ + { + "type": "string", + "description": "The value to set for text, single_select, or date fields" + }, + { + "type": "number", + "description": "The value to set for number fields" + } + ], + "description": "The value to set for the field. The type depends on the field's data type:\n- For text fields: provide a string value\n- For single_select fields: provide the option name as a string (must match an existing option)\n- For number fields: provide a numeric value\n- For date fields: provide an ISO 8601 date string", + "example": "Critical" } }, "required": [ - "name" - ] - } - }, - { - "type": "string" + "field_id", + "value" + ], + "additionalProperties": false + }, + "maxItems": 25 } - ] + } }, "examples": { "default": { + "summary": "Set multiple field values", "value": { - "labels": [ - "bug", - "enhancement" + "issue_field_values": [ + { + "field_id": 123, + "value": "Critical" + }, + { + "field_id": 456, + "value": 5 + }, + { + "field_id": 789, + "value": "2024-12-31" + } + ] + } + }, + "single-field": { + "summary": "Set a single field value", + "value": { + "issue_field_values": [ + { + "field_id": 123, + "value": "High Priority" + } ] } } @@ -519821,57 +520235,117 @@ "application/json": { "schema": { "type": "array", + "description": "The current issue field values for this issue after setting the new values", "items": { - "title": "Label", - "description": "Color-coded labels help you categorize and filter your issues (just like labels in Gmail).", + "title": "Issue Field Value", + "description": "A value assigned to an issue field", "type": "object", "properties": { - "id": { - "description": "Unique identifier for the label.", + "issue_field_id": { + "description": "Unique identifier for the issue field.", "type": "integer", "format": "int64", - "example": 208045946 + "example": 1 }, "node_id": { "type": "string", - "example": "MDU6TGFiZWwyMDgwNDU5NDY=" + "example": "IFT_GDKND" }, - "url": { - "description": "URL for the label", - "example": "https://api.github.com/repositories/42/labels/bug", + "data_type": { + "description": "The data type of the issue field", "type": "string", - "format": "uri" - }, - "name": { - "description": "The name of the label.", - "example": "bug", - "type": "string" + "enum": [ + "text", + "single_select", + "multi_select", + "number", + "date" + ], + "example": "text" }, - "description": { - "description": "Optional description of the label, such as its purpose.", - "type": "string", - "example": "Something isn't working", + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "example": "Sample text" + }, + { + "type": "number", + "example": 42.5 + }, + { + "type": "integer", + "example": 1 + } + ], "nullable": true }, - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "example": "FFFFFF", - "type": "string" + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the option", + "type": "string", + "example": "High" + }, + "color": { + "description": "The color of the option", + "type": "string", + "example": "red" + } + }, + "required": [ + "id", + "name", + "color" + ], + "nullable": true }, - "default": { - "description": "Whether this label comes by default in a new repository.", - "type": "boolean", - "example": true + "multi_select_options": { + "description": "Details about the selected options", + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the option", + "type": "string", + "example": "High" + }, + "color": { + "description": "The color of the option", + "type": "string", + "example": "red" + } + }, + "required": [ + "id", + "name", + "color" + ] + }, + "nullable": true } }, "required": [ - "id", + "issue_field_id", "node_id", - "url", - "name", - "description", - "color", - "default" + "data_type", + "value" ] } }, @@ -519879,22 +520353,51 @@ "default": { "value": [ { - "id": 208045946, - "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", - "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug", - "name": "bug", - "description": "Something isn't working", - "color": "f29513", - "default": true + "issue_field_id": 1, + "node_id": "IFT_GDKND", + "data_type": "text", + "value": "DRI" }, { - "id": 208045947, - "node_id": "MDU6TGFiZWwyMDgwNDU5NDc=", - "url": "https://api.github.com/repos/octocat/Hello-World/labels/enhancement", - "name": "enhancement", - "description": "New feature or request", - "color": "a2eeef", - "default": false + "issue_field_id": 2, + "node_id": "IFSS_SADMS", + "data_type": "single_select", + "value": 1, + "single_select_option": { + "id": 1, + "name": "High", + "color": "red" + } + }, + { + "issue_field_id": 3, + "node_id": "IFN_POINTS", + "data_type": "number", + "value": 42 + }, + { + "issue_field_id": 4, + "node_id": "IFD_DUEDATE", + "data_type": "date", + "value": "2025-12-25" + }, + { + "issue_field_id": 5, + "node_id": "IFMS_LABELS", + "data_type": "multi_select", + "value": "Frontend,Backend", + "multi_select_options": [ + { + "id": 1, + "name": "Frontend", + "color": "blue" + }, + { + "id": 2, + "name": "Backend", + "color": "green" + } + ] } ] } @@ -519902,8 +520405,8 @@ } } }, - "301": { - "description": "Moved permanently", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -519925,13 +520428,47 @@ } } } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { "schema": { "title": "Basic Error", "description": "Basic Error", @@ -519954,8 +520491,8 @@ } } }, - "410": { - "description": "Gone", + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -520048,25 +520585,49 @@ } } } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } } }, "x-github": { + "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "issues", - "subcategory": "labels" + "subcategory": "issue-field-values" } - }, + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/issue-field-values/{issue_field_id}": { "delete": { - "summary": "Remove all labels from an issue", - "description": "Removes all labels from an issue.", + "summary": "Delete an issue field value from an issue", + "description": "Remove a specific custom field value from an issue.\n\nOnly users with push access to the repository can delete issue field values. If you don't have the proper permissions, you'll receive a `403 Forbidden` response.\n\nIf the specified field does not have a value set on the issue, this operation will return a `404` error.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-cloud@latest/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest/rest/guides/best-practices-for-using-the-rest-api).\"", "tags": [ "issues" ], - "operationId": "issues/remove-all-labels", + "operationId": "issues/delete-issue-field-value", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#remove-all-labels-from-an-issue" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue" }, "parameters": [ { @@ -520095,14 +520656,23 @@ "schema": { "type": "integer" } + }, + { + "name": "issue_field_id", + "description": "The unique identifier of the issue field.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } } ], "responses": { "204": { - "description": "Response" + "description": "Issue field value deleted successfully" }, - "301": { - "description": "Moved permanently", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -520153,14 +520723,18 @@ } } }, - "410": { - "description": "Gone", + "422": { + "description": "Validation failed, or the endpoint has been spammed.", "content": { "application/json": { "schema": { - "title": "Basic Error", - "description": "Basic Error", + "title": "Validation Error", + "description": "Validation Error", "type": "object", + "required": [ + "message", + "documentation_url" + ], "properties": { "message": { "type": "string" @@ -520168,10 +520742,70 @@ "documentation_url": { "type": "string" }, - "url": { + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { "type": "string" }, - "status": { + "message": { + "type": "string" + }, + "documentation_url": { "type": "string" } } @@ -520181,24 +520815,25 @@ } }, "x-github": { + "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "issues", - "subcategory": "labels" + "subcategory": "issue-field-values" } } }, - "/repos/{owner}/{repo}/issues/{issue_number}/labels/{name}": { - "delete": { - "summary": "Remove a label from an issue", - "description": "Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist.", + "/repos/{owner}/{repo}/issues/{issue_number}/labels": { + "get": { + "summary": "List labels for an issue", + "description": "Lists all labels for an issue.", "tags": [ "issues" ], - "operationId": "issues/remove-label", + "operationId": "issues/list-labels-on-issue", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#remove-a-label-from-an-issue" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-an-issue" }, "parameters": [ { @@ -520229,11 +520864,21 @@ } }, { - "name": "name", - "in": "path", - "required": true, + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", "schema": { - "type": "string" + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 } } ], @@ -520309,11 +520954,28 @@ "description": "Something isn't working", "color": "f29513", "default": true + }, + { + "id": 208045947, + "node_id": "MDU6TGFiZWwyMDgwNDU5NDc=", + "url": "https://api.github.com/repos/octocat/Hello-World/labels/enhancement", + "name": "enhancement", + "description": "New feature or request", + "color": "a2eeef", + "default": false } ] } } } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } } }, "301": { @@ -520401,19 +521063,17 @@ "category": "issues", "subcategory": "labels" } - } - }, - "/repos/{owner}/{repo}/issues/{issue_number}/lock": { - "put": { - "summary": "Lock an issue", - "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP method](https://docs.github.com/enterprise-cloud@latest/rest/guides/getting-started-with-the-rest-api#http-method).\"", + }, + "post": { + "summary": "Add labels to an issue", + "description": "Adds labels to an issue.", "tags": [ "issues" ], - "operationId": "issues/lock", + "operationId": "issues/add-labels", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#lock-an-issue" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#add-labels-to-an-issue" }, "parameters": [ { @@ -520449,26 +521109,49 @@ "content": { "application/json": { "schema": { - "type": "object", - "nullable": true, - "properties": { - "lock_reason": { - "type": "string", - "description": "The reason for locking the issue or pull request conversation. Lock will fail if you don't use one of these reasons: \n * `off-topic` \n * `too heated` \n * `resolved` \n * `spam`", - "enum": [ - "off-topic", - "too heated", - "resolved", - "spam" - ] + "oneOf": [ + { + "type": "object", + "properties": { + "labels": { + "type": "array", + "minItems": 1, + "description": "The names of the labels to add to the issue's existing labels. You can also pass an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. To replace all of the labels for an issue, use \"[Set labels for an issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#set-labels-for-an-issue).\"", + "items": { + "type": "string" + } + } + } + }, + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ] + } } - } + ] }, "examples": { "default": { - "summary": "Example of locking an issue as off-topic", "value": { - "lock_reason": "off-topic" + "labels": [ + "bug", + "enhancement" + ] } } } @@ -520476,11 +521159,95 @@ } }, "responses": { - "204": { - "description": "Response" + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Label", + "description": "Color-coded labels help you categorize and filter your issues (just like labels in Gmail).", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the label.", + "type": "integer", + "format": "int64", + "example": 208045946 + }, + "node_id": { + "type": "string", + "example": "MDU6TGFiZWwyMDgwNDU5NDY=" + }, + "url": { + "description": "URL for the label", + "example": "https://api.github.com/repositories/42/labels/bug", + "type": "string", + "format": "uri" + }, + "name": { + "description": "The name of the label.", + "example": "bug", + "type": "string" + }, + "description": { + "description": "Optional description of the label, such as its purpose.", + "type": "string", + "example": "Something isn't working", + "nullable": true + }, + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "example": "FFFFFF", + "type": "string" + }, + "default": { + "description": "Whether this label comes by default in a new repository.", + "type": "boolean", + "example": true + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "description", + "color", + "default" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "id": 208045946, + "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", + "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug", + "name": "bug", + "description": "Something isn't working", + "color": "f29513", + "default": true + }, + { + "id": 208045947, + "node_id": "MDU6TGFiZWwyMDgwNDU5NDc=", + "url": "https://api.github.com/repos/octocat/Hello-World/labels/enhancement", + "name": "enhancement", + "description": "New feature or request", + "color": "a2eeef", + "default": false + } + ] + } + } + } + } }, - "403": { - "description": "Forbidden", + "301": { + "description": "Moved permanently", "content": { "application/json": { "schema": { @@ -520505,8 +521272,8 @@ } } }, - "410": { - "description": "Gone", + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -520531,8 +521298,8 @@ } } }, - "404": { - "description": "Resource not found", + "410": { + "description": "Gone", "content": { "application/json": { "schema": { @@ -520631,19 +521398,19 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "issues", - "subcategory": "issues" + "subcategory": "labels" } }, - "delete": { - "summary": "Unlock an issue", - "description": "Users with push access can unlock an issue's conversation.", + "put": { + "summary": "Set labels for an issue", + "description": "Removes any previous labels and sets the new labels for an issue.", "tags": [ "issues" ], - "operationId": "issues/unlock", + "operationId": "issues/set-labels", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#unlock-an-issue" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#set-labels-for-an-issue" }, "parameters": [ { @@ -520674,52 +521441,241 @@ } } ], - "responses": { - "204": { - "description": "Response" - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "object", + "properties": { + "labels": { + "type": "array", + "minItems": 1, + "description": "The names of the labels to set for the issue. The labels you set replace any existing labels. You can pass an empty array to remove all labels. Alternatively, you can pass a single label as a `string` or an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. You can also add labels to the existing labels for an issue. For more information, see \"[Add labels to an issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#add-labels-to-an-issue).\"", + "items": { + "type": "string" + } + } + } + }, + { + "type": "array", + "minItems": 1, + "items": { "type": "string" } + }, + { + "type": "object", + "properties": { + "labels": { + "type": "array", + "minItems": 1, + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ] + } + } + } + }, + { + "type": "array", + "minItems": 1, + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ] + } + }, + { + "type": "string" + } + ] + }, + "examples": { + "default": { + "value": { + "labels": [ + "bug", + "enhancement" + ] } } } } - }, - "404": { - "description": "Resource not found", + } + }, + "responses": { + "200": { + "description": "Response", "content": { "application/json": { "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { + "type": "array", + "items": { + "title": "Label", + "description": "Color-coded labels help you categorize and filter your issues (just like labels in Gmail).", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the label.", + "type": "integer", + "format": "int64", + "example": 208045946 + }, + "node_id": { + "type": "string", + "example": "MDU6TGFiZWwyMDgwNDU5NDY=" + }, + "url": { + "description": "URL for the label", + "example": "https://api.github.com/repositories/42/labels/bug", + "type": "string", + "format": "uri" + }, + "name": { + "description": "The name of the label.", + "example": "bug", + "type": "string" + }, + "description": { + "description": "Optional description of the label, such as its purpose.", + "type": "string", + "example": "Something isn't working", + "nullable": true + }, + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "example": "FFFFFF", + "type": "string" + }, + "default": { + "description": "Whether this label comes by default in a new repository.", + "type": "boolean", + "example": true + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "description", + "color", + "default" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "id": 208045946, + "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", + "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug", + "name": "bug", + "description": "Something isn't working", + "color": "f29513", + "default": true + }, + { + "id": 208045947, + "node_id": "MDU6TGFiZWwyMDgwNDU5NDc=", + "url": "https://api.github.com/repos/octocat/Hello-World/labels/enhancement", + "name": "enhancement", + "description": "New feature or request", + "color": "a2eeef", + "default": false + } + ] + } + } + } + } + }, + "301": { + "description": "Moved permanently", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "410": { + "description": "Gone", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { "type": "string" }, "status": { @@ -520729,27 +521685,94 @@ } } } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "issues", - "subcategory": "issues" + "subcategory": "labels" } - } - }, - "/repos/{owner}/{repo}/issues/{issue_number}/parent": { - "get": { - "summary": "Get parent issue", - "description": "You can use the REST API to get the parent issue of a sub-issue.\n\nThis endpoint supports the following custom media types. For more information, see [Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + }, + "delete": { + "summary": "Remove all labels from an issue", + "description": "Removes all labels from an issue.", "tags": [ "issues" ], - "operationId": "issues/get-parent", + "operationId": "issues/remove-all-labels", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#get-parent-issue" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#remove-all-labels-from-an-issue" }, "parameters": [ { @@ -520781,277 +521804,960 @@ } ], "responses": { - "200": { - "description": "Response", + "204": { + "description": "Response" + }, + "301": { + "description": "Moved permanently", "content": { "application/json": { "schema": { - "title": "Issue", - "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", + "title": "Basic Error", + "description": "Basic Error", "type": "object", "properties": { - "id": { - "type": "integer", - "format": "int64" + "message": { + "type": "string" }, - "node_id": { + "documentation_url": { "type": "string" }, "url": { - "description": "URL for the issue", - "example": "https://api.github.com/repositories/42/issues/1", - "type": "string", - "format": "uri" + "type": "string" }, - "repository_url": { - "type": "string", - "format": "uri" + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" }, - "labels_url": { + "documentation_url": { "type": "string" }, - "comments_url": { - "type": "string", - "format": "uri" + "url": { + "type": "string" }, - "events_url": { - "type": "string", - "format": "uri" + "status": { + "type": "string" + } + } + } + } + } + }, + "410": { + "description": "Gone", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" }, - "html_url": { - "type": "string", - "format": "uri" + "documentation_url": { + "type": "string" }, - "number": { - "description": "Number uniquely identifying the issue within its repository", - "example": 42, - "type": "integer" + "url": { + "type": "string" }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "example": "open", + "status": { "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "issues", + "subcategory": "labels" + } + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/labels/{name}": { + "delete": { + "summary": "Remove a label from an issue", + "description": "Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist.", + "tags": [ + "issues" + ], + "operationId": "issues/remove-label", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#remove-a-label-from-an-issue" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "issue_number", + "description": "The number that identifies the issue.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "name", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Label", + "description": "Color-coded labels help you categorize and filter your issues (just like labels in Gmail).", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the label.", + "type": "integer", + "format": "int64", + "example": 208045946 + }, + "node_id": { + "type": "string", + "example": "MDU6TGFiZWwyMDgwNDU5NDY=" + }, + "url": { + "description": "URL for the label", + "example": "https://api.github.com/repositories/42/labels/bug", + "type": "string", + "format": "uri" + }, + "name": { + "description": "The name of the label.", + "example": "bug", + "type": "string" + }, + "description": { + "description": "Optional description of the label, such as its purpose.", + "type": "string", + "example": "Something isn't working", + "nullable": true + }, + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "example": "FFFFFF", + "type": "string" + }, + "default": { + "description": "Whether this label comes by default in a new repository.", + "type": "boolean", + "example": true + } }, - "state_reason": { - "description": "The reason for the current state", - "example": "not_planned", - "type": "string", - "nullable": true, - "enum": [ - "completed", - "reopened", - "not_planned", - "duplicate" - ] + "required": [ + "id", + "node_id", + "url", + "name", + "description", + "color", + "default" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "id": 208045946, + "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", + "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug", + "name": "bug", + "description": "Something isn't working", + "color": "f29513", + "default": true + } + ] + } + } + } + } + }, + "301": { + "description": "Moved permanently", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" }, - "title": { - "description": "Title of the issue", - "example": "Widget creation fails in Safari on OS X 10.8", + "documentation_url": { "type": "string" }, - "body": { - "description": "Contents of the issue", - "example": "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?", - "type": "string", - "nullable": true + "url": { + "type": "string" }, - "user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" }, - "labels": { - "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", - "example": [ - "bug", - "registration" - ], + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "410": { + "description": "Gone", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "issues", + "subcategory": "labels" + } + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/lock": { + "put": { + "summary": "Lock an issue", + "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP method](https://docs.github.com/enterprise-cloud@latest/rest/guides/getting-started-with-the-rest-api#http-method).\"", + "tags": [ + "issues" + ], + "operationId": "issues/lock", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#lock-an-issue" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "issue_number", + "description": "The number that identifies the issue.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "type": "object", + "nullable": true, + "properties": { + "lock_reason": { + "type": "string", + "description": "The reason for locking the issue or pull request conversation. Lock will fail if you don't use one of these reasons: \n * `off-topic` \n * `too heated` \n * `resolved` \n * `spam`", + "enum": [ + "off-topic", + "too heated", + "resolved", + "spam" + ] + } + } + }, + "examples": { + "default": { + "summary": "Example of locking an issue as off-topic", + "value": { + "lock_reason": "off-topic" + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "410": { + "description": "Gone", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { "type": "array", "items": { - "oneOf": [ - { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { "type": "string" }, - { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "node_id": { - "type": "string" - }, - "url": { - "type": "string", - "format": "uri" - }, - "name": { - "type": "string" - }, - "description": { + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { "type": "string", "nullable": true }, - "color": { - "type": "string", + { + "type": "integer", "nullable": true }, - "default": { - "type": "boolean" + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } } - } + ] } - ] + } } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "issues", + "subcategory": "issues" + } + }, + "delete": { + "summary": "Unlock an issue", + "description": "Users with push access can unlock an issue's conversation.", + "tags": [ + "issues" + ], + "operationId": "issues/unlock", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#unlock-an-issue" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "issue_number", + "description": "The number that identifies the issue.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" }, - "assignee": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "issues", + "subcategory": "issues" + } + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/parent": { + "get": { + "summary": "Get parent issue", + "description": "You can use the REST API to get the parent issue of a sub-issue.\n\nThis endpoint supports the following custom media types. For more information, see [Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "tags": [ + "issues" + ], + "operationId": "issues/get-parent", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#get-parent-issue" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "issue_number", + "description": "The number that identifies the issue.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Issue", + "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the issue", + "example": "https://api.github.com/repositories/42/issues/1", + "type": "string", + "format": "uri" + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "labels_url": { + "type": "string" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "number": { + "description": "Number uniquely identifying the issue within its repository", + "example": 42, + "type": "integer" + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "example": "open", + "type": "string" + }, + "state_reason": { + "description": "The reason for the current state", + "example": "not_planned", + "type": "string", + "nullable": true, + "enum": [ + "completed", + "reopened", + "not_planned", + "duplicate" + ] + }, + "title": { + "description": "Title of the issue", + "example": "Widget creation fails in Safari on OS X 10.8", + "type": "string" + }, + "body": { + "description": "Contents of the issue", + "example": "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?", + "type": "string", + "nullable": true + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "labels": { + "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", + "example": [ + "bug", + "registration" + ], + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + }, + "color": { + "type": "string", + "nullable": true + }, + "default": { + "type": "boolean" + } + } + } + ] + } + }, + "assignee": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { "type": "string", "format": "uri", "example": "https://github.com/images/error/octocat_happy.gif" @@ -550314,632 +552020,2763 @@ "events" ] }, - "reactions": { - "title": "Reaction Rollup", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri" - }, - "total_count": { - "type": "integer" - }, - "+1": { - "type": "integer" - }, - "-1": { - "type": "integer" - }, - "laugh": { - "type": "integer" - }, - "confused": { - "type": "integer" - }, - "heart": { - "type": "integer" - }, - "hooray": { - "type": "integer" - }, - "eyes": { - "type": "integer" - }, - "rocket": { - "type": "integer" - } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "pin": { + "title": "Pinned Issue Comment", + "description": "Context around who pinned an issue comment and when it was pinned.", + "type": "object", + "properties": { + "pinned_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-14T16:00:49Z" + }, + "pinned_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + } + }, + "required": [ + "pinned_at", + "pinned_by" + ], + "nullable": true + } + }, + "required": [ + "id", + "node_id", + "html_url", + "issue_url", + "user", + "url", + "created_at", + "updated_at" + ], + "nullable": true + }, + "issue_dependencies_summary": { + "title": "Issue Dependencies Summary", + "type": "object", + "properties": { + "blocked_by": { + "type": "integer" + }, + "blocking": { + "type": "integer" + }, + "total_blocked_by": { + "type": "integer" + }, + "total_blocking": { + "type": "integer" + } + }, + "required": [ + "blocked_by", + "blocking", + "total_blocked_by", + "total_blocking" + ] + }, + "issue_field_values": { + "type": "array", + "items": { + "title": "Issue Field Value", + "description": "A value assigned to an issue field", + "type": "object", + "properties": { + "issue_field_id": { + "description": "Unique identifier for the issue field.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "IFT_GDKND" + }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": [ + "text", + "single_select", + "multi_select", + "number", + "date" + ], + "example": "text" + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "example": "Sample text" + }, + { + "type": "number", + "example": 42.5 + }, + { + "type": "integer", + "example": 1 + } + ], + "nullable": true + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the option", + "type": "string", + "example": "High" + }, + "color": { + "description": "The color of the option", + "type": "string", + "example": "red" + } + }, + "required": [ + "id", + "name", + "color" + ], + "nullable": true + }, + "multi_select_options": { + "description": "Details about the selected options", + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the option", + "type": "string", + "example": "High" + }, + "color": { + "description": "The color of the option", + "type": "string", + "example": "red" + } + }, + "required": [ + "id", + "name", + "color" + ] + }, + "nullable": true + } + }, + "required": [ + "issue_field_id", + "node_id", + "data_type", + "value" + ] + } + } + }, + "required": [ + "assignee", + "closed_at", + "comments", + "comments_url", + "events_url", + "html_url", + "id", + "node_id", + "labels", + "labels_url", + "milestone", + "number", + "repository_url", + "state", + "locked", + "title", + "url", + "user", + "created_at", + "updated_at" + ], + "x-github-breaking-changes": [ + { + "changeset": "deprecate_beta_media_type", + "patch": { + "properties": { + "pull_request": { + "type": "object", + "properties": { + "merged_at": { + "nullable": false + }, + "diff_url": { + "nullable": false + }, + "html_url": { + "nullable": false + }, + "patch_url": { + "nullable": false + }, + "url": { + "nullable": false + } + } + } + } + }, + "version": "2026-03-10" + }, + { + "changeset": "remove_singular_assignee_from_issues_and_pull_requests", + "patch": { + "properties": { + "assignee": null + }, + "required": [ + "closed_at", + "comments", + "comments_url", + "events_url", + "html_url", + "id", + "node_id", + "labels", + "labels_url", + "milestone", + "number", + "repository_url", + "state", + "locked", + "title", + "url", + "user", + "created_at", + "updated_at" + ] + }, + "version": "2026-03-10" + } + ] + } + } + } + }, + "required": [ + "event", + "created_at", + "updated_at", + "source" + ] + }, + { + "title": "Timeline Committed Event", + "description": "Timeline Committed Event", + "type": "object", + "properties": { + "event": { + "type": "string" + }, + "sha": { + "description": "SHA for the commit", + "example": "7638417db6d59f3c431d3e1f261cc637155684cd", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "author": { + "description": "Identifying information for the git-user", + "type": "object", + "properties": { + "date": { + "description": "Timestamp of the commit", + "example": "2014-08-09T08:02:04+12:00", + "format": "date-time", + "type": "string" + }, + "email": { + "type": "string", + "description": "Git email address of the user", + "example": "monalisa.octocat@example.com" + }, + "name": { + "description": "Name of the git user", + "example": "Monalisa Octocat", + "type": "string" + } + }, + "required": [ + "email", + "name", + "date" + ] + }, + "committer": { + "description": "Identifying information for the git-user", + "type": "object", + "properties": { + "date": { + "description": "Timestamp of the commit", + "example": "2014-08-09T08:02:04+12:00", + "format": "date-time", + "type": "string" + }, + "email": { + "type": "string", + "description": "Git email address of the user", + "example": "monalisa.octocat@example.com" + }, + "name": { + "description": "Name of the git user", + "example": "Monalisa Octocat", + "type": "string" + } + }, + "required": [ + "email", + "name", + "date" + ] + }, + "message": { + "description": "Message describing the purpose of the commit", + "example": "Fix #42", + "type": "string" + }, + "tree": { + "type": "object", + "properties": { + "sha": { + "description": "SHA for the commit", + "example": "7638417db6d59f3c431d3e1f261cc637155684cd", + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "sha", + "url" + ] + }, + "parents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "sha": { + "description": "SHA for the commit", + "example": "7638417db6d59f3c431d3e1f261cc637155684cd", + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "sha", + "url", + "html_url" + ] + } + }, + "verification": { + "type": "object", + "properties": { + "verified": { + "type": "boolean" + }, + "reason": { + "type": "string" + }, + "signature": { + "type": "string", + "nullable": true + }, + "payload": { + "type": "string", + "nullable": true + }, + "verified_at": { + "type": "string", + "nullable": true + } + }, + "required": [ + "verified", + "reason", + "signature", + "payload", + "verified_at" + ] + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "sha", + "node_id", + "url", + "html_url", + "author", + "committer", + "tree", + "message", + "parents", + "verification" + ] + }, + { + "title": "Timeline Reviewed Event", + "description": "Timeline Reviewed Event", + "type": "object", + "properties": { + "event": { + "type": "string" + }, + "id": { + "description": "Unique identifier of the review", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA=" + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "body": { + "nullable": true, + "description": "The text of the review.", + "example": "This looks great.", + "type": "string" + }, + "state": { + "type": "string", + "example": "CHANGES_REQUESTED" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80" + }, + "pull_request_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/12" + }, + "_links": { + "type": "object", + "properties": { + "html": { + "type": "object", + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ] + }, + "pull_request": { + "type": "object", + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ] + } + }, + "required": [ + "html", + "pull_request" + ] + }, + "submitted_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time" + }, + "commit_id": { + "description": "A commit SHA for the review.", + "example": "54bb654c9e6025347f57900a4a5c2313a96b8035", + "type": "string" + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "author_association": { + "title": "author_association", + "type": "string", + "example": "OWNER", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + } + }, + "required": [ + "event", + "id", + "node_id", + "user", + "body", + "state", + "commit_id", + "html_url", + "pull_request_url", + "_links", + "author_association" + ] + }, + { + "title": "Timeline Line Commented Event", + "description": "Timeline Line Commented Event", + "type": "object", + "properties": { + "event": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "comments": { + "type": "array", + "items": { + "title": "Pull Request Review Comment", + "description": "Pull Request Review Comments are comments on a portion of the Pull Request's diff.", + "type": "object", + "properties": { + "url": { + "description": "URL for the pull request review comment", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1", + "type": "string" + }, + "pull_request_review_id": { + "description": "The ID of the pull request review to which the comment belongs.", + "type": "integer", + "format": "int64", + "example": 42, + "nullable": true + }, + "id": { + "description": "The ID of the pull request review comment.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "description": "The node ID of the pull request review comment.", + "type": "string", + "example": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw" + }, + "diff_hunk": { + "description": "The diff of the line that the comment refers to.", + "type": "string", + "example": "@@ -16,33 +16,40 @@ public class Connection : IConnection..." + }, + "path": { + "description": "The relative path of the file to which the comment applies.", + "example": "config/database.yaml", + "type": "string" + }, + "position": { + "description": "The line index in the diff to which the comment applies. This field is closing down; use `line` instead.", + "example": 1, + "type": "integer" + }, + "original_position": { + "description": "The index of the original line in the diff to which the comment applies. This field is closing down; use `original_line` instead.", + "example": 4, + "type": "integer" + }, + "commit_id": { + "description": "The SHA of the commit to which the comment applies.", + "example": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "type": "string" + }, + "original_commit_id": { + "description": "The SHA of the original commit to which the comment applies.", + "example": "9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840", + "type": "string" + }, + "in_reply_to_id": { + "description": "The comment ID to reply to.", + "example": 8, + "type": "integer" + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "body": { + "description": "The text of the comment.", + "example": "We should probably include a check for null values here.", + "type": "string" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-14T16:00:49Z" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-14T16:00:49Z" + }, + "html_url": { + "description": "HTML URL for the pull request review comment.", + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1" + }, + "pull_request_url": { + "description": "URL for the pull request that the review comment belongs to.", + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1" + }, + "author_association": { + "title": "author_association", + "type": "string", + "example": "OWNER", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + "_links": { + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1" + } + }, + "required": [ + "href" + ] + }, + "html": { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1" + } + }, + "required": [ + "href" + ] + }, + "pull_request": { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1" + } + }, + "required": [ + "href" + ] + } + }, + "required": [ + "self", + "html", + "pull_request" + ] + }, + "start_line": { + "type": "integer", + "description": "The first line of the range for a multi-line comment.", + "example": 2, + "nullable": true + }, + "original_start_line": { + "type": "integer", + "description": "The first line of the range for a multi-line comment.", + "example": 2, + "nullable": true + }, + "start_side": { + "type": "string", + "description": "The side of the first line of the range for a multi-line comment.", + "enum": [ + "LEFT", + "RIGHT" + ], + "default": "RIGHT", + "nullable": true + }, + "line": { + "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", + "example": 2, + "type": "integer" + }, + "original_line": { + "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", + "example": 2, + "type": "integer" + }, + "side": { + "description": "The side of the diff to which the comment applies. The side of the last line of the range for a multi-line comment", + "enum": [ + "LEFT", + "RIGHT" + ], + "default": "RIGHT", + "type": "string" + }, + "subject_type": { + "description": "The level at which the comment is targeted, can be a diff line or a file.", + "type": "string", + "enum": [ + "line", + "file" + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "body_html": { + "type": "string", + "example": "\"

comment body

\"" + }, + "body_text": { + "type": "string", + "example": "\"comment body\"" + } + }, + "required": [ + "url", + "id", + "node_id", + "pull_request_review_id", + "diff_hunk", + "path", + "commit_id", + "original_commit_id", + "user", + "body", + "created_at", + "updated_at", + "html_url", + "pull_request_url", + "author_association", + "_links" + ] + } + } + } + }, + { + "title": "Timeline Commit Commented Event", + "description": "Timeline Commit Commented Event", + "type": "object", + "properties": { + "event": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "commit_id": { + "type": "string" + }, + "comments": { + "type": "array", + "items": { + "title": "Commit Comment", + "description": "Commit Comment", + "type": "object", + "properties": { + "html_url": { + "type": "string", + "format": "uri" + }, + "url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "body": { + "type": "string" + }, + "path": { + "type": "string", + "nullable": true + }, + "position": { + "type": "integer", + "nullable": true + }, + "line": { + "type": "integer", + "nullable": true + }, + "commit_id": { + "type": "string" + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "author_association": { + "title": "author_association", + "type": "string", + "example": "OWNER", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + } + }, + "required": [ + "url", + "html_url", + "id", + "node_id", + "user", + "position", + "line", + "path", + "commit_id", + "body", + "author_association", + "created_at", + "updated_at" + ] + } + } + } + }, + { + "title": "Timeline Assigned Issue Event", + "description": "Timeline Assigned Issue Event", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "actor": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": "string", + "nullable": true + }, + "commit_url": { + "type": "string", + "nullable": true + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { + "type": "string", + "example": "MDExOkludGVncmF0aW9uMQ==" + }, + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", + "type": "string" + }, + "description": { + "type": "string", + "example": "The description of the app.", + "nullable": true + }, + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app. Note that the `installation_target`, `security_advisory`, and `meta` events are not included because they are global events and not specific to an installation.", + "example": [ + "label", + "deployment" + ], + "type": "array", + "items": { + "type": "string" + } + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "example": 5, + "type": "integer" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + }, + "assignee": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "required": [ + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app", + "assignee" + ] + }, + { + "title": "Timeline Unassigned Issue Event", + "description": "Timeline Unassigned Issue Event", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "actor": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": "string", + "nullable": true + }, + "commit_url": { + "type": "string", + "nullable": true + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { + "type": "string", + "example": "MDExOkludGVncmF0aW9uMQ==" + }, + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" }, - "pin": { - "title": "Pinned Issue Comment", - "description": "Context around who pinned an issue comment and when it was pinned.", - "type": "object", - "properties": { - "pinned_at": { - "type": "string", - "format": "date-time", - "example": "2011-04-14T16:00:49Z" - }, - "pinned_by": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - } - }, - "required": [ - "pinned_at", - "pinned_by" - ], + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" } }, "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", "id", "node_id", - "html_url", - "issue_url", - "user", - "url", - "created_at", - "updated_at" - ], - "nullable": true + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] }, - "issue_dependencies_summary": { - "title": "Issue Dependencies Summary", + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", "type": "object", "properties": { - "blocked_by": { - "type": "integer" - }, - "blocking": { - "type": "integer" + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true }, - "total_blocked_by": { - "type": "integer" + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" }, - "total_blocking": { - "type": "integer" - } - }, - "required": [ - "blocked_by", - "blocking", - "total_blocked_by", - "total_blocking" - ] - }, - "issue_field_values": { - "type": "array", - "items": { - "title": "Issue Field Value", - "description": "A value assigned to an issue field", - "type": "object", - "properties": { - "issue_field_id": { - "description": "Unique identifier for the issue field.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "IFT_GDKND" - }, - "data_type": { - "description": "The data type of the issue field", - "type": "string", - "enum": [ - "text", - "single_select", - "multi_select", - "number", - "date" - ], - "example": "text" - }, - "value": { - "description": "The value of the issue field", - "anyOf": [ - { - "type": "string", - "example": "Sample text" - }, - { - "type": "number", - "example": 42.5 - }, - { - "type": "integer", - "example": 1 - } - ], - "nullable": true - }, - "single_select_option": { - "description": "Details about the selected option (only present for single_select fields)", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "name": { - "description": "The name of the option", - "type": "string", - "example": "High" - }, - "color": { - "description": "The color of the option", - "type": "string", - "example": "red" - } - }, - "required": [ - "id", - "name", - "color" - ], - "nullable": true - }, - "multi_select_options": { - "description": "Details about the selected options", - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "name": { - "description": "The name of the option", - "type": "string", - "example": "High" - }, - "color": { - "description": "The color of the option", - "type": "string", - "example": "red" - } - }, - "required": [ - "id", - "name", - "color" - ] - }, - "nullable": true - } + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" }, - "required": [ - "issue_field_id", - "node_id", - "data_type", - "value" - ] - } - } - }, - "required": [ - "assignee", - "closed_at", - "comments", - "comments_url", - "events_url", - "html_url", - "id", - "node_id", - "labels", - "labels_url", - "milestone", - "number", - "repository_url", - "state", - "locked", - "title", - "url", - "user", - "created_at", - "updated_at" - ], - "x-github-breaking-changes": [ - { - "changeset": "deprecate_beta_media_type", - "patch": { - "properties": { - "pull_request": { - "type": "object", - "properties": { - "merged_at": { - "nullable": false - }, - "diff_url": { - "nullable": false - }, - "html_url": { - "nullable": false - }, - "patch_url": { - "nullable": false - }, - "url": { - "nullable": false - } - } - } - } - }, - "version": "2026-03-10" - }, - { - "changeset": "remove_singular_assignee_from_issues_and_pull_requests", - "patch": { - "properties": { - "assignee": null + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" }, - "required": [ - "closed_at", - "comments", - "comments_url", - "events_url", - "html_url", - "id", - "node_id", - "labels", - "labels_url", - "milestone", - "number", - "repository_url", - "state", - "locked", - "title", - "url", - "user", - "created_at", - "updated_at" - ] + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } }, - "version": "2026-03-10" + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] } ] - } - } - } - }, - "required": [ - "event", - "created_at", - "updated_at", - "source" - ] - }, - { - "title": "Timeline Committed Event", - "description": "Timeline Committed Event", - "type": "object", - "properties": { - "event": { - "type": "string" - }, - "sha": { - "description": "SHA for the commit", - "example": "7638417db6d59f3c431d3e1f261cc637155684cd", - "type": "string" - }, - "node_id": { - "type": "string" - }, - "url": { - "type": "string", - "format": "uri" - }, - "author": { - "description": "Identifying information for the git-user", - "type": "object", - "properties": { - "date": { - "description": "Timestamp of the commit", - "example": "2014-08-09T08:02:04+12:00", - "format": "date-time", + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", "type": "string" }, - "email": { + "description": { "type": "string", - "description": "Git email address of the user", - "example": "monalisa.octocat@example.com" + "example": "The description of the app.", + "nullable": true }, - "name": { - "description": "Name of the git user", - "example": "Monalisa Octocat", - "type": "string" - } - }, - "required": [ - "email", - "name", - "date" - ] - }, - "committer": { - "description": "Identifying information for the git-user", - "type": "object", - "properties": { - "date": { - "description": "Timestamp of the commit", - "example": "2014-08-09T08:02:04+12:00", + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", "format": "date-time", - "type": "string" + "example": "2017-07-08T16:18:44-04:00" }, - "email": { + "updated_at": { "type": "string", - "description": "Git email address of the user", - "example": "monalisa.octocat@example.com" + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" }, - "name": { - "description": "Name of the git user", - "example": "Monalisa Octocat", - "type": "string" + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app. Note that the `installation_target`, `security_advisory`, and `meta` events are not included because they are global events and not specific to an installation.", + "example": [ + "label", + "deployment" + ], + "type": "array", + "items": { + "type": "string" + } + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "example": 5, + "type": "integer" } }, "required": [ - "email", + "id", + "node_id", + "owner", "name", - "date" + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" ] }, - "message": { - "description": "Message describing the purpose of the commit", - "example": "Fix #42", - "type": "string" - }, - "tree": { + "assignee": { + "title": "Simple User", + "description": "A GitHub user.", "type": "object", "properties": { - "sha": { - "description": "SHA for the commit", - "example": "7638417db6d59f3c431d3e1f261cc637155684cd", + "name": { + "nullable": true, "type": "string" }, - "url": { + "email": { + "nullable": true, + "type": "string" + }, + "login": { "type": "string", - "format": "uri" - } - }, - "required": [ - "sha", - "url" - ] - }, - "parents": { - "type": "array", - "items": { - "type": "object", - "properties": { - "sha": { - "description": "SHA for the commit", - "example": "7638417db6d59f3c431d3e1f261cc637155684cd", - "type": "string" - }, - "url": { - "type": "string", - "format": "uri" - }, - "html_url": { - "type": "string", - "format": "uri" - } + "example": "octocat" }, - "required": [ - "sha", - "url", - "html_url" - ] - } - }, - "verification": { - "type": "object", - "properties": { - "verified": { - "type": "boolean" + "id": { + "type": "integer", + "format": "int64", + "example": 1 }, - "reason": { - "type": "string" + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" }, - "signature": { + "avatar_url": { "type": "string", - "nullable": true + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" }, - "payload": { + "gravatar_id": { "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", "nullable": true }, - "verified_at": { + "url": { "type": "string", - "nullable": true + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" } }, "required": [ - "verified", - "reason", - "signature", - "payload", - "verified_at" + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] - }, - "html_url": { - "type": "string", - "format": "uri" } }, "required": [ - "sha", + "id", "node_id", "url", - "html_url", - "author", - "committer", - "tree", - "message", - "parents", - "verification" + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app", + "assignee" ] }, { - "title": "Timeline Reviewed Event", - "description": "Timeline Reviewed Event", + "title": "State Change Issue Event", + "description": "State Change Issue Event", "type": "object", "properties": { - "event": { - "type": "string" - }, "id": { - "description": "Unique identifier of the review", - "example": 42, "type": "integer" }, "node_id": { - "type": "string", - "example": "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA=" + "type": "string" }, - "user": { + "url": { + "type": "string" + }, + "actor": { "title": "Simple User", "description": "A GitHub user.", "type": "object", @@ -551049,818 +554886,363 @@ "following_url", "gists_url", "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - "body": { - "nullable": true, - "description": "The text of the review.", - "example": "This looks great.", - "type": "string" - }, - "state": { - "type": "string", - "example": "CHANGES_REQUESTED" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80" - }, - "pull_request_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/12" - }, - "_links": { - "type": "object", - "properties": { - "html": { - "type": "object", - "properties": { - "href": { - "type": "string" - } - }, - "required": [ - "href" - ] - }, - "pull_request": { - "type": "object", - "properties": { - "href": { - "type": "string" - } - }, - "required": [ - "href" - ] - } - }, - "required": [ - "html", - "pull_request" - ] - }, - "submitted_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "nullable": true, - "format": "date-time" - }, - "commit_id": { - "description": "A commit SHA for the review.", - "example": "54bb654c9e6025347f57900a4a5c2313a96b8035", - "type": "string" - }, - "body_html": { - "type": "string" - }, - "body_text": { - "type": "string" - }, - "author_association": { - "title": "author_association", - "type": "string", - "example": "OWNER", - "description": "How the author is associated with the repository.", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] - } - }, - "required": [ - "event", - "id", - "node_id", - "user", - "body", - "state", - "commit_id", - "html_url", - "pull_request_url", - "_links", - "author_association" - ] - }, - { - "title": "Timeline Line Commented Event", - "description": "Timeline Line Commented Event", - "type": "object", - "properties": { + }, "event": { "type": "string" }, - "node_id": { + "commit_id": { + "type": "string", + "nullable": true + }, + "commit_url": { + "type": "string", + "nullable": true + }, + "created_at": { "type": "string" }, - "comments": { - "type": "array", - "items": { - "title": "Pull Request Review Comment", - "description": "Pull Request Review Comments are comments on a portion of the Pull Request's diff.", - "type": "object", - "properties": { - "url": { - "description": "URL for the pull request review comment", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1", - "type": "string" - }, - "pull_request_review_id": { - "description": "The ID of the pull request review to which the comment belongs.", - "type": "integer", - "format": "int64", - "example": 42, - "nullable": true - }, - "id": { - "description": "The ID of the pull request review comment.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "description": "The node ID of the pull request review comment.", - "type": "string", - "example": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw" - }, - "diff_hunk": { - "description": "The diff of the line that the comment refers to.", - "type": "string", - "example": "@@ -16,33 +16,40 @@ public class Connection : IConnection..." - }, - "path": { - "description": "The relative path of the file to which the comment applies.", - "example": "config/database.yaml", - "type": "string" - }, - "position": { - "description": "The line index in the diff to which the comment applies. This field is closing down; use `line` instead.", - "example": 1, - "type": "integer" - }, - "original_position": { - "description": "The index of the original line in the diff to which the comment applies. This field is closing down; use `original_line` instead.", - "example": 4, - "type": "integer" - }, - "commit_id": { - "description": "The SHA of the commit to which the comment applies.", - "example": "6dcb09b5b57875f334f61aebed695e2e4193db5e", - "type": "string" - }, - "original_commit_id": { - "description": "The SHA of the original commit to which the comment applies.", - "example": "9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840", - "type": "string" - }, - "in_reply_to_id": { - "description": "The comment ID to reply to.", - "example": 8, - "type": "integer" - }, - "user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "body": { - "description": "The text of the comment.", - "example": "We should probably include a check for null values here.", - "type": "string" - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2011-04-14T16:00:49Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2011-04-14T16:00:49Z" - }, - "html_url": { - "description": "HTML URL for the pull request review comment.", - "type": "string", - "format": "uri", - "example": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1" - }, - "pull_request_url": { - "description": "URL for the pull request that the review comment belongs to.", - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1" - }, - "author_association": { - "title": "author_association", - "type": "string", - "example": "OWNER", - "description": "How the author is associated with the repository.", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "_links": { - "type": "object", - "properties": { - "self": { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1" - } + "performed_via_github_app": { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { + "type": "string", + "example": "MDExOkludGVncmF0aW9uMQ==" + }, + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" }, - "required": [ - "href" - ] - }, - "html": { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1" - } + "email": { + "nullable": true, + "type": "string" }, - "required": [ - "href" - ] - }, - "pull_request": { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1" - } + "login": { + "type": "string", + "example": "octocat" }, - "required": [ - "href" - ] - } - }, - "required": [ - "self", - "html", - "pull_request" - ] - }, - "start_line": { - "type": "integer", - "description": "The first line of the range for a multi-line comment.", - "example": 2, - "nullable": true - }, - "original_start_line": { - "type": "integer", - "description": "The first line of the range for a multi-line comment.", - "example": 2, - "nullable": true - }, - "start_side": { - "type": "string", - "description": "The side of the first line of the range for a multi-line comment.", - "enum": [ - "LEFT", - "RIGHT" - ], - "default": "RIGHT", - "nullable": true - }, - "line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "example": 2, - "type": "integer" - }, - "original_line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "example": 2, - "type": "integer" - }, - "side": { - "description": "The side of the diff to which the comment applies. The side of the last line of the range for a multi-line comment", - "enum": [ - "LEFT", - "RIGHT" - ], - "default": "RIGHT", - "type": "string" - }, - "subject_type": { - "description": "The level at which the comment is targeted, can be a diff line or a file.", - "type": "string", - "enum": [ - "line", - "file" - ] - }, - "reactions": { - "title": "Reaction Rollup", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri" - }, - "total_count": { - "type": "integer" - }, - "+1": { - "type": "integer" - }, - "-1": { - "type": "integer" - }, - "laugh": { - "type": "integer" - }, - "confused": { - "type": "integer" - }, - "heart": { - "type": "integer" - }, - "hooray": { - "type": "integer" + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } }, - "eyes": { - "type": "integer" + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } }, - "rocket": { - "type": "integer" - } + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", + "type": "string" + }, + "description": { + "type": "string", + "example": "The description of the app.", + "nullable": true + }, + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } }, - "body_html": { - "type": "string", - "example": "\"

comment body

\"" + "additionalProperties": { + "type": "string" }, - "body_text": { - "type": "string", - "example": "\"comment body\"" + "example": { + "issues": "read", + "deployments": "write" } }, - "required": [ - "url", - "id", - "node_id", - "pull_request_review_id", - "diff_hunk", - "path", - "commit_id", - "original_commit_id", - "user", - "body", - "created_at", - "updated_at", - "html_url", - "pull_request_url", - "author_association", - "_links" - ] - } - } - } - }, - { - "title": "Timeline Commit Commented Event", - "description": "Timeline Commit Commented Event", - "type": "object", - "properties": { - "event": { - "type": "string" - }, - "node_id": { - "type": "string" - }, - "commit_id": { - "type": "string" - }, - "comments": { - "type": "array", - "items": { - "title": "Commit Comment", - "description": "Commit Comment", - "type": "object", - "properties": { - "html_url": { - "type": "string", - "format": "uri" - }, - "url": { - "type": "string", - "format": "uri" - }, - "id": { - "type": "integer" - }, - "node_id": { - "type": "string" - }, - "body": { - "type": "string" - }, - "path": { - "type": "string", - "nullable": true - }, - "position": { - "type": "integer", - "nullable": true - }, - "line": { - "type": "integer", - "nullable": true - }, - "commit_id": { + "events": { + "description": "The list of events for the GitHub app. Note that the `installation_target`, `security_advisory`, and `meta` events are not included because they are global events and not specific to an installation.", + "example": [ + "label", + "deployment" + ], + "type": "array", + "items": { "type": "string" - }, - "user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "author_association": { - "title": "author_association", - "type": "string", - "example": "OWNER", - "description": "How the author is associated with the repository.", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "reactions": { - "title": "Reaction Rollup", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri" - }, - "total_count": { - "type": "integer" - }, - "+1": { - "type": "integer" - }, - "-1": { - "type": "integer" - }, - "laugh": { - "type": "integer" - }, - "confused": { - "type": "integer" - }, - "heart": { - "type": "integer" - }, - "hooray": { - "type": "integer" - }, - "eyes": { - "type": "integer" - }, - "rocket": { - "type": "integer" - } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] } }, - "required": [ - "url", - "html_url", - "id", - "node_id", - "user", - "position", - "line", - "path", - "commit_id", - "body", - "author_association", - "created_at", - "updated_at" - ] - } + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "example": 5, + "type": "integer" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + }, + "state_reason": { + "type": "string", + "nullable": true } - } + }, + "required": [ + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] }, { - "title": "Timeline Assigned Issue Event", - "description": "Timeline Assigned Issue Event", + "title": "Issue Type Added Issue Event", + "description": "Issue Type Added Issue Event", "type": "object", "properties": { "id": { @@ -552319,132 +555701,44 @@ "events" ] }, - "assignee": { - "title": "Simple User", - "description": "A GitHub user.", + "issue_type": { + "title": "Issue Type", + "description": "The type of issue.", "type": "object", + "nullable": true, "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, "id": { "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" + "description": "The unique identifier of the issue type." }, - "avatar_url": { + "name": { "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" + "description": "The name of the issue type." }, - "gravatar_id": { + "color": { "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" } }, "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" + "name" ] } }, "required": [ + "issue_type", "id", "node_id", "url", @@ -552453,13 +555747,12 @@ "commit_id", "commit_url", "created_at", - "performed_via_github_app", - "assignee" + "performed_via_github_app" ] }, { - "title": "Timeline Unassigned Issue Event", - "description": "Timeline Unassigned Issue Event", + "title": "Issue Type Removed Issue Event", + "description": "Issue Type Removed Issue Event", "type": "object", "properties": { "id": { @@ -552918,132 +556211,44 @@ "events" ] }, - "assignee": { - "title": "Simple User", - "description": "A GitHub user.", + "prev_issue_type": { + "title": "Issue Type", + "description": "The type of issue.", "type": "object", + "nullable": true, "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, "id": { "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" + "description": "The unique identifier of the issue type." }, - "avatar_url": { + "name": { "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" + "description": "The name of the issue type." }, - "gravatar_id": { + "color": { "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" } }, "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" + "name" ] } }, "required": [ + "prev_issue_type", "id", "node_id", "url", @@ -553052,13 +556257,12 @@ "commit_id", "commit_url", "created_at", - "performed_via_github_app", - "assignee" + "performed_via_github_app" ] }, { - "title": "State Change Issue Event", - "description": "State Change Issue Event", + "title": "Issue Type Changed Issue Event", + "description": "Issue Type Changed Issue Event", "type": "object", "properties": { "id": { @@ -553517,12 +556721,80 @@ "events" ] }, - "state_reason": { - "type": "string", - "nullable": true + "issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, + "prev_issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] } }, "required": [ + "issue_type", + "prev_issue_type", "id", "node_id", "url", diff --git a/descriptions/ghec/dereferenced/ghec.deref.yaml b/descriptions/ghec/dereferenced/ghec.deref.yaml index 1e03228c52..8776d10681 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.deref.yaml @@ -1089,7 +1089,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &794 + - &798 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -4318,7 +4318,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &803 + schema: &807 title: Scim Error description: Scim Error type: object @@ -11799,7 +11799,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &804 + '401': &808 description: Authorization failure '404': *6 x-github: @@ -24815,7 +24815,7 @@ paths: - *169 rules: type: array - items: &759 + items: &763 title: Repository Rule type: object description: A repository rule. @@ -24824,7 +24824,7 @@ paths: - *175 - *176 - *177 - - &757 + - &761 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -25431,14 +25431,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &772 + state: &776 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &773 + resolution: &777 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -25555,8 +25555,8 @@ paths: pull request. ' - oneOf: &774 - - &776 + oneOf: &778 + - &780 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -25614,7 +25614,7 @@ paths: - blob_url - commit_sha - commit_url - - &777 + - &781 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -25669,7 +25669,7 @@ paths: - page_url - commit_sha - commit_url - - &778 + - &782 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -25689,7 +25689,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &779 + - &783 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -25709,7 +25709,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &780 + - &784 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -25729,7 +25729,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &781 + - &785 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -25743,7 +25743,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &782 + - &786 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -25757,7 +25757,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &783 + - &787 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -25771,7 +25771,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &784 + - &788 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -25791,7 +25791,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &785 + - &789 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -25811,7 +25811,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &786 + - &790 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -25831,7 +25831,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &787 + - &791 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -25851,7 +25851,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &788 + - &792 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -29729,7 +29729,7 @@ paths: properties: action: type: string - discussion: &912 + discussion: &916 title: Discussion description: A Discussion in a repository. type: object @@ -30474,7 +30474,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &831 + sub_issues_summary: &835 title: Sub-issues Summary type: object properties: @@ -30561,7 +30561,7 @@ paths: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: &714 + properties: &715 pinned_at: type: string format: date-time @@ -30573,7 +30573,7 @@ paths: properties: *20 required: *21 nullable: true - required: &715 + required: &716 - pinned_at - pinned_by nullable: true @@ -30587,7 +30587,7 @@ paths: - created_at - updated_at nullable: true - issue_dependencies_summary: &832 + issue_dependencies_summary: &836 title: Issue Dependencies Summary type: object properties: @@ -30606,7 +30606,7 @@ paths: - total_blocking issue_field_values: type: array - items: &698 + items: &699 title: Issue Field Value description: A value assigned to an issue field type: object @@ -31438,7 +31438,7 @@ paths: type: string release: allOf: - - &750 + - &754 title: Release description: A release. type: object @@ -31509,7 +31509,7 @@ paths: author: *4 assets: type: array - items: &751 + items: &755 title: Release Asset description: Data related to a release. type: object @@ -32117,7 +32117,7 @@ paths: url: type: string format: uri - user: &838 + user: &842 title: Public User description: Public User type: object @@ -35535,7 +35535,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &724 + - &728 name: all description: If `true`, show notifications marked as read. in: query @@ -35543,7 +35543,7 @@ paths: schema: type: boolean default: false - - &725 + - &729 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -35553,7 +35553,7 @@ paths: type: boolean default: false - *235 - - &726 + - &730 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -36097,7 +36097,7 @@ paths: - url - subscription_url examples: - default: &727 + default: &731 value: - id: '1' repository: @@ -36962,7 +36962,7 @@ paths: type: array items: *160 examples: - default: &733 + default: &737 value: - property_name: environment value: production @@ -37012,7 +37012,7 @@ paths: required: - properties examples: - default: &734 + default: &738 value: properties: - property_name: environment @@ -43676,12 +43676,12 @@ paths: required: - subject_digests examples: - default: &870 + default: &874 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &871 + withPredicateType: &875 value: subject_digests: - sha256:abc123 @@ -43739,7 +43739,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &872 + default: &876 value: attestations_subject_digests: - sha256:abc: @@ -56614,7 +56614,7 @@ paths: parameters: - *89 - *412 - - &853 + - &857 name: repo_name description: repo_name parameter in: path @@ -57960,7 +57960,7 @@ paths: - nuget - container - *89 - - &854 + - &858 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -58001,7 +58001,7 @@ paths: default: *418 '403': *29 '401': *25 - '400': &856 + '400': &860 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -60098,7 +60098,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &949 + properties: &953 id: type: number description: The unique identifier of the status update. @@ -60146,7 +60146,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &950 + required: &954 - id - node_id - created_at @@ -60586,7 +60586,7 @@ paths: - review_comment - self author_association: *225 - auto_merge: &736 + auto_merge: &740 title: Auto merge description: The status of auto merging a pull request. type: object @@ -61036,7 +61036,7 @@ paths: - updated_at - project_url examples: - default: &876 + default: &880 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -61213,7 +61213,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &877 + items: &881 type: object properties: name: @@ -61250,7 +61250,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &878 + iteration_configuration: &882 type: object description: The configuration for iteration fields. properties: @@ -61300,7 +61300,7 @@ paths: value: name: Due date data_type: date - single_select_field: &879 + single_select_field: &883 summary: Create a single select field value: name: Priority @@ -61327,7 +61327,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &880 + iteration_field: &884 summary: Create an iteration field value: name: Sprint @@ -61353,7 +61353,7 @@ paths: application/json: schema: *439 examples: - text_field: &881 + text_field: &885 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -61362,7 +61362,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-05-15T08:00:00Z' updated_at: '2022-05-15T08:00:00Z' - number_field: &882 + number_field: &886 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -61371,7 +61371,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-01T14:30:00Z' updated_at: '2022-06-01T14:30:00Z' - date_field: &883 + date_field: &887 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -61380,7 +61380,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-10T09:15:00Z' updated_at: '2022-06-10T09:15:00Z' - single_select_field: &884 + single_select_field: &888 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -61414,7 +61414,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &885 + iteration_field: &889 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -61460,7 +61460,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#get-project-field-for-organization parameters: - *435 - - &886 + - &890 name: field_id description: The unique identifier of the field. in: path @@ -61475,7 +61475,7 @@ paths: application/json: schema: *439 examples: - default: &887 + default: &891 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -62672,7 +62672,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &867 + schema: &871 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -62849,7 +62849,7 @@ paths: parameters: - *435 - *89 - - &888 + - &892 name: view_number description: The number that identifies the project view. in: path @@ -64701,7 +64701,7 @@ paths: - *89 - *17 - *19 - - &758 + - &762 name: targets description: | A comma-separated list of rule targets to filter by. @@ -64917,7 +64917,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *89 - - &760 + - &764 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -64929,14 +64929,14 @@ paths: x-multi-segment: true - *322 - *107 - - &761 + - &765 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &762 + - &766 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -64949,7 +64949,7 @@ paths: - bypass - all default: all - - &763 + - &767 name: evaluate_status description: |- The evaluate status to filter on. When specified, only rule suites resulting from rulesets with the specified evaluate status will be returned. @@ -64972,7 +64972,7 @@ paths: description: Response content: application/json: - schema: &764 + schema: &768 title: Rule Suites description: Response type: array @@ -65027,7 +65027,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &765 + default: &769 value: - id: 21 actor_id: 12 @@ -65071,7 +65071,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *89 - - &766 + - &770 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -65087,7 +65087,7 @@ paths: description: Response content: application/json: - schema: &767 + schema: &771 title: Rule Suite description: Response type: object @@ -65186,7 +65186,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &768 + default: &772 value: id: 21 actor_id: 12 @@ -65522,7 +65522,7 @@ paths: - *112 - *19 - *17 - - &770 + - &774 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -65532,7 +65532,7 @@ paths: required: false schema: type: string - - &771 + - &775 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -65746,7 +65746,7 @@ paths: application/json: schema: type: array - items: &792 + items: &796 description: A repository security advisory. type: object properties: @@ -66069,7 +66069,7 @@ paths: - private_fork version: '2026-03-10' examples: - default: &793 + default: &797 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -68106,7 +68106,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &834 + response-if-user-is-a-team-maintainer: &838 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -68171,7 +68171,7 @@ paths: application/json: schema: *492 examples: - response-if-users-membership-with-team-is-now-pending: &835 + response-if-users-membership-with-team-is-now-pending: &839 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -68285,7 +68285,7 @@ paths: description: Alternative response with repository permissions content: application/json: - schema: &836 + schema: &840 title: Team Repository description: A team's access to a repository. type: object @@ -69138,7 +69138,7 @@ paths: type: array items: *325 examples: - response-if-child-teams-exist: &837 + response-if-child-teams-exist: &841 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -74834,7 +74834,7 @@ paths: description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: &906 + properties: &910 url: type: string format: uri @@ -74919,7 +74919,7 @@ paths: nullable: true properties: *223 required: *224 - required: &907 + required: &911 - id - node_id - sha @@ -81368,7 +81368,7 @@ paths: check. type: array items: *233 - deployment: &899 + deployment: &903 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -82280,7 +82280,7 @@ paths: type: string format: date-time nullable: true - head_commit: &932 + head_commit: &936 title: Simple Commit description: A commit. type: object @@ -86568,14 +86568,14 @@ paths: type: integer machines: type: array - items: &843 + items: &847 type: object title: Codespace machine description: A description of the machine powering a codespace. properties: *597 required: *598 examples: - default: &844 + default: &848 value: total_count: 2 machines: @@ -88213,7 +88213,7 @@ paths: type: array items: *609 examples: - default: &743 + default: &747 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -88504,7 +88504,7 @@ paths: type: array items: *613 examples: - default: &735 + default: &739 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -89062,7 +89062,7 @@ paths: application/json: schema: *609 examples: - default: &720 + default: &724 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -89721,7 +89721,7 @@ paths: application/json: schema: type: array - items: &797 + items: &801 title: Status description: The status of a commit. type: object @@ -90690,7 +90690,7 @@ paths: - size - type - url - - &748 + - &752 title: Content File description: Content File type: object @@ -91334,7 +91334,7 @@ paths: items: type: object properties: - placeholder_id: &789 + placeholder_id: &793 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -98034,7 +98034,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &941 + last_response: &945 title: Hook Response type: object properties: @@ -99086,7 +99086,7 @@ paths: parameters: - *493 - *494 - - &865 + - &869 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -99671,7 +99671,7 @@ paths: type: array items: *683 examples: - default: &858 + default: &862 value: - id: 1 repository: @@ -100117,7 +100117,7 @@ paths: type: array items: *228 examples: - default: &697 + default: &698 value: - id: 1 node_id: MDU6SXNzdWUx @@ -100405,7 +100405,7 @@ paths: application/json: schema: *228 examples: - default: &694 + default: &695 value: id: 1 node_id: MDU6SXNzdWUx @@ -100630,7 +100630,7 @@ paths: type: array items: *686 examples: - default: &696 + default: &697 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -101085,7 +101085,7 @@ paths: application/json: schema: type: array - items: &693 + items: &694 title: Issue Event description: Issue Event type: object @@ -101239,6 +101239,35 @@ paths: required: - from - to + issue_type: &693 + title: Issue Type + description: The type of issue. + type: object + nullable: true + properties: + id: + type: integer + description: The unique identifier of the issue type. + name: + type: string + description: The name of the issue type. + color: + type: string + description: The color of the issue type. + enum: + - gray + - blue + - green + - yellow + - orange + - red + - pink + - purple + nullable: true + required: + - id + - name + prev_issue_type: *693 author_association: *225 lock_reason: type: string @@ -101450,7 +101479,7 @@ paths: description: Response content: application/json: - schema: *693 + schema: *694 examples: default: value: @@ -101679,7 +101708,7 @@ paths: parameters: - *493 - *494 - - &695 + - &696 name: issue_number description: The number that identifies the issue. in: path @@ -101695,7 +101724,7 @@ paths: examples: default: summary: Issue - value: *694 + value: *695 pinned_comment: summary: Issue with pinned comment value: @@ -101929,7 +101958,7 @@ paths: parameters: - *493 - *494 - - *695 + - *696 requestBody: required: false content: @@ -102059,7 +102088,7 @@ paths: application/json: schema: *228 examples: - default: *694 + default: *695 '422': *15 '503': *200 '403': *29 @@ -102095,7 +102124,7 @@ paths: parameters: - *493 - *494 - - *695 + - *696 requestBody: required: false content: @@ -102123,7 +102152,7 @@ paths: application/json: schema: *228 examples: - default: *694 + default: *695 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102141,7 +102170,7 @@ paths: parameters: - *493 - *494 - - *695 + - *696 requestBody: content: application/json: @@ -102168,7 +102197,7 @@ paths: application/json: schema: *228 examples: - default: *694 + default: *695 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102192,7 +102221,7 @@ paths: parameters: - *493 - *494 - - *695 + - *696 - name: assignee in: path required: true @@ -102234,7 +102263,7 @@ paths: parameters: - *493 - *494 - - *695 + - *696 - *235 - *17 - *19 @@ -102247,7 +102276,7 @@ paths: type: array items: *686 examples: - default: *696 + default: *697 headers: Link: *47 '404': *6 @@ -102282,7 +102311,7 @@ paths: parameters: - *493 - *494 - - *695 + - *696 requestBody: required: true content: @@ -102343,7 +102372,7 @@ paths: parameters: - *493 - *494 - - *695 + - *696 - *17 - *19 responses: @@ -102355,7 +102384,7 @@ paths: type: array items: *228 examples: - default: *697 + default: *698 headers: Link: *47 '301': *499 @@ -102390,7 +102419,7 @@ paths: parameters: - *493 - *494 - - *695 + - *696 requestBody: required: true content: @@ -102414,7 +102443,7 @@ paths: application/json: schema: *228 examples: - default: *694 + default: *695 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by @@ -102455,7 +102484,7 @@ paths: parameters: - *493 - *494 - - *695 + - *696 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -102469,7 +102498,7 @@ paths: application/json: schema: *228 examples: - default: *694 + default: *695 '301': *499 '400': *14 '401': *25 @@ -102503,7 +102532,7 @@ paths: parameters: - *493 - *494 - - *695 + - *696 - *17 - *19 responses: @@ -102515,7 +102544,7 @@ paths: type: array items: *228 examples: - default: *697 + default: *698 headers: Link: *47 '301': *499 @@ -102539,7 +102568,7 @@ paths: parameters: - *493 - *494 - - *695 + - *696 - *17 - *19 responses: @@ -102553,7 +102582,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &701 + - &702 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -102607,7 +102636,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &702 + - &703 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -102743,7 +102772,7 @@ paths: - performed_via_github_app - assignee - assigner - - &703 + - &704 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -102794,7 +102823,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &704 + - &705 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -102845,7 +102874,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &705 + - &706 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -102899,7 +102928,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &706 + - &707 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -102946,7 +102975,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &707 + - &708 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -102993,7 +103022,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &708 + - &709 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -103053,7 +103082,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &709 + - &710 title: Locked Issue Event description: Locked Issue Event type: object @@ -103101,7 +103130,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &710 + - &711 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -103167,7 +103196,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &711 + - &712 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -103233,7 +103262,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &712 + - &713 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -103299,7 +103328,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &713 + - &714 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -103355,6 +103384,143 @@ paths: - commit_url - created_at - performed_via_github_app + - &717 + title: Issue Type Added Issue Event + description: Issue Type Added Issue Event + type: object + properties: + id: + type: integer + node_id: + type: string + url: + type: string + actor: *4 + event: + type: string + commit_id: + type: string + nullable: true + commit_url: + type: string + nullable: true + created_at: + type: string + performed_via_github_app: + title: GitHub app + description: GitHub apps are a new way to extend GitHub. They + can be installed directly on organizations and user accounts + and granted access to specific repositories. They come with + granular permissions and built-in webhooks. GitHub apps + are first class actors within GitHub. + type: object + nullable: true + properties: *223 + required: *224 + issue_type: *693 + required: + - issue_type + - id + - node_id + - url + - actor + - event + - commit_id + - commit_url + - created_at + - performed_via_github_app + - &718 + title: Issue Type Removed Issue Event + description: Issue Type Removed Issue Event + type: object + properties: + id: + type: integer + node_id: + type: string + url: + type: string + actor: *4 + event: + type: string + commit_id: + type: string + nullable: true + commit_url: + type: string + nullable: true + created_at: + type: string + performed_via_github_app: + title: GitHub app + description: GitHub apps are a new way to extend GitHub. They + can be installed directly on organizations and user accounts + and granted access to specific repositories. They come with + granular permissions and built-in webhooks. GitHub apps + are first class actors within GitHub. + type: object + nullable: true + properties: *223 + required: *224 + prev_issue_type: *693 + required: + - prev_issue_type + - id + - node_id + - url + - actor + - event + - commit_id + - commit_url + - created_at + - performed_via_github_app + - &719 + title: Issue Type Changed Issue Event + description: Issue Type Changed Issue Event + type: object + properties: + id: + type: integer + node_id: + type: string + url: + type: string + actor: *4 + event: + type: string + commit_id: + type: string + nullable: true + commit_url: + type: string + nullable: true + created_at: + type: string + performed_via_github_app: + title: GitHub app + description: GitHub apps are a new way to extend GitHub. They + can be installed directly on organizations and user accounts + and granted access to specific repositories. They come with + granular permissions and built-in webhooks. GitHub apps + are first class actors within GitHub. + type: object + nullable: true + properties: *223 + required: *224 + issue_type: *693 + prev_issue_type: *693 + required: + - issue_type + - prev_issue_type + - id + - node_id + - url + - actor + - event + - commit_id + - commit_url + - created_at + - performed_via_github_app examples: default: value: @@ -103409,7 +103575,7 @@ paths: parameters: - *493 - *494 - - *695 + - *696 - *17 - *19 responses: @@ -103419,9 +103585,9 @@ paths: application/json: schema: type: array - items: *698 + items: *699 examples: - default: &699 + default: &700 value: - issue_field_id: 1 node_id: IFT_GDKND @@ -103489,7 +103655,7 @@ paths: parameters: - *493 - *494 - - *695 + - *696 requestBody: required: true content: @@ -103559,9 +103725,9 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *698 + items: *699 examples: - default: *699 + default: *700 '400': *14 '403': *29 '404': *6 @@ -103599,7 +103765,7 @@ paths: parameters: - *493 - *494 - - *695 + - *696 requestBody: required: true content: @@ -103664,9 +103830,9 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *698 + items: *699 examples: - default: *699 + default: *700 '400': *14 '403': *29 '404': *6 @@ -103699,7 +103865,7 @@ paths: parameters: - *493 - *494 - - *695 + - *696 - *400 responses: '204': @@ -103727,7 +103893,7 @@ paths: parameters: - *493 - *494 - - *695 + - *696 - *17 - *19 responses: @@ -103739,7 +103905,7 @@ paths: type: array items: *227 examples: - default: &700 + default: &701 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -103777,7 +103943,7 @@ paths: parameters: - *493 - *494 - - *695 + - *696 requestBody: required: false content: @@ -103822,7 +103988,7 @@ paths: type: array items: *227 examples: - default: *700 + default: *701 '301': *499 '404': *6 '410': *685 @@ -103844,7 +104010,7 @@ paths: parameters: - *493 - *494 - - *695 + - *696 requestBody: required: false content: @@ -103906,7 +104072,7 @@ paths: type: array items: *227 examples: - default: *700 + default: *701 '301': *499 '404': *6 '410': *685 @@ -103928,7 +104094,7 @@ paths: parameters: - *493 - *494 - - *695 + - *696 responses: '204': description: Response @@ -103955,7 +104121,7 @@ paths: parameters: - *493 - *494 - - *695 + - *696 - name: name in: path required: true @@ -104003,7 +104169,7 @@ paths: parameters: - *493 - *494 - - *695 + - *696 requestBody: required: false content: @@ -104051,7 +104217,7 @@ paths: parameters: - *493 - *494 - - *695 + - *696 responses: '204': description: Response @@ -104083,7 +104249,7 @@ paths: parameters: - *493 - *494 - - *695 + - *696 responses: '200': description: Response @@ -104091,7 +104257,7 @@ paths: application/json: schema: *228 examples: - default: *694 + default: *695 '301': *499 '404': *6 '410': *685 @@ -104113,7 +104279,7 @@ paths: parameters: - *493 - *494 - - *695 + - *696 - 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. @@ -104165,7 +104331,7 @@ paths: parameters: - *493 - *494 - - *695 + - *696 requestBody: required: true content: @@ -104230,7 +104396,7 @@ paths: parameters: - *493 - *494 - - *695 + - *696 - *689 responses: '204': @@ -104262,7 +104428,7 @@ paths: parameters: - *493 - *494 - - *695 + - *696 requestBody: required: true content: @@ -104286,7 +104452,7 @@ paths: application/json: schema: *228 examples: - default: *694 + default: *695 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -104321,7 +104487,7 @@ paths: parameters: - *493 - *494 - - *695 + - *696 - *17 - *19 responses: @@ -104333,7 +104499,7 @@ paths: type: array items: *228 examples: - default: *697 + default: *698 headers: Link: *47 '404': *6 @@ -104367,7 +104533,7 @@ paths: parameters: - *493 - *494 - - *695 + - *696 requestBody: required: true content: @@ -104396,7 +104562,7 @@ paths: application/json: schema: *228 examples: - default: *694 + default: *695 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 @@ -104425,7 +104591,7 @@ paths: parameters: - *493 - *494 - - *695 + - *696 requestBody: required: true content: @@ -104458,7 +104624,7 @@ paths: application/json: schema: *228 examples: - default: *694 + default: *695 '403': *29 '404': *6 '422': *7 @@ -104482,7 +104648,7 @@ paths: parameters: - *493 - *494 - - *695 + - *696 - *17 - *19 responses: @@ -104497,7 +104663,6 @@ paths: description: Timeline Event type: object anyOf: - - *701 - *702 - *703 - *704 @@ -104510,6 +104675,7 @@ paths: - *711 - *712 - *713 + - *714 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -104570,8 +104736,8 @@ paths: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *714 - required: *715 + properties: *715 + required: *716 nullable: true required: - event @@ -104826,7 +104992,7 @@ paths: type: string comments: type: array - items: &737 + items: &741 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -105175,6 +105341,9 @@ paths: - commit_url - created_at - performed_via_github_app + - *717 + - *718 + - *719 examples: default: value: @@ -105358,7 +105527,7 @@ paths: application/json: schema: type: array - items: &716 + items: &720 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -105461,9 +105630,9 @@ paths: description: Response content: application/json: - schema: *716 + schema: *720 examples: - default: &717 + default: &721 value: id: 1 key: ssh-rsa AAA... @@ -105499,7 +105668,7 @@ paths: parameters: - *493 - *494 - - &718 + - &722 name: key_id description: The unique identifier of the key. in: path @@ -105511,9 +105680,9 @@ paths: description: Response content: application/json: - schema: *716 + schema: *720 examples: - default: *717 + default: *721 '404': *6 x-github: githubCloudOnly: false @@ -105533,7 +105702,7 @@ paths: parameters: - *493 - *494 - - *718 + - *722 responses: '204': description: Response @@ -105566,7 +105735,7 @@ paths: type: array items: *227 examples: - default: *700 + default: *701 headers: Link: *47 '404': *6 @@ -105626,7 +105795,7 @@ paths: application/json: schema: *227 examples: - default: &719 + default: &723 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -105672,7 +105841,7 @@ paths: application/json: schema: *227 examples: - default: *719 + default: *723 '404': *6 x-github: githubCloudOnly: false @@ -106125,7 +106294,7 @@ paths: application/json: schema: *609 examples: - default: *720 + default: *724 '204': description: Response when already merged '404': @@ -106192,7 +106361,7 @@ paths: application/json: schema: type: array - items: &721 + items: &725 title: Milestone description: A collection of related issues and pull requests. type: object @@ -106294,9 +106463,9 @@ paths: description: Response content: application/json: - schema: *721 + schema: *725 examples: - default: &722 + default: &726 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -106357,7 +106526,7 @@ paths: parameters: - *493 - *494 - - &723 + - &727 name: milestone_number description: The number that identifies the milestone. in: path @@ -106369,9 +106538,9 @@ paths: description: Response content: application/json: - schema: *721 + schema: *725 examples: - default: *722 + default: *726 '404': *6 x-github: githubCloudOnly: false @@ -106390,7 +106559,7 @@ paths: parameters: - *493 - *494 - - *723 + - *727 requestBody: required: false content: @@ -106428,9 +106597,9 @@ paths: description: Response content: application/json: - schema: *721 + schema: *725 examples: - default: *722 + default: *726 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106448,7 +106617,7 @@ paths: parameters: - *493 - *494 - - *723 + - *727 responses: '204': description: Response @@ -106471,7 +106640,7 @@ paths: parameters: - *493 - *494 - - *723 + - *727 - *17 - *19 responses: @@ -106483,7 +106652,7 @@ paths: type: array items: *227 examples: - default: *700 + default: *701 headers: Link: *47 x-github: @@ -106504,10 +106673,10 @@ paths: parameters: - *493 - *494 - - *724 - - *725 + - *728 + - *729 - *235 - - *726 + - *730 - *17 - *19 responses: @@ -106519,7 +106688,7 @@ paths: type: array items: *255 examples: - default: *727 + default: *731 headers: Link: *47 x-github: @@ -106609,7 +106778,7 @@ paths: description: Response content: application/json: - schema: &728 + schema: &732 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -106734,7 +106903,7 @@ paths: - custom_404 - public examples: - default: &729 + default: &733 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -106830,9 +106999,9 @@ paths: description: Response content: application/json: - schema: *728 + schema: *732 examples: - default: *729 + default: *733 '422': *15 '409': *121 x-github: @@ -107001,7 +107170,7 @@ paths: application/json: schema: type: array - items: &730 + items: &734 title: Page Build description: Page Build type: object @@ -107148,9 +107317,9 @@ paths: description: Response content: application/json: - schema: *730 + schema: *734 examples: - default: &731 + default: &735 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -107210,9 +107379,9 @@ paths: description: Response content: application/json: - schema: *730 + schema: *734 examples: - default: *731 + default: *735 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107340,7 +107509,7 @@ paths: parameters: - *493 - *494 - - &732 + - &736 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -107400,7 +107569,7 @@ paths: parameters: - *493 - *494 - - *732 + - *736 responses: '204': *130 '404': *6 @@ -107780,7 +107949,7 @@ paths: type: array items: *160 examples: - default: *733 + default: *737 '403': *29 '404': *6 x-github: @@ -107819,7 +107988,7 @@ paths: required: - properties examples: - default: *734 + default: *738 responses: '204': description: No Content when custom property values are successfully created @@ -107920,7 +108089,7 @@ paths: type: array items: *613 examples: - default: *735 + default: *739 headers: Link: *47 '304': *37 @@ -108018,7 +108187,7 @@ paths: description: Response content: application/json: - schema: &739 + schema: &743 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -108229,7 +108398,7 @@ paths: - review_comment - self author_association: *225 - auto_merge: *736 + auto_merge: *740 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -108415,7 +108584,7 @@ paths: - review_comments version: '2026-03-10' examples: - default: &740 + default: &744 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -108983,9 +109152,9 @@ paths: application/json: schema: type: array - items: *737 + items: *741 examples: - default: &742 + default: &746 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -109070,9 +109239,9 @@ paths: description: Response content: application/json: - schema: *737 + schema: *741 examples: - default: &738 + default: &742 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -109171,9 +109340,9 @@ paths: description: Response content: application/json: - schema: *737 + schema: *741 examples: - default: *738 + default: *742 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109376,7 +109545,7 @@ paths: parameters: - *493 - *494 - - &741 + - &745 name: pull_number description: The number that identifies the pull request. in: path @@ -109389,9 +109558,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *739 + schema: *743 examples: - default: *740 + default: *744 '304': *37 '404': *6 '406': @@ -109428,7 +109597,7 @@ paths: parameters: - *493 - *494 - - *741 + - *745 requestBody: required: false content: @@ -109470,9 +109639,9 @@ paths: description: Response content: application/json: - schema: *739 + schema: *743 examples: - default: *740 + default: *744 '422': *15 '403': *29 x-github: @@ -109496,7 +109665,7 @@ paths: parameters: - *493 - *494 - - *741 + - *745 requestBody: required: true content: @@ -109598,7 +109767,7 @@ paths: parameters: - *493 - *494 - - *741 + - *745 - *252 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -109619,9 +109788,9 @@ paths: application/json: schema: type: array - items: *737 + items: *741 examples: - default: *742 + default: *746 headers: Link: *47 x-github: @@ -109656,7 +109825,7 @@ paths: parameters: - *493 - *494 - - *741 + - *745 requestBody: required: true content: @@ -109761,7 +109930,7 @@ paths: description: Response content: application/json: - schema: *737 + schema: *741 examples: example-for-a-multi-line-comment: value: @@ -109851,7 +110020,7 @@ paths: parameters: - *493 - *494 - - *741 + - *745 - *244 requestBody: required: true @@ -109874,7 +110043,7 @@ paths: description: Response content: application/json: - schema: *737 + schema: *741 examples: default: value: @@ -109962,7 +110131,7 @@ paths: parameters: - *493 - *494 - - *741 + - *745 - *17 - *19 responses: @@ -109974,7 +110143,7 @@ paths: type: array items: *609 examples: - default: *743 + default: *747 headers: Link: *47 x-github: @@ -110006,7 +110175,7 @@ paths: parameters: - *493 - *494 - - *741 + - *745 - *17 - *19 responses: @@ -110056,7 +110225,7 @@ paths: parameters: - *493 - *494 - - *741 + - *745 responses: '204': description: Response if pull request has been merged @@ -110081,7 +110250,7 @@ paths: parameters: - *493 - *494 - - *741 + - *745 requestBody: required: false content: @@ -110194,7 +110363,7 @@ paths: parameters: - *493 - *494 - - *741 + - *745 responses: '200': description: Response @@ -110271,7 +110440,7 @@ paths: parameters: - *493 - *494 - - *741 + - *745 requestBody: required: false content: @@ -110846,7 +111015,7 @@ paths: parameters: - *493 - *494 - - *741 + - *745 requestBody: required: true content: @@ -111398,7 +111567,7 @@ paths: parameters: - *493 - *494 - - *741 + - *745 - *17 - *19 responses: @@ -111408,7 +111577,7 @@ paths: application/json: schema: type: array - items: &744 + items: &748 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -111561,7 +111730,7 @@ paths: parameters: - *493 - *494 - - *741 + - *745 requestBody: required: false content: @@ -111647,9 +111816,9 @@ paths: description: Response content: application/json: - schema: *744 + schema: *748 examples: - default: &746 + default: &750 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -111714,8 +111883,8 @@ paths: parameters: - *493 - *494 - - *741 - - &745 + - *745 + - &749 name: review_id description: The unique identifier of the review. in: path @@ -111727,9 +111896,9 @@ paths: description: Response content: application/json: - schema: *744 + schema: *748 examples: - default: &747 + default: &751 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -111790,8 +111959,8 @@ paths: parameters: - *493 - *494 - - *741 - *745 + - *749 requestBody: required: true content: @@ -111814,7 +111983,7 @@ paths: description: Response content: application/json: - schema: *744 + schema: *748 examples: default: value: @@ -111878,16 +112047,16 @@ paths: parameters: - *493 - *494 - - *741 - *745 + - *749 responses: '200': description: Response content: application/json: - schema: *744 + schema: *748 examples: - default: *746 + default: *750 '422': *7 '404': *6 x-github: @@ -111916,8 +112085,8 @@ paths: parameters: - *493 - *494 - - *741 - *745 + - *749 - *17 - *19 responses: @@ -112154,8 +112323,8 @@ paths: parameters: - *493 - *494 - - *741 - *745 + - *749 requestBody: required: true content: @@ -112183,7 +112352,7 @@ paths: description: Response content: application/json: - schema: *744 + schema: *748 examples: default: value: @@ -112248,8 +112417,8 @@ paths: parameters: - *493 - *494 - - *741 - *745 + - *749 requestBody: required: true content: @@ -112284,9 +112453,9 @@ paths: description: Response content: application/json: - schema: *744 + schema: *748 examples: - default: *747 + default: *751 '404': *6 '422': *7 '403': *29 @@ -112310,7 +112479,7 @@ paths: parameters: - *493 - *494 - - *741 + - *745 requestBody: required: false content: @@ -112387,9 +112556,9 @@ paths: description: Response content: application/json: - schema: *748 + schema: *752 examples: - default: &749 + default: &753 value: type: file encoding: base64 @@ -112452,9 +112621,9 @@ paths: description: Response content: application/json: - schema: *748 + schema: *752 examples: - default: *749 + default: *753 '404': *6 '422': *15 x-github: @@ -112487,7 +112656,7 @@ paths: application/json: schema: type: array - items: *750 + items: *754 examples: default: value: @@ -112658,9 +112827,9 @@ paths: description: Response content: application/json: - schema: *750 + schema: *754 examples: - default: &754 + default: &758 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -112767,7 +112936,7 @@ paths: parameters: - *493 - *494 - - &752 + - &756 name: asset_id description: The unique identifier of the asset. in: path @@ -112779,9 +112948,9 @@ paths: description: Response content: application/json: - schema: *751 + schema: *755 examples: - default: &753 + default: &757 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -112834,7 +113003,7 @@ paths: parameters: - *493 - *494 - - *752 + - *756 requestBody: required: false content: @@ -112862,9 +113031,9 @@ paths: description: Response content: application/json: - schema: *751 + schema: *755 examples: - default: *753 + default: *757 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -112882,7 +113051,7 @@ paths: parameters: - *493 - *494 - - *752 + - *756 responses: '204': description: Response @@ -113000,9 +113169,9 @@ paths: description: Response content: application/json: - schema: *750 + schema: *754 examples: - default: *754 + default: *758 '404': *6 x-github: githubCloudOnly: false @@ -113034,9 +113203,9 @@ paths: description: Response content: application/json: - schema: *750 + schema: *754 examples: - default: *754 + default: *758 '404': *6 x-github: githubCloudOnly: false @@ -113060,7 +113229,7 @@ paths: parameters: - *493 - *494 - - &755 + - &759 name: release_id description: The unique identifier of the release. in: path @@ -113074,9 +113243,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *750 + schema: *754 examples: - default: *754 + default: *758 '401': description: Unauthorized x-github: @@ -113096,7 +113265,7 @@ paths: parameters: - *493 - *494 - - *755 + - *759 requestBody: required: false content: @@ -113160,9 +113329,9 @@ paths: description: Response content: application/json: - schema: *750 + schema: *754 examples: - default: *754 + default: *758 '404': description: Not Found if the discussion category name is invalid content: @@ -113185,7 +113354,7 @@ paths: parameters: - *493 - *494 - - *755 + - *759 responses: '204': description: Response @@ -113208,7 +113377,7 @@ paths: parameters: - *493 - *494 - - *755 + - *759 - *17 - *19 responses: @@ -113218,7 +113387,7 @@ paths: application/json: schema: type: array - items: *751 + items: *755 examples: default: value: @@ -113302,7 +113471,7 @@ paths: parameters: - *493 - *494 - - *755 + - *759 - name: name in: query required: true @@ -113328,7 +113497,7 @@ paths: description: Response for successful upload content: application/json: - schema: *751 + schema: *755 examples: response-for-successful-upload: value: @@ -113385,7 +113554,7 @@ paths: parameters: - *493 - *494 - - *755 + - *759 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -113434,7 +113603,7 @@ paths: parameters: - *493 - *494 - - *755 + - *759 requestBody: required: true content: @@ -113497,7 +113666,7 @@ paths: parameters: - *493 - *494 - - *755 + - *759 - *689 responses: '204': @@ -113541,7 +113710,7 @@ paths: oneOf: - allOf: - *174 - - &756 + - &760 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -113562,67 +113731,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *175 - - *756 + - *760 - allOf: - *176 - - *756 + - *760 - allOf: - *177 - - *756 + - *760 - allOf: - - *757 - - *756 + - *761 + - *760 - allOf: - *178 - - *756 + - *760 - allOf: - *179 - - *756 + - *760 - allOf: - *180 - - *756 + - *760 - allOf: - *181 - - *756 + - *760 - allOf: - *182 - - *756 + - *760 - allOf: - *183 - - *756 + - *760 - allOf: - *184 - - *756 + - *760 - allOf: - *185 - - *756 + - *760 - allOf: - *186 - - *756 + - *760 - allOf: - *187 - - *756 + - *760 - allOf: - *188 - - *756 + - *760 - allOf: - *189 - - *756 + - *760 - allOf: - *190 - - *756 + - *760 - allOf: - *191 - - *756 + - *760 - allOf: - *192 - - *756 + - *760 - allOf: - *193 - - *756 + - *760 - allOf: - *194 - - *756 + - *760 examples: default: value: @@ -113673,7 +113842,7 @@ paths: schema: type: boolean default: true - - *758 + - *762 responses: '200': description: Response @@ -113758,7 +113927,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *759 + items: *763 required: - name - enforcement @@ -113791,7 +113960,7 @@ paths: application/json: schema: *195 examples: - default: &769 + default: &773 value: id: 42 name: super cool ruleset @@ -113841,11 +114010,11 @@ paths: parameters: - *493 - *494 - - *760 + - *764 - *107 - - *761 - - *762 - - *763 + - *765 + - *766 + - *767 - *17 - *19 responses: @@ -113853,9 +114022,9 @@ paths: description: Response content: application/json: - schema: *764 + schema: *768 examples: - default: *765 + default: *769 '404': *6 '500': *40 x-github: @@ -113878,15 +114047,15 @@ paths: parameters: - *493 - *494 - - *766 + - *770 responses: '200': description: Response content: application/json: - schema: *767 + schema: *771 examples: - default: *768 + default: *772 '404': *6 '500': *40 x-github: @@ -113937,7 +114106,7 @@ paths: application/json: schema: *195 examples: - default: *769 + default: *773 '404': *6 '500': *40 put: @@ -113990,7 +114159,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *759 + items: *763 examples: default: value: @@ -114020,7 +114189,7 @@ paths: application/json: schema: *195 examples: - default: *769 + default: *773 '404': *6 '422': *15 '500': *40 @@ -114188,8 +114357,8 @@ paths: - *112 - *19 - *17 - - *770 - - *771 + - *774 + - *775 - *467 - *468 - *469 @@ -114202,7 +114371,7 @@ paths: application/json: schema: type: array - items: &775 + items: &779 type: object properties: number: *131 @@ -114221,8 +114390,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *772 - resolution: *773 + state: *776 + resolution: *777 resolved_at: type: string format: date-time @@ -114328,7 +114497,7 @@ paths: pull request. ' - oneOf: *774 + oneOf: *778 nullable: true has_more_locations: type: boolean @@ -114501,7 +114670,7 @@ paths: description: Response content: application/json: - schema: *775 + schema: *779 examples: default: value: @@ -114565,8 +114734,8 @@ paths: schema: type: object properties: - state: *772 - resolution: *773 + state: *776 + resolution: *777 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -114610,7 +114779,7 @@ paths: description: Response content: application/json: - schema: *775 + schema: *779 examples: default: value: @@ -114722,7 +114891,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &963 + items: &967 type: object properties: type: @@ -114748,10 +114917,6 @@ paths: example: commit details: oneOf: - - *776 - - *777 - - *778 - - *779 - *780 - *781 - *782 @@ -114761,6 +114926,10 @@ paths: - *786 - *787 - *788 + - *789 + - *790 + - *791 + - *792 examples: default: value: @@ -114855,14 +115024,14 @@ paths: schema: type: object properties: - reason: &790 + reason: &794 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *789 + placeholder_id: *793 required: - reason - placeholder_id @@ -114879,7 +115048,7 @@ paths: schema: type: object properties: - reason: *790 + reason: *794 expire_at: type: string format: date-time @@ -114941,7 +115110,7 @@ paths: properties: incremental_scans: type: array - items: &791 + items: &795 description: Information on a single scan performed by secret scanning on the repository type: object @@ -114972,15 +115141,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *791 + items: *795 backfill_scans: type: array - items: *791 + items: *795 custom_pattern_backfill_scans: type: array items: allOf: - - *791 + - *795 - type: object properties: pattern_name: @@ -114993,7 +115162,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *791 + items: *795 examples: default: value: @@ -115103,9 +115272,9 @@ paths: application/json: schema: type: array - items: *792 + items: *796 examples: - default: *793 + default: *797 '400': *14 '404': *6 x-github: @@ -115289,9 +115458,9 @@ paths: description: Response content: application/json: - schema: *792 + schema: *796 examples: - default: &795 + default: &799 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -115635,7 +115804,7 @@ paths: description: Response content: application/json: - schema: *792 + schema: *796 examples: default: value: @@ -115790,15 +115959,15 @@ paths: parameters: - *493 - *494 - - *794 + - *798 responses: '200': description: Response content: application/json: - schema: *792 + schema: *796 examples: - default: *795 + default: *799 '403': *29 '404': *6 x-github: @@ -115824,7 +115993,7 @@ paths: parameters: - *493 - *494 - - *794 + - *798 requestBody: required: true content: @@ -115983,10 +116152,10 @@ paths: description: Response content: application/json: - schema: *792 + schema: *796 examples: - default: *795 - add_credit: *795 + default: *799 + add_credit: *799 '403': *29 '404': *6 '422': @@ -116026,7 +116195,7 @@ paths: parameters: - *493 - *494 - - *794 + - *798 responses: '202': *39 '400': *14 @@ -116055,7 +116224,7 @@ paths: parameters: - *493 - *494 - - *794 + - *798 responses: '202': description: Response @@ -116199,7 +116368,7 @@ paths: application/json: schema: type: array - items: &796 + items: &800 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -116572,7 +116741,7 @@ paths: application/json: schema: type: array - items: *796 + items: *800 examples: default: value: @@ -116660,7 +116829,7 @@ paths: description: Response content: application/json: - schema: *797 + schema: *801 examples: default: value: @@ -116754,7 +116923,7 @@ paths: description: if you subscribe to the repository content: application/json: - schema: &798 + schema: &802 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -116849,7 +117018,7 @@ paths: description: Response content: application/json: - schema: *798 + schema: *802 examples: default: value: @@ -117056,7 +117225,7 @@ paths: description: Response content: application/json: - schema: &799 + schema: &803 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -117068,7 +117237,7 @@ paths: required: - names examples: - default: &800 + default: &804 value: names: - octocat @@ -117123,9 +117292,9 @@ paths: description: Response content: application/json: - schema: *799 + schema: *803 examples: - default: *800 + default: *804 '404': *6 '422': *7 x-github: @@ -117148,7 +117317,7 @@ paths: parameters: - *493 - *494 - - &801 + - &805 name: per description: The time frame to display results for. in: query @@ -117177,7 +117346,7 @@ paths: example: 128 clones: type: array - items: &802 + items: &806 title: Traffic type: object properties: @@ -117418,7 +117587,7 @@ paths: parameters: - *493 - *494 - - *801 + - *805 responses: '200': description: Response @@ -117437,7 +117606,7 @@ paths: example: 3782 views: type: array - items: *802 + items: *806 required: - uniques - count @@ -118115,7 +118284,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &810 + - &814 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -118124,7 +118293,7 @@ paths: schema: type: string example: members - - &815 + - &819 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -118135,7 +118304,7 @@ paths: default: 1 format: int32 example: 1 - - &816 + - &820 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -118177,7 +118346,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &805 + items: &809 allOf: - type: object required: @@ -118252,7 +118421,7 @@ paths: - value: 0db508eb-91e2-46e4-809c-30dcbda0c685 "$+ref": https://api.github.localhost/scim/v2/Users/0db508eb-91e2-46e4-809c-30dcbda0c685 displayName: User 2 - meta: &817 + meta: &821 type: object description: The metadata associated with the creation/updates to the user. @@ -118312,30 +118481,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &806 + '400': &810 description: Bad request content: application/json: - schema: *803 + schema: *807 application/scim+json: - schema: *803 - '401': *804 - '403': &807 + schema: *807 + '401': *808 + '403': &811 description: Permission denied - '429': &808 + '429': &812 description: Too many requests content: application/json: - schema: *803 + schema: *807 application/scim+json: - schema: *803 - '500': &809 + schema: *807 + '500': &813 description: Internal server error content: application/json: - schema: *803 + schema: *807 application/scim+json: - schema: *803 + schema: *807 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -118359,7 +118528,7 @@ paths: required: true content: application/json: - schema: &813 + schema: &817 type: object required: - schemas @@ -118419,9 +118588,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *805 + schema: *809 examples: - group: &811 + group: &815 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -118440,13 +118609,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 - '400': *806 - '401': *804 - '403': *807 - '409': &814 + '400': *810 + '401': *808 + '403': *811 + '409': &818 description: Duplicate record detected - '429': *808 - '500': *809 + '429': *812 + '500': *813 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -118463,7 +118632,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &812 + - &816 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -118471,22 +118640,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *810 + - *814 - *41 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *805 + schema: *809 examples: - default: *811 - '400': *806 - '401': *804 - '403': *807 + default: *815 + '400': *810 + '401': *808 + '403': *811 '404': *6 - '429': *808 - '500': *809 + '429': *812 + '500': *813 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -118505,13 +118674,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *812 + - *816 - *41 requestBody: required: true content: application/json: - schema: *813 + schema: *817 examples: group: summary: Group @@ -118537,17 +118706,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *805 + schema: *809 examples: - group: *811 - groupWithMembers: *811 - '400': *806 - '401': *804 - '403': *807 + group: *815 + groupWithMembers: *815 + '400': *810 + '401': *808 + '403': *811 '404': *6 - '409': *814 - '429': *808 - '500': *809 + '409': *818 + '429': *812 + '500': *813 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -118571,13 +118740,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *812 + - *816 - *41 requestBody: required: true content: application/json: - schema: &824 + schema: &828 type: object required: - Operations @@ -118637,17 +118806,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *805 + schema: *809 examples: - updateGroup: *811 - addMembers: *811 - '400': *806 - '401': *804 - '403': *807 + updateGroup: *815 + addMembers: *815 + '400': *810 + '401': *808 + '403': *811 '404': *6 - '409': *814 - '429': *808 - '500': *809 + '409': *818 + '429': *812 + '500': *813 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -118663,17 +118832,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *812 + - *816 - *41 responses: '204': description: Group was deleted, no content - '400': *806 - '401': *804 - '403': *807 + '400': *810 + '401': *808 + '403': *811 '404': *6 - '429': *808 - '500': *809 + '429': *812 + '500': *813 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -118707,8 +118876,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *815 - - *816 + - *819 + - *820 - *41 responses: '200': @@ -118741,7 +118910,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &819 + items: &823 allOf: - type: object required: @@ -118820,7 +118989,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &818 + roles: &822 type: array description: The roles assigned to the user. items: @@ -118876,7 +119045,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *817 + meta: *821 startIndex: type: integer description: A starting index for the returned page @@ -118913,11 +119082,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *806 - '401': *804 - '403': *807 - '429': *808 - '500': *809 + '400': *810 + '401': *808 + '403': *811 + '429': *812 + '500': *813 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -118941,7 +119110,7 @@ paths: required: true content: application/json: - schema: &822 + schema: &826 type: object required: - schemas @@ -119023,9 +119192,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *818 + roles: *822 examples: - user: &823 + user: &827 summary: User value: schemas: @@ -119072,9 +119241,9 @@ paths: description: User has been created content: application/scim+json: - schema: *819 + schema: *823 examples: - user: &820 + user: &824 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -119100,13 +119269,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Users/7fce0092-d52e-4f76-b727-3955bd72c939 - enterpriseOwner: *820 - '400': *806 - '401': *804 - '403': *807 - '409': *814 - '429': *808 - '500': *809 + enterpriseOwner: *824 + '400': *810 + '401': *808 + '403': *811 + '409': *818 + '429': *812 + '500': *813 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -119123,7 +119292,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &821 + - &825 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -119136,15 +119305,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *819 + schema: *823 examples: - default: *820 - '400': *806 - '401': *804 - '403': *807 + default: *824 + '400': *810 + '401': *808 + '403': *811 '404': *6 - '429': *808 - '500': *809 + '429': *812 + '500': *813 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -119195,30 +119364,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *821 + - *825 - *41 requestBody: required: true content: application/json: - schema: *822 + schema: *826 examples: - user: *823 + user: *827 responses: '200': description: User was updated content: application/scim+json: - schema: *819 + schema: *823 examples: - user: *820 - '400': *806 - '401': *804 - '403': *807 + user: *824 + '400': *810 + '401': *808 + '403': *811 '404': *6 - '409': *814 - '429': *808 - '500': *809 + '409': *818 + '429': *812 + '500': *813 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -119259,13 +119428,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *821 + - *825 - *41 requestBody: required: true content: application/json: - schema: *824 + schema: *828 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -119305,18 +119474,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *819 + schema: *823 examples: - userMultiValuedProperties: *820 - userSingleValuedProperties: *820 - disableUser: *820 - '400': *806 - '401': *804 - '403': *807 + userMultiValuedProperties: *824 + userSingleValuedProperties: *824 + disableUser: *824 + '400': *810 + '401': *808 + '403': *811 '404': *6 - '409': *814 - '429': *808 - '500': *809 + '409': *818 + '429': *812 + '500': *813 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -119336,17 +119505,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *821 + - *825 - *41 responses: '204': description: User was deleted, no content - '400': *806 - '401': *804 - '403': *807 + '400': *810 + '401': *808 + '403': *811 '404': *6 - '429': *808 - '500': *809 + '429': *812 + '500': *813 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -119433,7 +119602,7 @@ paths: example: 1 Resources: type: array - items: &825 + items: &829 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -119664,22 +119833,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *37 - '404': &826 + '404': &830 description: Resource not found content: application/json: - schema: *803 + schema: *807 application/scim+json: - schema: *803 - '403': &827 + schema: *807 + '403': &831 description: Forbidden content: application/json: - schema: *803 + schema: *807 application/scim+json: - schema: *803 - '400': *806 - '429': *808 + schema: *807 + '400': *810 + '429': *812 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -119705,9 +119874,9 @@ paths: description: Response content: application/scim+json: - schema: *825 + schema: *829 examples: - default: &828 + default: &832 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -119730,17 +119899,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *37 - '404': *826 - '403': *827 - '500': *809 + '404': *830 + '403': *831 + '500': *813 '409': description: Conflict content: application/json: - schema: *803 + schema: *807 application/scim+json: - schema: *803 - '400': *806 + schema: *807 + '400': *810 requestBody: required: true content: @@ -119838,17 +120007,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *89 - - *821 + - *825 responses: '200': description: Response content: application/scim+json: - schema: *825 + schema: *829 examples: - default: *828 - '404': *826 - '403': *827 + default: *832 + '404': *830 + '403': *831 '304': *37 x-github: githubCloudOnly: true @@ -119872,18 +120041,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#update-a-provisioned-organization-membership parameters: - *89 - - *821 + - *825 responses: '200': description: Response content: application/scim+json: - schema: *825 + schema: *829 examples: - default: *828 + default: *832 '304': *37 - '404': *826 - '403': *827 + '404': *830 + '403': *831 requestBody: required: true content: @@ -119996,19 +120165,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *89 - - *821 + - *825 responses: '200': description: Response content: application/scim+json: - schema: *825 + schema: *829 examples: - default: *828 + default: *832 '304': *37 - '404': *826 - '403': *827 - '400': *806 + '404': *830 + '403': *831 + '400': *810 '429': description: Response content: @@ -120099,12 +120268,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *89 - - *821 + - *825 responses: '204': description: Response - '404': *826 - '403': *827 + '404': *830 + '403': *831 '304': *37 x-github: githubCloudOnly: true @@ -120240,7 +120409,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &829 + text_matches: &833 title: Search Result Text Matches type: array items: @@ -120403,7 +120572,7 @@ paths: enum: - author-date - committer-date - - &830 + - &834 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -120531,7 +120700,7 @@ paths: type: number node_id: type: string - text_matches: *829 + text_matches: *833 required: - sha - node_id @@ -120724,7 +120893,7 @@ paths: - interactions - created - updated - - *830 + - *834 - *17 - *19 - name: advanced_search @@ -120838,11 +121007,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *831 - issue_dependencies_summary: *832 + sub_issues_summary: *835 + issue_dependencies_summary: *836 issue_field_values: type: array - items: *698 + items: *699 state: type: string state_reason: @@ -120874,7 +121043,7 @@ paths: type: string format: date-time nullable: true - text_matches: *829 + text_matches: *833 pull_request: type: object properties: @@ -121190,7 +121359,7 @@ paths: enum: - created - updated - - *830 + - *834 - *17 - *19 responses: @@ -121234,7 +121403,7 @@ paths: nullable: true score: type: number - text_matches: *829 + text_matches: *833 required: - id - node_id @@ -121320,7 +121489,7 @@ paths: - forks - help-wanted-issues - updated - - *830 + - *834 - *17 - *19 responses: @@ -121568,7 +121737,7 @@ paths: - admin - pull - push - text_matches: *829 + text_matches: *833 temp_clone_token: type: string allow_merge_commit: @@ -121869,7 +122038,7 @@ paths: type: string format: uri nullable: true - text_matches: *829 + text_matches: *833 related: type: array nullable: true @@ -122062,7 +122231,7 @@ paths: - followers - repositories - joined - - *830 + - *834 - *17 - *19 responses: @@ -122166,7 +122335,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *829 + text_matches: *833 blog: type: string nullable: true @@ -122245,7 +122414,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#get-a-team-legacy parameters: - - &833 + - &837 name: team_id description: The unique identifier of the team. in: path @@ -122286,7 +122455,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#update-a-team-legacy parameters: - - *833 + - *837 requestBody: required: true content: @@ -122386,7 +122555,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#delete-a-team-legacy parameters: - - *833 + - *837 responses: '204': description: Response @@ -122415,7 +122584,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *833 + - *837 - *17 - *19 responses: @@ -122453,7 +122622,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-team-members-legacy parameters: - - *833 + - *837 - name: role description: Filters members returned by their role in the team. in: query @@ -122504,7 +122673,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-member-legacy parameters: - - *833 + - *837 - *148 responses: '204': @@ -122541,7 +122710,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-team-member-legacy parameters: - - *833 + - *837 - *148 responses: '204': @@ -122581,7 +122750,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-member-legacy parameters: - - *833 + - *837 - *148 responses: '204': @@ -122618,7 +122787,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *833 + - *837 - *148 responses: '200': @@ -122627,7 +122796,7 @@ paths: application/json: schema: *492 examples: - response-if-user-is-a-team-maintainer: *834 + response-if-user-is-a-team-maintainer: *838 '404': *6 x-github: githubCloudOnly: false @@ -122660,7 +122829,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *833 + - *837 - *148 requestBody: required: false @@ -122688,7 +122857,7 @@ paths: application/json: schema: *492 examples: - response-if-users-membership-with-team-is-now-pending: *835 + response-if-users-membership-with-team-is-now-pending: *839 '403': description: Forbidden if team synchronization is set up '422': @@ -122722,7 +122891,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *833 + - *837 - *148 responses: '204': @@ -122750,7 +122919,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-team-repositories-legacy parameters: - - *833 + - *837 - *17 - *19 responses: @@ -122792,7 +122961,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *833 + - *837 - *493 - *494 responses: @@ -122800,7 +122969,7 @@ paths: description: Alternative response with extra repository information content: application/json: - schema: *836 + schema: *840 examples: alternative-response-with-extra-repository-information: value: @@ -122957,7 +123126,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *833 + - *837 - *493 - *494 requestBody: @@ -123009,7 +123178,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *833 + - *837 - *493 - *494 responses: @@ -123040,7 +123209,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#list-idp-groups-for-a-team-legacy parameters: - - *833 + - *837 responses: '200': description: Response @@ -123075,7 +123244,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#create-or-update-idp-group-connections-legacy parameters: - - *833 + - *837 requestBody: required: true content: @@ -123163,7 +123332,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-child-teams-legacy parameters: - - *833 + - *837 - *17 - *19 responses: @@ -123175,7 +123344,7 @@ paths: type: array items: *325 examples: - response-if-child-teams-exist: *837 + response-if-child-teams-exist: *841 headers: Link: *47 '404': *6 @@ -123208,7 +123377,7 @@ paths: application/json: schema: oneOf: - - &839 + - &843 title: Private User description: Private User type: object @@ -123411,7 +123580,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *838 + - *842 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -123564,7 +123733,7 @@ paths: description: Response content: application/json: - schema: *839 + schema: *843 examples: default: value: @@ -123962,7 +124131,7 @@ paths: type: integer secrets: type: array - items: &840 + items: &844 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -124078,7 +124247,7 @@ paths: description: Response content: application/json: - schema: *840 + schema: *844 examples: default: value: @@ -124491,7 +124660,7 @@ paths: description: Response content: application/json: - schema: &841 + schema: &845 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -124532,7 +124701,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &842 + default: &846 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -124577,9 +124746,9 @@ paths: description: Response content: application/json: - schema: *841 + schema: *845 examples: - default: *842 + default: *846 '404': *6 x-github: githubCloudOnly: false @@ -124616,9 +124785,9 @@ paths: type: integer machines: type: array - items: *843 + items: *847 examples: - default: *844 + default: *848 '304': *37 '500': *40 '401': *25 @@ -125557,7 +125726,7 @@ paths: type: array items: *417 examples: - default: &855 + default: &859 value: - id: 197 name: hello_docker @@ -125658,7 +125827,7 @@ paths: application/json: schema: type: array - items: &845 + items: &849 title: Email description: Email type: object @@ -125723,9 +125892,9 @@ paths: application/json: schema: type: array - items: *845 + items: *849 examples: - default: &857 + default: &861 value: - email: octocat@github.com verified: true @@ -125800,7 +125969,7 @@ paths: application/json: schema: type: array - items: *845 + items: *849 examples: default: value: @@ -126056,7 +126225,7 @@ paths: application/json: schema: type: array - items: &846 + items: &850 title: GPG Key description: A unique encryption key type: object @@ -126187,7 +126356,7 @@ paths: - subkeys - revoked examples: - default: &874 + default: &878 value: - id: 3 name: Octocat's GPG Key @@ -126272,9 +126441,9 @@ paths: description: Response content: application/json: - schema: *846 + schema: *850 examples: - default: &847 + default: &851 value: id: 3 name: Octocat's GPG Key @@ -126331,7 +126500,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &848 + - &852 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -126343,9 +126512,9 @@ paths: description: Response content: application/json: - schema: *846 + schema: *850 examples: - default: *847 + default: *851 '404': *6 '304': *37 '403': *29 @@ -126368,7 +126537,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *848 + - *852 responses: '204': description: Response @@ -126835,7 +127004,7 @@ paths: application/json: schema: type: array - items: &849 + items: &853 title: Key description: Key type: object @@ -126936,9 +127105,9 @@ paths: description: Response content: application/json: - schema: *849 + schema: *853 examples: - default: &850 + default: &854 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -126971,15 +127140,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *718 + - *722 responses: '200': description: Response content: application/json: - schema: *849 + schema: *853 examples: - default: *850 + default: *854 '404': *6 '304': *37 '403': *29 @@ -127002,7 +127171,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *718 + - *722 responses: '204': description: Response @@ -127035,7 +127204,7 @@ paths: application/json: schema: type: array - items: &851 + items: &855 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -127103,7 +127272,7 @@ paths: - account - plan examples: - default: &852 + default: &856 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -127165,9 +127334,9 @@ paths: application/json: schema: type: array - items: *851 + items: *855 examples: - default: *852 + default: *856 headers: Link: *47 '304': *37 @@ -128176,7 +128345,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#unlock-a-user-repository parameters: - *412 - - *853 + - *857 responses: '204': description: Response @@ -128309,7 +128478,7 @@ paths: - docker - nuget - container - - *854 + - *858 - *19 - *17 responses: @@ -128321,8 +128490,8 @@ paths: type: array items: *417 examples: - default: *855 - '400': *856 + default: *859 + '400': *860 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -128351,7 +128520,7 @@ paths: application/json: schema: *417 examples: - default: &875 + default: &879 value: id: 40201 name: octo-name @@ -128713,9 +128882,9 @@ paths: application/json: schema: type: array - items: *845 + items: *849 examples: - default: *857 + default: *861 headers: Link: *47 '304': *37 @@ -128828,7 +128997,7 @@ paths: type: array items: *80 examples: - default: &864 + default: &868 summary: Default response value: - id: 1296269 @@ -129180,7 +129349,7 @@ paths: type: array items: *683 examples: - default: *858 + default: *862 headers: Link: *47 '304': *37 @@ -129265,7 +129434,7 @@ paths: application/json: schema: type: array - items: &859 + items: &863 title: Social account description: Social media account type: object @@ -129280,7 +129449,7 @@ paths: - provider - url examples: - default: &860 + default: &864 value: - provider: twitter url: https://twitter.com/github @@ -129342,9 +129511,9 @@ paths: application/json: schema: type: array - items: *859 + items: *863 examples: - default: *860 + default: *864 '422': *15 '304': *37 '404': *6 @@ -129431,7 +129600,7 @@ paths: application/json: schema: type: array - items: &861 + items: &865 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -129451,7 +129620,7 @@ paths: - title - created_at examples: - default: &889 + default: &893 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -129515,9 +129684,9 @@ paths: description: Response content: application/json: - schema: *861 + schema: *865 examples: - default: &862 + default: &866 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -129547,7 +129716,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &863 + - &867 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -129559,9 +129728,9 @@ paths: description: Response content: application/json: - schema: *861 + schema: *865 examples: - default: *862 + default: *866 '404': *6 '304': *37 '403': *29 @@ -129584,7 +129753,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *863 + - *867 responses: '204': description: Response @@ -129613,7 +129782,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &890 + - &894 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -129638,11 +129807,11 @@ paths: type: array items: *80 examples: - default-response: *864 + default-response: *868 application/vnd.github.v3.star+json: schema: type: array - items: &891 + items: &895 title: Starred Repository description: Starred Repository type: object @@ -130011,10 +130180,10 @@ paths: application/json: schema: oneOf: - - *839 - - *838 + - *843 + - *842 examples: - default-response: &868 + default-response: &872 summary: Default response value: login: octocat @@ -130049,7 +130218,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &869 + response-with-git-hub-plan-information: &873 summary: Response with GitHub plan information value: login: octocat @@ -130106,7 +130275,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &866 + - &870 name: user_id description: The unique identifier of the user. in: path @@ -130172,7 +130341,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#list-users parameters: - - *865 + - *869 - *17 responses: '200': @@ -130207,7 +130376,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *866 + - *870 - *435 requestBody: required: true @@ -130279,7 +130448,7 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *867 + schema: *871 examples: table_view: summary: Response for creating a table view @@ -130331,11 +130500,11 @@ paths: application/json: schema: oneOf: - - *839 - - *838 + - *843 + - *842 examples: - default-response: *868 - response-with-git-hub-plan-information: *869 + default-response: *872 + response-with-git-hub-plan-information: *873 '404': *6 x-github: githubCloudOnly: false @@ -130385,8 +130554,8 @@ paths: required: - subject_digests examples: - default: *870 - withPredicateType: *871 + default: *874 + withPredicateType: *875 responses: '200': description: Response @@ -130439,7 +130608,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *872 + default: *876 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -130954,7 +131123,7 @@ paths: application/json: schema: *340 examples: - default: &873 + default: &877 summary: Example response for a user copilot space value: id: 42 @@ -131055,7 +131224,7 @@ paths: application/json: schema: *340 examples: - default: *873 + default: *877 '403': *29 '404': *6 x-github: @@ -131178,7 +131347,7 @@ paths: application/json: schema: *340 examples: - default: *873 + default: *877 '403': *29 '404': *6 '422': *15 @@ -131946,7 +132115,7 @@ paths: type: array items: *417 examples: - default: *855 + default: *859 '403': *29 '401': *25 x-github: @@ -132330,9 +132499,9 @@ paths: application/json: schema: type: array - items: *846 + items: *850 examples: - default: *874 + default: *878 headers: Link: *47 x-github: @@ -132560,7 +132729,7 @@ paths: - docker - nuget - container - - *854 + - *858 - *148 - *19 - *17 @@ -132573,10 +132742,10 @@ paths: type: array items: *417 examples: - default: *855 + default: *859 '403': *29 '401': *25 - '400': *856 + '400': *860 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -132606,7 +132775,7 @@ paths: application/json: schema: *417 examples: - default: *875 + default: *879 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -132955,7 +133124,7 @@ paths: type: array items: *439 examples: - default: *876 + default: *880 headers: Link: *47 '304': *37 @@ -133015,7 +133184,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *877 + items: *881 required: - name - data_type @@ -133031,7 +133200,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *878 + iteration_configuration: *882 required: - name - data_type @@ -133053,8 +133222,8 @@ paths: value: name: Due date data_type: date - single_select_field: *879 - iteration_field: *880 + single_select_field: *883 + iteration_field: *884 responses: '201': description: Response @@ -133062,11 +133231,11 @@ paths: application/json: schema: *439 examples: - text_field: *881 - number_field: *882 - date_field: *883 - single_select_field: *884 - iteration_field: *885 + text_field: *885 + number_field: *886 + date_field: *887 + single_select_field: *888 + iteration_field: *889 '304': *37 '403': *29 '401': *25 @@ -133088,7 +133257,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#get-project-field-for-user parameters: - *435 - - *886 + - *890 - *148 responses: '200': @@ -133097,7 +133266,7 @@ paths: application/json: schema: *439 examples: - default: *887 + default: *891 headers: Link: *47 '304': *37 @@ -133451,7 +133620,7 @@ paths: parameters: - *435 - *148 - - *888 + - *892 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -133730,9 +133899,9 @@ paths: application/json: schema: type: array - items: *859 + items: *863 examples: - default: *860 + default: *864 headers: Link: *47 x-github: @@ -133762,9 +133931,9 @@ paths: application/json: schema: type: array - items: *861 + items: *865 examples: - default: *889 + default: *893 headers: Link: *47 x-github: @@ -133789,7 +133958,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *148 - - *890 + - *894 - *112 - *17 - *19 @@ -133801,11 +133970,11 @@ paths: schema: anyOf: - type: array - items: *891 + items: *895 - type: array items: *80 examples: - default-response: *864 + default-response: *868 headers: Link: *47 x-github: @@ -133964,7 +134133,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &892 + enterprise: &896 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -134022,7 +134191,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &893 + installation: &897 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -134041,7 +134210,7 @@ x-webhooks: required: - id - node_id - organization: &894 + organization: &898 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -134101,13 +134270,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &895 + repository: &899 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &934 + properties: &938 id: description: Unique identifier of the repository example: 42 @@ -134802,7 +134971,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &935 + required: &939 - archive_url - assignees_url - blobs_url @@ -134876,7 +135045,7 @@ x-webhooks: - watchers_count - created_at - updated_at - x-github-breaking-changes: &936 + x-github-breaking-changes: &940 - changeset: remove_use_squash_pr_title_as_default patch: properties: @@ -134967,10 +135136,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 required: - action @@ -135046,11 +135215,11 @@ x-webhooks: type: string enum: - created - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 - rule: &896 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 + rule: &900 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-cloud@latest/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -135273,11 +135442,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 - rule: *896 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 + rule: *900 sender: *4 required: - action @@ -135460,11 +135629,11 @@ x-webhooks: - everyone required: - from - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 - rule: *896 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 + rule: *900 sender: *4 required: - action @@ -135537,7 +135706,7 @@ x-webhooks: required: true content: application/json: - schema: &918 + schema: &922 title: Exemption request cancellation event type: object properties: @@ -135545,11 +135714,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 - exemption_request: &897 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 + exemption_request: &901 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -135853,7 +136022,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &898 + items: &902 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -135963,7 +136132,7 @@ x-webhooks: required: true content: application/json: - schema: &919 + schema: &923 title: Exemption request completed event type: object properties: @@ -135971,11 +136140,11 @@ x-webhooks: type: string enum: - completed - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 - exemption_request: *897 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 + exemption_request: *901 sender: *4 required: - action @@ -136047,7 +136216,7 @@ x-webhooks: required: true content: application/json: - schema: &916 + schema: &920 title: Exemption request created event type: object properties: @@ -136055,11 +136224,11 @@ x-webhooks: type: string enum: - created - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 - exemption_request: *897 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 + exemption_request: *901 sender: *4 required: - action @@ -136131,7 +136300,7 @@ x-webhooks: required: true content: application/json: - schema: &920 + schema: &924 title: Exemption response dismissed event type: object properties: @@ -136139,12 +136308,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 - exemption_request: *897 - exemption_response: *898 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 + exemption_request: *901 + exemption_response: *902 sender: *4 required: - action @@ -136218,7 +136387,7 @@ x-webhooks: required: true content: application/json: - schema: &917 + schema: &921 title: Exemption response submitted event type: object properties: @@ -136226,12 +136395,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 - exemption_request: *897 - exemption_response: *898 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 + exemption_request: *901 + exemption_response: *902 sender: *4 required: - action @@ -136315,7 +136484,7 @@ x-webhooks: type: string enum: - completed - check_run: &900 + check_run: &904 title: CheckRun description: A check performed on the code of a given code change type: object @@ -136406,7 +136575,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *899 + deployment: *903 details_url: example: https://example.com type: string @@ -136491,10 +136660,10 @@ x-webhooks: - output - app - pull_requests - installation: *893 - enterprise: *892 - organization: *894 - repository: *895 + installation: *897 + enterprise: *896 + organization: *898 + repository: *899 sender: *4 required: - check_run @@ -136885,11 +137054,11 @@ x-webhooks: type: string enum: - created - check_run: *900 - installation: *893 - enterprise: *892 - organization: *894 - repository: *895 + check_run: *904 + installation: *897 + enterprise: *896 + organization: *898 + repository: *899 sender: *4 required: - check_run @@ -137283,11 +137452,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *900 - installation: *893 - enterprise: *892 - organization: *894 - repository: *895 + check_run: *904 + installation: *897 + enterprise: *896 + organization: *898 + repository: *899 requested_action: description: The action requested by the user. type: object @@ -137690,11 +137859,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *900 - installation: *893 - enterprise: *892 - organization: *894 - repository: *895 + check_run: *904 + installation: *897 + enterprise: *896 + organization: *898 + repository: *899 sender: *4 required: - check_run @@ -138664,10 +138833,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 required: - action @@ -139366,10 +139535,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 required: - action @@ -140062,10 +140231,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 required: - action @@ -140376,20 +140545,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &901 + commit_oid: &905 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *892 - installation: *893 - organization: *894 - ref: &902 + enterprise: *896 + installation: *897 + organization: *898 + ref: &906 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *895 + repository: *899 sender: *4 required: - action @@ -140784,12 +140953,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *901 - enterprise: *892 - installation: *893 - organization: *894 - ref: *902 - repository: *895 + commit_oid: *905 + enterprise: *896 + installation: *897 + organization: *898 + ref: *906 + repository: *899 sender: *4 required: - action @@ -141055,12 +141224,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *901 - enterprise: *892 - installation: *893 - organization: *894 - ref: *902 - repository: *895 + commit_oid: *905 + enterprise: *896 + installation: *897 + organization: *898 + ref: *906 + repository: *899 sender: *4 required: - action @@ -141392,12 +141561,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *901 - enterprise: *892 - installation: *893 - organization: *894 - ref: *902 - repository: *895 + commit_oid: *905 + enterprise: *896 + installation: *897 + organization: *898 + ref: *906 + repository: *899 sender: *4 required: - action @@ -141671,16 +141840,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *892 - installation: *893 - organization: *894 + enterprise: *896 + installation: *897 + organization: *898 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *895 + repository: *899 sender: *4 required: - action @@ -141917,12 +142086,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *901 - enterprise: *892 - installation: *893 - organization: *894 - ref: *902 - repository: *895 + commit_oid: *905 + enterprise: *896 + installation: *897 + organization: *898 + ref: *906 + repository: *899 sender: *4 required: - action @@ -142233,10 +142402,10 @@ x-webhooks: - dismissed_reason - rule - tool - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 required: - action @@ -142491,10 +142660,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 required: - action @@ -142574,18 +142743,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *892 - installation: *893 + enterprise: *896 + installation: *897 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *894 - pusher_type: &903 + organization: *898 + pusher_type: &907 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &904 + ref: &908 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest/rest/git/refs#get-a-reference) resource. type: string @@ -142595,7 +142764,7 @@ x-webhooks: enum: - tag - branch - repository: *895 + repository: *899 sender: *4 required: - ref @@ -142678,9 +142847,9 @@ x-webhooks: enum: - created definition: *161 - enterprise: *892 - installation: *893 - organization: *894 + enterprise: *896 + installation: *897 + organization: *898 sender: *4 required: - action @@ -142765,9 +142934,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *892 - installation: *893 - organization: *894 + enterprise: *896 + installation: *897 + organization: *898 sender: *4 required: - action @@ -142845,9 +143014,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *161 - enterprise: *892 - installation: *893 - organization: *894 + enterprise: *896 + installation: *897 + organization: *898 sender: *4 required: - action @@ -142925,9 +143094,9 @@ x-webhooks: enum: - updated definition: *161 - enterprise: *892 - installation: *893 - organization: *894 + enterprise: *896 + installation: *897 + organization: *898 sender: *4 required: - action @@ -143004,10 +143173,10 @@ x-webhooks: type: string enum: - updated - enterprise: *892 - installation: *893 - repository: *895 - organization: *894 + enterprise: *896 + installation: *897 + repository: *899 + organization: *898 sender: *4 new_property_values: type: array @@ -143092,18 +143261,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *892 - installation: *893 - organization: *894 - pusher_type: *903 - ref: *904 + enterprise: *896 + installation: *897 + organization: *898 + pusher_type: *907 + ref: *908 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *895 + repository: *899 sender: *4 required: - ref @@ -143184,10 +143353,10 @@ x-webhooks: enum: - assignees_changed alert: *632 - installation: *893 - organization: *894 - enterprise: *892 - repository: *895 + installation: *897 + organization: *898 + enterprise: *896 + repository: *899 sender: *4 required: - action @@ -143268,10 +143437,10 @@ x-webhooks: enum: - auto_dismissed alert: *632 - installation: *893 - organization: *894 - enterprise: *892 - repository: *895 + installation: *897 + organization: *898 + enterprise: *896 + repository: *899 sender: *4 required: - action @@ -143353,10 +143522,10 @@ x-webhooks: enum: - auto_reopened alert: *632 - installation: *893 - organization: *894 - enterprise: *892 - repository: *895 + installation: *897 + organization: *898 + enterprise: *896 + repository: *899 sender: *4 required: - action @@ -143438,10 +143607,10 @@ x-webhooks: enum: - created alert: *632 - installation: *893 - organization: *894 - enterprise: *892 - repository: *895 + installation: *897 + organization: *898 + enterprise: *896 + repository: *899 sender: *4 required: - action @@ -143521,10 +143690,10 @@ x-webhooks: enum: - dismissed alert: *632 - installation: *893 - organization: *894 - enterprise: *892 - repository: *895 + installation: *897 + organization: *898 + enterprise: *896 + repository: *899 sender: *4 required: - action @@ -143604,10 +143773,10 @@ x-webhooks: enum: - fixed alert: *632 - installation: *893 - organization: *894 - enterprise: *892 - repository: *895 + installation: *897 + organization: *898 + enterprise: *896 + repository: *899 sender: *4 required: - action @@ -143688,10 +143857,10 @@ x-webhooks: enum: - reintroduced alert: *632 - installation: *893 - organization: *894 - enterprise: *892 - repository: *895 + installation: *897 + organization: *898 + enterprise: *896 + repository: *899 sender: *4 required: - action @@ -143771,10 +143940,10 @@ x-webhooks: enum: - reopened alert: *632 - installation: *893 - organization: *894 - enterprise: *892 - repository: *895 + installation: *897 + organization: *898 + enterprise: *896 + repository: *899 sender: *4 required: - action @@ -143851,9 +144020,9 @@ x-webhooks: type: string enum: - created - enterprise: *892 - installation: *893 - key: &905 + enterprise: *896 + installation: *897 + key: &909 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -143889,8 +144058,8 @@ x-webhooks: - verified - created_at - read_only - organization: *894 - repository: *895 + organization: *898 + repository: *899 sender: *4 required: - action @@ -143967,11 +144136,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *892 - installation: *893 - key: *905 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + key: *909 + organization: *898 + repository: *899 sender: *4 required: - action @@ -144527,12 +144696,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 - workflow: &911 + workflow: &915 title: Workflow type: object nullable: true @@ -145273,15 +145442,15 @@ x-webhooks: description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: *906 - required: *907 + properties: *910 + required: *911 nullable: true pull_requests: type: array - items: *739 - repository: *895 - organization: *894 - installation: *893 + items: *743 + repository: *899 + organization: *898 + installation: *897 sender: *4 responses: '200': @@ -145352,7 +145521,7 @@ x-webhooks: type: string enum: - approved - approver: &908 + approver: &912 type: object properties: avatar_url: @@ -145395,11 +145564,11 @@ x-webhooks: type: string comment: type: string - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 - reviewers: &909 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 + reviewers: &913 type: array items: type: object @@ -145478,7 +145647,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &910 + workflow_job_run: &914 type: object properties: conclusion: @@ -146209,18 +146378,18 @@ x-webhooks: type: string enum: - rejected - approver: *908 + approver: *912 comment: type: string - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 - reviewers: *909 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 + reviewers: *913 sender: *4 since: type: string - workflow_job_run: *910 + workflow_job_run: *914 workflow_job_runs: type: array items: @@ -146924,13 +147093,13 @@ x-webhooks: type: string enum: - requested - enterprise: *892 + enterprise: *896 environment: type: string - installation: *893 - organization: *894 - repository: *895 - requestor: &921 + installation: *897 + organization: *898 + repository: *899 + requestor: &925 title: User type: object nullable: true @@ -148819,12 +148988,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 - workflow: *911 + workflow: *915 workflow_run: title: Deployment Workflow Run type: object @@ -149504,7 +149673,7 @@ x-webhooks: type: string enum: - answered - answer: &914 + answer: &918 type: object properties: author_association: @@ -149661,11 +149830,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *912 - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + discussion: *916 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 required: - action @@ -149792,11 +149961,11 @@ x-webhooks: - from required: - category - discussion: *912 - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + discussion: *916 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 required: - action @@ -149879,11 +150048,11 @@ x-webhooks: type: string enum: - closed - discussion: *912 - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + discussion: *916 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 required: - action @@ -149965,7 +150134,7 @@ x-webhooks: type: string enum: - created - comment: &913 + comment: &917 type: object properties: author_association: @@ -150122,11 +150291,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *912 - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + discussion: *916 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 required: - action @@ -150209,12 +150378,12 @@ x-webhooks: type: string enum: - deleted - comment: *913 - discussion: *912 - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + comment: *917 + discussion: *916 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 required: - action @@ -150309,12 +150478,12 @@ x-webhooks: - from required: - body - comment: *913 - discussion: *912 - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + comment: *917 + discussion: *916 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 required: - action @@ -150398,11 +150567,11 @@ x-webhooks: type: string enum: - created - discussion: *912 - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + discussion: *916 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 required: - action @@ -150484,11 +150653,11 @@ x-webhooks: type: string enum: - deleted - discussion: *912 - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + discussion: *916 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 required: - action @@ -150588,11 +150757,11 @@ x-webhooks: type: string required: - from - discussion: *912 - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + discussion: *916 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 required: - action @@ -150674,10 +150843,10 @@ x-webhooks: type: string enum: - labeled - discussion: *912 - enterprise: *892 - installation: *893 - label: &915 + discussion: *916 + enterprise: *896 + installation: *897 + label: &919 title: Label type: object properties: @@ -150709,8 +150878,8 @@ x-webhooks: - color - default - description - organization: *894 - repository: *895 + organization: *898 + repository: *899 sender: *4 required: - action @@ -150793,11 +150962,11 @@ x-webhooks: type: string enum: - locked - discussion: *912 - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + discussion: *916 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 required: - action @@ -150879,11 +151048,11 @@ x-webhooks: type: string enum: - pinned - discussion: *912 - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + discussion: *916 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 required: - action @@ -150965,11 +151134,11 @@ x-webhooks: type: string enum: - reopened - discussion: *912 - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + discussion: *916 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 required: - action @@ -151054,16 +151223,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *912 - new_repository: *895 + new_discussion: *916 + new_repository: *899 required: - new_discussion - new_repository - discussion: *912 - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + discussion: *916 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 required: - action @@ -151146,10 +151315,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *912 - old_answer: *914 - organization: *894 - repository: *895 + discussion: *916 + old_answer: *918 + organization: *898 + repository: *899 sender: *4 required: - action @@ -151231,12 +151400,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *912 - enterprise: *892 - installation: *893 - label: *915 - organization: *894 - repository: *895 + discussion: *916 + enterprise: *896 + installation: *897 + label: *919 + organization: *898 + repository: *899 sender: *4 required: - action @@ -151319,11 +151488,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *912 - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + discussion: *916 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 required: - action @@ -151405,11 +151574,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *912 - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + discussion: *916 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 required: - action @@ -151478,7 +151647,7 @@ x-webhooks: required: true content: application/json: - schema: *916 + schema: *920 responses: '200': description: Return a 200 status to indicate that the data was received @@ -151541,7 +151710,7 @@ x-webhooks: required: true content: application/json: - schema: *917 + schema: *921 responses: '200': description: Return a 200 status to indicate that the data was received @@ -151604,7 +151773,7 @@ x-webhooks: required: true content: application/json: - schema: *918 + schema: *922 responses: '200': description: Return a 200 status to indicate that the data was received @@ -151667,7 +151836,7 @@ x-webhooks: required: true content: application/json: - schema: *916 + schema: *920 responses: '200': description: Return a 200 status to indicate that the data was received @@ -151730,7 +151899,7 @@ x-webhooks: required: true content: application/json: - schema: *917 + schema: *921 responses: '200': description: Return a 200 status to indicate that the data was received @@ -151796,7 +151965,7 @@ x-webhooks: required: true content: application/json: - schema: *918 + schema: *922 responses: '200': description: Return a 200 status to indicate that the data was received @@ -151862,7 +152031,7 @@ x-webhooks: required: true content: application/json: - schema: *919 + schema: *923 responses: '200': description: Return a 200 status to indicate that the data was received @@ -151928,7 +152097,7 @@ x-webhooks: required: true content: application/json: - schema: *916 + schema: *920 responses: '200': description: Return a 200 status to indicate that the data was received @@ -151994,7 +152163,7 @@ x-webhooks: required: true content: application/json: - schema: *920 + schema: *924 responses: '200': description: Return a 200 status to indicate that the data was received @@ -152060,7 +152229,7 @@ x-webhooks: required: true content: application/json: - schema: *917 + schema: *921 responses: '200': description: Return a 200 status to indicate that the data was received @@ -152125,7 +152294,7 @@ x-webhooks: required: true content: application/json: - schema: *918 + schema: *922 responses: '200': description: Return a 200 status to indicate that the data was received @@ -152190,7 +152359,7 @@ x-webhooks: required: true content: application/json: - schema: *919 + schema: *923 responses: '200': description: Return a 200 status to indicate that the data was received @@ -152255,7 +152424,7 @@ x-webhooks: required: true content: application/json: - schema: *916 + schema: *920 responses: '200': description: Return a 200 status to indicate that the data was received @@ -152320,7 +152489,7 @@ x-webhooks: required: true content: application/json: - schema: *920 + schema: *924 responses: '200': description: Return a 200 status to indicate that the data was received @@ -152386,7 +152555,7 @@ x-webhooks: required: true content: application/json: - schema: *917 + schema: *921 responses: '200': description: Return a 200 status to indicate that the data was received @@ -152453,7 +152622,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *892 + enterprise: *896 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-a-repository) resource. @@ -153113,9 +153282,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *893 - organization: *894 - repository: *895 + installation: *897 + organization: *898 + repository: *899 sender: *4 required: - forkee @@ -153261,9 +153430,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *892 - installation: *893 - organization: *894 + enterprise: *896 + installation: *897 + organization: *898 pages: description: The pages that were updated. type: array @@ -153300,7 +153469,7 @@ x-webhooks: - action - sha - html_url - repository: *895 + repository: *899 sender: *4 required: - pages @@ -153376,10 +153545,10 @@ x-webhooks: type: string enum: - created - enterprise: *892 + enterprise: *896 installation: *22 - organization: *894 - repositories: &922 + organization: *898 + repositories: &926 description: An array of repository objects that the installation can access. type: array @@ -153405,8 +153574,8 @@ x-webhooks: - name - full_name - private - repository: *895 - requester: *921 + repository: *899 + requester: *925 sender: *4 required: - action @@ -153481,11 +153650,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *892 + enterprise: *896 installation: *22 - organization: *894 - repositories: *922 - repository: *895 + organization: *898 + repositories: *926 + repository: *899 requester: nullable: true sender: *4 @@ -153561,11 +153730,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *892 + enterprise: *896 installation: *22 - organization: *894 - repositories: *922 - repository: *895 + organization: *898 + repositories: *926 + repository: *899 requester: nullable: true sender: *4 @@ -153641,10 +153810,10 @@ x-webhooks: type: string enum: - added - enterprise: *892 + enterprise: *896 installation: *22 - organization: *894 - repositories_added: &923 + organization: *898 + repositories_added: &927 description: An array of repository objects, which were added to the installation. type: array @@ -153690,15 +153859,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *895 - repository_selection: &924 + repository: *899 + repository_selection: &928 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *921 + requester: *925 sender: *4 required: - action @@ -153777,10 +153946,10 @@ x-webhooks: type: string enum: - removed - enterprise: *892 + enterprise: *896 installation: *22 - organization: *894 - repositories_added: *923 + organization: *898 + repositories_added: *927 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -153807,9 +153976,9 @@ x-webhooks: - name - full_name - private - repository: *895 - repository_selection: *924 - requester: *921 + repository: *899 + repository_selection: *928 + requester: *925 sender: *4 required: - action @@ -153888,11 +154057,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *892 + enterprise: *896 installation: *22 - organization: *894 - repositories: *922 - repository: *895 + organization: *898 + repositories: *926 + repository: *899 requester: nullable: true sender: *4 @@ -154071,10 +154240,10 @@ x-webhooks: type: string required: - from - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 target_type: type: string @@ -154153,11 +154322,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *892 + enterprise: *896 installation: *22 - organization: *894 - repositories: *922 - repository: *895 + organization: *898 + repositories: *926 + repository: *899 requester: nullable: true sender: *4 @@ -154331,8 +154500,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *714 - required: *715 + properties: *715 + required: *716 nullable: true user: title: User @@ -154417,8 +154586,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *892 - installation: *893 + enterprise: *896 + installation: *897 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -155207,8 +155376,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *831 - issue_dependencies_summary: *832 + sub_issues_summary: *835 + issue_dependencies_summary: *836 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155557,8 +155726,8 @@ x-webhooks: - state - locked - assignee - organization: *894 - repository: *895 + organization: *898 + repository: *899 sender: *4 required: - action @@ -155638,7 +155807,7 @@ x-webhooks: type: string enum: - deleted - comment: &925 + comment: &929 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#get-an-issue-comment) itself. @@ -155795,8 +155964,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *714 - required: *715 + properties: *715 + required: *716 nullable: true required: - url @@ -155811,8 +155980,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *892 - installation: *893 + enterprise: *896 + installation: *897 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -156597,8 +156766,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *831 - issue_dependencies_summary: *832 + sub_issues_summary: *835 + issue_dependencies_summary: *836 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156949,8 +157118,8 @@ x-webhooks: - state - locked - assignee - organization: *894 - repository: *895 + organization: *898 + repository: *899 sender: *4 required: - action @@ -157030,7 +157199,7 @@ x-webhooks: type: string enum: - edited - changes: &955 + changes: &959 description: The changes to the comment. type: object properties: @@ -157042,9 +157211,9 @@ x-webhooks: type: string required: - from - comment: *925 - enterprise: *892 - installation: *893 + comment: *929 + enterprise: *896 + installation: *897 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -157832,8 +158001,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *831 - issue_dependencies_summary: *832 + sub_issues_summary: *835 + issue_dependencies_summary: *836 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158182,8 +158351,8 @@ x-webhooks: - state - locked - assignee - organization: *894 - repository: *895 + organization: *898 + repository: *899 sender: *4 required: - action @@ -158264,9 +158433,9 @@ x-webhooks: type: string enum: - pinned - comment: *925 - enterprise: *892 - installation: *893 + comment: *929 + enterprise: *896 + installation: *897 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -159056,8 +159225,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *831 - issue_dependencies_summary: *832 + sub_issues_summary: *835 + issue_dependencies_summary: *836 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159408,8 +159577,8 @@ x-webhooks: - state - locked - assignee - organization: *894 - repository: *895 + organization: *898 + repository: *899 sender: *4 required: - action @@ -159489,9 +159658,9 @@ x-webhooks: type: string enum: - unpinned - comment: *925 - enterprise: *892 - installation: *893 + comment: *929 + enterprise: *896 + installation: *897 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -160281,8 +160450,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *831 - issue_dependencies_summary: *832 + sub_issues_summary: *835 + issue_dependencies_summary: *836 state: description: State of the issue; either 'open' or 'closed' type: string @@ -160633,8 +160802,8 @@ x-webhooks: - state - locked - assignee - organization: *894 - repository: *895 + organization: *898 + repository: *899 sender: *4 required: - action @@ -160723,9 +160892,9 @@ x-webhooks: type: number blocking_issue: *228 blocking_issue_repo: *80 - installation: *893 - organization: *894 - repository: *895 + installation: *897 + organization: *898 + repository: *899 sender: *4 required: - action @@ -160814,9 +160983,9 @@ x-webhooks: type: number blocking_issue: *228 blocking_issue_repo: *80 - installation: *893 - organization: *894 - repository: *895 + installation: *897 + organization: *898 + repository: *899 sender: *4 required: - action @@ -160904,9 +161073,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *228 - installation: *893 - organization: *894 - repository: *895 + installation: *897 + organization: *898 + repository: *899 sender: *4 required: - action @@ -160995,9 +161164,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *228 - installation: *893 - organization: *894 - repository: *895 + installation: *897 + organization: *898 + repository: *899 sender: *4 required: - action @@ -161077,10 +161246,10 @@ x-webhooks: type: string enum: - assigned - assignee: *921 - enterprise: *892 - installation: *893 - issue: &926 + assignee: *925 + enterprise: *896 + installation: *897 + issue: &930 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -161872,11 +162041,11 @@ x-webhooks: properties: *229 required: *230 nullable: true - sub_issues_summary: *831 - issue_dependencies_summary: *832 + sub_issues_summary: *835 + issue_dependencies_summary: *836 issue_field_values: type: array - items: *698 + items: *699 state: description: State of the issue; either 'open' or 'closed' type: string @@ -161993,8 +162162,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *894 - repository: *895 + organization: *898 + repository: *899 sender: *4 required: - action @@ -162074,8 +162243,8 @@ x-webhooks: type: string enum: - closed - enterprise: *892 - installation: *893 + enterprise: *896 + installation: *897 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -162872,11 +163041,11 @@ x-webhooks: properties: *229 required: *230 nullable: true - sub_issues_summary: *831 - issue_dependencies_summary: *832 + sub_issues_summary: *835 + issue_dependencies_summary: *836 issue_field_values: type: array - items: *698 + items: *699 state: description: State of the issue; either 'open' or 'closed' type: string @@ -163128,8 +163297,8 @@ x-webhooks: required: - state - closed_at - organization: *894 - repository: *895 + organization: *898 + repository: *899 sender: *4 required: - action @@ -163208,8 +163377,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *892 - installation: *893 + enterprise: *896 + installation: *897 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -163997,11 +164166,11 @@ x-webhooks: properties: *229 required: *230 nullable: true - sub_issues_summary: *831 - issue_dependencies_summary: *832 + sub_issues_summary: *835 + issue_dependencies_summary: *836 issue_field_values: type: array - items: *698 + items: *699 state: description: State of the issue; either 'open' or 'closed' type: string @@ -164117,8 +164286,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *894 - repository: *895 + organization: *898 + repository: *899 sender: *4 required: - action @@ -164197,8 +164366,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *892 - installation: *893 + enterprise: *896 + installation: *897 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -165008,11 +165177,11 @@ x-webhooks: properties: *229 required: *230 nullable: true - sub_issues_summary: *831 - issue_dependencies_summary: *832 + sub_issues_summary: *835 + issue_dependencies_summary: *836 issue_field_values: type: array - items: *698 + items: *699 state: description: State of the issue; either 'open' or 'closed' type: string @@ -165107,7 +165276,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &927 + milestone: &931 title: Milestone description: A collection of related issues and pull requests. type: object @@ -165245,8 +165414,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *894 - repository: *895 + organization: *898 + repository: *899 sender: *4 required: - action @@ -165345,8 +165514,8 @@ x-webhooks: type: string required: - from - enterprise: *892 - installation: *893 + enterprise: *896 + installation: *897 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -166138,11 +166307,11 @@ x-webhooks: properties: *229 required: *230 nullable: true - sub_issues_summary: *831 - issue_dependencies_summary: *832 + sub_issues_summary: *835 + issue_dependencies_summary: *836 issue_field_values: type: array - items: *698 + items: *699 state: description: State of the issue; either 'open' or 'closed' type: string @@ -166259,9 +166428,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *915 - organization: *894 - repository: *895 + label: *919 + organization: *898 + repository: *899 sender: *4 required: - action @@ -166341,9 +166510,9 @@ x-webhooks: type: string enum: - field_added - enterprise: *892 - installation: *893 - issue: *926 + enterprise: *896 + installation: *897 + issue: *930 issue_field: type: object description: The issue field whose value was set or updated on the @@ -166497,8 +166666,8 @@ x-webhooks: - id required: - from - organization: *894 - repository: *895 + organization: *898 + repository: *899 sender: *4 required: - action @@ -166578,9 +166747,9 @@ x-webhooks: type: string enum: - field_removed - enterprise: *892 - installation: *893 - issue: *926 + enterprise: *896 + installation: *897 + issue: *930 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -166661,8 +166830,8 @@ x-webhooks: nullable: true required: - id - organization: *894 - repository: *895 + organization: *898 + repository: *899 sender: *4 required: - action @@ -166742,8 +166911,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *892 - installation: *893 + enterprise: *896 + installation: *897 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -167534,11 +167703,11 @@ x-webhooks: properties: *229 required: *230 nullable: true - sub_issues_summary: *831 - issue_dependencies_summary: *832 + sub_issues_summary: *835 + issue_dependencies_summary: *836 issue_field_values: type: array - items: *698 + items: *699 state: description: State of the issue; either 'open' or 'closed' type: string @@ -167655,9 +167824,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *915 - organization: *894 - repository: *895 + label: *919 + organization: *898 + repository: *899 sender: *4 required: - action @@ -167737,8 +167906,8 @@ x-webhooks: type: string enum: - locked - enterprise: *892 - installation: *893 + enterprise: *896 + installation: *897 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -168553,11 +168722,11 @@ x-webhooks: properties: *229 required: *230 nullable: true - sub_issues_summary: *831 - issue_dependencies_summary: *832 + sub_issues_summary: *835 + issue_dependencies_summary: *836 issue_field_values: type: array - items: *698 + items: *699 state: description: State of the issue; either 'open' or 'closed' type: string @@ -168651,8 +168820,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *894 - repository: *895 + organization: *898 + repository: *899 sender: *4 required: - action @@ -168731,8 +168900,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *892 - installation: *893 + enterprise: *896 + installation: *897 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -169541,11 +169710,11 @@ x-webhooks: properties: *229 required: *230 nullable: true - sub_issues_summary: *831 - issue_dependencies_summary: *832 + sub_issues_summary: *835 + issue_dependencies_summary: *836 issue_field_values: type: array - items: *698 + items: *699 state: description: State of the issue; either 'open' or 'closed' type: string @@ -169639,9 +169808,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *927 - organization: *894 - repository: *895 + milestone: *931 + organization: *898 + repository: *899 sender: *4 required: - action @@ -170504,11 +170673,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *831 - issue_dependencies_summary: *832 + sub_issues_summary: *835 + issue_dependencies_summary: *836 issue_field_values: type: array - items: *698 + items: *699 state: description: State of the issue; either 'open' or 'closed' type: string @@ -171089,8 +171258,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *892 - installation: *893 + enterprise: *896 + installation: *897 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -171874,11 +172043,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *831 - issue_dependencies_summary: *832 + sub_issues_summary: *835 + issue_dependencies_summary: *836 issue_field_values: type: array - items: *698 + items: *699 state: description: State of the issue; either 'open' or 'closed' type: string @@ -172002,8 +172171,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *894 - repository: *895 + organization: *898 + repository: *899 sender: *4 required: - action @@ -172083,9 +172252,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *892 - installation: *893 - issue: &928 + enterprise: *896 + installation: *897 + issue: &932 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -172871,11 +173040,11 @@ x-webhooks: properties: *229 required: *230 nullable: true - sub_issues_summary: *831 - issue_dependencies_summary: *832 + sub_issues_summary: *835 + issue_dependencies_summary: *836 issue_field_values: type: array - items: *698 + items: *699 state: description: State of the issue; either 'open' or 'closed' type: string @@ -172991,8 +173160,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *894 - repository: *895 + organization: *898 + repository: *899 sender: *4 required: - action @@ -173071,8 +173240,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *892 - installation: *893 + enterprise: *896 + installation: *897 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -173885,11 +174054,11 @@ x-webhooks: properties: *229 required: *230 nullable: true - sub_issues_summary: *831 - issue_dependencies_summary: *832 + sub_issues_summary: *835 + issue_dependencies_summary: *836 issue_field_values: type: array - items: *698 + items: *699 state: description: State of the issue; either 'open' or 'closed' type: string @@ -173984,8 +174153,8 @@ x-webhooks: user_view_type: type: string type: *401 - organization: *894 - repository: *895 + organization: *898 + repository: *899 sender: *4 required: - action @@ -174854,11 +175023,11 @@ x-webhooks: properties: *229 required: *230 nullable: true - sub_issues_summary: *831 - issue_dependencies_summary: *832 + sub_issues_summary: *835 + issue_dependencies_summary: *836 issue_field_values: type: array - items: *698 + items: *699 state: description: State of the issue; either 'open' or 'closed' type: string @@ -175453,11 +175622,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *892 - installation: *893 - issue: *928 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + issue: *932 + organization: *898 + repository: *899 sender: *4 required: - action @@ -175537,12 +175706,12 @@ x-webhooks: type: string enum: - typed - enterprise: *892 - installation: *893 - issue: *926 + enterprise: *896 + installation: *897 + issue: *930 type: *401 - organization: *894 - repository: *895 + organization: *898 + repository: *899 sender: *4 required: - action @@ -175623,7 +175792,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &958 + assignee: &962 title: User type: object nullable: true @@ -175693,11 +175862,11 @@ x-webhooks: required: - login - id - enterprise: *892 - installation: *893 - issue: *926 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + issue: *930 + organization: *898 + repository: *899 sender: *4 required: - action @@ -175776,12 +175945,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *892 - installation: *893 - issue: *926 - label: *915 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + issue: *930 + label: *919 + organization: *898 + repository: *899 sender: *4 required: - action @@ -175861,8 +176030,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *892 - installation: *893 + enterprise: *896 + installation: *897 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -176675,11 +176844,11 @@ x-webhooks: properties: *229 required: *230 nullable: true - sub_issues_summary: *831 - issue_dependencies_summary: *832 + sub_issues_summary: *835 + issue_dependencies_summary: *836 issue_field_values: type: array - items: *698 + items: *699 state: description: State of the issue; either 'open' or 'closed' type: string @@ -176773,8 +176942,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *894 - repository: *895 + organization: *898 + repository: *899 sender: *4 required: - action @@ -176854,11 +177023,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *892 - installation: *893 - issue: *928 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + issue: *932 + organization: *898 + repository: *899 sender: *4 required: - action @@ -176937,12 +177106,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *892 - installation: *893 - issue: *926 + enterprise: *896 + installation: *897 + issue: *930 type: *401 - organization: *894 - repository: *895 + organization: *898 + repository: *899 sender: *4 required: - action @@ -177022,11 +177191,11 @@ x-webhooks: type: string enum: - created - enterprise: *892 - installation: *893 - label: *915 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + label: *919 + organization: *898 + repository: *899 sender: *4 required: - action @@ -177104,11 +177273,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *892 - installation: *893 - label: *915 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + label: *919 + organization: *898 + repository: *899 sender: *4 required: - action @@ -177218,11 +177387,11 @@ x-webhooks: type: string required: - from - enterprise: *892 - installation: *893 - label: *915 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + label: *919 + organization: *898 + repository: *899 sender: *4 required: - action @@ -177304,9 +177473,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *892 - installation: *893 - marketplace_purchase: &929 + enterprise: *896 + installation: *897 + marketplace_purchase: &933 title: Marketplace Purchase type: object required: @@ -177389,8 +177558,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *894 - previous_marketplace_purchase: &930 + organization: *898 + previous_marketplace_purchase: &934 title: Marketplace Purchase type: object properties: @@ -177470,7 +177639,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *895 + repository: *899 sender: *4 required: - action @@ -177550,10 +177719,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *892 - installation: *893 - marketplace_purchase: *929 - organization: *894 + enterprise: *896 + installation: *897 + marketplace_purchase: *933 + organization: *898 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -177636,7 +177805,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *895 + repository: *899 sender: *4 required: - action @@ -177718,10 +177887,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *892 - installation: *893 - marketplace_purchase: *929 - organization: *894 + enterprise: *896 + installation: *897 + marketplace_purchase: *933 + organization: *898 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -177803,7 +177972,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *895 + repository: *899 sender: *4 required: - action @@ -177884,8 +178053,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *892 - installation: *893 + enterprise: *896 + installation: *897 marketplace_purchase: title: Marketplace Purchase type: object @@ -177967,9 +178136,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *894 - previous_marketplace_purchase: *930 - repository: *895 + organization: *898 + previous_marketplace_purchase: *934 + repository: *899 sender: *4 required: - action @@ -178049,12 +178218,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *892 - installation: *893 - marketplace_purchase: *929 - organization: *894 - previous_marketplace_purchase: *930 - repository: *895 + enterprise: *896 + installation: *897 + marketplace_purchase: *933 + organization: *898 + previous_marketplace_purchase: *934 + repository: *899 sender: *4 required: - action @@ -178156,11 +178325,11 @@ x-webhooks: type: string required: - to - enterprise: *892 - installation: *893 - member: *921 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + member: *925 + organization: *898 + repository: *899 sender: *4 required: - action @@ -178260,11 +178429,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *892 - installation: *893 - member: *921 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + member: *925 + organization: *898 + repository: *899 sender: *4 required: - action @@ -178343,11 +178512,11 @@ x-webhooks: type: string enum: - removed - enterprise: *892 - installation: *893 - member: *921 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + member: *925 + organization: *898 + repository: *899 sender: *4 required: - action @@ -178425,11 +178594,11 @@ x-webhooks: type: string enum: - added - enterprise: *892 - installation: *893 - member: *921 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + member: *925 + organization: *898 + repository: *899 scope: description: The scope of the membership. Currently, can only be `team`. @@ -178505,7 +178674,7 @@ x-webhooks: required: - login - id - team: &931 + team: &935 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -178728,11 +178897,11 @@ x-webhooks: type: string enum: - removed - enterprise: *892 - installation: *893 - member: *921 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + member: *925 + organization: *898 + repository: *899 scope: description: The scope of the membership. Currently, can only be `team`. @@ -178809,7 +178978,7 @@ x-webhooks: required: - login - id - team: *931 + team: *935 required: - action - scope @@ -178891,8 +179060,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *893 - merge_group: &933 + installation: *897 + merge_group: &937 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -178911,15 +179080,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *932 + head_commit: *936 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *894 - repository: *895 + organization: *898 + repository: *899 sender: *4 required: - action @@ -179005,10 +179174,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *893 - merge_group: *933 - organization: *894 - repository: *895 + installation: *897 + merge_group: *937 + organization: *898 + repository: *899 sender: *4 required: - action @@ -179081,7 +179250,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *892 + enterprise: *896 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -179190,17 +179359,17 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *893 - organization: *894 + installation: *897 + organization: *898 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *934 - required: *935 - x-github-breaking-changes: *936 + properties: *938 + required: *939 + x-github-breaking-changes: *940 nullable: true sender: *4 required: @@ -179281,11 +179450,11 @@ x-webhooks: type: string enum: - closed - enterprise: *892 - installation: *893 - milestone: *927 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + milestone: *931 + organization: *898 + repository: *899 sender: *4 required: - action @@ -179364,9 +179533,9 @@ x-webhooks: type: string enum: - created - enterprise: *892 - installation: *893 - milestone: &937 + enterprise: *896 + installation: *897 + milestone: &941 title: Milestone description: A collection of related issues and pull requests. type: object @@ -179503,8 +179672,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *894 - repository: *895 + organization: *898 + repository: *899 sender: *4 required: - action @@ -179583,11 +179752,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *892 - installation: *893 - milestone: *927 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + milestone: *931 + organization: *898 + repository: *899 sender: *4 required: - action @@ -179697,11 +179866,11 @@ x-webhooks: type: string required: - from - enterprise: *892 - installation: *893 - milestone: *927 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + milestone: *931 + organization: *898 + repository: *899 sender: *4 required: - action @@ -179781,11 +179950,11 @@ x-webhooks: type: string enum: - opened - enterprise: *892 - installation: *893 - milestone: *937 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + milestone: *941 + organization: *898 + repository: *899 sender: *4 required: - action @@ -179864,11 +180033,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *921 - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + blocked_user: *925 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 required: - action @@ -179947,11 +180116,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *921 - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + blocked_user: *925 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 required: - action @@ -180027,7 +180196,7 @@ x-webhooks: enum: - created definition: *156 - enterprise: *892 + enterprise: *896 sender: *4 required: - action @@ -180107,8 +180276,8 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *892 - installation: *893 + enterprise: *896 + installation: *897 sender: *4 required: - action @@ -180181,8 +180350,8 @@ x-webhooks: enum: - updated definition: *156 - enterprise: *892 - installation: *893 + enterprise: *896 + installation: *897 sender: *4 required: - action @@ -180254,9 +180423,9 @@ x-webhooks: type: string enum: - updated - enterprise: *892 - installation: *893 - organization: *894 + enterprise: *896 + installation: *897 + organization: *898 sender: *4 new_property_values: type: array @@ -180344,9 +180513,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *892 - installation: *893 - membership: &938 + enterprise: *896 + installation: *897 + membership: &942 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -180453,8 +180622,8 @@ x-webhooks: - role - organization_url - user - organization: *894 - repository: *895 + organization: *898 + repository: *899 sender: *4 required: - action @@ -180532,11 +180701,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *892 - installation: *893 - membership: *938 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + membership: *942 + organization: *898 + repository: *899 sender: *4 required: - action @@ -180615,8 +180784,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *892 - installation: *893 + enterprise: *896 + installation: *897 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -180732,10 +180901,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *894 - repository: *895 + organization: *898 + repository: *899 sender: *4 - user: *921 + user: *925 required: - action - invitation @@ -180813,11 +180982,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *892 - installation: *893 - membership: *938 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + membership: *942 + organization: *898 + repository: *899 sender: *4 required: - action @@ -180904,11 +181073,11 @@ x-webhooks: properties: from: type: string - enterprise: *892 - installation: *893 - membership: *938 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + membership: *942 + organization: *898 + repository: *899 sender: *4 required: - action @@ -180986,9 +181155,9 @@ x-webhooks: type: string enum: - published - enterprise: *892 - installation: *893 - organization: *894 + enterprise: *896 + installation: *897 + organization: *898 package: description: Information about the package. type: object @@ -181487,7 +181656,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &939 + items: &943 title: Ruby Gems metadata type: object properties: @@ -181582,7 +181751,7 @@ x-webhooks: - owner - package_version - registry - repository: *895 + repository: *899 sender: *4 required: - action @@ -181659,9 +181828,9 @@ x-webhooks: type: string enum: - updated - enterprise: *892 - installation: *893 - organization: *894 + enterprise: *896 + installation: *897 + organization: *898 package: description: Information about the package. type: object @@ -182014,7 +182183,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *939 + items: *943 source_url: type: string format: uri @@ -182084,7 +182253,7 @@ x-webhooks: - owner - package_version - registry - repository: *895 + repository: *899 sender: *4 required: - action @@ -182260,12 +182429,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *892 + enterprise: *896 id: type: integer - installation: *893 - organization: *894 - repository: *895 + installation: *897 + organization: *898 + repository: *899 sender: *4 required: - id @@ -182342,7 +182511,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &940 + personal_access_token_request: &944 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -182488,10 +182657,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *892 - organization: *894 + enterprise: *896 + organization: *898 sender: *4 - installation: *893 + installation: *897 required: - action - personal_access_token_request @@ -182568,11 +182737,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *940 - enterprise: *892 - organization: *894 + personal_access_token_request: *944 + enterprise: *896 + organization: *898 sender: *4 - installation: *893 + installation: *897 required: - action - personal_access_token_request @@ -182648,11 +182817,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *940 - enterprise: *892 - organization: *894 + personal_access_token_request: *944 + enterprise: *896 + organization: *898 sender: *4 - installation: *893 + installation: *897 required: - action - personal_access_token_request @@ -182727,11 +182896,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *940 - organization: *894 - enterprise: *892 + personal_access_token_request: *944 + organization: *898 + enterprise: *896 sender: *4 - installation: *893 + installation: *897 required: - action - personal_access_token_request @@ -182836,7 +183005,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *941 + last_response: *945 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -182868,8 +183037,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *894 - repository: *895 + organization: *898 + repository: *899 sender: *4 zen: description: Random string of GitHub zen. @@ -183114,10 +183283,10 @@ x-webhooks: - from required: - note - enterprise: *892 - installation: *893 - organization: *894 - project_card: &942 + enterprise: *896 + installation: *897 + organization: *898 + project_card: &946 title: Project Card type: object properties: @@ -183236,7 +183405,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *895 + repository: *899 sender: *4 required: - action @@ -183317,11 +183486,11 @@ x-webhooks: type: string enum: - created - enterprise: *892 - installation: *893 - organization: *894 - project_card: *942 - repository: *895 + enterprise: *896 + installation: *897 + organization: *898 + project_card: *946 + repository: *899 sender: *4 required: - action @@ -183401,9 +183570,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *892 - installation: *893 - organization: *894 + enterprise: *896 + installation: *897 + organization: *898 project_card: title: Project Card type: object @@ -183531,9 +183700,9 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *934 - required: *935 - x-github-breaking-changes: *936 + properties: *938 + required: *939 + x-github-breaking-changes: *940 nullable: true sender: *4 required: @@ -183627,11 +183796,11 @@ x-webhooks: - from required: - note - enterprise: *892 - installation: *893 - organization: *894 - project_card: *942 - repository: *895 + enterprise: *896 + installation: *897 + organization: *898 + project_card: *946 + repository: *899 sender: *4 required: - action @@ -183725,9 +183894,9 @@ x-webhooks: - from required: - column_id - enterprise: *892 - installation: *893 - organization: *894 + enterprise: *896 + installation: *897 + organization: *898 project_card: allOf: - title: Project Card @@ -183917,7 +184086,7 @@ x-webhooks: type: string required: - after_id - repository: *895 + repository: *899 sender: *4 required: - action @@ -183997,10 +184166,10 @@ x-webhooks: type: string enum: - closed - enterprise: *892 - installation: *893 - organization: *894 - project: &944 + enterprise: *896 + installation: *897 + organization: *898 + project: &948 title: Project type: object properties: @@ -184124,7 +184293,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *895 + repository: *899 sender: *4 required: - action @@ -184204,10 +184373,10 @@ x-webhooks: type: string enum: - created - enterprise: *892 - installation: *893 - organization: *894 - project_column: &943 + enterprise: *896 + installation: *897 + organization: *898 + project_column: &947 title: Project Column type: object properties: @@ -184246,7 +184415,7 @@ x-webhooks: - name - created_at - updated_at - repository: *895 + repository: *899 sender: *4 required: - action @@ -184325,19 +184494,19 @@ x-webhooks: type: string enum: - deleted - enterprise: *892 - installation: *893 - organization: *894 - project_column: *943 + enterprise: *896 + installation: *897 + organization: *898 + project_column: *947 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *934 - required: *935 - x-github-breaking-changes: *936 + properties: *938 + required: *939 + x-github-breaking-changes: *940 nullable: true sender: *4 required: @@ -184427,11 +184596,11 @@ x-webhooks: type: string required: - from - enterprise: *892 - installation: *893 - organization: *894 - project_column: *943 - repository: *895 + enterprise: *896 + installation: *897 + organization: *898 + project_column: *947 + repository: *899 sender: *4 required: - action @@ -184511,11 +184680,11 @@ x-webhooks: type: string enum: - moved - enterprise: *892 - installation: *893 - organization: *894 - project_column: *943 - repository: *895 + enterprise: *896 + installation: *897 + organization: *898 + project_column: *947 + repository: *899 sender: *4 required: - action @@ -184595,11 +184764,11 @@ x-webhooks: type: string enum: - created - enterprise: *892 - installation: *893 - organization: *894 - project: *944 - repository: *895 + enterprise: *896 + installation: *897 + organization: *898 + project: *948 + repository: *899 sender: *4 required: - action @@ -184679,19 +184848,19 @@ x-webhooks: type: string enum: - deleted - enterprise: *892 - installation: *893 - organization: *894 - project: *944 + enterprise: *896 + installation: *897 + organization: *898 + project: *948 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *934 - required: *935 - x-github-breaking-changes: *936 + properties: *938 + required: *939 + x-github-breaking-changes: *940 nullable: true sender: *4 required: @@ -184793,11 +184962,11 @@ x-webhooks: type: string required: - from - enterprise: *892 - installation: *893 - organization: *894 - project: *944 - repository: *895 + enterprise: *896 + installation: *897 + organization: *898 + project: *948 + repository: *899 sender: *4 required: - action @@ -184876,11 +185045,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *892 - installation: *893 - organization: *894 - project: *944 - repository: *895 + enterprise: *896 + installation: *897 + organization: *898 + project: *948 + repository: *899 sender: *4 required: - action @@ -184961,8 +185130,8 @@ x-webhooks: type: string enum: - closed - installation: *893 - organization: *894 + installation: *897 + organization: *898 projects_v2: *433 sender: *4 required: @@ -185044,8 +185213,8 @@ x-webhooks: type: string enum: - created - installation: *893 - organization: *894 + installation: *897 + organization: *898 projects_v2: *433 sender: *4 required: @@ -185127,8 +185296,8 @@ x-webhooks: type: string enum: - deleted - installation: *893 - organization: *894 + installation: *897 + organization: *898 projects_v2: *433 sender: *4 required: @@ -185246,8 +185415,8 @@ x-webhooks: type: string to: type: string - installation: *893 - organization: *894 + installation: *897 + organization: *898 projects_v2: *433 sender: *4 required: @@ -185331,7 +185500,7 @@ x-webhooks: type: string enum: - archived - changes: &948 + changes: &952 type: object properties: archived_at: @@ -185345,9 +185514,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *893 - organization: *894 - projects_v2_item: &945 + installation: *897 + organization: *898 + projects_v2_item: &949 title: Projects v2 Item description: An item belonging to a project type: object @@ -185482,9 +185651,9 @@ x-webhooks: nullable: true to: type: string - installation: *893 - organization: *894 - projects_v2_item: *945 + installation: *897 + organization: *898 + projects_v2_item: *949 sender: *4 required: - action @@ -185566,9 +185735,9 @@ x-webhooks: type: string enum: - created - installation: *893 - organization: *894 - projects_v2_item: *945 + installation: *897 + organization: *898 + projects_v2_item: *949 sender: *4 required: - action @@ -185649,9 +185818,9 @@ x-webhooks: type: string enum: - deleted - installation: *893 - organization: *894 - projects_v2_item: *945 + installation: *897 + organization: *898 + projects_v2_item: *949 sender: *4 required: - action @@ -185757,7 +185926,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &946 + - &950 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -185779,7 +185948,7 @@ x-webhooks: required: - id - name - - &947 + - &951 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -185813,8 +185982,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *946 - - *947 + - *950 + - *951 required: - field_value - type: object @@ -185830,9 +185999,9 @@ x-webhooks: nullable: true required: - body - installation: *893 - organization: *894 - projects_v2_item: *945 + installation: *897 + organization: *898 + projects_v2_item: *949 sender: *4 required: - action @@ -185927,9 +186096,9 @@ x-webhooks: to: type: string nullable: true - installation: *893 - organization: *894 - projects_v2_item: *945 + installation: *897 + organization: *898 + projects_v2_item: *949 sender: *4 required: - action @@ -186012,10 +186181,10 @@ x-webhooks: type: string enum: - restored - changes: *948 - installation: *893 - organization: *894 - projects_v2_item: *945 + changes: *952 + installation: *897 + organization: *898 + projects_v2_item: *949 sender: *4 required: - action @@ -186097,8 +186266,8 @@ x-webhooks: type: string enum: - reopened - installation: *893 - organization: *894 + installation: *897 + organization: *898 projects_v2: *433 sender: *4 required: @@ -186180,14 +186349,14 @@ x-webhooks: type: string enum: - created - installation: *893 - organization: *894 - projects_v2_status_update: &951 + installation: *897 + organization: *898 + projects_v2_status_update: &955 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *949 - required: *950 + properties: *953 + required: *954 sender: *4 required: - action @@ -186268,9 +186437,9 @@ x-webhooks: type: string enum: - deleted - installation: *893 - organization: *894 - projects_v2_status_update: *951 + installation: *897 + organization: *898 + projects_v2_status_update: *955 sender: *4 required: - action @@ -186406,9 +186575,9 @@ x-webhooks: type: string format: date nullable: true - installation: *893 - organization: *894 - projects_v2_status_update: *951 + installation: *897 + organization: *898 + projects_v2_status_update: *955 sender: *4 required: - action @@ -186479,10 +186648,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 required: - repository @@ -186559,13 +186728,13 @@ x-webhooks: type: string enum: - assigned - assignee: *921 - enterprise: *892 - installation: *893 - number: &952 + assignee: *925 + enterprise: *896 + installation: *897 + number: &956 description: The pull request number. type: integer - organization: *894 + organization: *898 pull_request: title: Pull Request type: object @@ -188870,7 +189039,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *895 + repository: *899 sender: *4 required: - action @@ -188967,11 +189136,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *892 - installation: *893 + enterprise: *896 + installation: *897 number: type: integer - organization: *894 + organization: *898 pull_request: title: Pull Request type: object @@ -191271,7 +191440,7 @@ x-webhooks: - draft reason: type: string - repository: *895 + repository: *899 sender: *4 required: - action @@ -191368,11 +191537,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *892 - installation: *893 + enterprise: *896 + installation: *897 number: type: integer - organization: *894 + organization: *898 pull_request: title: Pull Request type: object @@ -193672,7 +193841,7 @@ x-webhooks: - draft reason: type: string - repository: *895 + repository: *899 sender: *4 required: - action @@ -193769,13 +193938,13 @@ x-webhooks: type: string enum: - closed - enterprise: *892 - installation: *893 - number: *952 - organization: *894 - pull_request: &953 + enterprise: *896 + installation: *897 + number: *956 + organization: *898 + pull_request: &957 allOf: - - *739 + - *743 - type: object properties: allow_auto_merge: @@ -193837,7 +194006,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *895 + repository: *899 sender: *4 required: - action @@ -193918,12 +194087,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *892 - installation: *893 - number: *952 - organization: *894 - pull_request: *953 - repository: *895 + enterprise: *896 + installation: *897 + number: *956 + organization: *898 + pull_request: *957 + repository: *899 sender: *4 required: - action @@ -194003,11 +194172,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *892 - milestone: *721 - number: *952 - organization: *894 - pull_request: &954 + enterprise: *896 + milestone: *725 + number: *956 + organization: *898 + pull_request: &958 title: Pull Request type: object properties: @@ -196334,7 +196503,7 @@ x-webhooks: - active_lock_reason - draft version: '2026-03-10' - repository: *895 + repository: *899 sender: *4 required: - action @@ -196413,11 +196582,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *892 - installation: *893 + enterprise: *896 + installation: *897 number: type: integer - organization: *894 + organization: *898 pull_request: title: Pull Request type: object @@ -198721,7 +198890,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *895 + repository: *899 sender: *4 required: - action @@ -198853,12 +199022,12 @@ x-webhooks: type: string required: - from - enterprise: *892 - installation: *893 - number: *952 - organization: *894 - pull_request: *953 - repository: *895 + enterprise: *896 + installation: *897 + number: *956 + organization: *898 + pull_request: *957 + repository: *899 sender: *4 required: - action @@ -198938,11 +199107,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *892 - installation: *893 + enterprise: *896 + installation: *897 number: type: integer - organization: *894 + organization: *898 pull_request: title: Pull Request type: object @@ -201231,7 +201400,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *895 + repository: *899 sender: *4 required: - action @@ -201319,11 +201488,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *892 - installation: *893 - label: *915 - number: *952 - organization: *894 + enterprise: *896 + installation: *897 + label: *919 + number: *956 + organization: *898 pull_request: title: Pull Request type: object @@ -203627,7 +203796,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *895 + repository: *899 sender: *4 required: - action @@ -203723,10 +203892,10 @@ x-webhooks: type: string enum: - locked - enterprise: *892 - installation: *893 - number: *952 - organization: *894 + enterprise: *896 + installation: *897 + number: *956 + organization: *898 pull_request: title: Pull Request type: object @@ -206028,7 +206197,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *895 + repository: *899 sender: *4 required: - action @@ -206123,12 +206292,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *892 - milestone: *721 - number: *952 - organization: *894 - pull_request: *954 - repository: *895 + enterprise: *896 + milestone: *725 + number: *956 + organization: *898 + pull_request: *958 + repository: *899 sender: *4 required: - action @@ -206207,12 +206376,12 @@ x-webhooks: type: string enum: - opened - enterprise: *892 - installation: *893 - number: *952 - organization: *894 - pull_request: *953 - repository: *895 + enterprise: *896 + installation: *897 + number: *956 + organization: *898 + pull_request: *957 + repository: *899 sender: *4 required: - action @@ -206293,12 +206462,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *892 - installation: *893 - number: *952 - organization: *894 - pull_request: *953 - repository: *895 + enterprise: *896 + installation: *897 + number: *956 + organization: *898 + pull_request: *957 + repository: *899 sender: *4 required: - action @@ -206378,12 +206547,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *892 - installation: *893 - number: *952 - organization: *894 - pull_request: *953 - repository: *895 + enterprise: *896 + installation: *897 + number: *956 + organization: *898 + pull_request: *957 + repository: *899 sender: *4 required: - action @@ -206749,9 +206918,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *892 - installation: *893 - organization: *894 + enterprise: *896 + installation: *897 + organization: *898 pull_request: type: object properties: @@ -208943,7 +209112,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *895 + repository: *899 sender: *4 required: - action @@ -209038,7 +209207,7 @@ x-webhooks: type: string enum: - deleted - comment: &956 + comment: &960 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -209323,9 +209492,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *892 - installation: *893 - organization: *894 + enterprise: *896 + installation: *897 + organization: *898 pull_request: type: object properties: @@ -211505,7 +211674,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *895 + repository: *899 sender: *4 required: - action @@ -211600,11 +211769,11 @@ x-webhooks: type: string enum: - edited - changes: *955 - comment: *956 - enterprise: *892 - installation: *893 - organization: *894 + changes: *959 + comment: *960 + enterprise: *896 + installation: *897 + organization: *898 pull_request: type: object properties: @@ -213787,7 +213956,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *895 + repository: *899 sender: *4 required: - action @@ -213883,9 +214052,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *892 - installation: *893 - organization: *894 + enterprise: *896 + installation: *897 + organization: *898 pull_request: title: Simple Pull Request type: object @@ -216080,7 +216249,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *895 + repository: *899 review: description: The review that was affected. type: object @@ -216342,9 +216511,9 @@ x-webhooks: type: string required: - from - enterprise: *892 - installation: *893 - organization: *894 + enterprise: *896 + installation: *897 + organization: *898 pull_request: title: Simple Pull Request type: object @@ -218398,8 +218567,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *895 - review: &957 + repository: *899 + review: &961 description: The review that was affected. type: object properties: @@ -218640,12 +218809,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *892 - installation: *893 + enterprise: *896 + installation: *897 number: description: The pull request number. type: integer - organization: *894 + organization: *898 pull_request: title: Pull Request type: object @@ -220950,7 +221119,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *895 + repository: *899 requested_reviewer: title: User type: object @@ -221034,12 +221203,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *892 - installation: *893 + enterprise: *896 + installation: *897 number: description: The pull request number. type: integer - organization: *894 + organization: *898 pull_request: title: Pull Request type: object @@ -223351,7 +223520,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *895 + repository: *899 requested_team: title: Team description: Groups of organization members that gives permissions @@ -223566,12 +223735,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *892 - installation: *893 + enterprise: *896 + installation: *897 number: description: The pull request number. type: integer - organization: *894 + organization: *898 pull_request: title: Pull Request type: object @@ -225878,7 +226047,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *895 + repository: *899 requested_reviewer: title: User type: object @@ -225963,12 +226132,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *892 - installation: *893 + enterprise: *896 + installation: *897 number: description: The pull request number. type: integer - organization: *894 + organization: *898 pull_request: title: Pull Request type: object @@ -228266,7 +228435,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *895 + repository: *899 requested_team: title: Team description: Groups of organization members that gives permissions @@ -228470,9 +228639,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *892 - installation: *893 - organization: *894 + enterprise: *896 + installation: *897 + organization: *898 pull_request: title: Simple Pull Request type: object @@ -230669,8 +230838,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *895 - review: *957 + repository: *899 + review: *961 sender: *4 required: - action @@ -230765,9 +230934,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *892 - installation: *893 - organization: *894 + enterprise: *896 + installation: *897 + organization: *898 pull_request: title: Simple Pull Request type: object @@ -232859,7 +233028,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *895 + repository: *899 sender: *4 thread: type: object @@ -233254,9 +233423,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *892 - installation: *893 - organization: *894 + enterprise: *896 + installation: *897 + organization: *898 pull_request: title: Simple Pull Request type: object @@ -235334,7 +235503,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *895 + repository: *899 sender: *4 thread: type: object @@ -235732,10 +235901,10 @@ x-webhooks: type: string before: type: string - enterprise: *892 - installation: *893 - number: *952 - organization: *894 + enterprise: *896 + installation: *897 + number: *956 + organization: *898 pull_request: title: Pull Request type: object @@ -238028,7 +238197,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *895 + repository: *899 sender: *4 required: - action @@ -238125,11 +238294,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *958 - enterprise: *892 - installation: *893 - number: *952 - organization: *894 + assignee: *962 + enterprise: *896 + installation: *897 + number: *956 + organization: *898 pull_request: title: Pull Request type: object @@ -240434,7 +240603,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *895 + repository: *899 sender: *4 required: - action @@ -240528,11 +240697,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *892 - installation: *893 - label: *915 - number: *952 - organization: *894 + enterprise: *896 + installation: *897 + label: *919 + number: *956 + organization: *898 pull_request: title: Pull Request type: object @@ -242827,7 +242996,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *895 + repository: *899 sender: *4 required: - action @@ -242923,10 +243092,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *892 - installation: *893 - number: *952 - organization: *894 + enterprise: *896 + installation: *897 + number: *956 + organization: *898 pull_request: title: Pull Request type: object @@ -245213,7 +245382,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *895 + repository: *899 sender: *4 required: - action @@ -245428,7 +245597,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *892 + enterprise: *896 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -245520,8 +245689,8 @@ x-webhooks: - url - author - committer - installation: *893 - organization: *894 + installation: *897 + organization: *898 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -246107,9 +246276,9 @@ x-webhooks: type: string enum: - published - enterprise: *892 - installation: *893 - organization: *894 + enterprise: *896 + installation: *897 + organization: *898 registry_package: type: object properties: @@ -246555,7 +246724,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *939 + items: *943 summary: type: string tag_name: @@ -246609,7 +246778,7 @@ x-webhooks: - owner - package_version - registry - repository: *895 + repository: *899 sender: *4 required: - action @@ -246687,9 +246856,9 @@ x-webhooks: type: string enum: - updated - enterprise: *892 - installation: *893 - organization: *894 + enterprise: *896 + installation: *897 + organization: *898 registry_package: type: object properties: @@ -246997,7 +247166,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *939 + items: *943 summary: type: string tag_name: @@ -247046,7 +247215,7 @@ x-webhooks: - owner - package_version - registry - repository: *895 + repository: *899 sender: *4 required: - action @@ -247123,10 +247292,10 @@ x-webhooks: type: string enum: - created - enterprise: *892 - installation: *893 - organization: *894 - release: &959 + enterprise: *896 + installation: *897 + organization: *898 + release: &963 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object. @@ -247444,7 +247613,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *895 + repository: *899 sender: *4 required: - action @@ -247521,11 +247690,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *892 - installation: *893 - organization: *894 - release: *959 - repository: *895 + enterprise: *896 + installation: *897 + organization: *898 + release: *963 + repository: *899 sender: *4 required: - action @@ -247642,11 +247811,11 @@ x-webhooks: type: boolean required: - to - enterprise: *892 - installation: *893 - organization: *894 - release: *959 - repository: *895 + enterprise: *896 + installation: *897 + organization: *898 + release: *963 + repository: *899 sender: *4 required: - action @@ -247724,9 +247893,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *892 - installation: *893 - organization: *894 + enterprise: *896 + installation: *897 + organization: *898 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) @@ -248048,7 +248217,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *895 + repository: *899 sender: *4 required: - action @@ -248124,10 +248293,10 @@ x-webhooks: type: string enum: - published - enterprise: *892 - installation: *893 - organization: *894 - release: &960 + enterprise: *896 + installation: *897 + organization: *898 + release: &964 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object. @@ -248446,7 +248615,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *895 + repository: *899 sender: *4 required: - action @@ -248522,11 +248691,11 @@ x-webhooks: type: string enum: - released - enterprise: *892 - installation: *893 - organization: *894 - release: *959 - repository: *895 + enterprise: *896 + installation: *897 + organization: *898 + release: *963 + repository: *899 sender: *4 required: - action @@ -248602,11 +248771,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *892 - installation: *893 - organization: *894 - release: *960 - repository: *895 + enterprise: *896 + installation: *897 + organization: *898 + release: *964 + repository: *899 sender: *4 required: - action @@ -248682,11 +248851,11 @@ x-webhooks: type: string enum: - published - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 - repository_advisory: *792 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 + repository_advisory: *796 sender: *4 required: - action @@ -248762,11 +248931,11 @@ x-webhooks: type: string enum: - reported - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 - repository_advisory: *792 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 + repository_advisory: *796 sender: *4 required: - action @@ -248842,10 +249011,10 @@ x-webhooks: type: string enum: - archived - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 required: - action @@ -248922,10 +249091,10 @@ x-webhooks: type: string enum: - created - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 required: - action @@ -249003,10 +249172,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 required: - action @@ -249090,10 +249259,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 required: - action @@ -249205,10 +249374,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 required: - action @@ -249280,10 +249449,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 status: type: string @@ -249364,10 +249533,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 required: - action @@ -249444,10 +249613,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 required: - action @@ -249541,10 +249710,10 @@ x-webhooks: - name required: - repository - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 required: - action @@ -249624,10 +249793,10 @@ x-webhooks: type: string enum: - created - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 repository_ruleset: *195 sender: *4 required: @@ -249706,10 +249875,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 repository_ruleset: *195 sender: *4 required: @@ -249788,10 +249957,10 @@ x-webhooks: type: string enum: - edited - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 repository_ruleset: *195 changes: type: object @@ -249853,16 +250022,16 @@ x-webhooks: properties: added: type: array - items: *759 + items: *763 deleted: type: array - items: *759 + items: *763 updated: type: array items: type: object properties: - rule: *759 + rule: *763 changes: type: object properties: @@ -250096,10 +250265,10 @@ x-webhooks: - from required: - owner - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 required: - action @@ -250177,10 +250346,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 required: - action @@ -250258,7 +250427,7 @@ x-webhooks: type: string enum: - create - alert: &961 + alert: &965 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -250380,10 +250549,10 @@ x-webhooks: enum: - auto_dismissed - open - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 required: - action @@ -250589,10 +250758,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 required: - action @@ -250670,11 +250839,11 @@ x-webhooks: type: string enum: - reopen - alert: *961 - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + alert: *965 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 required: - action @@ -250873,10 +251042,10 @@ x-webhooks: enum: - fixed - open - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 required: - action @@ -250954,7 +251123,7 @@ x-webhooks: type: string enum: - assigned - alert: &962 + alert: &966 type: object properties: number: *131 @@ -251097,10 +251266,10 @@ x-webhooks: required: *21 nullable: true assignee: *4 - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 required: - action @@ -251178,11 +251347,11 @@ x-webhooks: type: string enum: - created - alert: *962 - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + alert: *966 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 required: - action @@ -251263,11 +251432,11 @@ x-webhooks: type: string enum: - created - alert: *962 - installation: *893 - location: *963 - organization: *894 - repository: *895 + alert: *966 + installation: *897 + location: *967 + organization: *898 + repository: *899 sender: *4 required: - location @@ -251505,11 +251674,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *962 - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + alert: *966 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 required: - action @@ -251587,11 +251756,11 @@ x-webhooks: type: string enum: - reopened - alert: *962 - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + alert: *966 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 required: - action @@ -251669,11 +251838,11 @@ x-webhooks: type: string enum: - resolved - alert: *962 - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + alert: *966 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 required: - action @@ -251751,12 +251920,12 @@ x-webhooks: type: string enum: - unassigned - alert: *962 + alert: *966 assignee: *4 - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 required: - action @@ -251834,11 +252003,11 @@ x-webhooks: type: string enum: - validated - alert: *962 - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + alert: *966 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 required: - action @@ -251964,10 +252133,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *895 - enterprise: *892 - installation: *893 - organization: *894 + repository: *899 + enterprise: *896 + installation: *897 + organization: *898 sender: *4 required: - action @@ -252045,11 +252214,11 @@ x-webhooks: type: string enum: - published - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 - security_advisory: &964 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 + security_advisory: &968 description: The details of the security advisory, including summary, description, and severity. type: object @@ -252250,11 +252419,11 @@ x-webhooks: type: string enum: - updated - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 - security_advisory: *964 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 + security_advisory: *968 sender: *4 required: - action @@ -252327,10 +252496,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -252523,9 +252692,9 @@ x-webhooks: type: object properties: security_and_analysis: *451 - enterprise: *892 - installation: *893 - organization: *894 + enterprise: *896 + installation: *897 + organization: *898 repository: *498 sender: *4 required: @@ -252604,12 +252773,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 - sponsorship: &965 + sponsorship: &969 type: object properties: created_at: @@ -252910,12 +253079,12 @@ x-webhooks: type: string enum: - created - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 - sponsorship: *965 + sponsorship: *969 required: - action - sponsorship @@ -253003,12 +253172,12 @@ x-webhooks: type: string required: - from - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 - sponsorship: *965 + sponsorship: *969 required: - action - changes @@ -253085,17 +253254,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &966 + effective_date: &970 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 - sponsorship: *965 + sponsorship: *969 required: - action - sponsorship @@ -253169,7 +253338,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &967 + changes: &971 type: object properties: tier: @@ -253213,13 +253382,13 @@ x-webhooks: - from required: - tier - effective_date: *966 - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + effective_date: *970 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 - sponsorship: *965 + sponsorship: *969 required: - action - changes @@ -253296,13 +253465,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *967 - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + changes: *971 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 - sponsorship: *965 + sponsorship: *969 required: - action - changes @@ -253376,10 +253545,10 @@ x-webhooks: type: string enum: - created - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -253462,10 +253631,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -253885,15 +254054,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *892 + enterprise: *896 id: description: The unique identifier of the status. type: integer - installation: *893 + installation: *897 name: type: string - organization: *894 - repository: *895 + organization: *898 + repository: *899 sender: *4 sha: description: The Commit SHA. @@ -254008,9 +254177,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *228 - installation: *893 - organization: *894 - repository: *895 + installation: *897 + organization: *898 + repository: *899 sender: *4 required: - action @@ -254099,9 +254268,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *228 - installation: *893 - organization: *894 - repository: *895 + installation: *897 + organization: *898 + repository: *899 sender: *4 required: - action @@ -254190,9 +254359,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *228 - installation: *893 - organization: *894 - repository: *895 + installation: *897 + organization: *898 + repository: *899 sender: *4 required: - action @@ -254281,9 +254450,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *228 - installation: *893 - organization: *894 - repository: *895 + installation: *897 + organization: *898 + repository: *899 sender: *4 required: - action @@ -254359,12 +254528,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 - team: &968 + team: &972 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -254587,9 +254756,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *892 - installation: *893 - organization: *894 + enterprise: *896 + installation: *897 + organization: *898 repository: title: Repository description: A git repository @@ -255047,7 +255216,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *968 + team: *972 required: - action - team @@ -255123,9 +255292,9 @@ x-webhooks: type: string enum: - created - enterprise: *892 - installation: *893 - organization: *894 + enterprise: *896 + installation: *897 + organization: *898 repository: title: Repository description: A git repository @@ -255583,7 +255752,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *968 + team: *972 required: - action - team @@ -255660,9 +255829,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *892 - installation: *893 - organization: *894 + enterprise: *896 + installation: *897 + organization: *898 repository: title: Repository description: A git repository @@ -256120,7 +256289,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *968 + team: *972 required: - action - team @@ -256264,9 +256433,9 @@ x-webhooks: - from required: - permissions - enterprise: *892 - installation: *893 - organization: *894 + enterprise: *896 + installation: *897 + organization: *898 repository: title: Repository description: A git repository @@ -256724,7 +256893,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *968 + team: *972 required: - action - changes @@ -256802,9 +256971,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *892 - installation: *893 - organization: *894 + enterprise: *896 + installation: *897 + organization: *898 repository: title: Repository description: A git repository @@ -257262,7 +257431,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *968 + team: *972 required: - action - team @@ -257338,10 +257507,10 @@ x-webhooks: type: string enum: - started - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 required: - action @@ -257414,16 +257583,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *892 + enterprise: *896 inputs: type: object nullable: true additionalProperties: true - installation: *893 - organization: *894 + installation: *897 + organization: *898 ref: type: string - repository: *895 + repository: *899 sender: *4 workflow: type: string @@ -257505,10 +257674,10 @@ x-webhooks: type: string enum: - completed - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 workflow_job: allOf: @@ -257824,10 +257993,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 workflow_job: allOf: @@ -258166,10 +258335,10 @@ x-webhooks: type: string enum: - queued - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 workflow_job: type: object @@ -258383,10 +258552,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 workflow_job: type: object @@ -258602,12 +258771,12 @@ x-webhooks: type: string enum: - completed - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 - workflow: *911 + workflow: *915 workflow_run: title: Workflow Run type: object @@ -259606,12 +259775,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 - workflow: *911 + workflow: *915 workflow_run: title: Workflow Run type: object @@ -260595,12 +260764,12 @@ x-webhooks: type: string enum: - requested - enterprise: *892 - installation: *893 - organization: *894 - repository: *895 + enterprise: *896 + installation: *897 + organization: *898 + repository: *899 sender: *4 - workflow: *911 + workflow: *915 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/ghec.2022-11-28.json b/descriptions/ghec/ghec.2022-11-28.json index 4d0ed047f1..0f9241a559 100644 --- a/descriptions/ghec/ghec.2022-11-28.json +++ b/descriptions/ghec/ghec.2022-11-28.json @@ -164979,6 +164979,41 @@ "to" ] }, + "issue-type-webhook": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, "issue-event": { "title": "Issue Event", "description": "Issue Event", @@ -165053,6 +165088,12 @@ "rename": { "$ref": "#/components/schemas/issue-event-rename" }, + "issue_type": { + "$ref": "#/components/schemas/issue-type-webhook" + }, + "prev_issue_type": { + "$ref": "#/components/schemas/issue-type-webhook" + }, "author_association": { "$ref": "#/components/schemas/author-association" }, @@ -166046,6 +166087,163 @@ "performed_via_github_app" ] }, + "issue-type-added-issue-event": { + "title": "Issue Type Added Issue Event", + "description": "Issue Type Added Issue Event", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "actor": { + "$ref": "#/components/schemas/simple-user" + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": "string", + "nullable": true + }, + "commit_url": { + "type": "string", + "nullable": true + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "$ref": "#/components/schemas/nullable-integration" + }, + "issue_type": { + "$ref": "#/components/schemas/issue-type-webhook" + } + }, + "required": [ + "issue_type", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + "issue-type-removed-issue-event": { + "title": "Issue Type Removed Issue Event", + "description": "Issue Type Removed Issue Event", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "actor": { + "$ref": "#/components/schemas/simple-user" + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": "string", + "nullable": true + }, + "commit_url": { + "type": "string", + "nullable": true + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "$ref": "#/components/schemas/nullable-integration" + }, + "prev_issue_type": { + "$ref": "#/components/schemas/issue-type-webhook" + } + }, + "required": [ + "prev_issue_type", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + "issue-type-changed-issue-event": { + "title": "Issue Type Changed Issue Event", + "description": "Issue Type Changed Issue Event", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "actor": { + "$ref": "#/components/schemas/simple-user" + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": "string", + "nullable": true + }, + "commit_url": { + "type": "string", + "nullable": true + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "$ref": "#/components/schemas/nullable-integration" + }, + "issue_type": { + "$ref": "#/components/schemas/issue-type-webhook" + }, + "prev_issue_type": { + "$ref": "#/components/schemas/issue-type-webhook" + } + }, + "required": [ + "issue_type", + "prev_issue_type", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, "issue-event-for-issue": { "title": "Issue Event for Issue", "description": "Issue Event for Issue", @@ -166094,6 +166292,15 @@ }, { "$ref": "#/components/schemas/converted-note-to-issue-issue-event" + }, + { + "$ref": "#/components/schemas/issue-type-added-issue-event" + }, + { + "$ref": "#/components/schemas/issue-type-removed-issue-event" + }, + { + "$ref": "#/components/schemas/issue-type-changed-issue-event" } ] }, @@ -166988,6 +167195,15 @@ }, { "$ref": "#/components/schemas/state-change-issue-event" + }, + { + "$ref": "#/components/schemas/issue-type-added-issue-event" + }, + { + "$ref": "#/components/schemas/issue-type-removed-issue-event" + }, + { + "$ref": "#/components/schemas/issue-type-changed-issue-event" } ] }, diff --git a/descriptions/ghec/ghec.2022-11-28.yaml b/descriptions/ghec/ghec.2022-11-28.yaml index a42ad91c7a..62d04ecc9b 100644 --- a/descriptions/ghec/ghec.2022-11-28.yaml +++ b/descriptions/ghec/ghec.2022-11-28.yaml @@ -121723,6 +121723,34 @@ components: required: - from - to + issue-type-webhook: + title: Issue Type + description: The type of issue. + type: object + nullable: true + properties: + id: + type: integer + description: The unique identifier of the issue type. + name: + type: string + description: The name of the issue type. + color: + type: string + description: The color of the issue type. + enum: + - gray + - blue + - green + - yellow + - orange + - red + - pink + - purple + nullable: true + required: + - id + - name issue-event: title: Issue Event description: Issue Event @@ -121778,6 +121806,10 @@ components: "$ref": "#/components/schemas/issue-event-project-card" rename: "$ref": "#/components/schemas/issue-event-rename" + issue_type: + "$ref": "#/components/schemas/issue-type-webhook" + prev_issue_type: + "$ref": "#/components/schemas/issue-type-webhook" author_association: "$ref": "#/components/schemas/author-association" lock_reason: @@ -122508,6 +122540,123 @@ components: - commit_url - created_at - performed_via_github_app + issue-type-added-issue-event: + title: Issue Type Added Issue Event + description: Issue Type Added Issue Event + type: object + properties: + id: + type: integer + node_id: + type: string + url: + type: string + actor: + "$ref": "#/components/schemas/simple-user" + event: + type: string + commit_id: + type: string + nullable: true + commit_url: + type: string + nullable: true + created_at: + type: string + performed_via_github_app: + "$ref": "#/components/schemas/nullable-integration" + issue_type: + "$ref": "#/components/schemas/issue-type-webhook" + required: + - issue_type + - id + - node_id + - url + - actor + - event + - commit_id + - commit_url + - created_at + - performed_via_github_app + issue-type-removed-issue-event: + title: Issue Type Removed Issue Event + description: Issue Type Removed Issue Event + type: object + properties: + id: + type: integer + node_id: + type: string + url: + type: string + actor: + "$ref": "#/components/schemas/simple-user" + event: + type: string + commit_id: + type: string + nullable: true + commit_url: + type: string + nullable: true + created_at: + type: string + performed_via_github_app: + "$ref": "#/components/schemas/nullable-integration" + prev_issue_type: + "$ref": "#/components/schemas/issue-type-webhook" + required: + - prev_issue_type + - id + - node_id + - url + - actor + - event + - commit_id + - commit_url + - created_at + - performed_via_github_app + issue-type-changed-issue-event: + title: Issue Type Changed Issue Event + description: Issue Type Changed Issue Event + type: object + properties: + id: + type: integer + node_id: + type: string + url: + type: string + actor: + "$ref": "#/components/schemas/simple-user" + event: + type: string + commit_id: + type: string + nullable: true + commit_url: + type: string + nullable: true + created_at: + type: string + performed_via_github_app: + "$ref": "#/components/schemas/nullable-integration" + issue_type: + "$ref": "#/components/schemas/issue-type-webhook" + prev_issue_type: + "$ref": "#/components/schemas/issue-type-webhook" + required: + - issue_type + - prev_issue_type + - id + - node_id + - url + - actor + - event + - commit_id + - commit_url + - created_at + - performed_via_github_app issue-event-for-issue: title: Issue Event for Issue description: Issue Event for Issue @@ -122527,6 +122676,9 @@ components: - "$ref": "#/components/schemas/moved-column-in-project-issue-event" - "$ref": "#/components/schemas/removed-from-project-issue-event" - "$ref": "#/components/schemas/converted-note-to-issue-issue-event" + - "$ref": "#/components/schemas/issue-type-added-issue-event" + - "$ref": "#/components/schemas/issue-type-removed-issue-event" + - "$ref": "#/components/schemas/issue-type-changed-issue-event" timeline-comment-event: title: Timeline Comment Event description: Timeline Comment Event @@ -123181,6 +123333,9 @@ components: - "$ref": "#/components/schemas/timeline-assigned-issue-event" - "$ref": "#/components/schemas/timeline-unassigned-issue-event" - "$ref": "#/components/schemas/state-change-issue-event" + - "$ref": "#/components/schemas/issue-type-added-issue-event" + - "$ref": "#/components/schemas/issue-type-removed-issue-event" + - "$ref": "#/components/schemas/issue-type-changed-issue-event" deploy-key: title: Deploy Key description: An SSH key granting access to a single repository. diff --git a/descriptions/ghec/ghec.2026-03-10.json b/descriptions/ghec/ghec.2026-03-10.json index 0904e727a0..fa5bdfa5c7 100644 --- a/descriptions/ghec/ghec.2026-03-10.json +++ b/descriptions/ghec/ghec.2026-03-10.json @@ -164386,6 +164386,41 @@ "to" ] }, + "issue-type-webhook": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, "issue-event": { "title": "Issue Event", "description": "Issue Event", @@ -164460,6 +164495,12 @@ "rename": { "$ref": "#/components/schemas/issue-event-rename" }, + "issue_type": { + "$ref": "#/components/schemas/issue-type-webhook" + }, + "prev_issue_type": { + "$ref": "#/components/schemas/issue-type-webhook" + }, "author_association": { "$ref": "#/components/schemas/author-association" }, @@ -165453,6 +165494,163 @@ "performed_via_github_app" ] }, + "issue-type-added-issue-event": { + "title": "Issue Type Added Issue Event", + "description": "Issue Type Added Issue Event", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "actor": { + "$ref": "#/components/schemas/simple-user" + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": "string", + "nullable": true + }, + "commit_url": { + "type": "string", + "nullable": true + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "$ref": "#/components/schemas/nullable-integration" + }, + "issue_type": { + "$ref": "#/components/schemas/issue-type-webhook" + } + }, + "required": [ + "issue_type", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + "issue-type-removed-issue-event": { + "title": "Issue Type Removed Issue Event", + "description": "Issue Type Removed Issue Event", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "actor": { + "$ref": "#/components/schemas/simple-user" + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": "string", + "nullable": true + }, + "commit_url": { + "type": "string", + "nullable": true + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "$ref": "#/components/schemas/nullable-integration" + }, + "prev_issue_type": { + "$ref": "#/components/schemas/issue-type-webhook" + } + }, + "required": [ + "prev_issue_type", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + "issue-type-changed-issue-event": { + "title": "Issue Type Changed Issue Event", + "description": "Issue Type Changed Issue Event", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "actor": { + "$ref": "#/components/schemas/simple-user" + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": "string", + "nullable": true + }, + "commit_url": { + "type": "string", + "nullable": true + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "$ref": "#/components/schemas/nullable-integration" + }, + "issue_type": { + "$ref": "#/components/schemas/issue-type-webhook" + }, + "prev_issue_type": { + "$ref": "#/components/schemas/issue-type-webhook" + } + }, + "required": [ + "issue_type", + "prev_issue_type", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, "issue-event-for-issue": { "title": "Issue Event for Issue", "description": "Issue Event for Issue", @@ -165501,6 +165699,15 @@ }, { "$ref": "#/components/schemas/converted-note-to-issue-issue-event" + }, + { + "$ref": "#/components/schemas/issue-type-added-issue-event" + }, + { + "$ref": "#/components/schemas/issue-type-removed-issue-event" + }, + { + "$ref": "#/components/schemas/issue-type-changed-issue-event" } ] }, @@ -166395,6 +166602,15 @@ }, { "$ref": "#/components/schemas/state-change-issue-event" + }, + { + "$ref": "#/components/schemas/issue-type-added-issue-event" + }, + { + "$ref": "#/components/schemas/issue-type-removed-issue-event" + }, + { + "$ref": "#/components/schemas/issue-type-changed-issue-event" } ] }, diff --git a/descriptions/ghec/ghec.2026-03-10.yaml b/descriptions/ghec/ghec.2026-03-10.yaml index 1d4aabf552..5231d12b4d 100644 --- a/descriptions/ghec/ghec.2026-03-10.yaml +++ b/descriptions/ghec/ghec.2026-03-10.yaml @@ -121254,6 +121254,34 @@ components: required: - from - to + issue-type-webhook: + title: Issue Type + description: The type of issue. + type: object + nullable: true + properties: + id: + type: integer + description: The unique identifier of the issue type. + name: + type: string + description: The name of the issue type. + color: + type: string + description: The color of the issue type. + enum: + - gray + - blue + - green + - yellow + - orange + - red + - pink + - purple + nullable: true + required: + - id + - name issue-event: title: Issue Event description: Issue Event @@ -121309,6 +121337,10 @@ components: "$ref": "#/components/schemas/issue-event-project-card" rename: "$ref": "#/components/schemas/issue-event-rename" + issue_type: + "$ref": "#/components/schemas/issue-type-webhook" + prev_issue_type: + "$ref": "#/components/schemas/issue-type-webhook" author_association: "$ref": "#/components/schemas/author-association" lock_reason: @@ -122039,6 +122071,123 @@ components: - commit_url - created_at - performed_via_github_app + issue-type-added-issue-event: + title: Issue Type Added Issue Event + description: Issue Type Added Issue Event + type: object + properties: + id: + type: integer + node_id: + type: string + url: + type: string + actor: + "$ref": "#/components/schemas/simple-user" + event: + type: string + commit_id: + type: string + nullable: true + commit_url: + type: string + nullable: true + created_at: + type: string + performed_via_github_app: + "$ref": "#/components/schemas/nullable-integration" + issue_type: + "$ref": "#/components/schemas/issue-type-webhook" + required: + - issue_type + - id + - node_id + - url + - actor + - event + - commit_id + - commit_url + - created_at + - performed_via_github_app + issue-type-removed-issue-event: + title: Issue Type Removed Issue Event + description: Issue Type Removed Issue Event + type: object + properties: + id: + type: integer + node_id: + type: string + url: + type: string + actor: + "$ref": "#/components/schemas/simple-user" + event: + type: string + commit_id: + type: string + nullable: true + commit_url: + type: string + nullable: true + created_at: + type: string + performed_via_github_app: + "$ref": "#/components/schemas/nullable-integration" + prev_issue_type: + "$ref": "#/components/schemas/issue-type-webhook" + required: + - prev_issue_type + - id + - node_id + - url + - actor + - event + - commit_id + - commit_url + - created_at + - performed_via_github_app + issue-type-changed-issue-event: + title: Issue Type Changed Issue Event + description: Issue Type Changed Issue Event + type: object + properties: + id: + type: integer + node_id: + type: string + url: + type: string + actor: + "$ref": "#/components/schemas/simple-user" + event: + type: string + commit_id: + type: string + nullable: true + commit_url: + type: string + nullable: true + created_at: + type: string + performed_via_github_app: + "$ref": "#/components/schemas/nullable-integration" + issue_type: + "$ref": "#/components/schemas/issue-type-webhook" + prev_issue_type: + "$ref": "#/components/schemas/issue-type-webhook" + required: + - issue_type + - prev_issue_type + - id + - node_id + - url + - actor + - event + - commit_id + - commit_url + - created_at + - performed_via_github_app issue-event-for-issue: title: Issue Event for Issue description: Issue Event for Issue @@ -122058,6 +122207,9 @@ components: - "$ref": "#/components/schemas/moved-column-in-project-issue-event" - "$ref": "#/components/schemas/removed-from-project-issue-event" - "$ref": "#/components/schemas/converted-note-to-issue-issue-event" + - "$ref": "#/components/schemas/issue-type-added-issue-event" + - "$ref": "#/components/schemas/issue-type-removed-issue-event" + - "$ref": "#/components/schemas/issue-type-changed-issue-event" timeline-comment-event: title: Timeline Comment Event description: Timeline Comment Event @@ -122712,6 +122864,9 @@ components: - "$ref": "#/components/schemas/timeline-assigned-issue-event" - "$ref": "#/components/schemas/timeline-unassigned-issue-event" - "$ref": "#/components/schemas/state-change-issue-event" + - "$ref": "#/components/schemas/issue-type-added-issue-event" + - "$ref": "#/components/schemas/issue-type-removed-issue-event" + - "$ref": "#/components/schemas/issue-type-changed-issue-event" deploy-key: title: Deploy Key description: An SSH key granting access to a single repository. diff --git a/descriptions/ghec/ghec.json b/descriptions/ghec/ghec.json index a5fb6a46e1..25f9d94662 100644 --- a/descriptions/ghec/ghec.json +++ b/descriptions/ghec/ghec.json @@ -166215,6 +166215,41 @@ "to" ] }, + "issue-type-webhook": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, "issue-event": { "title": "Issue Event", "description": "Issue Event", @@ -166289,6 +166324,12 @@ "rename": { "$ref": "#/components/schemas/issue-event-rename" }, + "issue_type": { + "$ref": "#/components/schemas/issue-type-webhook" + }, + "prev_issue_type": { + "$ref": "#/components/schemas/issue-type-webhook" + }, "author_association": { "$ref": "#/components/schemas/author-association" }, @@ -167282,6 +167323,163 @@ "performed_via_github_app" ] }, + "issue-type-added-issue-event": { + "title": "Issue Type Added Issue Event", + "description": "Issue Type Added Issue Event", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "actor": { + "$ref": "#/components/schemas/simple-user" + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": "string", + "nullable": true + }, + "commit_url": { + "type": "string", + "nullable": true + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "$ref": "#/components/schemas/nullable-integration" + }, + "issue_type": { + "$ref": "#/components/schemas/issue-type-webhook" + } + }, + "required": [ + "issue_type", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + "issue-type-removed-issue-event": { + "title": "Issue Type Removed Issue Event", + "description": "Issue Type Removed Issue Event", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "actor": { + "$ref": "#/components/schemas/simple-user" + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": "string", + "nullable": true + }, + "commit_url": { + "type": "string", + "nullable": true + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "$ref": "#/components/schemas/nullable-integration" + }, + "prev_issue_type": { + "$ref": "#/components/schemas/issue-type-webhook" + } + }, + "required": [ + "prev_issue_type", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + "issue-type-changed-issue-event": { + "title": "Issue Type Changed Issue Event", + "description": "Issue Type Changed Issue Event", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "actor": { + "$ref": "#/components/schemas/simple-user" + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": "string", + "nullable": true + }, + "commit_url": { + "type": "string", + "nullable": true + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "$ref": "#/components/schemas/nullable-integration" + }, + "issue_type": { + "$ref": "#/components/schemas/issue-type-webhook" + }, + "prev_issue_type": { + "$ref": "#/components/schemas/issue-type-webhook" + } + }, + "required": [ + "issue_type", + "prev_issue_type", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, "issue-event-for-issue": { "title": "Issue Event for Issue", "description": "Issue Event for Issue", @@ -167330,6 +167528,15 @@ }, { "$ref": "#/components/schemas/converted-note-to-issue-issue-event" + }, + { + "$ref": "#/components/schemas/issue-type-added-issue-event" + }, + { + "$ref": "#/components/schemas/issue-type-removed-issue-event" + }, + { + "$ref": "#/components/schemas/issue-type-changed-issue-event" } ] }, @@ -168224,6 +168431,15 @@ }, { "$ref": "#/components/schemas/state-change-issue-event" + }, + { + "$ref": "#/components/schemas/issue-type-added-issue-event" + }, + { + "$ref": "#/components/schemas/issue-type-removed-issue-event" + }, + { + "$ref": "#/components/schemas/issue-type-changed-issue-event" } ] }, diff --git a/descriptions/ghec/ghec.yaml b/descriptions/ghec/ghec.yaml index b8cdbf7631..0eae113668 100644 --- a/descriptions/ghec/ghec.yaml +++ b/descriptions/ghec/ghec.yaml @@ -122596,6 +122596,34 @@ components: required: - from - to + issue-type-webhook: + title: Issue Type + description: The type of issue. + type: object + nullable: true + properties: + id: + type: integer + description: The unique identifier of the issue type. + name: + type: string + description: The name of the issue type. + color: + type: string + description: The color of the issue type. + enum: + - gray + - blue + - green + - yellow + - orange + - red + - pink + - purple + nullable: true + required: + - id + - name issue-event: title: Issue Event description: Issue Event @@ -122651,6 +122679,10 @@ components: "$ref": "#/components/schemas/issue-event-project-card" rename: "$ref": "#/components/schemas/issue-event-rename" + issue_type: + "$ref": "#/components/schemas/issue-type-webhook" + prev_issue_type: + "$ref": "#/components/schemas/issue-type-webhook" author_association: "$ref": "#/components/schemas/author-association" lock_reason: @@ -123381,6 +123413,123 @@ components: - commit_url - created_at - performed_via_github_app + issue-type-added-issue-event: + title: Issue Type Added Issue Event + description: Issue Type Added Issue Event + type: object + properties: + id: + type: integer + node_id: + type: string + url: + type: string + actor: + "$ref": "#/components/schemas/simple-user" + event: + type: string + commit_id: + type: string + nullable: true + commit_url: + type: string + nullable: true + created_at: + type: string + performed_via_github_app: + "$ref": "#/components/schemas/nullable-integration" + issue_type: + "$ref": "#/components/schemas/issue-type-webhook" + required: + - issue_type + - id + - node_id + - url + - actor + - event + - commit_id + - commit_url + - created_at + - performed_via_github_app + issue-type-removed-issue-event: + title: Issue Type Removed Issue Event + description: Issue Type Removed Issue Event + type: object + properties: + id: + type: integer + node_id: + type: string + url: + type: string + actor: + "$ref": "#/components/schemas/simple-user" + event: + type: string + commit_id: + type: string + nullable: true + commit_url: + type: string + nullable: true + created_at: + type: string + performed_via_github_app: + "$ref": "#/components/schemas/nullable-integration" + prev_issue_type: + "$ref": "#/components/schemas/issue-type-webhook" + required: + - prev_issue_type + - id + - node_id + - url + - actor + - event + - commit_id + - commit_url + - created_at + - performed_via_github_app + issue-type-changed-issue-event: + title: Issue Type Changed Issue Event + description: Issue Type Changed Issue Event + type: object + properties: + id: + type: integer + node_id: + type: string + url: + type: string + actor: + "$ref": "#/components/schemas/simple-user" + event: + type: string + commit_id: + type: string + nullable: true + commit_url: + type: string + nullable: true + created_at: + type: string + performed_via_github_app: + "$ref": "#/components/schemas/nullable-integration" + issue_type: + "$ref": "#/components/schemas/issue-type-webhook" + prev_issue_type: + "$ref": "#/components/schemas/issue-type-webhook" + required: + - issue_type + - prev_issue_type + - id + {"code":"deadline_exceeded","msg":"operation timed out"}